ATLAS Offline Software
Loading...
Searching...
No Matches
TruthParticleContainerCnv.h
Go to the documentation of this file.
1
2
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
28class 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
51public:
52 TruthParticleContainerCnv(ISvcLocator* svcloc);
53protected:
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
his file contains the class definition for the templated T_AthenaPoolCustomCnv class.
TruthParticleContainer_p6 TruthParticleContainer_PERS
Abstract factory to create the converter.
interface for AlgTools which want to convert McEventCollection objects into a TruthParticleContainer ...
The Athena Transient Store API.
Compatibility for old converter classes that don't get passed the key.
ToolHandle< ITruthParticleCnvTool > m_cnvTool
Handle to the McEventCollection -> TruthParticleContainer converter tool.
TruthParticleContainerCnv(ISvcLocator *svcloc)
Create the converter from the service locator.
virtual TruthParticleContainer * createTransient()
Build the transient representation from a persistent one.
virtual TruthParticleContainer_PERS * createPersistent(TruthParticleContainer *transCont)
Build the persistent representation from the transient one.