Skip to content

Commit 7fcdc15

Browse files
authored
Update pidTOFMerge.cxx
1 parent 2f100ba commit 7fcdc15

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Common/TableProducer/PID/pidTOFMerge.cxx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
// granted to it by virtue of its status as an Intergovernmental Organization
1010
// or submit itself to any jurisdiction.
1111
///
12-
/// \file tofPidMerge.cxx
13-
/// \author Nicolò Jacazio [email protected]
12+
/// \file pidTOFMerge.cxx
1413
/// \brief Task to produce PID tables for TOF split for each particle.
1514
/// Only the tables for the mass hypotheses requested are filled, the others are sent empty.
15+
/// \author Nicolò Jacazio [email protected]
1616
///
1717

1818
#include <utility>
@@ -514,7 +514,7 @@ struct tofEventTime {
514514
Produces<o2::aod::TOFEvTime> tableEvTime;
515515
Produces<o2::aod::EvTimeTOFOnly> tableEvTimeTOFOnly;
516516
Produces<o2::aod::pidEvTimeFlags> tableFlags;
517-
static constexpr bool removeTOFEvTimeBias = true; // Flag to subtract the Ev. Time bias for low multiplicity events with TOF
517+
static constexpr bool kRemoveTOFEvTimeBias = true; // Flag to subtract the Ev. Time bias for low multiplicity events with TOF
518518
static constexpr float kDiamond = 6.0; // Collision diamond used in the estimation of the TOF event time
519519
static constexpr float kErrDiamond = kDiamond * 33.356409f;
520520
static constexpr float kWeightDiamond = 1.f / (kErrDiamond * kErrDiamond);
@@ -710,7 +710,7 @@ struct tofEventTime {
710710
sumOfWeights = 0.f;
711711
weight = 0.f;
712712
// Remove the bias on TOF ev. time
713-
if constexpr (removeTOFEvTimeBias) {
713+
if constexpr (kRemoveTOFEvTimeBias) {
714714
evTimeMakerTOF.removeBias<Run3TrksWtof::iterator, filterForTOFEventTime>(trk, nGoodTracksForTOF, t0TOF[0], t0TOF[1], 2);
715715
}
716716
if (t0TOF[1] < kErrDiamond && (maxEvTimeTOF <= 0 || std::abs(t0TOF[0]) < maxEvTimeTOF)) {
@@ -773,7 +773,7 @@ struct tofEventTime {
773773
float erret = evTimeMakerTOF.mEventTimeError;
774774

775775
for (auto const& trk : tracksInCollision) { // Loop on Tracks
776-
if constexpr (removeTOFEvTimeBias) {
776+
if constexpr (kRemoveTOFEvTimeBias) {
777777
evTimeMakerTOF.removeBias<Run3TrksWtof::iterator, filterForTOFEventTime>(trk, nGoodTracksForTOF, et, erret, 2);
778778
}
779779
uint8_t flags = 0;

0 commit comments

Comments
 (0)