ATLAS Offline Software
Loading...
Searching...
No Matches
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
8void 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
20void 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}
Class to describe the bounds for a planar EllipseSurface, i.e.