Skip to content

Commit f4e3100

Browse files
author
Luigi Dello Stritto
committed
add V0 decay lenght to ML variables for LcK0sP
1 parent 8c53f9b commit f4e3100

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

PWGHF/Core/HfMlResponseLcToK0sP.h

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,9 @@
2828
// Fill the map of available input features
2929
// the key is the feature's name (std::string)
3030
// the value is the corresponding value in EnumInputFeatures
31-
#define FILL_MAP_LC(FEATURE) \
32-
{ \
33-
#FEATURE, static_cast<uint8_t>(InputFeaturesLcToK0sP::FEATURE) \
34-
}
31+
#define FILL_MAP_LC(FEATURE) \
32+
{ \
33+
#FEATURE, static_cast<uint8_t>(InputFeaturesLcToK0sP::FEATURE)}
3534

3635
// Check if the index of mCachedIndices (index associated to a FEATURE)
3736
// matches the entry in EnumInputFeatures associated to this FEATURE
@@ -82,6 +81,7 @@ enum class InputFeaturesLcToK0sP : uint8_t {
8281
v0MK0Short,
8382
v0MGamma,
8483
ctV0,
84+
decayLengthV0,
8585
dcaV0daughters,
8686
ptV0Pos,
8787
dcaPosToPV,
@@ -136,6 +136,7 @@ class HfMlResponseLcToK0sP : public HfMlResponse<TypeOutputScore>
136136
CHECK_AND_FILL_VEC_LC_FULL(candidate, v0MGamma, mGamma);
137137
CHECK_AND_FILL_VEC_LC_HFHELPER(candidate, ctV0, ctV0K0s);
138138
// CHECK_AND_FILL_VEC_LC_HFHELPER(candidate, ctV0, ctV0Lambda);
139+
CHECK_AND_FILL_VEC_LC(decayLengthV0);
139140
CHECK_AND_FILL_VEC_LC(dcaV0daughters);
140141
CHECK_AND_FILL_VEC_LC(ptV0Pos);
141142
CHECK_AND_FILL_VEC_LC_FULL(candidate, dcaPosToPV, dcapostopv);
@@ -180,6 +181,7 @@ class HfMlResponseLcToK0sP : public HfMlResponse<TypeOutputScore>
180181
FILL_MAP_LC(v0MK0Short),
181182
FILL_MAP_LC(v0MGamma),
182183
FILL_MAP_LC(ctV0),
184+
FILL_MAP_LC(decayLengthV0),
183185
FILL_MAP_LC(dcaV0daughters),
184186
FILL_MAP_LC(ptV0Pos),
185187
FILL_MAP_LC(dcaPosToPV),

0 commit comments

Comments
 (0)