double ChargeType
typedef ChargeType used to anticipate changes here
void set_charge(ChargeType x)
ParticleBase & operator=(const ParticleBase &rhs)
Assignement operator.
void set_origin(const VxContainer *theContainer, int index)
virtual ParticleDataType::DataType dataType() const
Return enum indicating real data, fast, or full simulation Return Type has a DataType enum with the f...
void set_dataType(ParticleDataType::DataType x)
virtual ChargeType charge() const
returns charge as a typedef ChargeType currently Charge Type is a double for jets this may be changed...
virtual const Trk::RecVertex * origin() const
Return a RecVertex corresponding to particle Origin.
virtual bool hasCharge() const
method to check if charge information is available
virtual const ElementLink< VxContainer > & originLink() const
Return an ElementLink corresponding to particle's Origin.
ElementLink< VxContainer > m_origin
virtual bool hasPdgId() const
method to check if particle id information is available
ParticleDataType::DataType m_dataType
virtual int pdgId() const
Return particle id.