File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -732,7 +732,7 @@ struct RecoDecay {
732732 if (!arrDaughters[iProng].has_mcParticle ()) {
733733 return -1 ;
734734 }
735- auto particleI = arrDaughters[iProng].mcParticle (); // ith daughter particle
735+ auto particleI = arrDaughters[iProng].template mcParticle_as <T> (); // ith daughter particle
736736 if (std::abs (particleI.getGenStatusCode ()) == StatusCodeAfterFlavourOscillation) { // oscillation decay product spotted
737737 coefFlavourOscillation = -1 ; // select the sign of the mother after oscillation (and not before)
738738 break ;
@@ -744,7 +744,7 @@ struct RecoDecay {
744744 if (!arrDaughters[iProng].has_mcParticle ()) {
745745 return -1 ;
746746 }
747- auto particleI = arrDaughters[iProng].mcParticle (); // ith daughter particle
747+ auto particleI = arrDaughters[iProng].template mcParticle_as <T> (); // ith daughter particle
748748 if constexpr (acceptTrackDecay) {
749749 // Replace the MC particle associated with the prong by its mother for π → μ and K → π.
750750 auto motherI = particleI.template mothers_first_as <T>();
You can’t perform that action at this time.
0 commit comments