@@ -328,20 +328,6 @@ struct FlowRunbyRun {
328328 return true ;
329329 }
330330
331- void initEventCount (std::shared_ptr<TH1> hEventCountSpecific)
332- {
333- hEventCountSpecific->GetXaxis ()->SetBinLabel (1 , " after sel8" );
334- hEventCountSpecific->GetXaxis ()->SetBinLabel (2 , " kNoSameBunchPileup" );
335- hEventCountSpecific->GetXaxis ()->SetBinLabel (3 , " kIsGoodZvtxFT0vsPV" );
336- hEventCountSpecific->GetXaxis ()->SetBinLabel (4 , " kNoCollInTimeRangeStandard" );
337- hEventCountSpecific->GetXaxis ()->SetBinLabel (5 , " kIsGoodITSLayersAll" );
338- hEventCountSpecific->GetXaxis ()->SetBinLabel (6 , " kNoCollInRofStandard" );
339- hEventCountSpecific->GetXaxis ()->SetBinLabel (7 , " kNoHighMultCollInPrevRof" );
340- hEventCountSpecific->GetXaxis ()->SetBinLabel (8 , " occupancy" );
341- hEventCountSpecific->GetXaxis ()->SetBinLabel (9 , " MultCorrelation" );
342- hEventCountSpecific->GetXaxis ()->SetBinLabel (10 , " cfgEvSelV0AT0ACut" );
343- }
344-
345331 void createOutputObjectsForRun (int runNumber)
346332 {
347333 std::vector<std::shared_ptr<TH1>> histos (kCount_TH1Names );
@@ -352,7 +338,16 @@ struct FlowRunbyRun {
352338 histos[hMult] = registry.add <TH1>(Form (" %d/hMult" , runNumber), " " , {HistType::kTH1D , {{3000 , 0.5 , 3000.5 }}});
353339 histos[hCent] = registry.add <TH1>(Form (" %d/hCent" , runNumber), " " , {HistType::kTH1D , {{90 , 0 , 90 }}});
354340 histos[hEventCountSpecific] = registry.add <TH1>(Form (" %d/hEventCountSpecific" , runNumber), " " , {HistType::kTH1D , {{10 , 0 , 10 }}});
355- initEventCount (histos[hEventCountSpecific]);
341+ histos[hEventCountSpecific]->GetXaxis ()->SetBinLabel (1 , " after sel8" );
342+ histos[hEventCountSpecific]->GetXaxis ()->SetBinLabel (2 , " kNoSameBunchPileup" );
343+ histos[hEventCountSpecific]->GetXaxis ()->SetBinLabel (3 , " kIsGoodZvtxFT0vsPV" );
344+ histos[hEventCountSpecific]->GetXaxis ()->SetBinLabel (4 , " kNoCollInTimeRangeStandard" );
345+ histos[hEventCountSpecific]->GetXaxis ()->SetBinLabel (5 , " kIsGoodITSLayersAll" );
346+ histos[hEventCountSpecific]->GetXaxis ()->SetBinLabel (6 , " kNoCollInRofStandard" );
347+ histos[hEventCountSpecific]->GetXaxis ()->SetBinLabel (7 , " kNoHighMultCollInPrevRof" );
348+ histos[hEventCountSpecific]->GetXaxis ()->SetBinLabel (8 , " occupancy" );
349+ histos[hEventCountSpecific]->GetXaxis ()->SetBinLabel (9 , " MultCorrelation" );
350+ histos[hEventCountSpecific]->GetXaxis ()->SetBinLabel (10 , " cfgEvSelV0AT0ACut" );
356351 th1sList.insert (std::make_pair (runNumber, histos));
357352
358353 std::vector<std::shared_ptr<TProfile>> profiles (kCount_TProfileNames );
0 commit comments