ATLAS Offline Software
TruthParticleContainerCnv_p5.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 // TruthParticleContainerCnv_p5.h
8 // Header file for class TruthParticleContainerCnv_p5
9 // Author: S.Binet<binet@cern.ch>
11 #ifndef MCPARTICLEEVENTTPCNV_TRUTHPARTICLECONTAINERCNV_P5_H
12 #define MCPARTICLEEVENTTPCNV_TRUTHPARTICLECONTAINERCNV_P5_H
13 
14 // STL includes
15 
16 // HepMC / CLHEP includes
17 
18 // Gaudi includes
19 
20 // AthenaPoolCnvSvc includes
22 
23 // DataModel converters
25 
26 // McParticleEvent includes
28 
29 // McParticleEventTPCnv includes
31 
32 // Forward declaration
33 class MsgStream;
34 class StoreGateSvc;
36 
38  TruthParticleContainer,
39  TruthParticleContainer_p5
40  >
41 {
42  public:
45 
46 
50 
54 
55 
59  virtual void persToTrans( const TruthParticleContainer_p5* persObj,
60  TruthParticleContainer* transObj,
61  MsgStream& msg ) const override;
62 
66  virtual void transToPers( const TruthParticleContainer* transObj,
67  TruthParticleContainer_p5* persObj,
68  MsgStream& msg ) const override;
69 
70  protected:
71 
76 
80 
84 
85 };
86 
87 
89  m_cnvTool ( 0 ),
90  m_genEvtCnv ( ),
91  m_etIsolCnv ( )
92 {}
93 
94 inline
96  m_cnvTool ( cnvTool ),
97  m_genEvtCnv ( ),
98  m_etIsolCnv ( )
99 {}
100 
101 template<>
104 {
105 public:
106  T_TPCnv();
107  ~T_TPCnv();
108 };
109 
110 #endif //> MCPARTICLEEVENTTPCNV_TRUTHPARTICLECONTAINERCNV_P5_H
TruthParticleContainerCnv_p5::m_etIsolCnv
ElementLinkCnv_p1< ElementLink< TruthEtIsolationsContainer > > m_etIsolCnv
Converter for the ElementLink<TruthEtIsolationsContainer> data member.
Definition: TruthParticleContainerCnv_p5.h:83
ElementLinkCnv_p1.h
This file contains the class definition for the ElementLinkCnv_p1 class.
TruthParticleContainer.h
TPConverterConstBase::transToPers
virtual void transToPers(const TRANS *transObj, PERS *persObj, MsgStream &log) const =0
Convert transient representation to persistent one.
TruthParticleContainer_p5.h
TruthParticleContainerCnv_p5::m_cnvTool
ITruthParticleCnvTool * m_cnvTool
Pointer to the IAlgTool providing the conversion from a McEventCollection to a TruthParticleContainer...
Definition: TruthParticleContainerCnv_p5.h:75
TruthParticleContainer
Definition: PhysicsAnalysis/TruthParticleID/McParticleEvent/McParticleEvent/TruthParticleContainer.h:42
TruthParticleContainerCnv_p5::persToTrans
virtual void persToTrans(const TruthParticleContainer_p5 *persObj, TruthParticleContainer *transObj, MsgStream &msg) const override
Method creating the transient representation of TruthParticleContainer from its persistent representa...
Definition: TruthParticleContainerCnv_p5.cxx:34
StoreGateSvc
The Athena Transient Store API.
Definition: StoreGateSvc.h:125
TruthParticleContainerCnv_p5
Definition: TruthParticleContainerCnv_p5.h:41
T_AthenaPoolTPConverter.h
TruthParticleContainer_p5
Definition: TruthParticleContainer_p5.h:27
TruthParticleContainerCnv_p5::TruthParticleContainerCnv_p5
TruthParticleContainerCnv_p5()
Default constructor:
Definition: TruthParticleContainerCnv_p5.h:88
ElementLinkCnv_p1
Definition: ElementLinkCnv_p1.h:27
TPConverterConstBase::persToTrans
virtual void persToTrans(const PERS *persObj, TRANS *transObj, MsgStream &log) const =0
Convert persistent representation to transient one.
ITruthParticleCnvTool
Definition: ITruthParticleCnvTool.h:39
TPConverterConstBase
Definition: TPConverter.h:776
TruthParticleContainerCnv_p5::m_genEvtCnv
ElementLinkCnv_p1< ElementLink< McEventCollection > > m_genEvtCnv
Converter for the ElementLink<McEventCollection> data member.
Definition: TruthParticleContainerCnv_p5.h:79
TruthParticleContainerCnv_p5::transToPers
virtual void transToPers(const TruthParticleContainer *transObj, TruthParticleContainer_p5 *persObj, MsgStream &msg) const override
Method creating the persistent representation TruthParticleContainer_p5 from its transient representa...
Definition: TruthParticleContainerCnv_p5.cxx:99
T_TPCnv
Definition: T_AthenaPoolTPConverter.h:17
python.AutoConfigFlags.msg
msg
Definition: AutoConfigFlags.py:7