@@ -1012,13 +1012,13 @@ struct HfFilter { // Main struct for HF triggers
10121012 int8_t origin = 0 ;
10131013
10141014 // D± → π± K∓ π±
1015- auto indexRec = RecoDecay::getMatchedMCRec (particlesMC, arrayDaughters, pdg::Code::kDPlus , array{+kPiPlus , -kKPlus , +kPiPlus }, true , &sign);
1015+ auto indexRec = RecoDecay::getMatchedMCRec (particlesMC, arrayDaughters, pdg::Code::kDPlus , array{+kPiPlus , -kKPlus , +kPiPlus }, true , &sign, 2 );
10161016 if (indexRec >= 0 ) {
10171017 channel = kDplus ;
10181018 }
10191019 if (indexRec < 0 ) {
10201020 // Ds± → K± K∓ π±
1021- indexRec = RecoDecay::getMatchedMCRec (particlesMC, arrayDaughters, 431 , array{+kKPlus , -kKPlus , +kPiPlus }, true , &sign); // TODO: replace hard coded pdg code
1021+ indexRec = RecoDecay::getMatchedMCRec (particlesMC, arrayDaughters, 431 , array{+kKPlus , -kKPlus , +kPiPlus }, true , &sign, 2 ); // TODO: replace hard coded pdg code
10221022 if (indexRec >= 0 ) {
10231023 channel = kDs ;
10241024 }
@@ -1032,7 +1032,7 @@ struct HfFilter { // Main struct for HF triggers
10321032 }
10331033 if (indexRec < 0 ) {
10341034 // Ξc± → p± K∓ π±
1035- indexRec = RecoDecay::getMatchedMCRec (particlesMC, arrayDaughters, pdg::Code::kXiCPlus , array{+kProton , -kKPlus , +kPiPlus }, true , &sign);
1035+ indexRec = RecoDecay::getMatchedMCRec (particlesMC, arrayDaughters, pdg::Code::kXiCPlus , array{+kProton , -kKPlus , +kPiPlus }, true , &sign, 2 );
10361036 if (indexRec >= 0 ) {
10371037 channel = kXic ;
10381038 }
0 commit comments