ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Tracking
TrkEventCnv
TrkEventTPCnv
src
TrkSurfaces
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
"
13
#include "
TrkEventTPCnv/TrkSurfaces/ConeBoundsCnv_p1.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.h
ConeBounds.h
Trk::ConeBounds
Bounds for a conical Surface, the opening angle is stored in and always positively defined.
Definition
ConeBounds.h:44
Generated on
for ATLAS Offline Software by
1.17.0