ATLAS Offline Software
PerigeeSurfaceCnv_p1.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef PerigeeSURFACE_CNV_P1_H
6 #define PerigeeSURFACE_CNV_P1_H
7 
8 //-----------------------------------------------------------------------------
9 //
10 // file: PerigeeSurfaceCnv_p1.h
11 //
12 //-----------------------------------------------------------------------------
13 
15 
17 
19 
20 
21 namespace Trk {
23 }
24 
25 
26 class MsgStream;
27 
29  : public T_AthenaPoolTPPolyCnvBase<Trk::Surface, Trk::PerigeeSurface, Trk::PerigeeSurface_p1>
30 {
31 public:
33 
34  void persToTrans( const Trk::PerigeeSurface_p1*, Trk::PerigeeSurface*, MsgStream& );
35  void transToPers( const Trk::PerigeeSurface*, Trk::PerigeeSurface_p1*, MsgStream& );
36 
37 
38  // special case: this converter does not need to be initialized
39  // becase it does not use it's own persistent storage
40  // it is only used as a conversion tool
41  // that is possible because PerigeeSurface_p1 is a typedef
43 
44 };
45 
46 
47 inline
49  m_surfaceCnv.persToTrans( persObj, transObj, log );
50 }
51 
52 inline
54  m_surfaceCnv.transToPers( transObj, persObj, log );
55 }
56 
57 #endif
PerigeeSurfaceCnv_p1::persToTrans
void persToTrans(const Trk::PerigeeSurface_p1 *, Trk::PerigeeSurface *, MsgStream &)
Definition: PerigeeSurfaceCnv_p1.h:48
Trk::Surface_p1
Definition: Surface_p1.h:20
PerigeeSurface.h
Trk::PerigeeSurface
Definition: PerigeeSurface.h:43
PerigeeSurfaceCnv_p1::transToPers
void transToPers(const Trk::PerigeeSurface *, Trk::PerigeeSurface_p1 *, MsgStream &)
Definition: PerigeeSurfaceCnv_p1.h:53
SurfaceCnv_p1::transToPers
void transToPers(const Trk::Surface *, Trk::Surface_p1 *, MsgStream &)
Definition: SurfaceCnv_p1.cxx:42
SurfaceCnv_p1::persToTrans
void persToTrans(const Trk::Surface_p1 *, Trk::Surface *, MsgStream &)
Definition: SurfaceCnv_p1.cxx:18
TPPolyCnvBase
Definition: TPConverter.h:674
Trk::PerigeeSurface_p1
Surface_p1 PerigeeSurface_p1
Definition: PerigeeSurfaceCnv_p1.h:22
SurfaceCnv_p1
Definition: SurfaceCnv_p1.h:23
T_AthenaPoolTPConverter.h
PerigeeSurfaceCnv_p1
Definition: PerigeeSurfaceCnv_p1.h:30
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
SurfaceCnv_p1.h
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
PerigeeSurfaceCnv_p1::PerigeeSurfaceCnv_p1
PerigeeSurfaceCnv_p1()
Definition: PerigeeSurfaceCnv_p1.h:32
PerigeeSurfaceCnv_p1::m_surfaceCnv
SurfaceCnv_p1 m_surfaceCnv
Definition: PerigeeSurfaceCnv_p1.h:42