ATLAS Offline Software
Loading...
Searching...
No Matches
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
14
15void 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
25void 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}
Class to describe the bounds for a planar DiscSurface.
Definition DiscBounds.h:44