13 const double MinTime = -100;
14 const double MaxTime = 2200;
15 const double MaxTimeBins = 200;
20 fName = title +
"_cl";
23 for (
Int_t iStation = 0; iStation < 1 ; iStation++) {
24 vector<vector<TH1I*>> rowGEM;
25 vector<vector<TH1I*>> rowTimes;
26 auto* st = gemStationSet->GetStation(iStation);
28 for (
Int_t iModule = 0; iModule < st->GetNModules(); iModule++) {
30 vector<TH1I*> colTimes;
31 auto* mod = st->GetModule(iModule);
34 for (
Int_t iLayer = 0; iLayer < mod->GetNStripLayers(); iLayer++) {
35 auto& lay = mod->GetStripLayer(iLayer);
37 name =
Form(
fTitle +
"_Station_%d_module_%d_layer_%d", iStation, iModule, iLayer);
38 TH1I* h =
new TH1I(name, name, lay.GetNStrips(), 0, lay.GetNStrips());
44 name =
Form(
fTitle +
"_Time_Station_%d_module_%d_layer_%d", iStation, iModule, iLayer);
45 TH1I* hTime =
new TH1I(name, name, MaxTimeBins, MinTime, MaxTime);
49 colTimes.push_back(hTime);
51 rowGEM.push_back(colGEM);
52 rowTimes.push_back(colTimes);
65 name =
fTitle +
"CanvasTimes";
70 for (
Int_t iStation = 0; iStation < gemStationSet->GetNStations(); iStation++) {
71 auto* st = gemStationSet->GetStation(iStation);
72 for (
Int_t iModule = 0; iModule < st->GetNModules(); iModule++) {
73 auto* mod = st->GetModule(iModule);
74 for (
Int_t iLayer = 0; iLayer < mod->GetNStripLayers(); iLayer++) {
90 canTimes->GetPad(iPad + 1)->SetGrid();