ATLAS Offline Software
Tracking
TrkEventCnv
TrkEventTPCnv
src
TrkEventPrimitives
LocalDirectionCnv_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: LocalDirectionCnv_p1.cxx
8
// author: Lukasz Janyst <ljanyst@cern.ch>
9
//
10
//-----------------------------------------------------------------------------
11
#include "
TrkEventPrimitives/LocalDirection.h
"
12
#include "
TrkEventTPCnv/TrkEventPrimitives/LocalDirectionCnv_p1.h
"
13
14
void
LocalDirectionCnv_p1 :: persToTrans
(
const
Trk :: LocalDirection_p1 *persObj,
15
Trk :: LocalDirection *transObj,
16
MsgStream&)
17
{
18
*transObj =
Trk::LocalDirection
(persObj->m_angleXZ,
19
persObj->m_angleYZ);
20
}
21
22
void
LocalDirectionCnv_p1 :: transToPers
(
const
Trk :: LocalDirection *transObj,
23
Trk :: LocalDirection_p1 *persObj,
24
MsgStream& )
25
{
26
persObj->m_angleXZ = transObj->angleXZ();
27
persObj->m_angleYZ = transObj->angleYZ();
28
}
LocalDirectionCnv_p1.h
Trk::LocalDirection
represents the three-dimensional global direction with respect to a planar surface frame.
Definition:
LocalDirection.h:81
LocalDirectionCnv_p1::transToPers
virtual void transToPers(const Trk ::LocalDirection *transObj, Trk ::LocalDirection_p1 *persObj, MsgStream &log)
Definition:
LocalDirectionCnv_p1.cxx:22
LocalDirection.h
LocalDirectionCnv_p1::persToTrans
virtual void persToTrans(const Trk ::LocalDirection_p1 *persObj, Trk ::LocalDirection *transObj, MsgStream &log)
Definition:
LocalDirectionCnv_p1.cxx:14
Generated on Sun Dec 22 2024 21:13:53 for ATLAS Offline Software by
1.8.18