File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -167,17 +167,17 @@ struct EmcalQC {
167167 }
168168
169169 fRegistry .fill (HIST (" Event/hEMCCollisionCounter" ), 1 );
170- if (collision.selection_bit (o2::aod::evsel::kIsTriggerTVX )) {
170+ if (!eventcuts. cfgRequireFT0AND || collision.selection_bit (o2::aod::evsel::kIsTriggerTVX )) {
171171 fRegistry .fill (HIST (" Event/hEMCCollisionCounter" ), 2 );
172172 if (std::abs (collision.posZ ()) < eventcuts.cfgZvtxMax ) {
173173 fRegistry .fill (HIST (" Event/hEMCCollisionCounter" ), 3 );
174- if (collision.sel8 ()) {
174+ if (!eventcuts. cfgRequireSel8 || collision.sel8 ()) {
175175 fRegistry .fill (HIST (" Event/hEMCCollisionCounter" ), 4 );
176- if (collision.selection_bit (o2::aod::evsel::kIsGoodZvtxFT0vsPV )) {
176+ if (!eventcuts. cfgRequireGoodZvtxFT0vsPV || collision.selection_bit (o2::aod::evsel::kIsGoodZvtxFT0vsPV )) {
177177 fRegistry .fill (HIST (" Event/hEMCCollisionCounter" ), 5 );
178- if (collision.selection_bit (o2::aod::evsel::kNoSameBunchPileup )) {
178+ if (!eventcuts. cfgRequireNoSameBunchPileup || collision.selection_bit (o2::aod::evsel::kNoSameBunchPileup )) {
179179 fRegistry .fill (HIST (" Event/hEMCCollisionCounter" ), 6 );
180- if (collision.alias_bit (kTVXinEMC ))
180+ if (!eventcuts. cfgRequireEMCReadoutInMB || collision.alias_bit (kTVXinEMC ))
181181 fRegistry .fill (HIST (" Event/hEMCCollisionCounter" ), 7 );
182182 }
183183 }
You can’t perform that action at this time.
0 commit comments