ATLAS Offline Software
Loading...
Searching...
No Matches
BoundSurfaceCnv_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 BOUND_SURFACE_CNV_P1_H
6#define BOUND_SURFACE_CNV_P1_H
7
8//-----------------------------------------------------------------------------
9//
10// file: BoundSurfaceCnv_p1.h
11//
12//-----------------------------------------------------------------------------
13
15
20
22
23#include "SurfaceCnv_p1.h"
25#include "DiscBoundsCnv_p1.h"
26
27class MsgStream;
28
29template< class SURFACE, class BOUNDS_CNV = ITPConverterFor<Trk::SurfaceBounds> >
31 : public T_AthenaPoolTPPolyCnvBase< Trk::Surface, SURFACE, Trk::BoundSurface_p1>
32{
33public:
35
36 void persToTrans( const Trk::BoundSurface_p1 *, SURFACE *, MsgStream & );
37 void transToPers( const SURFACE *, Trk::BoundSurface_p1 *, MsgStream & );
38
39private:
40 SurfaceCnv_p1 m_surfaceCnv; // Base class convertor
41 BOUNDS_CNV *m_boundsCnv;
42};
43
44
45
46
47template< class SURFACE >
48class BoundSurfaceCnv_p1< SURFACE, ITPConverterFor<Trk::SurfaceBounds> >
49 : public T_AthenaPoolTPPolyCnvBase< Trk::Surface, SURFACE, Trk::BoundSurface_p1>
50{
51public:
52 void persToTrans( const Trk::BoundSurface_p1 *, SURFACE *, MsgStream & );
53 void transToPers( const SURFACE *, Trk::BoundSurface_p1 *, MsgStream & );
54
55private:
57};
58
60 : public BoundSurfaceCnv_p1< Trk::DiscSurface, DiscBoundsCnv_p1 > {};
61
63 : public BoundSurfaceCnv_p1< Trk::CylinderSurface, CylinderBoundsCnv_p1 > {};
64
66 : public BoundSurfaceCnv_p1< Trk::StraightLineSurface, CylinderBoundsCnv_p1 > {};
67
69 : public BoundSurfaceCnv_p1< Trk::PlaneSurface > {};
70
71#endif
72
73
74
75
TPPolyCnvBase< TRANS_BASE, TRANS, PERS > T_AthenaPoolTPPolyCnvBase
void persToTrans(const Trk::BoundSurface_p1 *, SURFACE *, MsgStream &)
void transToPers(const SURFACE *, Trk::BoundSurface_p1 *, MsgStream &)
void persToTrans(const Trk::BoundSurface_p1 *, SURFACE *, MsgStream &)
SurfaceCnv_p1 m_surfaceCnv
void transToPers(const SURFACE *, Trk::BoundSurface_p1 *, MsgStream &)
Ensure that the ATLAS eigen extensions are properly loaded.