ATLAS Offline Software
ParticleBaseCnv_p1.h
Go to the documentation of this file.
1 
3 /*
4  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 // ParticleBaseCnv_p1.h
8 // Header file for class ParticleBaseCnv_p1
9 // Author: K.Cranmer<cranmer@cern.ch>
10 // Author: S.Binet<binet@cern.ch>
12 #ifndef PARTICLEEVENTTPCNV_PARTICLEBASECNV_P1_H
13 #define PARTICLEEVENTTPCNV_PARTICLEBASECNV_P1_H 1
14 
15 // STL includes
16 
17 // AthenaPoolCnvSvc includes
19 
20 // ParticleEventTPCnv includes
24 
25 // Forward declaration
26 class MsgStream;
27 
29  : public T_AthenaPoolTPCnvConstBase<ParticleEvent::Base, ParticleBase_p1>
30 {
31  public:
34 
35 
39 
42  virtual ~ParticleBaseCnv_p1();
43 
44 
48  virtual void persToTrans( const ParticleBase_p1* persObj,
49  ParticleBase* transObj,
50  MsgStream &msg ) const final;
51 
55  virtual void transToPers( const ParticleBase* transObj,
56  ParticleBase_p1* persObj,
57  MsgStream &msg ) const final;
58 
62  virtual void persToTrans( const ParticleBase_p1* persObj,
63  ParticleEvent::Base* transObj,
64  MsgStream &msg ) const override final;
65 
69  virtual void transToPers( const ParticleEvent::Base* transObj,
70  ParticleBase_p1* persObj,
71  MsgStream &msg ) const override final;
72 };
73 
74 
76 {}
77 
78 #endif //> PARTICLEEVENTTPCNV_PARTICLEBASECNV_P1_H
ParticleBaseCnv_p1::ParticleBaseCnv_p1
ParticleBaseCnv_p1()
Default constructor:
Definition: ParticleBaseCnv_p1.h:75
ParticleBase
Definition: ParticleBase.h:17
TPConverterConstBase::transToPers
virtual void transToPers(const TRANS *transObj, PERS *persObj, MsgStream &log) const =0
Convert transient representation to persistent one.
ParticleBase_p1
Definition: ParticleBase_p1.h:26
ParticleBase.h
ParticleBaseCnv_p1::persToTrans
virtual void persToTrans(const ParticleBase_p1 *persObj, ParticleBase *transObj, MsgStream &msg) const final
Method creating the transient representation of ParticleBase from its persistent representation Parti...
Definition: ParticleBaseCnv_p1.cxx:49
ParticleEvent::Base
Definition: Base.h:34
T_AthenaPoolTPConverter.h
TPConverterConstBase::persToTrans
virtual void persToTrans(const PERS *persObj, TRANS *transObj, MsgStream &log) const =0
Convert persistent representation to transient one.
ParticleBaseCnv_p1::~ParticleBaseCnv_p1
virtual ~ParticleBaseCnv_p1()
d-tor
Definition: ParticleBaseCnv_p1.cxx:42
ParticleBaseCnv_p1
Definition: ParticleBaseCnv_p1.h:30
ParticleBase_p1.h
ParticleBaseCnv_p1::transToPers
virtual void transToPers(const ParticleBase *transObj, ParticleBase_p1 *persObj, MsgStream &msg) const final
Method creating the persistent representation ParticleBase_p1 from its transient representation Parti...
Definition: ParticleBaseCnv_p1.cxx:80
TPConverterConstBase
Definition: TPConverter.h:776
python.AutoConfigFlags.msg
msg
Definition: AutoConfigFlags.py:7
ParticleImpl.h