ATLAS Offline Software
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
}
DiscBounds.h
DiscBoundsCnv_p1.h
DiscBoundsCnv_p1::transToPers
void transToPers(const Trk::DiscBounds *, Trk::DiscBounds_p1 *, MsgStream &)
Definition:
DiscBoundsCnv_p1.cxx:25
DiscBoundsCnv_p1::persToTrans
void persToTrans(const Trk::DiscBounds_p1 *, Trk::DiscBounds *, MsgStream &)
Definition:
DiscBoundsCnv_p1.cxx:15
Trk::DiscBounds
Definition:
DiscBounds.h:44
Generated on Sun Dec 22 2024 21:09:26 for ATLAS Offline Software by
1.8.18