ATLAS Offline Software
Tracking
TrkEventCnv
TrkEventTPCnv
src
TrkEventPrimitives
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
13
#include "
TrkEventTPCnv/TrkEventPrimitives/LocalPositionCnv_p1.h
"
14
#include "
TrkEventPrimitives/ParamDefs.h
"
15
16
void
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
24
void
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
}
Trk::locX
@ locX
Definition:
ParamDefs.h:37
Trk::locY
@ locY
local cartesian
Definition:
ParamDefs.h:38
Amg::Vector2D
Eigen::Matrix< double, 2, 1 > Vector2D
Definition:
GeoPrimitives.h:48
ParamDefs.h
LocalPositionCnv_p1::transToPers
virtual void transToPers(const Amg::Vector2D *transObj, Trk ::LocalPosition_p1 *persObj, MsgStream &log)
Definition:
LocalPositionCnv_p1.cxx:24
LocalPositionCnv_p1.h
LocalPositionCnv_p1::persToTrans
virtual void persToTrans(const Trk ::LocalPosition_p1 *persObj, Amg::Vector2D *transObj, MsgStream &log)
Definition:
LocalPositionCnv_p1.cxx:16
Generated on Sun Dec 22 2024 21:13:53 for ATLAS Offline Software by
1.8.18