ATLAS Offline Software
Tracking
TrkEventCnv
TrkEventTPCnv
src
TrkParameters
MeasuredPerigeeCnv_p2.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
#include "
TrkEventTPCnv/TrkParameters/MeasuredPerigeeCnv_p2.h
"
6
#include "
TrkEventTPCnv/helpers/EigenHelpers.h
"
7
#include "
TrackParametersCovarianceCnv.h
"
8
9
void
MeasuredPerigeeCnv_p2::persToTrans
(
const
Trk::MeasuredPerigee_p1
*persObj,
Trk::MeasuredPerigee
*transObj, MsgStream &
log
) {
10
fillTransFromPStore
( &
m_perigeeConverter
, persObj->
m_perigee
, transObj,
log
);
11
Trk::ErrorMatrix
dummy
;
12
fillTransFromPStore
( &
m_emConverter
, persObj->
m_errorMatrix
, &
dummy
,
log
);
13
TrackParametersCovarianceCnv<Trk::MeasuredPerigee>::setCovariance
(transObj,
dummy
);
14
}
15
16
void
MeasuredPerigeeCnv_p2::transToPers
(
const
Trk::MeasuredPerigee
* ,
Trk::MeasuredPerigee_p1
* , MsgStream & ) {
17
throw
std::runtime_error(
"No more 'measured' track parameters, so MeasuredAtaSurfaceCnv_p1::transToPers is deprecated!"
);
18
}
19
20
Trk::ParametersT
Dummy class used to allow special convertors to be called for surfaces owned by a detector element.
Definition:
EMErrorDetail.h:25
ITPConverterFor< TRANS_BASE >::fillTransFromPStore
void fillTransFromPStore(CNV **cnv, const TPObjRef &ref, TRANS_T *trans, MsgStream &log) const
Convert persistent object, stored in the the top-level persistent object and referenced by the TP Ref...
Definition:
TPConverter.h:145
Trk::ErrorMatrix
Definition:
ErrorMatrixCnv_p1.h:25
MeasuredPerigeeCnv_p2.h
EigenHelpers.h
python.xAODType.dummy
dummy
Definition:
xAODType.py:4
MeasuredPerigeeCnv_p2::transToPers
void transToPers(const Trk::MeasuredPerigee *transObj, Trk::MeasuredPerigee_p1 *persObj, MsgStream &log)
Definition:
MeasuredPerigeeCnv_p2.cxx:16
Trk::MeasuredPerigee_p1
Definition:
MeasuredPerigee_p1.h:18
Trk::MeasuredPerigee_p1::m_errorMatrix
TPObjRef m_errorMatrix
Definition:
MeasuredPerigee_p1.h:24
Trk::MeasuredPerigee_p1::m_perigee
TPObjRef m_perigee
Definition:
MeasuredPerigee_p1.h:22
TrackParametersCovarianceCnv.h
MeasuredPerigeeCnv_p2::persToTrans
void persToTrans(const Trk::MeasuredPerigee_p1 *persObj, Trk::MeasuredPerigee *transObj, MsgStream &log)
Definition:
MeasuredPerigeeCnv_p2.cxx:9
python.CaloCondTools.log
log
Definition:
CaloCondTools.py:20
MeasuredPerigeeCnv_p2::m_perigeeConverter
PerigeeCnv_p2 * m_perigeeConverter
Definition:
MeasuredPerigeeCnv_p2.h:30
MeasuredPerigeeCnv_p2::m_emConverter
ITPConverterFor< Trk::ErrorMatrix > * m_emConverter
Definition:
MeasuredPerigeeCnv_p2.h:31
TrackParametersCovarianceCnv::setCovariance
static void setCovariance(PARMS *p, const Trk::ErrorMatrix &mat)
Definition:
TrackParametersCovarianceCnv.h:32
Generated on Thu Nov 7 2024 21:20:49 for ATLAS Offline Software by
1.8.18