ATLAS Offline Software
Loading...
Searching...
No Matches
MeasuredAtaSurfaceCnv_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: MeasuredAtaSurfaceCnv_p1.cxx
8//
9//-----------------------------------------------------------------------------
10
14#include <typeinfo>
15
16template< class SURFACE_CNV, class ATA_SURFACE >
17void
19persToTrans( const Trk::MeasuredAtaSurface_p1 *persObj, ATA_SURFACE *transObj, MsgStream &log )
20{
21 // std::cout<<" Trying to persToTrans a "<<typeid(*transObj).name()<<std::endl;
22 m_surfaceCnv.persToTrans( persObj, transObj, log );
23 Trk::ErrorMatrix dummy;
24 this->fillTransFromPStore( &m_errorMxCnv, persObj->m_errorMatrix, &dummy, log );
26}
27
28
29template< class SURFACE_CNV, class ATA_SURFACE >
30void
33 // No more measured Parameters! Deprecated.
34 throw std::runtime_error("No more 'measured' track parameters, so MeasuredAtaSurfaceCnv_p1::transToPers is deprecated!");
35}
36
37
38
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 &)
static void setCovariance(PARMS *p, const Trk::ErrorMatrix &mat)