CMS 3D CMS Logo

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