ATLAS Offline Software
EllipseBoundsCnv_p1.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
7 
8 void EllipseBoundsCnv_p1 :: persToTrans( const Trk :: EllipseBounds_p1 *persObj,
9  Trk :: EllipseBounds *transObj,
10  MsgStream & )
11 {
12  *transObj = Trk::EllipseBounds (persObj->m_rMinX,
13  persObj->m_rMinY,
14  persObj->m_rMaxX,
15  persObj->m_rMaxY,
16  persObj->m_avePhi,
17  persObj->m_hPhiSec);
18 }
19 
20 void EllipseBoundsCnv_p1 :: transToPers( const Trk :: EllipseBounds *transObj,
21  Trk :: EllipseBounds_p1 *persObj,
22  MsgStream & )
23 {
24  persObj->m_rMinX = transObj->rMinX();
25  persObj->m_rMinY = transObj->rMinY();
26  persObj->m_rMaxX = transObj->rMaxX();
27  persObj->m_rMaxY = transObj->rMaxY();
28  persObj->m_avePhi = transObj->averagePhi();
29  persObj->m_hPhiSec = transObj->halfPhiSector();
30 }
EllipseBounds.h
EllipseBoundsCnv_p1::transToPers
void transToPers(const Trk::EllipseBounds *, Trk::EllipseBounds_p1 *, MsgStream &)
Definition: EllipseBoundsCnv_p1.cxx:20
EllipseBoundsCnv_p1.h
EllipseBoundsCnv_p1::persToTrans
void persToTrans(const Trk::EllipseBounds_p1 *, Trk::EllipseBounds *, MsgStream &)
Definition: EllipseBoundsCnv_p1.cxx:8
Trk::EllipseBounds
Definition: EllipseBounds.h:38