ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetEventCnv
InDetEventTPCnv
src
InDetPrepRawData
SiWidthCnv_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: SiWidthCnv_p1.cxx
8
//
9
//-----------------------------------------------------------------------------
10
11
#include "
InDetPrepRawData/SiWidth.h
"
12
#include "
InDetEventTPCnv/InDetPrepRawData/SiWidthCnv_p1.h
"
13
14
void
SiWidthCnv_p1::persToTrans
(
const
InDet::SiWidth_p1
*persObj,
15
InDet::SiWidth
*transObj, MsgStream &log )
16
{
17
// if (log.level() <= MSG::DEBUG) log << MSG::DEBUG << "in SiWidthCnv_p1::persToTrans" << endmsg;
18
transObj->
setColumn
(persObj->
x
);
19
transObj->
setRow
(persObj->
y
);
20
Amg::Vector2D
phirzwidth;
21
fillTransFromPStore
( &
m_localPosCnv
, persObj->
m_phirzWidth
, &phirzwidth, log );
22
transObj->
setPhirzWidth
(phirzwidth);
23
}
24
25
26
void
SiWidthCnv_p1::transToPers
(
const
InDet::SiWidth
*transObj,
27
InDet::SiWidth_p1
*persObj, MsgStream &log )
28
{
29
// if (log.level() <= MSG::DEBUG) log<< MSG::DEBUG << "in SiWidthCnv_p1::transToPERS" << endmsg;
30
persObj->
x
= (float) transObj->
colRow
()[
Trk::locX
];
31
persObj->
y
= (float) transObj->
colRow
()[
Trk::locY
];
32
persObj->
m_phirzWidth
=
toPersistent
( &
m_localPosCnv
, &transObj->
widthPhiRZ
(), log );
33
}
SiWidthCnv_p1.h
SiWidth.h
TPPolyCnvBase< TRANS, TRANS, PERS >::fillTransFromPStore
void fillTransFromPStore(CNV **cnv, const TPObjRef &ref, TRANS_T *trans, MsgStream &log) const
Definition
TPConverter.h:145
TPPolyCnvBase< TRANS, TRANS, PERS >::toPersistent
TPObjRef toPersistent(CNV **cnv, const typename CNV::TransBase_t *transObj, MsgStream &log) const
Definition
TPConverter.h:119
InDet::SiWidth_p1
Definition
SiWidth_p1.h:19
InDet::SiWidth_p1::x
float x
Definition
SiWidth_p1.h:23
InDet::SiWidth_p1::y
float y
Definition
SiWidth_p1.h:24
InDet::SiWidth_p1::m_phirzWidth
TPObjRef m_phirzWidth
Definition
SiWidth_p1.h:26
InDet::SiWidth
Definition
SiWidth.h:25
InDet::SiWidth::setRow
void setRow(const double row)
Definition
SiWidth.h:163
InDet::SiWidth::widthPhiRZ
const Amg::Vector2D & widthPhiRZ() const
Definition
SiWidth.h:121
InDet::SiWidth::colRow
const Amg::Vector2D & colRow() const
Definition
SiWidth.h:115
InDet::SiWidth::setColumn
void setColumn(const double col)
Definition
SiWidth.h:158
InDet::SiWidth::setPhirzWidth
void setPhirzWidth(const Amg::Vector2D &phirzWidth)
Definition
SiWidth.h:181
SiWidthCnv_p1::transToPers
void transToPers(const InDet::SiWidth *, InDet::SiWidth_p1 *, MsgStream &)
Definition
SiWidthCnv_p1.cxx:26
SiWidthCnv_p1::persToTrans
void persToTrans(const InDet::SiWidth_p1 *, InDet::SiWidth *, MsgStream &)
Definition
SiWidthCnv_p1.cxx:14
SiWidthCnv_p1::m_localPosCnv
LocalPositionCnv_p1 * m_localPosCnv
Definition
SiWidthCnv_p1.h:31
Amg::Vector2D
Eigen::Matrix< double, 2, 1 > Vector2D
Definition
GeoPrimitives.h:48
Trk::locY
@ locY
local cartesian
Definition
ParamDefs.h:38
Trk::locX
@ locX
Definition
ParamDefs.h:37
Generated on
for ATLAS Offline Software by
1.17.0