Skip to content

Commit 2876940

Browse files
author
Cristian Moscatelli
committed
Removed comments
1 parent 8a4d9cd commit 2876940

1 file changed

Lines changed: 13 additions & 13 deletions

File tree

PWGLF/TableProducer/Nuspex/deuteronInTriggeredEvents.cxx

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -160,16 +160,16 @@ constexpr double DownscalingDefault[5][1]{
160160
{1.},
161161
{1.},
162162
{1.}};
163-
constexpr int species{5}; // Number of analysed species
164-
constexpr int codes[5]{2212, 1000010020, 1000010030, 1000020030, 1000020040}; // PGD code of these particles
165-
constexpr float charges[5]{1.f, 1.f, 1.f, 2.f, 2.f}; // Their charge
166-
constexpr float masses[5]{MassProton, MassDeuteron, MassTriton, MassHelium3, MassAlpha}; // Their masses
167-
static const std::vector<std::string> matter{"M", "A"}; // Type of particles (matter or antimatter)
168-
static const std::vector<std::string> pidName{"TPC", "TOF"}; // Type of PID
169-
static const std::vector<int> hfMothCodes{511, 521, 531, 541, 5122}; // b-mesons + Lambda_b
170-
static const std::vector<std::string> names{"proton", "deuteron", "triton", "He3", "alpha"}; // Particles name
171-
static const std::vector<std::string> treeConfigNames{"Filter trees", "Use TOF selection"}; // TO BE UNDERSTAND
172-
static const std::vector<std::string> DCAConfigNames{"Save DCA hist", "Matter/Antimatter"}; // TO BE UNDERSTAND
163+
constexpr int species{5}; // Number of analysed species
164+
constexpr int codes[5]{2212, 1000010020, 1000010030, 1000020030, 1000020040}; // PGD code of these particles
165+
constexpr float charges[5]{1.f, 1.f, 1.f, 2.f, 2.f}; // Their charge
166+
constexpr float masses[5]{MassProton, MassDeuteron, MassTriton, MassHelium3, MassAlpha}; // Their masses
167+
static const std::vector<std::string> matter{"M", "A"}; // Type of particles (matter or antimatter)
168+
static const std::vector<std::string> pidName{"TPC", "TOF"}; // Type of PID
169+
static const std::vector<int> hfMothCodes{511, 521, 531, 541, 5122}; // b-mesons + Lambda_b
170+
static const std::vector<std::string> names{"proton", "deuteron", "triton", "He3", "alpha"}; // Particles name
171+
static const std::vector<std::string> treeConfigNames{"Filter trees", "Use TOF selection"};
172+
static const std::vector<std::string> DCAConfigNames{"Save DCA hist", "Matter/Antimatter"};
173173
static const std::vector<std::string> nSigmaConfigName{"nsigma_min", "nsigma_max"}; // label for nsigmaTPC selection
174174
static const std::vector<std::string> nDCAConfigName{"max DCAxy", "max DCAz"}; // label for DCA selection
175175
static const std::vector<std::string> DownscalingConfigName{"Fraction of kept candidates"}; // Fraction of candidates to be kept
@@ -459,8 +459,8 @@ struct DeuteronInTriggeredEvents {
459459
const AxisSpec ptResAxis{cfgMomResBins, "#Delta#it{p}_{T}/#it{p}_{T}"};
460460
const AxisSpec nITSClusAxis{cfgNITSClusBins, "N ITS clusters"};
461461
const AxisSpec nTPCClusAxis{cfgNTPCClusBins, "N TPC clusters"};
462-
const AxisSpec hasTRDAxis{2, -0.5, 1.5, "Has TRD"}; // TO BE CHECKED
463-
const AxisSpec correctPVAxis{2, -0.5, 1.5, "Correct PV"}; // TO BE CHECKED
462+
const AxisSpec hasTRDAxis{2, -0.5, 1.5, "Has TRD"};
463+
const AxisSpec correctPVAxis{2, -0.5, 1.5, "Correct PV"};
464464
const AxisSpec isSecondaryAxis{2, -0.5, 1.5, "Is secondary"};
465465
const AxisSpec fromWeakDecayAxis{2, -0.5, 1.5, "From weak decay"};
466466

@@ -812,7 +812,7 @@ struct DeuteronInTriggeredEvents {
812812
float beta{o2::pid::tof::Beta::GetBeta(track)};
813813
spectra.fill(HIST("hTpcSignalDataSelected"), correctedTpcInnerParam * track.sign(), track.tpcSignal());
814814
spectra.fill(HIST("hTofSignalData"), correctedTpcInnerParam, beta);
815-
beta = std::min(1.f - 1.e-6f, std::max(1.e-4f, beta)); /// sometimes beta > 1 or < 0, to be checked
815+
beta = std::min(1.f - 1.e-6f, std::max(1.e-4f, beta)); /// sometimes beta > 1 or < 0
816816
uint16_t flag = static_cast<uint16_t>((track.pidForTracking() & 0xF) << 12); // Store the PID of the track in the 12-15 bit
817817
std::array<float, 5> tofMasses{-3.f, -3.f, -3.f, -3.f, -3.f};
818818
bool fillTree{false};

0 commit comments

Comments
 (0)