@@ -673,9 +673,15 @@ struct derivedlambdakzeroanalysis {
673673
674674 //
675675 if (doprocessAnalysedCollisions) {
676- histos.add (" hEventPreSelection" , " hEventPreSelection" , kTH1D , {{2 , -0 .5f , +1 .5f }});
676+ histos.add (" hEventPreSelection" , " hEventPreSelection" , kTH1D , {{8 , -0 .5f , +7 .5f }});
677677 histos.get <TH1 >(HIST (" hEventPreSelection" ))->GetXaxis ()->SetBinLabel (1 , " All collisions" );
678- histos.get <TH1 >(HIST (" hEventPreSelection" ))->GetXaxis ()->SetBinLabel (2 , " Preselected collisions" );
678+ histos.get <TH1 >(HIST (" hEventPreSelection" ))->GetXaxis ()->SetBinLabel (2 , " kIsTriggerTVX" );
679+ histos.get <TH1 >(HIST (" hEventPreSelection" ))->GetXaxis ()->SetBinLabel (3 , " kNoITSROFrameBorder" );
680+ histos.get <TH1 >(HIST (" hEventPreSelection" ))->GetXaxis ()->SetBinLabel (4 , " kNoTimeFrameBorder" );
681+ histos.get <TH1 >(HIST (" hEventPreSelection" ))->GetXaxis ()->SetBinLabel (5 , " posZ cut" );
682+ histos.get <TH1 >(HIST (" hEventPreSelection" ))->GetXaxis ()->SetBinLabel (6 , " kNoSameBunchPileup" );
683+ histos.get <TH1 >(HIST (" hEventPreSelection" ))->GetXaxis ()->SetBinLabel (7 , " RCT flags" );
684+ histos.get <TH1 >(HIST (" hEventPreSelection" ))->GetXaxis ()->SetBinLabel (8 , " Preselected collisions" );
679685 }
680686
681687 // Event Counters
@@ -3166,8 +3172,15 @@ struct derivedlambdakzeroanalysis {
31663172 void processAnalysedCollisions (aod::StraSelections const & straSelections)
31673173 {
31683174 for (auto const & straSelection : straSelections) {
3175+ // Event selection criteria
31693176 histos.get <TH1 >(HIST (" hEventPreSelection" ))->AddBinContent (1 , straSelection.totalNbrOfCollisions () /* all collisions */ );
3170- histos.get <TH1 >(HIST (" hEventPreSelection" ))->AddBinContent (2 , straSelection.totalNbrOfSelCollisions () /* preselected collisions */ );
3177+ histos.get <TH1 >(HIST (" hEventPreSelection" ))->AddBinContent (2 , straSelection.totalIsTriggerTVXCollisions () /* preselected IsTriggerTVX collisions */ );
3178+ histos.get <TH1 >(HIST (" hEventPreSelection" ))->AddBinContent (3 , straSelection.totalNoITSROFBorderCollisions () /* + preselected NoITSROF collisions */ );
3179+ histos.get <TH1 >(HIST (" hEventPreSelection" ))->AddBinContent (4 , straSelection.totalNoTFBorderCollisions () /* + preselected NoTF collisions */ );
3180+ histos.get <TH1 >(HIST (" hEventPreSelection" ))->AddBinContent (5 , straSelection.totalIsGoodZvtxCollisions () /* + preselected |Zvtx| < X cm collisions */ );
3181+ histos.get <TH1 >(HIST (" hEventPreSelection" ))->AddBinContent (6 , straSelection.totalNoSBPileupCollisions () /* + preselected NoSameBunchPileup collisions */ );
3182+ histos.get <TH1 >(HIST (" hEventPreSelection" ))->AddBinContent (7 , straSelection.totalIsGoodRCTCollisions () /* + preselected Good RCT collisions */ );
3183+ histos.get <TH1 >(HIST (" hEventPreSelection" ))->AddBinContent (8 , straSelection.totalNbrOfSelCollisions () /* total number of preselected collisions */ );
31713184 }
31723185 }
31733186
0 commit comments