CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CollinearFitAtTM.h
Go to the documentation of this file.
1 #ifndef CollinearFitAtTM_h_
2 #define CollinearFitAtTM_h_
3 
7 
8 // #include "Workspace/TrajectoryMeasurementFits/interface/RandomVector.h"
9 
18 public:
21 
23 
24  typedef ROOT::Math::SVector<double,6> ResultVector;
25  typedef ROOT::Math::SMatrix<double,6,6,ROOT::Math::MatRepSym<double,6> > ResultMatrix;
27  bool fit (const TrajectoryMeasurement& tm,
29  ResultMatrix& covariance,
30  double& chi2);
32  bool fit (const AlgebraicVector5& fwdParameters,
33  const AlgebraicSymMatrix55& fwdCovariance,
34  const AlgebraicVector5& bwdParameters,
35  const AlgebraicSymMatrix55& bwdCovariance,
36  const LocalPoint& hitPosition, const LocalError& hitErrors,
38  ResultMatrix& covariance,
39  double& chi2);
40 private:
41  ROOT::Math::SMatrix<double,12,6> jacobian_;
42  ROOT::Math::SVector<double,12> measurements_;
43  ROOT::Math::SMatrix<double,12,12,ROOT::Math::MatRepSym<double,12> > weightMatrix_;
44  ROOT::Math::SVector<double,6> projectedMeasurements_;
45 // RandomVector randomGenerator;
46 };
47 
48 #endif
dictionary parameters
Definition: Parameters.py:2
ROOT::Math::SMatrix< double, 6, 6, ROOT::Math::MatRepSym< double, 6 > > ResultMatrix
ROOT::Math::SVector< double, 6 > projectedMeasurements_
bool fit(const TrajectoryMeasurement &tm, ResultVector &parameters, ResultMatrix &covariance, double &chi2)
Fit for one TM. Return value &quot;true&quot; for success.
ROOT::Math::SMatrix< double, 12, 12, ROOT::Math::MatRepSym< double, 12 > > weightMatrix_
ROOT::Math::SVector< double, 6 > ResultVector
ROOT::Math::SMatrix< double, 5, 5, ROOT::Math::MatRepSym< double, 5 > > AlgebraicSymMatrix55
ROOT::Math::SVector< double, 5 > AlgebraicVector5
ROOT::Math::SMatrix< double, 12, 6 > jacobian_
ROOT::Math::SVector< double, 12 > measurements_