ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
DiscSurfaceCnv_p1 Class Reference

#include <BoundSurfaceCnv_p1.h>

Inheritance diagram for DiscSurfaceCnv_p1:
Collaboration diagram for DiscSurfaceCnv_p1:

Public Member Functions

void persToTrans (const Trk::BoundSurface_p1 *, Trk::DiscSurface *, MsgStream &)
 
void transToPers (const Trk::DiscSurface *, Trk::BoundSurface_p1 *, MsgStream &)
 

Private Attributes

SurfaceCnv_p1 m_surfaceCnv
 
DiscBoundsCnv_p1m_boundsCnv
 

Detailed Description

Definition at line 59 of file BoundSurfaceCnv_p1.h.

Member Function Documentation

◆ persToTrans()

void BoundSurfaceCnv_p1< Trk::DiscSurface >::persToTrans ( const Trk::BoundSurface_p1 persObj,
Trk::DiscSurface transObj,
MsgStream &  log 
)
inherited

Definition at line 36 of file BoundSurfaceCnv_p1.cxx.

24 {
25  m_surfaceCnv.persToTrans( persObj, transObj, log );
26  Trk::SurfaceBounds* bounds = this->createTransFromPStore( &m_boundsCnv, persObj->m_bounds, log );
27  transObj->m_bounds = Trk::SharedObject<const Trk::SurfaceBounds>(bounds);
28 }

◆ transToPers()

void BoundSurfaceCnv_p1< Trk::DiscSurface >::transToPers ( const Trk::DiscSurface transObj,
Trk::BoundSurface_p1 persObj,
MsgStream &  log 
)
inherited

Definition at line 37 of file BoundSurfaceCnv_p1.cxx.

58 {
59  m_surfaceCnv.transToPers( transObj, persObj, log );
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;
62 }

Member Data Documentation

◆ m_boundsCnv

Definition at line 41 of file BoundSurfaceCnv_p1.h.

◆ m_surfaceCnv

Definition at line 40 of file BoundSurfaceCnv_p1.h.


The documentation for this class was generated from the following file:
Trk::BoundSurface_p1::m_bounds
TPObjRef m_bounds
Definition: BoundSurface_p1.h:23
Trk::SurfaceBounds
Definition: SurfaceBounds.h:47
BoundSurfaceCnv_p1< Trk::DiscSurface, DiscBoundsCnv_p1 >::m_surfaceCnv
SurfaceCnv_p1 m_surfaceCnv
Definition: BoundSurfaceCnv_p1.h:40
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
endmsg
#define endmsg
Definition: AnalysisConfig_Ntuple.cxx:63
BoundSurfaceCnv_p1< Trk::DiscSurface, DiscBoundsCnv_p1 >::m_boundsCnv
DiscBoundsCnv_p1 * m_boundsCnv
Definition: BoundSurfaceCnv_p1.h:41
Trk::NoBounds
Definition: NoBounds.h:30
Trk::SharedObject
std::shared_ptr< T > SharedObject
Definition: SharedObject.h:24
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20