ATLAS Offline Software
Loading...
Searching...
No Matches
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//-----------------------------------------------------------------------------
13
14void 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
22void 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}
represents the three-dimensional global direction with respect to a planar surface frame.