20template<
class SURFACE,
class BOUNDS_CNV >
27 transObj->m_bounds = std::shared_ptr<Trk::SurfaceBounds>(bounds);
38 transObj->
m_bounds = std::shared_ptr<Trk::CylinderBounds>(bounds);
49 transObj->
m_bounds = std::shared_ptr<Trk::CylinderBounds>(bounds);
54template<
class SURFACE,
class BOUNDS_CNV >
60 if ((transObj->m_bounds).get() && !
dynamic_cast<const Trk::NoBounds*
>((transObj->m_bounds).get()))
61 log<<MSG::WARNING<<
" No longer writing out bounds... "<<
endmsg;
69template<
class SURFACE >
74 m_surfaceCnv.persToTrans( persObj, transObj, log );
76 transObj->m_bounds = std::shared_ptr<Trk::SurfaceBounds>(bounds);
80template<
class SURFACE >
85 m_surfaceCnv.transToPers( transObj, persObj, log );
86 if ((transObj->m_bounds).get() && !
dynamic_cast<const Trk::NoBounds*
>((transObj->m_bounds).get()))
87 log<<MSG::WARNING<<
" No longer writing out bounds... "<<
endmsg;
ITPConverterFor< Trk::SurfaceBounds > TPCnvForSurfBnds
void persToTrans(const Trk::BoundSurface_p1 *, SURFACE *, MsgStream &)
SurfaceCnv_p1 m_surfaceCnv
void transToPers(const SURFACE *, Trk::BoundSurface_p1 *, MsgStream &)
Common base class for all TP converters, specialized for a given transient type.
CNV::Trans_t * createTransFromPStore(CNV **cnv, const TPObjRef &ref, MsgStream &log) const
Bounds for a cylindrical Surface.
Class for a CylinderSurface in the ATLAS detector.
std::shared_ptr< const CylinderBounds > m_bounds
The global reference point (== a point on the surface)
Bounds object for a boundless surface (...)
Class for a StraightLineSurface in the ATLAS detector to describe dirft tube and straw like detectors...
std::shared_ptr< const CylinderBounds > m_bounds
NoBounds as return object when no bounds are declared.
Abstract base class for surface bounds to be specified.