ATLAS Offline Software
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 
14 
15 
16 template< class SURFACE_CNV, class ATA_SURFACE >
17 void
19 persToTrans( const Trk::MeasuredAtaSurface_p1 *persObj, ATA_SURFACE *transObj, MsgStream &log )
20 {
21  m_surfaceCnv.persToTrans( persObj, transObj, log );
22 
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
34 {
35  throw std::runtime_error("MeasuredNeutralAtaSurfaceCnv_p1::transToPers is deprecated!");
36 }
37 
38 
39 
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