1 #ifndef CollinearFitAtTM2_h_ 2 #define CollinearFitAtTM2_h_ 32 typedef ROOT::Math::SMatrix<double,6,6,ROOT::Math::MatRepSym<double,6> >
ResultMatrix;
59 ROOT::Math::SMatrix<double,12,12,ROOT::Math::MatRepSym<double,12> >
weightMatrix_;
ROOT::Math::SVector< double, 6 > ResultVector
ROOT::Math::SMatrix< double, 6, 6, ROOT::Math::MatRepSym< double, 6 > > ResultMatrix
ROOT::Math::SMatrix< double, 5, 5, ROOT::Math::MatRepSym< double, 5 > > AlgebraicSymMatrix55
CollinearFitAtTM2(const TrajectoryMeasurement &tm)
bool fit(const AlgebraicVector5 &fwdParameters, const AlgebraicSymMatrix55 &fwdCovariance, const AlgebraicVector5 &bwdParameters, const AlgebraicSymMatrix55 &bwdCovariance, const LocalPoint &hitPosition, const LocalError &hitErrors)
Perform the fit. Return value "true" for success.
const ResultMatrix & covariance() const
covariance matrix of fitted parameters
Measurement1D deltaP() const
estimated deltaP (out-in) from fit parameters
int ndof() const
degrees of freedom
ROOT::Math::SMatrix< double, 12, 12, ROOT::Math::MatRepSym< double, 12 > > weightMatrix_
ROOT::Math::SVector< double, 5 > AlgebraicVector5
ROOT::Math::SVector< double, 6 > projectedMeasurements_
bool valid() const
status of the fit
void initJacobian()
initialise the jacobian
ROOT::Math::SMatrix< double, 12, 6 > jacobian_
ROOT::Math::SVector< double, 12 > measurements_
const ResultVector & parameters() const
vector of fitted parameters