Skip to content

Commit c63301f

Browse files
committed
Feat: fix linter issues
1 parent ab335bf commit c63301f

1 file changed

Lines changed: 12 additions & 13 deletions

File tree

PWGCF/Femto/DataModel/FemtoTables.h

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -565,9 +565,9 @@ constexpr float LambdaMassMin = 1.05f; // Kinematic lower limit
565565
constexpr float LambdaMassMax = 1.30f;
566566
constexpr float LambdaMassStep = (LambdaMassMax - LambdaMassMin) / 65536.f;
567567

568-
// K0short: PDG mass 0.497611 GeV, ±100 MeV window
569-
constexpr float K0shortMassMin = 0.497611f - 0.1f; // = 0.397611
570-
constexpr float K0shortMassMax = 0.497611f + 0.1f; // = 0.597611
568+
// K0short: PDG mass 0.497611 GeV roughly ±100 MeV window
569+
constexpr float K0shortMassMin = 0.4f;
570+
constexpr float K0shortMassMax = 0.6f;
571571
constexpr float K0shortMassStep = (K0shortMassMax - K0shortMassMin) / 65536.f;
572572

573573
inline uint16_t binLambdaMass(float lambdaMass) { return o2::analysis::femto::utils::binLinear<uint16_t>(lambdaMass, LambdaMassMin, LambdaMassMax, LambdaMassStep); }
@@ -726,10 +726,9 @@ DECLARE_SOA_INDEX_COLUMN_FULL(ChaDau, chaDau, int32_t, FTracks, "_ChaDau"); //!
726726

727727
namespace lite
728728
{
729-
// Sigma (using a shared window covering both Sigma- 1.19745 and Sigma+ 1.18937):
730-
// centered on the midpoint ~1.19341, +-100 MeV comfortably covers both species + margin
731-
constexpr float SigmaMassMin = 1.19341f - 0.1f; // = 1.09341
732-
constexpr float SigmaMassMax = 1.19341f + 0.1f; // = 1.29341
729+
// Sigma (using a shared window covering both Sigma- 1.19745 and Sigma+ 1.18937) with roughly +-100 MeV
730+
constexpr float SigmaMassMin = 1.1f;
731+
constexpr float SigmaMassMax = 1.3f;
733732
constexpr float SigmaMassStep = (SigmaMassMax - SigmaMassMin) / 65536.f;
734733

735734
inline uint16_t binSigmaMass(float mass) { return o2::analysis::femto::utils::binLinear<uint16_t>(mass, SigmaMassMin, SigmaMassMax, SigmaMassStep); }
@@ -897,14 +896,14 @@ DECLARE_SOA_INDEX_COLUMN_FULL(Bachelor, bachelor, int32_t, FTracks, "_Bachelor")
897896
namespace lite
898897
{
899898

900-
// Xi-: PDG mass 1.32171 GeV, ±100 MeV window
901-
constexpr float XiMassMin = 1.32171f - 0.1f; // = 1.22171
902-
constexpr float XiMassMax = 1.32171f + 0.1f; // = 1.42171
899+
// Xi-: PDG mass 1.32171 GeV, roughly ±100 MeV window
900+
constexpr float XiMassMin = 1.22;
901+
constexpr float XiMassMax = 1.42;
903902
constexpr float XiMassStep = (XiMassMax - XiMassMin) / 65536.f;
904903

905-
// Omega-: PDG mass 1.67245 GeV, ±100 MeV window
906-
constexpr float OmegaMassMin = 1.67245f - 0.1f; // = 1.57245
907-
constexpr float OmegaMassMax = 1.67245f + 0.1f; // = 1.77245
904+
// Omega-: PDG mass 1.67245 GeV, roughly ±100 MeV window
905+
constexpr float OmegaMassMin = 1.57;
906+
constexpr float OmegaMassMax = 1.77;
908907
constexpr float OmegaMassStep = (OmegaMassMax - OmegaMassMin) / 65536.f;
909908

910909
inline uint16_t binXiMass(float mass) { return o2::analysis::femto::utils::binLinear<uint16_t>(mass, XiMassMin, XiMassMax, XiMassStep); }

0 commit comments

Comments
 (0)