virtual void persToTrans(const HepMcParticleLink_p2 *persObj, HepMcParticleLink *transObj, MsgStream &msg) const override
Method creating the transient representation of HepMcParticleLink from its persistent representation ...
virtual void transToPers(const HepMcParticleLink *transObj, HepMcParticleLink_p2 *persObj, MsgStream &msg) const override
Method creating the persistent representation HepMcParticleLink_p2 from its transient representation ...
int barcode() const
Return the barcode of the target particle.
void setTruthSuppressionType(EBC_SUPPRESSED_TRUTH truthSupp)
Return whether the truth particle has been suppressed.
unsigned short m_mcEvtIndex
name of the McEventCollection holding the HepMC::GenEvent which itself holds the HepMC::GenParticle w...
a link optimized in size for a GenParticle in a McEventCollection
void setExtendedBarCode(const ExtendedBarCode &extBarcode)
Alter the persistent part of the link.
Persistent representation of a link.
unsigned long m_barcode
barcode of the HepMC::GenParticle we are pointing to.
index_type eventIndex() const
Return the event number of the referenced GenEvent.
static std::vector< index_type > getEventPositionInCollection(index_type index, const IProxyDict *sg)
Return a vector of the positions in the McEventCollection of the GenEvent(s) with a given event numbe...
EBC_SUPPRESSED_TRUTH getTruthSuppressionType() const
Return whether the truth particle has been suppressed, as an enum.