ATLAS Offline Software
Loading...
Searching...
No Matches
LocalPositionCnv_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: LocalPositionCnv_p1.cxx
8// author: Lukasz Janyst <ljanyst@cern.ch>
9//
10//-----------------------------------------------------------------------------
11
12
15
16void LocalPositionCnv_p1 :: persToTrans( const Trk :: LocalPosition_p1 *persObj,
17 Amg::Vector2D *transObj,
18 MsgStream&)
19{
20 (*transObj)[Trk::locX] = persObj->m_x;
21 (*transObj)[Trk::locY] = persObj->m_y;
22}
23
24void LocalPositionCnv_p1 :: transToPers( const Amg::Vector2D *transObj,
25 Trk :: LocalPosition_p1 *persObj,
26 MsgStream&)
27{
28 persObj->m_x = (*transObj)[Trk::locX];
29 persObj->m_y = (*transObj)[Trk::locY];
30}
Eigen::Matrix< double, 2, 1 > Vector2D
@ locY
local cartesian
Definition ParamDefs.h:38
@ locX
Definition ParamDefs.h:37