AthenaBarCodeImpl m_abc
The AthenaBarCodeImpl held to provide unique identification throughout the whole Atlas EDM.
constexpr ParticleHypothesis particle[PARTICLEHYPOTHESES]
the array of masses
TruthParticleBase & operator=(const TruthParticleBase &rhs)
Assignment operator:
void set_origin(const VxContainer *, const Trk::VxCandidate *)
bool hasPdgId() const
method to check if particle id information is available
std::ostream & dump(std::ostream &out) const
Print IParticle content.
HepMC::ConstGenParticlePtr m_genParticle
The HepMC::GenParticle we are proxying.
void set_origin(const VxContainer *, int)
const AthenaBarCodeImpl & getAthenaBarCodeImpl() const
return the (atlas) unique identifier
ChargeType charge() const
returns charge as a typedef ChargeType currently Charge Type is a double for jets this may be changed...
void set_dataType(ParticleDataType::DataType)
bool hasCharge() const
method to check if charge information is available
void set_charge(ChargeType x)
HepMC::ConstGenParticlePtr genParticle() const
return the HepMC::GenParticle which is being proxied
const Trk::RecVertex * origin() const
Return a RecVertex corresponding to particle Origin
double ChargeType
typedef ChargeType used to anticipate changes here
void setGenParticle(HepMC::ConstGenParticlePtr particle)
Fill the data members of ParticleBase from the GenParticle.
AthenaBarCodeImpl & getAthenaBarCodeImpl()
return the (atlas) unique identifier
void setCharge(const ChargeType charge)
Set the charge of this TruthParticleBase.
ParticleDataType::DataType dataType() const
Return enum indicating real data, fast, or full simulation Return Type has a DataType enum with the f...
const ElementLink< VxContainer > & originLink() const
Return the ElementLink to particle Origin
ChargeType m_charge
The charge of this TruthParticle.