51 MsgStream&
msg )
const
82 MsgStream&
msg )
const
103 MsgStream&
msg )
const
139 MsgStream&
msg )
const
146 <<
"an old T->P ParticleBase converter is being called!"
This file contains the class definition for the ElementLinkCnv_p1 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_p1 *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_p1 *persObj, MsgStream &msg) const final
Method creating the persistent representation ParticleBase_p1 from its transient representation Parti...
virtual ~ParticleBaseCnv_p1()
d-tor
AthenaBarCode_p1 m_athenabarcode
athena barcode
bool m_hasPdgId
switch to know if the particle has PDG Id informations
float m_charge
Charge of the particle.
ElementLinkInt_p1 m_origin
link to the particle's origin
int m_pdgId
ParticleDataGroup Id of the particle.
int m_dataType
type of data (see IParticle for more infos)
bool m_hasCharge
switch to know if the particle has charge informations
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...