ATLAS Offline Software
Loading...
Searching...
No Matches
TruthParticleContainerCnv_p6.h
Go to the documentation of this file.
1
2
3/*
4 Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
5*/
6
7// TruthParticleContainerCnv_p6.h
8// Header file for class TruthParticleContainerCnv_p6
9// Author: S.Binet<binet@cern.ch>
11#ifndef MCPARTICLEEVENTTPCNV_TRUTHPARTICLECONTAINERCNV_P6_H
12#define MCPARTICLEEVENTTPCNV_TRUTHPARTICLECONTAINERCNV_P6_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
33class MsgStream;
34class StoreGateSvc;
36
38 TruthParticleContainer,
39 TruthParticleContainer_p6
40 >
41{
42 public:
45
46
50
54
55
59 virtual void persToTrans( const TruthParticleContainer_p6* persObj,
60 TruthParticleContainer* transObj,
61 MsgStream& msg ) const override;
62
66 virtual void transToPers( const TruthParticleContainer* transObj,
68 MsgStream& msg ) const override;
69
70 protected:
71
76
80
84
85};
86
87
93
94inline
100
101template<>
109
110#endif //> MCPARTICLEEVENTTPCNV_TRUTHPARTICLECONTAINERCNV_P6_H
This file contains the class definition for the ElementLinkCnv_p3 class.
TPConverterConstBase< TRANS, PERS > T_AthenaPoolTPCnvConstBase
interface for AlgTools which want to convert McEventCollection objects into a TruthParticleContainer ...
The Athena Transient Store API.
virtual void transToPers(const TRANS *transObj, PERS *persObj, MsgStream &log) const =0
Convert transient representation to persistent one.
virtual void persToTrans(const PERS *persObj, TRANS *transObj, MsgStream &log) const =0
Convert persistent representation to transient one.
virtual void persToTrans(const TruthParticleContainer_p6 *persObj, TruthParticleContainer *transObj, MsgStream &msg) const override
Method creating the transient representation of TruthParticleContainer from its persistent representa...
virtual void transToPers(const TruthParticleContainer *transObj, TruthParticleContainer_p6 *persObj, MsgStream &msg) const override
Method creating the persistent representation TruthParticleContainer_p6 from its transient representa...
ElementLinkCnv_p3< ElementLink< McEventCollection > > m_genEvtCnv
Converter for the ElementLink<McEventCollection> data member.
ITruthParticleCnvTool * m_cnvTool
Pointer to the IAlgTool providing the conversion from a McEventCollection to a TruthParticleContainer...
TruthParticleContainerCnv_p6()
Default constructor:
ElementLinkCnv_p3< ElementLink< TruthEtIsolationsContainer > > m_etIsolCnv
Converter for the ElementLink<TruthEtIsolationsContainer> data member.
MsgStream & msg
Definition testRead.cxx:32