Skip to content

Commit 55f4caa

Browse files
authored
[PWGHF] Fix narrowing in HF tree creators (#17495)
1 parent 5dd9cc7 commit 55f4caa

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

PWGHF/TableProducer/treeCreatorD0ToKPi.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ struct HfTreeCreatorD0ToKPi {
288288

289289
template <bool ApplyMl, typename T>
290290
auto fillTable(const T& candidate, int candFlag, double invMass, double topoChi2,
291-
double ct, double y, double e, int8_t flagMc, int8_t flagMcDecay, int8_t origin, int8_t pdgBmother)
291+
double ct, double y, double e, int8_t flagMc, int8_t flagMcDecay, int8_t origin, int pdgBmother)
292292
{
293293
if (fillCandidateLiteTable) {
294294
rowCandidateLite(

PWGHF/TableProducer/treeCreatorDplusToPiKPi.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ struct HfTreeCreatorDplusToPiKPi {
307307
int8_t flagMc = 0;
308308
int8_t originMc = 0;
309309
int8_t channelMc = 0;
310-
int8_t bMotherPdg = 0;
310+
int bMotherPdg = 0;
311311
if constexpr (DoMc) {
312312
flagMc = candidate.flagMcMatchRec();
313313
originMc = candidate.originMcRec();

PWGHF/TableProducer/treeCreatorDsToKKPi.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ struct HfTreeCreatorDsToKKPi {
348348
int8_t flagMc{0};
349349
int8_t originMc{0};
350350
int8_t channelMc{0};
351-
int8_t bMotherPdg{0};
351+
int bMotherPdg{0};
352352
int8_t isSwapped{MassHypo}; // 0 if KKPi, 1 if PiKK
353353
float eCand{0.f};
354354
float ctCand{0.f};

0 commit comments

Comments
 (0)