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_XIC0TOXIPI (FEATURE ) \
28+ #define FILL_MAP_XIC0TOXIPIKF (FEATURE ) \
2929 { \
30- #FEATURE, static_cast <uint8_t >(InputFeaturesXic0ToXiPi ::FEATURE) \
30+ #FEATURE, static_cast <uint8_t >( InputFeaturesXic0ToXiPikf ::FEATURE) \
3131 }
3232
3333// Check if the index of mCachedIndices (index associated to a FEATURE)
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_XIC0TOXIPI_FULL (OBJECT, FEATURE, GETTER ) \
38- case static_cast <uint8_t >(InputFeaturesXic0ToXiPi ::FEATURE): { \
37+ #define CHECK_AND_FILL_VEC_XIC0TOXIPIKF_FULL (OBJECT, FEATURE, GETTER ) \
38+ case static_cast <uint8_t >( InputFeaturesXic0ToXiPikf ::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_XIC0TOXIPI (GETTER ) \
45- case static_cast <uint8_t >(InputFeaturesXic0ToXiPi ::GETTER): { \
44+ #define CHECK_AND_FILL_VEC_XIC0TOXIPIKF (GETTER ) \
45+ case static_cast <uint8_t >( InputFeaturesXic0ToXiPikf ::GETTER): { \
4646 inputFeatures.emplace_back (candidate.GETTER ()); \
4747 break ; \
4848 }
4949
5050namespace o2 ::analysis
5151{
5252
53- enum class InputFeaturesXic0ToXiPi : uint8_t {
53+ enum class InputFeaturesXic0ToXiPikf : uint8_t {
5454 tpcNSigmaPiFromLambda,
5555 tpcNSigmaPiFromCasc,
5656 tpcNSigmaPiFromCharmBaryon,
@@ -88,26 +88,26 @@ class HfMlResponseXic0ToXiPikf : public HfMlResponse<TypeOutputScore>
8888 for (const auto & idx : MlResponse<TypeOutputScore>::mCachedIndices ) {
8989 switch (idx) {
9090 // PID variables
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);
91+ CHECK_AND_FILL_VEC_XIC0TOXIPIKF_FULL (lamProngPi, tpcNSigmaPiFromLambda, tpcNSigmaPi);
92+ CHECK_AND_FILL_VEC_XIC0TOXIPIKF_FULL (cascProngPi, tpcNSigmaPiFromCasc, tpcNSigmaPi);
93+ CHECK_AND_FILL_VEC_XIC0TOXIPIKF_FULL (charmBaryonProngPi, tpcNSigmaPiFromCharmBaryon, tpcNSigmaPi);
9494 // DCA
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);
95+ CHECK_AND_FILL_VEC_XIC0TOXIPIKF (dcaCascDau);
96+ CHECK_AND_FILL_VEC_XIC0TOXIPIKF (dcaCharmBaryonDau);
97+ CHECK_AND_FILL_VEC_XIC0TOXIPIKF (kfDcaXYPiFromXic);
98+ CHECK_AND_FILL_VEC_XIC0TOXIPIKF (kfDcaXYCascToPv);
9999 // Chi2Geo
100- CHECK_AND_FILL_VEC_XIC0TOXIPI (cascChi2OverNdf);
101- CHECK_AND_FILL_VEC_XIC0TOXIPI (xicChi2OverNdf);
100+ CHECK_AND_FILL_VEC_XIC0TOXIPIKF (cascChi2OverNdf);
101+ CHECK_AND_FILL_VEC_XIC0TOXIPIKF (xicChi2OverNdf);
102102 // ldl
103- CHECK_AND_FILL_VEC_XIC0TOXIPI (cascldl);
103+ CHECK_AND_FILL_VEC_XIC0TOXIPIKF (cascldl);
104104 // Chi2Topo
105- CHECK_AND_FILL_VEC_XIC0TOXIPI (chi2TopoCascToPv);
106- CHECK_AND_FILL_VEC_XIC0TOXIPI (chi2TopoCascToXic);
105+ CHECK_AND_FILL_VEC_XIC0TOXIPIKF (chi2TopoCascToPv);
106+ CHECK_AND_FILL_VEC_XIC0TOXIPIKF (chi2TopoCascToXic);
107107 // CosPa
108- CHECK_AND_FILL_VEC_XIC0TOXIPI (cosPaCascToXic);
108+ CHECK_AND_FILL_VEC_XIC0TOXIPIKF (cosPaCascToXic);
109109 // Decay length
110- CHECK_AND_FILL_VEC_XIC0TOXIPI (decayLenXYCasc);
110+ CHECK_AND_FILL_VEC_XIC0TOXIPIKF (decayLenXYCasc);
111111 }
112112 }
113113
@@ -119,28 +119,28 @@ class HfMlResponseXic0ToXiPikf : public HfMlResponse<TypeOutputScore>
119119 void setAvailableInputFeatures ()
120120 {
121121 MlResponse<TypeOutputScore>::mAvailableInputFeatures = {
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),
122+ FILL_MAP_XIC0TOXIPIKF (tpcNSigmaPiFromLambda),
123+ FILL_MAP_XIC0TOXIPIKF (tpcNSigmaPiFromCasc),
124+ FILL_MAP_XIC0TOXIPIKF (tpcNSigmaPiFromCharmBaryon),
125+ FILL_MAP_XIC0TOXIPIKF (dcaCascDau),
126+ FILL_MAP_XIC0TOXIPIKF (dcaCharmBaryonDau),
127+ FILL_MAP_XIC0TOXIPIKF (kfDcaXYPiFromXic),
128+ FILL_MAP_XIC0TOXIPIKF (kfDcaXYCascToPv),
129+ FILL_MAP_XIC0TOXIPIKF (cascChi2OverNdf),
130+ FILL_MAP_XIC0TOXIPIKF (xicChi2OverNdf),
131+ FILL_MAP_XIC0TOXIPIKF (cascldl),
132+ FILL_MAP_XIC0TOXIPIKF (chi2TopoCascToPv),
133+ FILL_MAP_XIC0TOXIPIKF (chi2TopoCascToXic),
134+ FILL_MAP_XIC0TOXIPIKF (cosPaCascToXic),
135+ FILL_MAP_XIC0TOXIPIKF (decayLenXYCasc),
136136 };
137137 }
138138};
139139
140140} // namespace o2::analysis
141141
142- #undef FILL_MAP_XIC0TOXIPI
143- #undef CHECK_AND_FILL_VEC_XIC0TOXIPI_FULL
144- #undef CHECK_AND_FILL_VEC_XIC0TOXIPI
142+ #undef FILL_MAP_XIC0TOXIPIKF
143+ #undef CHECK_AND_FILL_VEC_XIC0TOXIPIKF_FULL
144+ #undef CHECK_AND_FILL_VEC_XIC0TOXIPIKF
145145
146146#endif // PWGHF_CORE_HFMLRESPONSEXIC0TOXIPIKF_H_
0 commit comments