ATLAS Offline Software
Loading...
Searching...
No Matches
ParticleBaseCnv_p1.h
Go to the documentation of this file.
1
2
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
26class 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
77
78#endif //> PARTICLEEVENTTPCNV_PARTICLEBASECNV_P1_H
TPConverterConstBase< TRANS, PERS > T_AthenaPoolTPCnvConstBase
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...
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...
ParticleBaseCnv_p1()
Default constructor:
virtual ~ParticleBaseCnv_p1()
d-tor
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.
MsgStream & msg
Definition testRead.cxx:32