ATLAS Offline Software
TruthParticleContainerCnv.h
Go to the documentation of this file.
1 
3 /*
4  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 // TruthParticleContainerCnv.h
8 // Header file for class TruthParticleContainerCnv
9 // Author: S.Binet<binet@cern.ch>
11 #ifndef MCPARTICLEEVENTATHENAPOOL_TRUTHPARTICLECONTAINERCNV_H
12 #define MCPARTICLEEVENTATHENAPOOL_TRUTHPARTICLECONTAINERCNV_H
13 
14 // STL includes
15 
16 
17 // AthenaPoolCnvSvc includes
19 
20 // McParticleEvent includes
23 
24 // McParticleEventTPCnv includes
26 
27 // Forward declaration
28 class StoreGateSvc;
30 
31 // the latest persistent representation type of DataCollection:
33 
35  TruthParticleContainer,
36  TruthParticleContainer_PERS
37  >
38 
39 {
40 
41  // make the factory for this converter our friend
43 
45  // Protected methods:
47  protected:
48 
51 public:
52  TruthParticleContainerCnv(ISvcLocator* svcloc);
53 protected:
54 
59 
63 
65  // Protected data:
67  protected:
68 
72  ToolHandle<ITruthParticleCnvTool> m_cnvTool{"TruthParticleCnvTool", this};
73 
74 };
75 
79 
80 #endif //> MCPARTICLEEVENTATHENAPOOL_TRUTHPARTICLECONTAINERCNV_H
81 
ITruthParticleCnvTool.h
TruthParticleContainerCnv::createTransient
virtual TruthParticleContainer * createTransient()
Build the transient representation from a persistent one.
Definition: TruthParticleContainerCnv.cxx:53
TruthParticleContainerCnv::m_cnvTool
ToolHandle< ITruthParticleCnvTool > m_cnvTool
Handle to the McEventCollection -> TruthParticleContainer converter tool.
Definition: TruthParticleContainerCnv.h:72
TruthParticleContainer.h
TruthParticleContainer_p6.h
TruthParticleContainer_PERS
TruthParticleContainer_p6 TruthParticleContainer_PERS
Definition: TruthParticleContainerCnv.h:29
TruthParticleContainer_p6
Definition: TruthParticleContainer_p6.h:27
TruthParticleContainer
Definition: PhysicsAnalysis/TruthParticleID/McParticleEvent/McParticleEvent/TruthParticleContainer.h:42
StoreGateSvc
The Athena Transient Store API.
Definition: StoreGateSvc.h:125
T_AthenaPoolCustomCnv
Compatibility for old converter classes that don't get passed the key.
Definition: T_AthenaPoolCustomCnv.h:132
T_AthenaPoolCustomCnv.h
his file contains the class definition for the templated T_AthenaPoolCustomCnv class.
CnvFactory
Abstract factory to create the converter.
Definition: ToyConverter.h:16
TruthParticleContainerCnv::createPersistent
virtual TruthParticleContainer_PERS * createPersistent(TruthParticleContainer *transCont)
Build the persistent representation from the transient one.
Definition: TruthParticleContainerCnv.cxx:42
ITruthParticleCnvTool
Definition: ITruthParticleCnvTool.h:39
TruthParticleContainerCnv
Definition: TruthParticleContainerCnv.h:39
TruthParticleContainerCnv::TruthParticleContainerCnv
TruthParticleContainerCnv(ISvcLocator *svcloc)
Create the converter from the service locator.
Definition: TruthParticleContainerCnv.cxx:31