Skip to content

Commit

Permalink
[PWGEM/PhotonMeson] Fix abs in emcalQC task
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolas Strangmann committed Dec 12, 2024
1 parent 88f0a2f commit f809439
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PWGEM/PhotonMeson/Tasks/emcalQC.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ struct emcalQC {
fRegistry.fill(HIST("Event/hEMCCollisionCounter"), 1);
if (collision.selection_bit(o2::aod::evsel::kIsTriggerTVX)) {
fRegistry.fill(HIST("Event/hEMCCollisionCounter"), 2);
if (abs(collision.posZ()) < eventcuts.cfgZvtxMax) {
if (collision.posZ() < eventcuts.cfgZvtxMax && collision.posZ() > -eventcuts.cfgZvtxMax) {
fRegistry.fill(HIST("Event/hEMCCollisionCounter"), 3);
if (collision.sel8()) {
fRegistry.fill(HIST("Event/hEMCCollisionCounter"), 4);
Expand Down

0 comments on commit f809439

Please sign in to comment.