ATLAS Offline Software
Tracking
TrkEventCnv
TrkEventTPCnv
src
TrkNeutralParameters
MeasuredNeutralAtaSurfaceCnv_p1.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
//-----------------------------------------------------------------------------
6
//
7
// file: MeasuredNeutralAtaSurfaceCnv_p1.cxx
8
//
9
//-----------------------------------------------------------------------------
10
11
#include "
TrkNeutralParameters/NeutralParameters.h
"
12
#include "
TrkEventTPCnv/TrkNeutralParameters/MeasuredNeutralAtaSurfaceCnv_p1.h
"
13
#include "
TrkEventTPCnv/helpers/EigenHelpers.h
"
14
15
16
template
<
class
SURFACE_CNV,
class
ATA_SURFACE >
17
void
18
MeasuredNeutralAtaSurfaceCnv_p1< SURFACE_CNV, ATA_SURFACE >::
19
persToTrans
(
const
Trk::MeasuredAtaSurface_p1
*persObj, ATA_SURFACE *transObj, MsgStream &
log
)
20
{
21
m_surfaceCnv.persToTrans( persObj, transObj,
log
);
22
23
Trk::ErrorMatrix
dummy
;
24
this->fillTransFromPStore( &m_errorMxCnv, persObj->
m_errorMatrix
, &
dummy
,
log
);
25
AmgSymMatrix
(
ATA_SURFACE::dim
)*
cov
= transObj->covariance();
26
EigenHelpers::vectorToEigenMatrix
(
dummy
.values, *
cov
,
"MeasuredNeutralAtaSurfaceCnv_p1"
);
27
28
}
29
30
31
template
<
class
SURFACE_CNV,
class
ATA_SURFACE >
32
void
33
MeasuredNeutralAtaSurfaceCnv_p1< SURFACE_CNV, ATA_SURFACE >::transToPers
(
const
ATA_SURFACE * ,
Trk::MeasuredAtaSurface_p1
* , MsgStream & )
34
{
35
throw
std::runtime_error(
"MeasuredNeutralAtaSurfaceCnv_p1::transToPers is deprecated!"
);
36
}
37
38
39
40
template
class
MeasuredNeutralAtaSurfaceCnv_p1< NeutralAtaDiscCnv_p1, Trk::NeutralAtaDisc >
;
41
template
class
MeasuredNeutralAtaSurfaceCnv_p1< NeutralAtaCylinderCnv_p1, Trk::NeutralAtaCylinder >
;
42
template
class
MeasuredNeutralAtaSurfaceCnv_p1< NeutralAtaPlaneCnv_p1, Trk::NeutralAtaPlane >
;
43
template
class
MeasuredNeutralAtaSurfaceCnv_p1< NeutralAtaStraightLineCnv_p1, Trk::NeutralAtaStraightLine >
;
yodamerge_tmp.dim
dim
Definition:
yodamerge_tmp.py:239
MeasuredNeutralAtaSurfaceCnv_p1::persToTrans
void persToTrans(const Trk::MeasuredAtaSurface_p1 *, ATA_SURFACE *, MsgStream &)
Definition:
MeasuredNeutralAtaSurfaceCnv_p1.cxx:19
plotBeamSpotVxVal.cov
cov
Definition:
plotBeamSpotVxVal.py:201
MeasuredNeutralAtaSurfaceCnv_p1.h
NeutralParameters.h
AmgSymMatrix
#define AmgSymMatrix(dim)
Definition:
EventPrimitives.h:50
Trk::ErrorMatrix
Definition:
ErrorMatrixCnv_p1.h:25
EigenHelpers::vectorToEigenMatrix
static void vectorToEigenMatrix(VECTOR &vec, COVARIANCE &cov, const char *)
Helper fn to fill the covariance from the raw data (vec<float>)
Definition:
EigenHelpers.h:22
MeasuredNeutralAtaSurfaceCnv_p1< NeutralAtaDiscCnv_p1, Trk::NeutralAtaDisc >
EigenHelpers.h
python.xAODType.dummy
dummy
Definition:
xAODType.py:4
Trk::MeasuredAtaSurface_p1
Definition:
MeasuredAtaSurface_p1.h:18
MeasuredNeutralAtaSurfaceCnv_p1::transToPers
void transToPers(const ATA_SURFACE *, Trk::MeasuredAtaSurface_p1 *, MsgStream &)
Definition:
MeasuredNeutralAtaSurfaceCnv_p1.cxx:33
python.CaloCondTools.log
log
Definition:
CaloCondTools.py:20
Trk::MeasuredAtaSurface_p1::m_errorMatrix
TPObjRef m_errorMatrix
Definition:
MeasuredAtaSurface_p1.h:22
Generated on Thu Nov 7 2024 21:20:49 for ATLAS Offline Software by
1.8.18