@@ -289,7 +289,7 @@ struct HfTreeCreatorD0ToKPi {
289289
290290 template <bool ApplyMl, typename T>
291291 auto fillTable (const T& candidate, int candFlag, double invMass, double topoChi2,
292- double ct, double y, double e, int8_t flagMc, int8_t flagMcDecay, int8_t origin, int8_t flagBmother )
292+ double ct, double y, double e, int8_t flagMc, int8_t flagMcDecay, int8_t origin, int8_t pdgBmother )
293293 {
294294 if (fillCandidateLiteTable) {
295295 rowCandidateLite (
@@ -329,7 +329,7 @@ struct HfTreeCreatorD0ToKPi {
329329 flagMc,
330330 flagMcDecay,
331331 origin,
332- flagBmother );
332+ pdgBmother );
333333 } else {
334334 double cosThetaStar = candFlag == 0 ? HfHelper::cosThetaStarD0 (candidate) : HfHelper::cosThetaStarD0bar (candidate);
335335 rowCandidateFull (
@@ -393,7 +393,7 @@ struct HfTreeCreatorD0ToKPi {
393393 flagMc,
394394 flagMcDecay,
395395 origin,
396- flagBmother );
396+ pdgBmother );
397397 }
398398 if constexpr (ApplyMl) {
399399 if (candFlag == 0 ) {
@@ -453,10 +453,10 @@ struct HfTreeCreatorD0ToKPi {
453453 massD0bar = HfHelper::invMassD0barToKPi (candidate);
454454 }
455455 if (candidate.isSelD0 ()) {
456- fillTable<ApplyMl>(candidate, 0 , massD0, topolChi2PerNdf, ctD, yD, eD, 0 , 0 , 0 , - 1 );
456+ fillTable<ApplyMl>(candidate, 0 , massD0, topolChi2PerNdf, ctD, yD, eD, 0 , 0 , 0 , 0 );
457457 }
458458 if (candidate.isSelD0bar ()) {
459- fillTable<ApplyMl>(candidate, 1 , massD0bar, topolChi2PerNdf, ctD, yD, eD, 0 , 0 , 0 , - 1 );
459+ fillTable<ApplyMl>(candidate, 1 , massD0bar, topolChi2PerNdf, ctD, yD, eD, 0 , 0 , 0 , 0 );
460460 }
461461 }
462462 }
@@ -554,10 +554,10 @@ struct HfTreeCreatorD0ToKPi {
554554 massD0bar = HfHelper::invMassD0barToKPi (candidate);
555555 }
556556 if (candidate.isSelD0 ()) {
557- fillTable<ApplyMl>(candidate, 0 , massD0, topolChi2PerNdf, ctD, yD, eD, candidate.flagMcMatchRec (), candidate.flagMcDecayChanRec (), candidate.originMcRec (), o2::analysis::getBHadMotherFlag ( candidate.pdgBhadMotherPart () ));
557+ fillTable<ApplyMl>(candidate, 0 , massD0, topolChi2PerNdf, ctD, yD, eD, candidate.flagMcMatchRec (), candidate.flagMcDecayChanRec (), candidate.originMcRec (), candidate.pdgBhadMotherPart ());
558558 }
559559 if (candidate.isSelD0bar ()) {
560- fillTable<ApplyMl>(candidate, 1 , massD0bar, topolChi2PerNdf, ctD, yD, eD, candidate.flagMcMatchRec (), candidate.flagMcDecayChanRec (), candidate.originMcRec (), o2::analysis::getBHadMotherFlag ( candidate.pdgBhadMotherPart () ));
560+ fillTable<ApplyMl>(candidate, 1 , massD0bar, topolChi2PerNdf, ctD, yD, eD, candidate.flagMcMatchRec (), candidate.flagMcDecayChanRec (), candidate.originMcRec (), candidate.pdgBhadMotherPart ());
561561 }
562562 }
563563
0 commit comments