ATLAS Offline Software
ConeBoundsCnv_p1.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 //-----------------------------------------------------------------------------
6 //
7 // file: ConeBoundsCnv_p1.cxx
8 // author: Lukasz Janyst <ljanyst@cern.ch>
9 //
10 //-----------------------------------------------------------------------------
11 
12 #include "TrkSurfaces/ConeBounds.h"
14 
15 void ConeBoundsCnv_p1 :: persToTrans( const Trk :: ConeBounds_p1 *persObj,
16  Trk :: ConeBounds *transObj,
17  MsgStream & )
18 {
19  *transObj = Trk::ConeBounds (persObj->m_alpha,
20  persObj->m_minZ,
21  persObj->m_maxZ,
22  persObj->m_avePhi,
23  persObj->m_halfPhiSector);
24 }
25 
26 void ConeBoundsCnv_p1 :: transToPers( const Trk :: ConeBounds *transObj,
27  Trk :: ConeBounds_p1 *persObj,
28  MsgStream & )
29 {
30  persObj->m_alpha = transObj->alpha();
31  persObj->m_minZ = transObj->minZ();
32  persObj->m_maxZ = transObj->maxZ();
33  persObj->m_avePhi = transObj->averagePhi();
34  persObj->m_halfPhiSector = transObj->halfPhiSector();
35 }
ConeBoundsCnv_p1::persToTrans
void persToTrans(const Trk::ConeBounds_p1 *, Trk::ConeBounds *, MsgStream &)
Definition: ConeBoundsCnv_p1.cxx:15
Trk::ConeBounds
Definition: ConeBounds.h:44
ConeBoundsCnv_p1::transToPers
void transToPers(const Trk::ConeBounds *, Trk::ConeBounds_p1 *, MsgStream &)
Definition: ConeBoundsCnv_p1.cxx:26
ConeBoundsCnv_p1.h
ConeBounds.h