ATLAS Offline Software
Tracking
TrkEventCnv
TrkEventTPCnv
src
TrkEventPrimitives
CovarianceMatrixCnv_p1.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
//-----------------------------------------------------------------------------
6
//
7
// file: CovarianceMatrixCnv_p1.cxx
8
//
9
//-----------------------------------------------------------------------------
10
11
#include "
TrkEventTPCnv/TrkEventPrimitives/CovarianceMatrixCnv_p1.h
"
12
#include <stdexcept>
13
14
void
CovarianceMatrixCnv_p1::persToTrans
(
const
Trk::HepSymMatrix_p1
*persObj,
Trk::CovarianceMatrix
*transObj, MsgStream &) {
15
transObj->
values
.resize(persObj->
m_matrix_val
.size());
16
transObj->
values
.insert(transObj->
values
.begin(),persObj->
m_matrix_val
.begin(),persObj->
m_matrix_val
.end());
17
}
18
19
20
void
CovarianceMatrixCnv_p1::transToPers
(
const
Trk::CovarianceMatrix
* ,
Trk::HepSymMatrix_p1
* , MsgStream &) {
21
throw
std::runtime_error(
"CovarianceMatrixCnv_p1::transToPers is deprecated!"
);
22
}
CovarianceMatrixCnv_p1.h
CovarianceMatrixCnv_p1::transToPers
virtual void transToPers(const Trk::CovarianceMatrix *transObj, Trk::HepSymMatrix_p1 *persObj, MsgStream &log)
Definition:
CovarianceMatrixCnv_p1.cxx:20
Trk::CovarianceMatrix
Definition:
CovarianceMatrixCnv_p1.h:22
Trk::HepSymMatrix_p1
Definition:
HepSymMatrix_p1.h:13
CovarianceMatrixCnv_p1::persToTrans
virtual void persToTrans(const Trk::HepSymMatrix_p1 *persObj, Trk::CovarianceMatrix *transObj, MsgStream &log)
Definition:
CovarianceMatrixCnv_p1.cxx:14
Trk::HepSymMatrix_p1::m_matrix_val
std::vector< double > m_matrix_val
Definition:
HepSymMatrix_p1.h:20
Trk::CovarianceMatrix::values
std::vector< float > values
Definition:
CovarianceMatrixCnv_p1.h:23
Generated on Thu Nov 7 2024 21:12:34 for ATLAS Offline Software by
1.8.18