Skip to content

Commit

Permalink
Revert to abs
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolas Strangmann committed Dec 12, 2024
1 parent 047bffe commit 601ba09
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 @@ -169,7 +169,7 @@ struct EmcalQC {
fRegistry.fill(HIST("Event/hEMCCollisionCounter"), 1);
if (collision.selection_bit(o2::aod::evsel::kIsTriggerTVX)) {
fRegistry.fill(HIST("Event/hEMCCollisionCounter"), 2);
if (collision.posZ() < eventcuts.cfgZvtxMax && collision.posZ() > -eventcuts.cfgZvtxMax) {
if (std::abs(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 601ba09

Please sign in to comment.