ATLAS Offline Software
MeasuredAtaSurfaceCnv_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 MeasuredAtaSurfaceCnv_p1_H
6 #define MeasuredAtaSurfaceCnv_p1_H
7 
8 //-----------------------------------------------------------------------------
9 //
10 // file: MeasuredAtaSurfaceCnv_p1.h
11 //
12 //-----------------------------------------------------------------------------
13 
15 
17 #include "AtaSurfaceCnv_p1.h"
19 
20 
21 
22 class MsgStream;
23 
24 template< class SURFACE_CNV, class ATA_SURFACE >
26  : public T_AthenaPoolTPPolyCnvBase< Trk::TrackParameters, ATA_SURFACE, Trk::MeasuredAtaSurface_p1>
27 {
28 public:
31 
32  void persToTrans( const Trk::MeasuredAtaSurface_p1 *, ATA_SURFACE *, MsgStream & );
33  void transToPers( const ATA_SURFACE *, Trk::MeasuredAtaSurface_p1 *, MsgStream & );
34 
36  m_surfaceCnv.setTopConverter(topCnv, 0);
37  }
38 
39 private:
41  SURFACE_CNV m_surfaceCnv;
42 };
43 
44 // No more 'measured' parameters since rel19 - now all parameters can be measured
46  : public MeasuredAtaSurfaceCnv_p1< AtaDiscCnv_p1, Trk::AtaDisc > {};
47 
49  : public MeasuredAtaSurfaceCnv_p1< AtaCylinderCnv_p1, Trk::AtaCylinder > {};
50 
52  : public MeasuredAtaSurfaceCnv_p1< AtaPlaneCnv_p1, Trk::AtaPlane > {};
53 
55  : public MeasuredAtaSurfaceCnv_p1< AtaStraightLineCnv_p1, Trk::AtaStraightLine > {};
56 
58  : public MeasuredAtaSurfaceCnv_p1< CurvilinearParametersCnv_p1, Trk::CurvilinearParameters > {};
59 
60 
61 #endif
TrackParameters.h
MeasuredAtaSurfaceCnv_p1::~MeasuredAtaSurfaceCnv_p1
virtual ~MeasuredAtaSurfaceCnv_p1()
Definition: MeasuredAtaSurfaceCnv_p1.h:30
MeasuredAtaSurfaceCnv_p1::initPrivateConverters
virtual void initPrivateConverters(AthenaPoolTopLevelTPCnvBase *topCnv)
Definition: MeasuredAtaSurfaceCnv_p1.h:35
MeasuredCurvilinearParametersCnv_p1
Definition: MeasuredAtaSurfaceCnv_p1.h:58
ErrorMatrixCnv_p1
Definition: ErrorMatrixCnv_p1.h:33
MeasuredAtaSurfaceCnv_p1::MeasuredAtaSurfaceCnv_p1
MeasuredAtaSurfaceCnv_p1()
Definition: MeasuredAtaSurfaceCnv_p1.h:29
MeasuredAtaSurfaceCnv_p1::persToTrans
void persToTrans(const Trk::MeasuredAtaSurface_p1 *, ATA_SURFACE *, MsgStream &)
Definition: MeasuredAtaSurfaceCnv_p1.cxx:19
MeasuredAtaSurface_p1.h
TPPolyCnvBase
Definition: TPConverter.h:674
MeasuredAtaCylinderCnv_p1
Definition: MeasuredAtaSurfaceCnv_p1.h:49
MeasuredAtaSurfaceCnv_p1::m_errorMxCnv
ErrorMatrixCnv_p1 * m_errorMxCnv
Definition: MeasuredAtaSurfaceCnv_p1.h:40
TopLevelTPCnvBase
Base class for top-level TP converters.
Definition: TopLevelTPCnvBase.h:32
MeasuredAtaDiscCnv_p1
Definition: MeasuredAtaSurfaceCnv_p1.h:46
ErrorMatrixCnv_p1.h
Trk::MeasuredAtaSurface_p1
Definition: MeasuredAtaSurface_p1.h:18
MeasuredAtaStraightLineCnv_p1
Definition: MeasuredAtaSurfaceCnv_p1.h:55
MeasuredAtaPlaneCnv_p1
Definition: MeasuredAtaSurfaceCnv_p1.h:52
MeasuredAtaSurfaceCnv_p1
Definition: MeasuredAtaSurfaceCnv_p1.h:27
AtaSurfaceCnv_p1.h
MeasuredAtaSurfaceCnv_p1::transToPers
void transToPers(const ATA_SURFACE *, Trk::MeasuredAtaSurface_p1 *, MsgStream &)
Definition: MeasuredAtaSurfaceCnv_p1.cxx:31
MeasuredAtaSurfaceCnv_p1::m_surfaceCnv
SURFACE_CNV m_surfaceCnv
Definition: MeasuredAtaSurfaceCnv_p1.h:41