@@ -68,12 +68,13 @@ static const std::vector<std::string> labelsCutVarTrack = {"min_dcaxytoprimary",
6868namespace hf_presel_pid
6969{
7070// default values for the PID cuts for protons in the track-index-skim-creator
71- constexpr float CutsPid[4 ][6 ] = {{0 .f , 1000 .f , 5 .f , 0 .f , 1000 .f , 5 .f },
71+ constexpr float CutsPid[5 ][6 ] = {{0 .f , 1000 .f , 5 .f , 0 .f , 1000 .f , 5 .f },
72+ {0 .f , 1000 .f , 5 .f , 0 .f , 1000 .f , 5 .f },
7273 {0 .f , 1000 .f , 5 .f , 0 .f , 1000 .f , 5 .f },
7374 {0 .f , 1000 .f , 5 .f , 0 .f , 1000 .f , 5 .f },
7475 {0 .f , 1000 .f , 5 .f , 0 .f , 1000 .f , 5 .f }};
7576static const std::vector<std::string> labelsCutsPid = {" minPtTpc" , " maxPtTpc" , " nSigmaMaxTpc" , " minPtTof" , " maxPtTof" , " nSigmaMaxTof" };
76- static const std::vector<std::string> labelsRowsPid = {" ProtonInLcToPKPi" , " ProtonInXicToPKPi" , " ProtonInLcToPK0S" , " KaonIn3Prongs" };
77+ static const std::vector<std::string> labelsRowsPid = {" ProtonInLcToPKPi" , " ProtonInXicToPKPi" , " ProtonInLcToPK0S" , " KaonIn3Prongs" , " DeuteronInCdToDeKPi " };
7778} // namespace hf_presel_pid
7879
7980namespace hf_cuts_bdt_multiclass
@@ -1516,6 +1517,53 @@ static const std::vector<std::string> labelsPt = {
15161517static const std::vector<std::string> labelsCutVar = {" max pKpi mass Lc" , " max piKp mass Lc" };
15171518} // namespace hf_cuts_sigmac_to_p_k_pi
15181519
1520+ namespace hf_cuts_cd_to_de_k_pi
1521+ {
1522+ static constexpr int NBinsPt = 6 ;
1523+ static constexpr int NCutVars = 11 ;
1524+ static constexpr int NCutKfVars = 12 ;
1525+ // default values for the pT bin edges (can be used to configure histogram axis)
1526+ // offset by 1 from the bin numbers in cuts array
1527+ constexpr double BinsPt[NBinsPt + 1 ] = {
1528+ 0 .,
1529+ 2 .,
1530+ 4 .,
1531+ 6 .,
1532+ 8 .,
1533+ 12 .,
1534+ 24 .};
1535+ const auto vecBinsPt = std::vector<double >{BinsPt, BinsPt + NBinsPt + 1 };
1536+
1537+ // default values for the cuts m, ptP, ptK, ptPi, chi2PCA, dL, cosp, dLXY, NdLXY, ImpParXY, mass(Kpi)
1538+ constexpr double Cuts[NBinsPt][NCutVars] = {{0.4 , 0.4 , 0.4 , 0.4 , 0 ., 0.005 , 0 ., 0 ., 0 ., 1e+10 , -1 .}, /* 0 < pT < 2 */
1539+ {0.4 , 0.4 , 0.4 , 0.4 , 0 ., 0.005 , 0 ., 0 ., 0 ., 1e+10 , -1 .}, /* 2 < pT < 4 */
1540+ {0.4 , 0.4 , 0.4 , 0.4 , 0 ., 0.005 , 0 ., 0 ., 0 ., 1e+10 , -1 .}, /* 4 < pT < 6 */
1541+ {0.4 , 0.4 , 0.4 , 0.4 , 0 ., 0.005 , 0 ., 0 ., 0 ., 1e+10 , -1 .}, /* 6 < pT < 8 */
1542+ {0.4 , 0.4 , 0.4 , 0.4 , 0 ., 0.005 , 0 ., 0 ., 0 ., 1e+10 , -1 .}, /* 8 < pT < 12 */
1543+ {0.4 , 0.4 , 0.4 , 0.4 , 0 ., 0.005 , 0 ., 0 ., 0 ., 1e+10 , -1 .}}; /* 12 < pT < 24 */
1544+
1545+ // default value for the cuts Chi2Prim Chi2Geo DCA, cm Chi2Geo Chi2Topo
1546+ // P K Pi KPi PPi PK KPi PPi PK ↓ LdL ↓
1547+ constexpr double CutsKf[NBinsPt][NCutKfVars] = {{3 ., 3 ., 3 ., 3 ., 3 ., 3 ., 0.01 , 0.01 , 0.01 , 3 ., 5 ., 5 .}, /* 0 < pT < 2 */
1548+ {3 ., 3 ., 3 ., 3 ., 3 ., 3 ., 0.01 , 0.01 , 0.01 , 3 ., 5 ., 5 .}, /* 2 < pT < 4 */
1549+ {3 ., 3 ., 3 ., 3 ., 3 ., 3 ., 0.01 , 0.01 , 0.01 , 3 ., 5 ., 5 .}, /* 4 < pT < 6 */
1550+ {3 ., 3 ., 3 ., 3 ., 3 ., 3 ., 0.01 , 0.01 , 0.01 , 3 ., 5 ., 5 .}, /* 6 < pT < 8 */
1551+ {3 ., 3 ., 3 ., 3 ., 3 ., 3 ., 0.01 , 0.01 , 0.01 , 3 ., 5 ., 5 .}, /* 8 < pT < 12 */
1552+ {3 ., 3 ., 3 ., 3 ., 3 ., 3 ., 0.01 , 0.01 , 0.01 , 3 ., 5 ., 5 .}}; /* 12 < pT < 24 */
1553+
1554+ // row labels
1555+ static const std::vector<std::string> labelsPt = {
1556+ " pT bin 0" ,
1557+ " pT bin 1" ,
1558+ " pT bin 2" ,
1559+ " pT bin 3" ,
1560+ " pT bin 4" ,
1561+ " pT bin 5" };
1562+
1563+ // column labels
1564+ static const std::vector<std::string> labelsCutVar = {" m" , " pT De" , " pT K" , " pT Pi" , " Chi2PCA" , " decay length" , " cos pointing angle" , " decLengthXY" , " normDecLXY" , " impParXY" , " mass (Kpi)" };
1565+ } // namespace hf_cuts_cd_to_de_k_pi
1566+
15191567} // namespace o2::analysis
15201568
15211569#endif // PWGHF_CORE_SELECTORCUTS_H_
0 commit comments