Skip to content

Commit 581ad1b

Browse files
author
Ionut Cristian Arsene
committed
Adding a guard if constexpr for TOF n-sigma's in the VarManager
1 parent 2f2a336 commit 581ad1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PWGDQ/Core/VarManager.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2523,7 +2523,7 @@ void VarManager::FillTrack(T const& track, float* values)
25232523
values[kTPCnSigmaPr_Corr] = track.tpcNSigmaPr();
25242524
}
25252525
}
2526-
2526+
25272527
if constexpr ((fillMap & TrackPID) > 0 || (fillMap & ReducedTrackBarrelPID) > 0) {
25282528
values[kTOFnSigmaEl] = track.tofNSigmaEl();
25292529
values[kTOFnSigmaPi] = track.tofNSigmaPi();

0 commit comments

Comments
 (0)