Skip to content

Commit a69cd13

Browse files
[PWGHF] Implement TPC pid for light nuclei based on Bethe-Bloch parametrization in HF track skimming task (#14729)
Co-authored-by: ALICE Action Bot <alibuild@cern.ch>
1 parent 508c431 commit a69cd13

File tree

3 files changed

+238
-161
lines changed

3 files changed

+238
-161
lines changed

PWGHF/Core/SelectorCuts.h

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -67,29 +67,38 @@ static const std::vector<std::string> labelsCutVarTrack = {"min_dcaxytoprimary",
6767

6868
namespace hf_presel_pid
6969
{
70-
static constexpr int NPidRows = 7; // number of PID channels / rows
70+
static constexpr int NPidRows = 4; // number of PID channels / rows
7171
static constexpr int NPidCuts = 6; // number of cuts per PID (TPC+TOF)
7272
// default values for the PID cuts for protons in the track-index-skim-creator
7373
constexpr float CutsPid[NPidRows][NPidCuts] = {{0.f, 1000.f, 5.f, 0.f, 1000.f, 5.f},
74-
{0.f, 1000.f, 5.f, 0.f, 1000.f, 5.f},
75-
{0.f, 1000.f, 5.f, 0.f, 1000.f, 5.f},
76-
{0.f, 1000.f, 5.f, 0.f, 1000.f, 5.f},
7774
{0.f, 1000.f, 5.f, 0.f, 1000.f, 5.f},
7875
{0.f, 1000.f, 5.f, 0.f, 1000.f, 5.f},
7976
{0.f, 1000.f, 5.f, 0.f, 1000.f, 5.f}};
8077
static const std::vector<std::string> labelsCutsPid = {"minPtTpc", "maxPtTpc", "nSigmaMaxTpc", "minPtTof", "maxPtTof", "nSigmaMaxTof"};
81-
static const std::vector<std::string> labelsRowsPid = {"ProtonInLcToPKPi", "ProtonInXicToPKPi", "ProtonInLcToPK0S", "KaonIn3Prongs", "DeuteronInCdToDeKPi", "TritonInCtToTrKPi", "HeliumInChToHeKPi"};
78+
static const std::vector<std::string> labelsRowsPid = {"ProtonInLcToPKPi", "ProtonInXicToPKPi", "ProtonInLcToPK0S", "KaonIn3Prongs"};
8279
} // namespace hf_presel_pid
8380

8481
namespace hf_presel_lightnuclei
8582
{
8683

84+
static constexpr int NParticleRows = 4; // number of particles / rows
85+
static constexpr int NVarCuts = 10; // number of cuts for each particles
86+
static constexpr int NBetheBlochParams = 6; // number of parameters for Bethe-Bloch
87+
8788
// default values for the track cuts for lightnuclei in the track-index-skim-creator
88-
constexpr float CutsTrackQuality[3][9] = {{-4, 3, 5., 0., 100, 100, 0.83, 160., 1.},
89-
{-4, 3, 5., 0., 100, 100, 0.83, 160., 1.},
90-
{-4, 3, 5., 0., 100, 100, 0.83, 160., 1.}};
91-
static const std::vector<std::string> labelsCutsTrack = {"nSigmaMinIts", "minItsClusterSizes", "minItsCluster", "minItsIbCluster", "minTpcCluster", "minTpcRow", "minTpcCrossedOverFound", "maxTpcShared", "maxTpcFracShared"};
92-
static const std::vector<std::string> labelsRowsNucleiType = {"Deutron", "Triton", "Helium3"};
89+
constexpr float CutsTrackQuality[NParticleRows][NVarCuts] = {{-4.f, 3.f, 5.f, 0.f, 100.f, 100.f, 0.83, 160.f, 1.f, 5.f},
90+
{-4.f, 3.f, 5.f, 0.f, 100.f, 100.f, 0.83, 160.f, 1.f, 5.f},
91+
{-4.f, 3.f, 5.f, 0.f, 100.f, 100.f, 0.83, 160.f, 1.f, 5.f},
92+
{-4.f, 3.f, 5.f, 0.f, 100.f, 100.f, 0.83, 160.f, 1.f, 5.f}};
93+
static const std::vector<std::string> labelsCutsTrack = {"nSigmaMinIts", "minItsClusterSizes", "minItsCluster", "minItsIbCluster", "minTpcCluster", "minTpcRow", "minTpcCrossedOverFound", "maxTpcShared", "maxTpcFracShared", "maxTPCnSigmaBB"};
94+
static const std::vector<std::string> labelsRowsNucleiType = {"Deutron", "Triton", "Helium3", "Alpha"};
95+
96+
constexpr float BetheBlochParams[NParticleRows][NBetheBlochParams] = {{5.39302, 7.859534, 0.004048, 2.323197, 1.609307, 0.09},
97+
{5.39302, 7.859534, 0.004048, 2.323197, 1.609307, 0.09},
98+
{-126.55736, -0.858569, 1.11164, 1.21032, 2.656374, 0.09},
99+
{-126.55736, -0.858569, 1.11164, 1.21032, 2.656374, 0.09}};
100+
101+
static const std::vector<std::string> labelsBetheBlochParams = {"p0", "p1", "p2", "p3", "p4", "resolution"};
93102

94103
} // namespace hf_presel_lightnuclei
95104

PWGHF/DataModel/TrackIndexSkimmingTables.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,7 @@ enum DecayType {
301301
CdToDeKPi,
302302
CtToTrKPi,
303303
ChToHeKPi,
304+
CaToAlKPi,
304305
N3ProngDecays
305306
};
306307
} // namespace hf_cand_3prong

0 commit comments

Comments
 (0)