bool toContainedElement(BaseConstReference data, ElementType element, IProxyDict *sg=0)
Set from element pointer and a reference to the container (storable)
virtual ParticleDataType::DataType dataType() const
Return enum indicating real data, fast, or full simulation Return Type has a DataType enum with the f...
bool toIndexedElement(BaseConstReference data, index_type elemID, IProxyDict *sg=0)
Set the link to an element given by index and pointer to container.
virtual int pdgId() const
Return particle id.
virtual bool hasCharge() const
method to check if charge information is available
virtual bool hasPdgId() const
method to check if particle id information is available
virtual const ElementLink< VxContainer > & originLink() const
Return an ElementLink corresponding to particle's Origin.
DATAVECTOR_VIRTBASES1(ParticleBase, IParticle)
virtual const Trk::RecVertex * origin() const
Return a RecVertex corresponding to particle Origin
double ChargeType
typedef ChargeType used to anticipate changes here
ParticleBase & operator=(const ParticleBase &rhs)
Assignement operator.
void set_dataType(ParticleDataType::DataType x)
void set_charge(ChargeType x)
virtual 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
ParticleDataType::DataType m_dataType
void set_origin(const VxContainer *theContainer, int index)