#include "DataFormats/Math/interface/AlgebraicROOTObjects.h"
#include <cstring>
Go to the source code of this file.
Functions | |
template<unsigned int N1, unsigned int N2> | |
CLHEP::HepMatrix | asHepMatrix (const ROOT::Math::SMatrix< double, N1, N2, typename ROOT::Math::MatRepStd< double, N1, N2 > > &rm) |
template<unsigned int N1> | |
CLHEP::HepSymMatrix | asHepMatrix (const ROOT::Math::SMatrix< double, N1, N1, typename ROOT::Math::MatRepSym< double, N1 > > &rm) |
template<unsigned int N> | |
CLHEP::HepVector | asHepVector (const ROOT::Math::SVector< double, N > &v) |
template<unsigned int N1> | |
ROOT::Math::SMatrix< double, N1, N1, typename ROOT::Math::MatRepSym< double, N1 > > | asSMatrix (const CLHEP::HepSymMatrix &m) |
template<unsigned int N1, unsigned int N2> | |
ROOT::Math::SMatrix< double, N1, N2, typename ROOT::Math::MatRepStd< double, N1, N2 > > | asSMatrix (const CLHEP::HepMatrix &m) |
template<unsigned int N1> | |
ROOT::Math::SVector< double, N1 > | asSVector (const CLHEP::HepVector &m) |
CLHEP::HepMatrix asHepMatrix | ( | const ROOT::Math::SMatrix< double, N1, N2, typename ROOT::Math::MatRepStd< double, N1, N2 > > & | rm | ) |
Definition at line 49 of file Migration.h.
References submit::rm.
Referenced by TwoBodyDecayEstimator::constructMatrices(), PerigeeTrajectoryError::covarianceMatrix_old(), AnalyticalCurvilinearJacobian::jacobian_old(), JacobianCurvilinearToLocal::jacobian_old(), JacobianLocalToCartesian::jacobian_old(), JacobianCartesianToLocal::jacobian_old(), JacobianCartesianToCurvilinear::jacobian_old(), JacobianCurvilinearToCartesian::jacobian_old(), StraightLinePropagator::jacobian_old(), JacobianLocalToCurvilinear::jacobian_old(), PerigeeConversions::jacobianCurvilinear2Perigee_old(), PerigeeConversions::jacobianParameters2Cartesian_old(), PerigeeConversions::jacobianPerigee2Curvilinear_old(), GlobalErrorBase< double, ErrorMatrixTag >::matrix(), CartesianTrajectoryError::matrix_old(), LocalTrajectoryError::matrix_old(), CurvilinearTrajectoryError::matrix_old(), MeasurementExtractor::measuredError(), TwoBodyDecayTrajectoryState::propagateSingleState(), and PerigeeTrajectoryError::weightMatrix_old().
{ CLHEP::HepMatrix am(N1,N2); memcpy(&am(1,1), rm.Array(), N1*N2*sizeof(double)); return am; }
CLHEP::HepSymMatrix asHepMatrix | ( | const ROOT::Math::SMatrix< double, N1, N1, typename ROOT::Math::MatRepSym< double, N1 > > & | rm | ) |
Definition at line 56 of file Migration.h.
References submit::rm.
{ CLHEP::HepSymMatrix am(N1); memcpy(&am(1,1), rm.Array(), (N1*(N1+1))/2*sizeof(double)); return am; }
CLHEP::HepVector asHepVector | ( | const ROOT::Math::SVector< double, N > & | v | ) |
Definition at line 43 of file Migration.h.
References MultiGaussianStateTransform::N.
Referenced by TwoBodyDecayEstimator::constructMatrices(), MeasurementExtractor::measuredParameters(), reco::BeamSpot::rotatedCovariance3D(), PerigeeTrajectoryParameters::vector_old(), and GlobalTrajectoryParameters::vector_old().
ROOT::Math::SMatrix<double,N1,N1, typename ROOT::Math::MatRepSym<double,N1> > asSMatrix | ( | const CLHEP::HepSymMatrix & | m | ) |
Definition at line 32 of file Migration.h.
References m.
ROOT::Math::SMatrix<double,N1,N2, typename ROOT::Math::MatRepStd<double,N1,N2> > asSMatrix | ( | const CLHEP::HepMatrix & | m | ) |
ROOT::Math::SVector<double,N1> asSVector | ( | const CLHEP::HepVector & | m | ) |
Definition at line 39 of file Migration.h.
{ return ROOT::Math::SVector<double,N1> (&m[0], N1); }