1313// / \brief Class to compute the ML response for Ξc^0 → Ξ∓ π± analysis selections
1414// / \author Tao Fang <tao.fang@cern.ch>, Central China Normal University
1515
16- #ifndef PWGHF_CORE_HFMLRESPONSEXICTOXIPIKF_H_
17- #define PWGHF_CORE_HFMLRESPONSEXICTOXIPIKF_H_
16+ #ifndef PWGHF_CORE_HFMLRESPONSEXIC0TOXIPIKF_H_
17+ #define PWGHF_CORE_HFMLRESPONSEXIC0TOXIPIKF_H_
1818
1919#include < map>
2020#include < string>
2525// Fill the map of available input features
2626// the key is the feature's name (std::string)
2727// the value is the corresponding value in EnumInputFeatures
28- #define FILL_MAP_XICTOXIPI (FEATURE ) \
28+ #define FILL_MAP_XIC0TOXIPI (FEATURE ) \
2929 { \
3030 #FEATURE, static_cast <uint8_t >(InputFeaturesXicToXiPi::FEATURE) \
3131 }
3434// matches the entry in EnumInputFeatures associated to this FEATURE
3535// if so, the inputFeatures vector is filled with the FEATURE's value
3636// by calling the corresponding GETTER from OBJECT
37- #define CHECK_AND_FILL_VEC_XICTOXIPI_FULL (OBJECT, FEATURE, GETTER ) \
37+ #define CHECK_AND_FILL_VEC_XIC0TOXIPI_FULL (OBJECT, FEATURE, GETTER ) \
3838 case static_cast <uint8_t >(InputFeaturesXicToXiPi::FEATURE): { \
3939 inputFeatures.emplace_back (OBJECT.GETTER ()); \
4040 break ; \
4141 }
4242
4343// where OBJECT is named candidate and FEATURE = GETTER
44- #define CHECK_AND_FILL_VEC_XICTOXIPI (GETTER ) \
44+ #define CHECK_AND_FILL_VEC_XIC0TOXIPI (GETTER ) \
4545 case static_cast <uint8_t >(InputFeaturesXicToXiPi::GETTER): { \
4646 inputFeatures.emplace_back (candidate.GETTER ()); \
4747 break ; \
@@ -88,26 +88,26 @@ class HfMlResponseXicToXiPikf : public HfMlResponse<TypeOutputScore>
8888 for (const auto & idx : MlResponse<TypeOutputScore>::mCachedIndices ) {
8989 switch (idx) {
9090 // PID variables
91- CHECK_AND_FILL_VEC_XICTOXIPI_FULL (lamProngPi, tpcNSigmaPiFromLambda, tpcNSigmaPi);
92- CHECK_AND_FILL_VEC_XICTOXIPI_FULL (cascProngPi, tpcNSigmaPiFromCasc, tpcNSigmaPi);
93- CHECK_AND_FILL_VEC_XICTOXIPI_FULL (charmBaryonProngPi, tpcNSigmaPiFromCharmBaryon, tpcNSigmaPi);
91+ CHECK_AND_FILL_VEC_XIC0TOXIPI_FULL (lamProngPi, tpcNSigmaPiFromLambda, tpcNSigmaPi);
92+ CHECK_AND_FILL_VEC_XIC0TOXIPI_FULL (cascProngPi, tpcNSigmaPiFromCasc, tpcNSigmaPi);
93+ CHECK_AND_FILL_VEC_XIC0TOXIPI_FULL (charmBaryonProngPi, tpcNSigmaPiFromCharmBaryon, tpcNSigmaPi);
9494 // DCA
95- CHECK_AND_FILL_VEC_XICTOXIPI (dcaCascDau)
96- CHECK_AND_FILL_VEC_XICTOXIPI (dcaCharmBaryonDau);
97- CHECK_AND_FILL_VEC_XICTOXIPI (kfDcaXYPiFromXic);
98- CHECK_AND_FILL_VEC_XICTOXIPI (kfDcaXYCascToPv);
95+ CHECK_AND_FILL_VEC_XIC0TOXIPI (dcaCascDau)
96+ CHECK_AND_FILL_VEC_XIC0TOXIPI (dcaCharmBaryonDau);
97+ CHECK_AND_FILL_VEC_XIC0TOXIPI (kfDcaXYPiFromXic);
98+ CHECK_AND_FILL_VEC_XIC0TOXIPI (kfDcaXYCascToPv);
9999 // Chi2Geo
100- CHECK_AND_FILL_VEC_XICTOXIPI (cascChi2OverNdf);
101- CHECK_AND_FILL_VEC_XICTOXIPI (xicChi2OverNdf);
100+ CHECK_AND_FILL_VEC_XIC0TOXIPI (cascChi2OverNdf);
101+ CHECK_AND_FILL_VEC_XIC0TOXIPI (xicChi2OverNdf);
102102 // ldl
103- CHECK_AND_FILL_VEC_XICTOXIPI (cascldl);
103+ CHECK_AND_FILL_VEC_XIC0TOXIPI (cascldl);
104104 // Chi2Topo
105- CHECK_AND_FILL_VEC_XICTOXIPI (chi2TopoCascToPv);
106- CHECK_AND_FILL_VEC_XICTOXIPI (chi2TopoCascToXic);
105+ CHECK_AND_FILL_VEC_XIC0TOXIPI (chi2TopoCascToPv);
106+ CHECK_AND_FILL_VEC_XIC0TOXIPI (chi2TopoCascToXic);
107107 // CosPa
108- CHECK_AND_FILL_VEC_XICTOXIPI (cosPaCascToXic);
108+ CHECK_AND_FILL_VEC_XIC0TOXIPI (cosPaCascToXic);
109109 // Decay length
110- CHECK_AND_FILL_VEC_XICTOXIPI (decayLenXYCasc);
110+ CHECK_AND_FILL_VEC_XIC0TOXIPI (decayLenXYCasc);
111111 }
112112 }
113113
@@ -119,28 +119,28 @@ class HfMlResponseXicToXiPikf : public HfMlResponse<TypeOutputScore>
119119 void setAvailableInputFeatures ()
120120 {
121121 MlResponse<TypeOutputScore>::mAvailableInputFeatures = {
122- FILL_MAP_XICTOXIPI (tpcNSigmaPiFromLambda),
123- FILL_MAP_XICTOXIPI (tpcNSigmaPiFromCasc),
124- FILL_MAP_XICTOXIPI (tpcNSigmaPiFromCharmBaryon),
125- FILL_MAP_XICTOXIPI (dcaCascDau),
126- FILL_MAP_XICTOXIPI (dcaCharmBaryonDau),
127- FILL_MAP_XICTOXIPI (kfDcaXYPiFromXic),
128- FILL_MAP_XICTOXIPI (kfDcaXYCascToPv),
129- FILL_MAP_XICTOXIPI (cascChi2OverNdf),
130- FILL_MAP_XICTOXIPI (xicChi2OverNdf),
131- FILL_MAP_XICTOXIPI (cascldl),
132- FILL_MAP_XICTOXIPI (chi2TopoCascToPv),
133- FILL_MAP_XICTOXIPI (chi2TopoCascToXic),
134- FILL_MAP_XICTOXIPI (cosPaCascToXic),
135- FILL_MAP_XICTOXIPI (decayLenXYCasc),
122+ FILL_MAP_XIC0TOXIPI (tpcNSigmaPiFromLambda),
123+ FILL_MAP_XIC0TOXIPI (tpcNSigmaPiFromCasc),
124+ FILL_MAP_XIC0TOXIPI (tpcNSigmaPiFromCharmBaryon),
125+ FILL_MAP_XIC0TOXIPI (dcaCascDau),
126+ FILL_MAP_XIC0TOXIPI (dcaCharmBaryonDau),
127+ FILL_MAP_XIC0TOXIPI (kfDcaXYPiFromXic),
128+ FILL_MAP_XIC0TOXIPI (kfDcaXYCascToPv),
129+ FILL_MAP_XIC0TOXIPI (cascChi2OverNdf),
130+ FILL_MAP_XIC0TOXIPI (xicChi2OverNdf),
131+ FILL_MAP_XIC0TOXIPI (cascldl),
132+ FILL_MAP_XIC0TOXIPI (chi2TopoCascToPv),
133+ FILL_MAP_XIC0TOXIPI (chi2TopoCascToXic),
134+ FILL_MAP_XIC0TOXIPI (cosPaCascToXic),
135+ FILL_MAP_XIC0TOXIPI (decayLenXYCasc),
136136 };
137137 }
138138};
139139
140140} // namespace o2::analysis
141141
142- #undef FILL_MAP_XICTOXIPI
143- #undef CHECK_AND_FILL_VEC_XICTOXIPI_FULL
144- #undef CHECK_AND_FILL_VEC_XICTOXIPI
142+ #undef FILL_MAP_XIC0TOXIPI
143+ #undef CHECK_AND_FILL_VEC_XIC0TOXIPI_FULL
144+ #undef CHECK_AND_FILL_VEC_XIC0TOXIPI
145145
146- #endif // PWGHF_CORE_HFMLRESPONSEXICTOXIPIKF_H_
146+ #endif // PWGHF_CORE_HFMLRESPONSEXIC0TOXIPIKF_H_
0 commit comments