AthenaBarCodeImpl & getAthenaBarCodeImpl()
ChargeType m_charge
Value of the charge of the particle (this has real meaning, only if hasCharge() returns true)
bool m_hasPdgId
Switch to tell if this particle has a PDG Identity.
int m_pdgId
Value for the PDG identity (this has real meaning, only if hasPdgId() returns true)
void set_dataType(ParticleDataType::DataType x)
bool hasCharge() const
method to check if charge information is available
bool m_hasCharge
Switch to tell if this particle has a charge.
ChargeType charge() const
returns charge as a typedef ChargeType currently Charge Type is a double for jets this may be changed...
ElementLink< VxContainer > m_origin
Persistent pointer to the origin of this particle.
void set_charge(ChargeType x)
ParticleDataType::DataType m_dataType
the enum storing the (data) type of this particle
int pdgId() const
Return enum indicating particle id the enum file is available in Event/EventKernel/PdtPdg....
Base & operator=(const Base &rhs)
Assignment operator:
virtual ~Base()
Constructor with parameters:
const AthenaBarCodeImpl & getAthenaBarCodeImpl() const
bool hasPdgId() const
method to check if particle id information is available
double ChargeType
typedef ChargeType used to anticipate changes here
std::ostream & operator<<(std::ostream &out, const Base &base)
ParticleDataType::DataType dataType() const
Return enum indicating real data, fast, or full simulation Return Type has a DataType enum with the f...
std::ostream & dump(std::ostream &out) const
Print IParticle content.
void set_origin(const VxContainer *theContainer, int index)
const Trk::RecVertex * origin() const
Return a RecVertex corresponding to particle Origin
const ElementLink< VxContainer > & originLink() const
Return the ElementLink to particle Origin