Skip to content

Commit bf315d3

Browse files
authored
Update HfMlResponseXic0ToXiPikf.h
1 parent 060f72d commit bf315d3

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

PWGHF/Core/HfMlResponseXic0ToXiPikf.h

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,30 +27,30 @@
2727
// the value is the corresponding value in EnumInputFeatures
2828
#define FILL_MAP_XIC0TOXIPI(FEATURE) \
2929
{ \
30-
#FEATURE, static_cast<uint8_t>(InputFeaturesXicToXiPi::FEATURE) \
30+
#FEATURE, static_cast<uint8_t>(InputFeaturesXic0ToXiPi::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
3737
#define CHECK_AND_FILL_VEC_XIC0TOXIPI_FULL(OBJECT, FEATURE, GETTER) \
38-
case static_cast<uint8_t>(InputFeaturesXicToXiPi::FEATURE): { \
38+
case static_cast<uint8_t>(InputFeaturesXic0ToXiPi::FEATURE): { \
3939
inputFeatures.emplace_back(OBJECT.GETTER()); \
4040
break; \
4141
}
4242

4343
// where OBJECT is named candidate and FEATURE = GETTER
4444
#define CHECK_AND_FILL_VEC_XIC0TOXIPI(GETTER) \
45-
case static_cast<uint8_t>(InputFeaturesXicToXiPi::GETTER): { \
45+
case static_cast<uint8_t>(InputFeaturesXic0ToXiPi::GETTER): { \
4646
inputFeatures.emplace_back(candidate.GETTER()); \
4747
break; \
4848
}
4949

5050
namespace o2::analysis
5151
{
5252

53-
enum class InputFeaturesXicToXiPi : uint8_t {
53+
enum class InputFeaturesXic0ToXiPi : uint8_t {
5454
tpcNSigmaPiFromLambda,
5555
tpcNSigmaPiFromCasc,
5656
tpcNSigmaPiFromCharmBaryon,
@@ -68,16 +68,16 @@ enum class InputFeaturesXicToXiPi : uint8_t {
6868
};
6969

7070
template <typename TypeOutputScore = float>
71-
class HfMlResponseXicToXiPikf : public HfMlResponse<TypeOutputScore>
71+
class HfMlResponseXic0ToXiPikf : public HfMlResponse<TypeOutputScore>
7272
{
7373
public:
7474
/// Default constructor
75-
HfMlResponseXicToXiPikf() = default;
75+
HfMlResponseXic0ToXiPikf() = default;
7676
/// Default destructor
77-
virtual ~HfMlResponseXicToXiPikf() = default;
77+
virtual ~HfMlResponseXic0ToXiPikf() = default;
7878

7979
/// Method to get the input features vector needed for ML inference
80-
/// \param candidate is the Xic candidate
80+
/// \param candidate is the Xic0 candidate
8181
/// \return inputFeatures vector
8282
template <typename T1, typename T2, typename T3>
8383
// std::vector<float> getInputFeatures(T1 const& candidate)
@@ -92,7 +92,7 @@ class HfMlResponseXicToXiPikf : public HfMlResponse<TypeOutputScore>
9292
CHECK_AND_FILL_VEC_XIC0TOXIPI_FULL(cascProngPi, tpcNSigmaPiFromCasc, tpcNSigmaPi);
9393
CHECK_AND_FILL_VEC_XIC0TOXIPI_FULL(charmBaryonProngPi, tpcNSigmaPiFromCharmBaryon, tpcNSigmaPi);
9494
// DCA
95-
CHECK_AND_FILL_VEC_XIC0TOXIPI(dcaCascDau)
95+
CHECK_AND_FILL_VEC_XIC0TOXIPI(dcaCascDau);
9696
CHECK_AND_FILL_VEC_XIC0TOXIPI(dcaCharmBaryonDau);
9797
CHECK_AND_FILL_VEC_XIC0TOXIPI(kfDcaXYPiFromXic);
9898
CHECK_AND_FILL_VEC_XIC0TOXIPI(kfDcaXYCascToPv);

0 commit comments

Comments
 (0)