@@ -780,17 +780,17 @@ struct HfCandidateCreator2ProngExpressions {
780780 int depth = 2 ;
781781 for (const auto & [chn, finalState] : finalStates2Prongs) {
782782 std::array<int , 2 > finalStateParts2Prong = std::array{finalState[0 ], finalState[1 ]};
783- if (finalState.size () == 3 ) { // Partly Reco 2-prong decays
783+ if (finalState.size () == 3 ) { // Partly Reco 2-prong decays
784784 if (matchKinkedDecayTopology && matchInteractionsWithMaterial) {
785- indexRec = RecoDecay::getMatchedMCRec<false , false , true , true , true >(mcParticles, arrayDaughters, Pdg::kD0 , finalStateParts2Prong, true , &sign, depth, &nKinkedTracks, &nInteractionsWithMaterial);
785+ indexRec = RecoDecay::getMatchedMCRec<false , false , true , true , true >(mcParticles, arrayDaughters, Pdg::kD0 , finalStateParts2Prong, true , &sign, depth, &nKinkedTracks, &nInteractionsWithMaterial);
786786 } else if (matchKinkedDecayTopology && !matchInteractionsWithMaterial) {
787787 indexRec = RecoDecay::getMatchedMCRec<false , false , true , true , false >(mcParticles, arrayDaughters, Pdg::kD0 , finalStateParts2Prong, true , &sign, depth, &nKinkedTracks);
788788 } else if (!matchKinkedDecayTopology && matchInteractionsWithMaterial) {
789789 indexRec = RecoDecay::getMatchedMCRec<false , false , true , false , true >(mcParticles, arrayDaughters, Pdg::kD0 , finalStateParts2Prong, true , &sign, depth, nullptr , &nInteractionsWithMaterial);
790790 } else {
791791 indexRec = RecoDecay::getMatchedMCRec<false , false , true , false , false >(mcParticles, arrayDaughters, Pdg::kD0 , finalStateParts2Prong, true , &sign, depth);
792792 }
793-
793+
794794 if (indexRec > -1 ) {
795795 auto motherParticle = mcParticles.rawIteratorAt (indexRec);
796796 std::array<int , 3 > finalStateParts2ProngAll = std::array{finalState[0 ], finalState[1 ], finalState[2 ]};
@@ -805,15 +805,15 @@ struct HfCandidateCreator2ProngExpressions {
805805 indexRec = -1 ; // Reset indexRec if the generated decay does not match the reconstructed one does not match the reconstructed one
806806 }
807807 }
808- } else if (finalState.size () == 2 ) { // Fully Reco 2-prong decays
808+ } else if (finalState.size () == 2 ) { // Fully Reco 2-prong decays
809809 if (matchKinkedDecayTopology && matchInteractionsWithMaterial) {
810- indexRec = RecoDecay::getMatchedMCRec<false , false , false , true , true >(mcParticles, arrayDaughters, Pdg::kD0 , finalStateParts2Prong, true , &sign, depth, &nKinkedTracks, &nInteractionsWithMaterial);
810+ indexRec = RecoDecay::getMatchedMCRec<false , false , false , true , true >(mcParticles, arrayDaughters, Pdg::kD0 , finalStateParts2Prong, true , &sign, depth, &nKinkedTracks, &nInteractionsWithMaterial);
811811 } else if (matchKinkedDecayTopology && !matchInteractionsWithMaterial) {
812- indexRec = RecoDecay::getMatchedMCRec<false , false , false , true , false >(mcParticles, arrayDaughters, Pdg::kD0 , finalStateParts2Prong, true , &sign, depth, &nKinkedTracks);
812+ indexRec = RecoDecay::getMatchedMCRec<false , false , false , true , false >(mcParticles, arrayDaughters, Pdg::kD0 , finalStateParts2Prong, true , &sign, depth, &nKinkedTracks);
813813 } else if (!matchKinkedDecayTopology && matchInteractionsWithMaterial) {
814- indexRec = RecoDecay::getMatchedMCRec<false , false , false , false , true >(mcParticles, arrayDaughters, Pdg::kD0 , finalStateParts2Prong, true , &sign, depth, nullptr , &nInteractionsWithMaterial);
814+ indexRec = RecoDecay::getMatchedMCRec<false , false , false , false , true >(mcParticles, arrayDaughters, Pdg::kD0 , finalStateParts2Prong, true , &sign, depth, nullptr , &nInteractionsWithMaterial);
815815 } else {
816- indexRec = RecoDecay::getMatchedMCRec<false , false , false , false , false >(mcParticles, arrayDaughters, Pdg::kD0 , finalStateParts2Prong, true , &sign, depth);
816+ indexRec = RecoDecay::getMatchedMCRec<false , false , false , false , false >(mcParticles, arrayDaughters, Pdg::kD0 , finalStateParts2Prong, true , &sign, depth);
817817 }
818818 } else {
819819 LOG (info) << " Final state size not supported: " << finalStateParts2Prong.size ();
0 commit comments