ATLAS Offline Software
Tracking
TrkEventCnv
TrkEventTPCnv
src
TrkSurfaces
RectangleBoundsCnv_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: RectangleBoundsCnv_p1.cxx
8
// author: Lukasz Janyst <ljanyst@cern.ch>
9
//
10
//-----------------------------------------------------------------------------
11
12
#include "
TrkSurfaces/RectangleBounds.h
"
13
#include "
TrkEventTPCnv/TrkSurfaces/RectangleBoundsCnv_p1.h
"
14
15
void
RectangleBoundsCnv_p1 :: persToTrans
(
const
Trk :: RectangleBounds_p1 *persObj,
16
Trk :: RectangleBounds *transObj,
17
MsgStream & )
18
{
19
*transObj =
Trk::RectangleBounds
(persObj->m_halfX,
20
persObj->m_halfY);
21
}
22
23
void
RectangleBoundsCnv_p1 :: transToPers
(
const
Trk :: RectangleBounds *transObj,
24
Trk :: RectangleBounds_p1 *persObj,
25
MsgStream & )
26
{
27
persObj->m_halfX = transObj->halflengthX();
28
persObj->m_halfY = transObj->halflengthY();
29
}
Trk::RectangleBounds
Definition:
RectangleBounds.h:38
RectangleBounds.h
RectangleBoundsCnv_p1.h
RectangleBoundsCnv_p1::transToPers
void transToPers(const Trk::RectangleBounds *, Trk::RectangleBounds_p1 *, MsgStream &)
Definition:
RectangleBoundsCnv_p1.cxx:23
RectangleBoundsCnv_p1::persToTrans
void persToTrans(const Trk::RectangleBounds_p1 *, Trk::RectangleBounds *, MsgStream &)
Definition:
RectangleBoundsCnv_p1.cxx:15
Generated on Fri Jan 10 2025 21:16:37 for ATLAS Offline Software by
1.8.18