ATLAS Offline Software
Loading...
Searching...
No Matches
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
16template< class SURFACE_CNV, class ATA_SURFACE >
17void
19persToTrans( 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
31template< class SURFACE_CNV, class ATA_SURFACE >
32void
34{
35 throw std::runtime_error("MeasuredNeutralAtaSurfaceCnv_p1::transToPers is deprecated!");
#define AmgSymMatrix(dim)
void fillTransFromPStore(CNV **cnv, const TPObjRef &ref, TRANS_T *trans, MsgStream &log) const
void transToPers(const ATA_SURFACE *, Trk::MeasuredAtaSurface_p1 *, MsgStream &)
void persToTrans(const Trk::MeasuredAtaSurface_p1 *, ATA_SURFACE *, MsgStream &)