44 MsgStream&
msg )
const
75 MsgStream&
msg )
const
96 MsgStream&
msg )
const
132 MsgStream&
msg )
const
This file contains the class definition for the ElementLinkCnv_p3 class.
static const VxLinkCnv_t vxCnv
static const AthenaBarCodeCnv_p1 s_abcCnv
ElementLinkCnv_p1< ElementLink< VxContainer > > VxLinkCnv_t
ElementLink implementation for ROOT usage.
virtual void persToTrans(const ParticleBase_p2 *persObj, ParticleBase *transObj, MsgStream &msg) const final
Method creating the transient representation of ParticleBase from its persistent representation Parti...
virtual void transToPers(const ParticleBase *transObj, ParticleBase_p2 *persObj, MsgStream &msg) const final
Method creating the persistent representation ParticleBase_p2 from its transient representation Parti...
virtual ~ParticleBaseCnv_p2()
d-tor
int m_pdgId
ParticleDataGroup Id of the particle.
bool m_hasCharge
switch to know if the particle has charge informations
int m_dataType
type of data (see IParticle for more infos)
AthenaBarCode_p1 m_athenabarcode
athena barcode
bool m_hasPdgId
switch to know if the particle has PDG Id informations
ElementLinkInt_p3 m_origin
link to the particle's origin
float m_charge
Charge of the particle.
void set_charge(ChargeType x)
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 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.
virtual bool hasPdgId() const
method to check if particle id information is available
virtual int pdgId() const
Return particle id.
bool hasCharge() const
method to check if charge information is available
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...
void set_origin(const VxContainer *theContainer, int index)
const AthenaBarCodeImpl & getAthenaBarCodeImpl() const
const ElementLink< VxContainer > & originLink() const
Return the ElementLink to particle Origin.
bool hasPdgId() const
method to check if particle id information is available
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...