@@ -67,29 +67,38 @@ static const std::vector<std::string> labelsCutVarTrack = {"min_dcaxytoprimary",
6767
6868namespace 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
7171static 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
7373constexpr 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 }};
8077static 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
8481namespace 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
0 commit comments