You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
simplification which makes it work also on older MC AO2D files (#2472)
* simplification which makes it work also on older MC AO2D files
* swap blocks to obtain logical order
---------
Co-authored-by: Chiara De Martin <chiara.de.martin@cern.ch>
if (posDaughterTrackMC.has_mcParticle() && negDaughterTrackMC.has_mcParticle()) { // Checking that the daughter tracks come from particles and are not fake
if (posDaughterTrack.has_mcParticle() && negDaughterTrack.has_mcParticle()) { // Checking that the daughter tracks come from particles and are not fake
113
+
auto posParticle = posDaughterTrack.mcParticle();
114
+
auto negParticle = negDaughterTrack.mcParticle();
124
115
if (posParticle.pdgCode() == 211 && negParticle.pdgCode() == -211) { // Checking that the daughter tracks are true pions
0 commit comments