|
ATLAS Offline Software
|
Go to the documentation of this file.
51 MsgStream&
msg )
const
82 MsgStream&
msg )
const
103 MsgStream&
msg )
const
139 MsgStream&
msg )
const
144 #ifdef PBC_P1_VERBOSE
146 <<
"an old T->P ParticleBase converter is being called!"
This file contains the class definition for the ElementLinkCnv_p1 class.
void set_dataType(ParticleDataType::DataType x)
virtual ParticleDataType::DataType dataType() const
Return enum indicating real data, fast, or full simulation Return Type has a DataType enum with the f...
bool hasCharge() const
method to check if charge information is available
ElementLinkInt_p1 m_origin
link to the particle's origin
bool m_hasCharge
switch to know if the particle has charge informations
ChargeType charge() const
returns charge as a typedef ChargeType currently Charge Type is a double for jets this may be changed...
virtual void transToPers(const AthenaBarCodeImpl *transObj, AthenaBarCode_p1 *persObj, MsgStream &) const override
virtual void persToTrans(const AthenaBarCode_p1 *persObj, AthenaBarCodeImpl *transObj, MsgStream &) const override
void set_charge(ChargeType x)
virtual int pdgId() const
Return particle id.
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 bool hasCharge() const
method to check if charge information is available
virtual 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....
virtual const ElementLink< VxContainer > & originLink() const
Return an ElementLink corresponding to particle's Origin.
void transToPers(const Link_t &trans, PersLink_t &pers, const SG::ThinningCache *cache, MsgStream &log) const
virtual ~ParticleBaseCnv_p1()
d-tor
const AthenaBarCodeImpl & getAthenaBarCodeImpl() const
void persToTrans(const PersLink_t &pers, Link_t &trans, MsgStream &log) const
bool hasPdgId() const
method to check if particle id information is available
void set_dataType(ParticleDataType::DataType x)
bool m_hasPdgId
switch to know if the particle has PDG Id informations
void set_charge(ChargeType x)
AthenaBarCode_p1 m_athenabarcode
athena barcode
virtual ChargeType charge() const
returns charge as a typedef ChargeType currently Charge Type is a double for jets this may be changed...
ElementLinkCnv_p1< ElementLink< VxContainer > > VxLinkCnv_t
ParticleDataType::DataType dataType() const
Return enum indicating real data, fast, or full simulation Return Type has a DataType enum with the f...
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...
void set_origin(const VxContainer *theContainer, int index)
float m_charge
Charge of the particle.
void set_origin(const VxContainer *theContainer, int index)
int m_pdgId
ParticleDataGroup Id of the particle.
int m_dataType
type of data (see IParticle for more infos)
const ElementLink< VxContainer > & originLink() const
Return the ElementLink to particle Origin