ATLAS Offline Software
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 
12 #include <stdexcept>
13 
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 
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