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