ATLAS Offline Software
Loading...
Searching...
No Matches
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
LocalDirection.h
Trk::LocalDirection
represents the three-dimensional global direction with respect to a planar surface frame.
Definition
LocalDirection.h:81
Generated on
for ATLAS Offline Software by
1.14.0