Skip to content

Commit 6d41a0e

Browse files
omassenvkucera
andauthored
Update PWGEM/Dilepton/Utils/EventHistograms.h
Co-authored-by: Vít Kučera <26327373+vkucera@users.noreply.github.com>
1 parent 4fa3021 commit 6d41a0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PWGEM/Dilepton/Utils/EventHistograms.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ void fillEventInfo(o2::framework::HistogramRegistry* fRegistry, TCollision const
203203
if (collision.sel8()) {
204204
fRegistry->fill(HIST("Event/") + HIST(event_types[ev_id]) + HIST("hCollisionCounter"), 10.0);
205205
}
206-
if (abs(collision.posZ()) < 10.0) {
206+
if (std::abs(collision.posZ()) < 10.0) {
207207
fRegistry->fill(HIST("Event/") + HIST(event_types[ev_id]) + HIST("hCollisionCounter"), 11.0);
208208
}
209209
if (collision.selection_bit(o2::aod::emevsel::kNoCollInTimeRangeStandard)) {

0 commit comments

Comments
 (0)