ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Tracking
TrkEventCnv
TrkEventTPCnv
src
TrkSurfaces
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
5
#include "
TrkSurfaces/EllipseBounds.h
"
6
#include "
TrkEventTPCnv/TrkSurfaces/EllipseBoundsCnv_p1.h
"
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
}
EllipseBoundsCnv_p1.h
EllipseBounds.h
Trk::EllipseBounds
Class to describe the bounds for a planar EllipseSurface, i.e.
Definition
EllipseBounds.h:38
Generated on
for ATLAS Offline Software by
1.17.0