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