ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Tracking
TrkEventCnv
TrkEventTPCnv
src
TrkSurfaces
DiscBoundsCnv_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: DiscBoundsCnv_p1.cxx
8
// author: Lukasz Janyst <ljanyst@cern.ch>
9
//
10
//-----------------------------------------------------------------------------
11
12
#include "
TrkSurfaces/DiscBounds.h
"
13
#include "
TrkEventTPCnv/TrkSurfaces/DiscBoundsCnv_p1.h
"
14
15
void
DiscBoundsCnv_p1 :: persToTrans(
const
Trk :: DiscBounds_p1 *persObj,
16
Trk :: DiscBounds *transObj,
17
MsgStream & )
18
{
19
*transObj =
Trk::DiscBounds
(persObj->m_rMin,
20
persObj->m_rMax,
21
persObj->m_avePhi,
22
persObj->m_hPhiSec);
23
}
24
25
void
DiscBoundsCnv_p1 :: transToPers(
const
Trk :: DiscBounds *transObj,
26
Trk :: DiscBounds_p1 *persObj,
27
MsgStream & )
28
{
29
persObj->m_rMin = transObj->rMin();
30
persObj->m_rMax = transObj->rMax();
31
persObj->m_avePhi = transObj->averagePhi();
32
persObj->m_hPhiSec = transObj->halfPhiSector();
33
}
DiscBoundsCnv_p1.h
DiscBounds.h
Trk::DiscBounds
Class to describe the bounds for a planar DiscSurface.
Definition
DiscBounds.h:44
Generated on
for ATLAS Offline Software by
1.17.0