Skip to content

Commit 6346497

Browse files
committed
Update
1 parent b1ad16d commit 6346497

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Common/TableProducer/PID/pidTOFMerge.cxx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -654,9 +654,9 @@ struct tofEventTime {
654654
std::map<uint64_t, std::pair<float, float>> collisionFt0Map;
655655
tableFt0.reserve(collisions.size());
656656
for (const auto& collision : collisions) {
657-
static constexpr float defaultValue = 1e10f;
658-
float t0A = defaultValue;
659-
float t0C = defaultValue;
657+
static constexpr float DefaultValue = 1e10f;
658+
float t0A = DefaultValue;
659+
float t0C = DefaultValue;
660660
const float vertexPV = collision.posZ();
661661
static constexpr float invLightSpeedCm2NS = 1.f / o2::constants::physics::LightSpeedCm2NS;
662662
const float vertexCorr = vertexPV * invLightSpeedCm2NS;
@@ -760,8 +760,8 @@ struct tofEventTime {
760760
float t0A = collisionFt0Map[t.collisionId()].first; // T0A for the collision
761761
float t0C = collisionFt0Map[t.collisionId()].second; // T0C for the collision
762762

763-
static constexpr float thresholdValue = 1e9f; // I the value of the FT0s are defined, the values are lower than 10e9
764-
if ((t0A < thresholdValue) && (t0C < thresholdValue)) {
763+
static constexpr float ThresholdValue = 1e9f; // I the value of the FT0s are defined, the values are lower than 10e9
764+
if ((t0A < ThresholdValue) && (t0C < ThresholdValue)) {
765765
t0AC[0] = 0.5 * (t0A + t0C) * 1000.f;
766766
t0AC[1] = 0.5 * std::abs(t0A - t0C) * 1000.f;
767767
flags |= o2::aod::pidflags::enums::PIDFlags::EvTimeT0AC;
@@ -843,10 +843,10 @@ struct tofEventTime {
843843
float t0A = collisionFt0Map[t.collisionId()].first; // T0A for the collision
844844
float t0C = collisionFt0Map[t.collisionId()].second; // T0C for the collision
845845

846-
static constexpr float thresholdValue = 1e9f; // I the value of the FT0s are defined, the values are lower than 10e9
846+
static constexpr float ThresholdValue = 1e9f; // I the value of the FT0s are defined, the values are lower than 10e9
847847
float t0AC[2] = {.0f, 999.f};
848848
uint8_t flags = 0;
849-
if ((t0A < thresholdValue) && (t0C < thresholdValue)) {
849+
if ((t0A < ThresholdValue) && (t0C < ThresholdValue)) {
850850
t0AC[0] = 0.5 * (t0A + t0C) * 1000.f;
851851
t0AC[1] = 0.5 * std::abs(t0A - t0C) * 1000.f;
852852
flags = o2::aod::pidflags::enums::PIDFlags::EvTimeT0AC;

0 commit comments

Comments
 (0)