|
9 | 9 | // granted to it by virtue of its status as an Intergovernmental Organization |
10 | 10 | // or submit itself to any jurisdiction. |
11 | 11 | /// |
12 | | -/// \file tofPidMerge.cxx |
13 | | -/// \author Nicolò Jacazio [email protected] |
| 12 | +/// \file pidTOFMerge.cxx |
14 | 13 | /// \brief Task to produce PID tables for TOF split for each particle. |
15 | 14 | /// Only the tables for the mass hypotheses requested are filled, the others are sent empty. |
| 15 | +/// \author Nicolò Jacazio [email protected] |
16 | 16 | /// |
17 | 17 |
|
18 | 18 | #include <utility> |
@@ -514,7 +514,7 @@ struct tofEventTime { |
514 | 514 | Produces<o2::aod::TOFEvTime> tableEvTime; |
515 | 515 | Produces<o2::aod::EvTimeTOFOnly> tableEvTimeTOFOnly; |
516 | 516 | 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 |
518 | 518 | static constexpr float kDiamond = 6.0; // Collision diamond used in the estimation of the TOF event time |
519 | 519 | static constexpr float kErrDiamond = kDiamond * 33.356409f; |
520 | 520 | static constexpr float kWeightDiamond = 1.f / (kErrDiamond * kErrDiamond); |
@@ -710,7 +710,7 @@ struct tofEventTime { |
710 | 710 | sumOfWeights = 0.f; |
711 | 711 | weight = 0.f; |
712 | 712 | // Remove the bias on TOF ev. time |
713 | | - if constexpr (removeTOFEvTimeBias) { |
| 713 | + if constexpr (kRemoveTOFEvTimeBias) { |
714 | 714 | evTimeMakerTOF.removeBias<Run3TrksWtof::iterator, filterForTOFEventTime>(trk, nGoodTracksForTOF, t0TOF[0], t0TOF[1], 2); |
715 | 715 | } |
716 | 716 | if (t0TOF[1] < kErrDiamond && (maxEvTimeTOF <= 0 || std::abs(t0TOF[0]) < maxEvTimeTOF)) { |
@@ -773,7 +773,7 @@ struct tofEventTime { |
773 | 773 | float erret = evTimeMakerTOF.mEventTimeError; |
774 | 774 |
|
775 | 775 | for (auto const& trk : tracksInCollision) { // Loop on Tracks |
776 | | - if constexpr (removeTOFEvTimeBias) { |
| 776 | + if constexpr (kRemoveTOFEvTimeBias) { |
777 | 777 | evTimeMakerTOF.removeBias<Run3TrksWtof::iterator, filterForTOFEventTime>(trk, nGoodTracksForTOF, et, erret, 2); |
778 | 778 | } |
779 | 779 | uint8_t flags = 0; |
|
0 commit comments