ATLAS Offline Software
Tracking
TrkEventCnv
TrkEventTPCnv
TrkEventTPCnv
TrkSurfaces
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
14
#include "
AthenaPoolCnvSvc/T_AthenaPoolTPConverter.h
"
15
16
#include "
TrkSurfaces/PerigeeSurface.h
"
17
18
#include "
TrkEventTPCnv/TrkSurfaces/SurfaceCnv_p1.h
"
19
20
21
namespace
Trk
{
22
typedef
Surface_p1
PerigeeSurface_p1
;
23
}
24
25
26
class
MsgStream;
27
28
class
PerigeeSurfaceCnv_p1
29
:
public
T_AthenaPoolTPPolyCnvBase
<Trk::Surface, Trk::PerigeeSurface, Trk::PerigeeSurface_p1>
30
{
31
public
:
32
PerigeeSurfaceCnv_p1
() {}
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
42
SurfaceCnv_p1
m_surfaceCnv
;
43
44
};
45
46
47
inline
48
void
PerigeeSurfaceCnv_p1::persToTrans
(
const
Trk::PerigeeSurface_p1
*persObj,
Trk::PerigeeSurface
*transObj, MsgStream &
log
) {
49
m_surfaceCnv
.
persToTrans
( persObj, transObj,
log
);
50
}
51
52
inline
53
void
PerigeeSurfaceCnv_p1::transToPers
(
const
Trk::PerigeeSurface
* transObj,
Trk::PerigeeSurface_p1
*persObj, MsgStream &
log
) {
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
Generated on Sun Dec 22 2024 21:16:06 for ATLAS Offline Software by
1.8.18