Skip to content
Snippets Groups Projects

HepMcParticleLink constructor syntax clean-up.

1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -210,7 +210,7 @@ HepMC::GenParticlePtr ISF::ISFTruthIncident::updateHepMCTruthParticle( ISF::ISFP
newHMPL = new HepMcParticleLink(hepTruthParticle, oldHMPL->eventIndex(), HepMcParticleLink::IS_EVENTNUM);
delete oldHMPL;
} else {
newHMPL = new HepMcParticleLink(hepTruthParticle, 0, HepMcParticleLink::IS_EVENTNUM); // FIXME should be HepMcParticleLink::IS_POSITION
newHMPL = new HepMcParticleLink(hepTruthParticle, 0, HepMcParticleLink::IS_POSITION);
}
particle.setParticleLink(newHMPL);
Loading