CMS 3D CMS Logo

GsfComponent5D.h
Go to the documentation of this file.
1 #ifndef GsfTrackReco_GsfComponent5D_h
2 #define GsfTrackReco_GsfComponent5D_h
3 
6 
8 namespace reco {
9  class GsfComponent5D {
10  public:
11  enum { dimension = 5 };
15  GsfComponent5D(const double& weight, const ParameterVector& vector, const CovarianceMatrix& matrix);
16  double weight() const { return weight_; }
17  const ParameterVector& parameters() const { return parameters_; }
18  CovarianceMatrix& covariance(CovarianceMatrix& matrix) const;
19 
20  private:
21  double weight_;
22  ParameterVector parameters_;
23  float covariance_[dimension * (dimension + 1) / 2];
24  };
25 } // namespace reco
26 #endif
math::Error< dimension >::type CovarianceMatrix
CovarianceMatrix & covariance(CovarianceMatrix &matrix) const
double weight() const
Definition: weight.py:1
ErrorD< N >::type type
Definition: Error.h:32
float covariance_[dimension *(dimension+1)/2]
fixed size vector
Definition: Vector.h:24
ParameterVector parameters_
fixed size matrix
const ParameterVector & parameters() const
math::Vector< dimension >::type ParameterVector