5#ifndef ISF_EVENT_TRUTHBINDING_H
6#define ISF_EVENT_TRUTHBINDING_H
void setGenerationZeroGenParticle(HepMC::GenParticlePtr p)
HepMC::GenParticlePtr m_generationZeroGenParticle
pointer to corresponding truth particle before any regenration
HepMC::ConstGenParticlePtr getPrimaryGenParticle() const
bool isEqual(const TruthBinding &rhs) const
HepMC::ConstGenParticlePtr getGenerationZeroGenParticle() const
HepMC::ConstGenParticlePtr getCurrentGenParticle() const
TruthBinding(HepMC::GenParticlePtr truthP, HepMC::GenParticlePtr primaryTruthP, HepMC::GenParticlePtr genZeroTruthP)
constructor setting all truth particle pointers individually
HepMC::GenParticlePtr getPrimaryGenParticle()
pointer to the primary particle in the simulation truth
~TruthBinding()
destructor
bool isIdent(const TruthBinding &rhs) const
TruthBinding(const TruthBinding &rhs)=default
copy constructors
void setCurrentGenParticle(HepMC::GenParticlePtr p)
TruthBinding(HepMC::GenParticlePtr allTruthP)
constructor setting all truth particle pointers to the given particle
HepMC::GenParticlePtr m_truthParticle
pointer to particle in MC truth
bool operator==(const TruthBinding &rhs) const
comparisons
TruthBinding(TruthBinding &&rhs)=default
HepMC::GenParticlePtr m_primaryGenParticle
pointer to corresponding primary (generator) particle
TruthBinding & operator=(const TruthBinding &rhs)=default
HepMC::GenParticlePtr getCurrentGenParticle()
pointer to the particle in the simulation truth
TruthBinding & operator=(TruthBinding &&rhs)=default
TruthBinding()=delete
No default constructor.
HepMC::GenParticlePtr getGenerationZeroGenParticle()
pointer to the simulation truth particle before any regeneration happened (eg.
TruthBinding * childTruthBinding(HepMC::GenParticlePtr childP)
Create a TruthBinding for a child particle.
GenParticle * GenParticlePtr
const GenParticle * ConstGenParticlePtr