test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
GsfComponent5D.cc
Go to the documentation of this file.
2 
3 using namespace reco;
4 
7  const CovarianceMatrix& matrix) :
8  weight_(weight), parameters_(parameters) {
9  float* data(covariance_);
10  typedef unsigned int index;
11  for( index i = 0; i < dimension; ++ i )
12  for( index j = 0; j <= i; ++ j )
13  *(data++) = matrix(i,j);
14 }
15 
18  const float* data(covariance_);
19  typedef unsigned int index;
20  for( index i = 0; i < dimension; ++ i )
21  for( index j = 0; j <= i; ++ j )
22  matrix(i,j) = *(data++);
23  return matrix;
24 }
math::Error< dimension >::type CovarianceMatrix
int i
Definition: DBlmapReader.cc:9
CovarianceMatrix & covariance(CovarianceMatrix &matrix) const
float covariance_[dimension *(dimension+1)/2]
int j
Definition: DBlmapReader.cc:9
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
int weight
Definition: histoStyle.py:50
math::Vector< dimension >::type ParameterVector