ATLAS Offline Software
McEventCollectionCnv_p1.h
Go to the documentation of this file.
1 
3 /*
4  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 // McEventCollectionCnv_p1.h
8 // Header file for class McEventCollectionCnv_p1
9 // Author: S.Binet<binet@cern.ch>
11 #ifndef GENERATOROBJECTSTPCNV_MCEVENTCOLLECTIONCNV_P1_H
12 #define GENERATOROBJECTSTPCNV_MCEVENTCOLLECTIONCNV_P1_H
13 
14 // STL includes
15 #ifdef __clang__
16 #pragma clang diagnostic push
17 #pragma clang diagnostic ignored "-Wkeyword-macro"
18 #endif
19 #define private public
20 #define protected public
22 #include "AtlasHepMC/GenVertex.h"
23 #include "AtlasHepMC/GenParticle.h"
24 #ifdef __clang__
25 #pragma clang diagnostic pop
26 #endif
27 #undef private
28 #undef protected
30 
31 // AthenaPoolCnvSvc includes
33 
34 // GeneratorObjectsTPCnv includes
36 
37 // Forward declaration
38 class MsgStream;
40  McEventCollection,
41  McEventCollection_p1
42  >
43 {
46 
48  // Public methods:
50  public:
51 
55 
59 
63 
67 
71  virtual void persToTrans( const McEventCollection_p1* persObj,
72  McEventCollection* transObj,
73  MsgStream& msg ) ;
74 
78  virtual void transToPers( const McEventCollection* transObj,
79  McEventCollection_p1* persObj,
80  MsgStream& msg ) ;
81 };
82 #endif //> GENERATOROBJECTSTPCNV_MCEVENTCOLLECTIONCNV_P1_H
McEventCollectionCnv_p1
Definition: McEventCollectionCnv_p1.h:43
GenEvent.h
McEventCollectionCnv_p1::McEventCollectionCnv_p1
McEventCollectionCnv_p1()
Default constructor:
Definition: McEventCollectionCnv_p1.cxx:25
GenVertex.h
McEventCollection
McEventCollection
Definition: GeneratorObjectsTPCnv.cxx:60
TPConverterBase
Definition: TPConverter.h:738
McEventCollectionCnv_p1::~McEventCollectionCnv_p1
virtual ~McEventCollectionCnv_p1()
Destructor.
McEventCollectionCnv_p1::Base_t
T_AthenaPoolTPCnvBase< McEventCollection, McEventCollection_p1 > Base_t
Definition: McEventCollectionCnv_p1.h:45
McEventCollectionCnv_p1::McEventCollectionCnv_p1
McEventCollectionCnv_p1(const McEventCollectionCnv_p1 &rhs)
Copy constructor.
GenParticle.h
McEventCollectionCnv_p1::transToPers
virtual void transToPers(const McEventCollection *transObj, McEventCollection_p1 *persObj, MsgStream &msg)
Method creating the persistent representation McEventCollection_p1 from its transient representation ...
Definition: McEventCollectionCnv_p1.cxx:85
McEventCollection.h
T_AthenaPoolTPConverter.h
McEventCollectionCnv_p1::persToTrans
virtual void persToTrans(const McEventCollection_p1 *persObj, McEventCollection *transObj, MsgStream &msg)
Method creating the transient representation of McEventCollection from its persistent representation ...
Definition: McEventCollectionCnv_p1.cxx:50
McEventCollection_p1.h
McEventCollection
This defines the McEventCollection, which is really just an ObjectVector of McEvent objects.
Definition: McEventCollection.h:33
McEventCollectionCnv_p1::operator=
McEventCollectionCnv_p1 & operator=(const McEventCollectionCnv_p1 &rhs)
Assignement operator.
Definition: McEventCollectionCnv_p1.cxx:34
McEventCollection_p1
Definition: McEventCollection_p1.h:24
python.AutoConfigFlags.msg
msg
Definition: AutoConfigFlags.py:7