|
ATLAS Offline Software
|
Go to the documentation of this file.
11 #ifndef GENERATOROBJECTSTPCNV_MCEVENTCOLLECTIONCNV_P2_H
12 #define GENERATOROBJECTSTPCNV_MCEVENTCOLLECTIONCNV_P2_H
15 #include <unordered_map>
19 #pragma clang diagnostic push
20 #pragma clang diagnostic ignored "-Wkeyword-macro"
22 #define private public
23 #define protected public
28 #pragma clang diagnostic pop
121 #endif //> GENERATOROBJECTSTPCNV_MCEVENTCOLLECTIONCNV_P2_H
HepMC::GenVertex * GenVertexPtr
GenParticle * GenParticlePtr
T_AthenaPoolTPCnvBase< McEventCollection, McEventCollection_p2 > Base_t
virtual void persToTrans(const McEventCollection_p2 *persObj, McEventCollection *transObj, MsgStream &log)
Method creating the transient representation of McEventCollection from its persistent representation ...
McEventCollectionCnv_p2 & operator=(const McEventCollectionCnv_p2 &rhs)
Assignement operator.
static HepMC::GenParticlePtr createGenParticle(const GenParticle_p2 &p, ParticlesMap_t &partToEndVtx, HepMC::DataPool &datapools, const HepMC::GenVertexPtr &parent=nullptr)
Create a transient GenParticle from a persistent one (vers.1) It returns the new GenParticle.
virtual void transToPers(const McEventCollection *transObj, McEventCollection_p2 *persObj, MsgStream &log)
Method creating the persistent representation McEventCollection_p2 from its transient representation ...
This defines the McEventCollection, which is really just an ObjectVector of McEvent objects.
std::unordered_map< HepMC::GenParticlePtr, int > ParticlesMap_t
static HepMC::GenVertexPtr createGenVertex(const McEventCollection_p2 &persEvts, const GenVertex_p2 &vtx, ParticlesMap_t &bcToPart, HepMC::DataPool &datapools, HepMC::GenEvent *parent=nullptr)
Create a transient GenVertex from a persistent one (version 1) It returns the new GenVertex.
McEventCollectionCnv_p2()
Default constructor:
McEventCollectionCnv_p2(const McEventCollectionCnv_p2 &rhs)
Copy constructor.
virtual ~McEventCollectionCnv_p2()
Destructor.
a typed memory pool that saves time spent allocation small object. This is typically used by containe...