Skip to content
Snippets Groups Projects

ISFTruthIncident / ISF_Fatras - Improve robustness + fix warnings

Merged John Derek Chapman requested to merge jchapman/athena:FixISFTruthIncident_main into main
Compare and Show latest version
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -240,7 +240,7 @@ void iFatras::G4ParticleDecayHelper::handleDecayParticles(const ISF::ISFParticle
}//loop over all decay products
auto* truthBinding = particle.getTruthBinding(); // TEMPORARY
HepMC::GenParticlePtr hepTruthParticle = truthBinding ? truthBinding->getTruthParticle() : nullptr; // TEMPORARY
HepMC::ConstGenParticlePtr hepTruthParticle = truthBinding ? truthBinding->getTruthParticle() : nullptr; // TEMPORARY
if (hepTruthParticle && hepTruthparticle->end_vertex()) { // TEMPORARY
ATH_MSG_WARNING("G4ParticleDecayHelper::handleDecayParticles(): Parent particle found with an end vertex attached. This should not happen!");
}
Loading