ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Tracking
TrkEventCnv
TrkEventTPCnv
src
TrkSurfaces
CylinderBoundsCnv_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
//-----------------------------------------------------------------------------
6
//
7
// file: CylinderBounds_p1.cxx
8
// author: Lukasz Janyst <ljanyst@cern.ch>
9
//
10
//-----------------------------------------------------------------------------
11
#include "
TrkSurfaces/CylinderBounds.h
"
12
#include "
TrkEventTPCnv/TrkSurfaces/CylinderBoundsCnv_p1.h
"
13
14
void
CylinderBoundsCnv_p1 :: persToTrans(
const
Trk :: CylinderBounds_p1 *persObj,
15
Trk :: CylinderBounds *transObj,
16
MsgStream & )
17
{
18
*transObj =
Trk::CylinderBounds
(persObj->m_radius,
19
persObj->m_halfPhiSector,
20
persObj->m_averagePhi,
21
persObj->m_halfZ);
22
}
23
24
void
CylinderBoundsCnv_p1 :: transToPers(
const
Trk :: CylinderBounds *transObj,
25
Trk :: CylinderBounds_p1 *persObj,
26
MsgStream & )
27
{
28
persObj->m_radius = transObj->r();
29
persObj->m_averagePhi = transObj->averagePhi();
30
persObj->m_halfPhiSector = transObj->halfPhiSector();
31
persObj->m_halfZ = transObj->halflengthZ();
32
}
33
CylinderBoundsCnv_p1.h
CylinderBounds.h
Trk::CylinderBounds
Bounds for a cylindrical Surface.
Definition
CylinderBounds.h:46
Generated on
for ATLAS Offline Software by
1.17.0