Skip to content
Snippets Groups Projects

TruthSvc: fix warning about unused variable (ATLASSIM-7180)

All threads resolved!
2 files
+ 2
5
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -237,7 +237,6 @@ void ISF::TruthSvc::recordIncidentToMCTruth( ISF::ITruthIncident& ti, bool passW
newPrimBC = parentBC + HepMC::SIM_REGENERATION_INCREMENT;
}
HepMC::GenParticlePtr parentBeforeIncident = ti.parentParticle();
HepMC::GenParticlePtr parentAfterIncident = ti.parentParticleAfterIncident( newPrimBC ); // This call changes ti.parentParticle() output
if(parentAfterIncident) {
if (classification==ISF::QS_SURV_VTX) {
Loading