9 for (
int i=0;
i<12; ++
i ) {
12 for (
int i=1;
i<5; ++
i ) {
31 edm::LogWarning(
"CollinearFitAtTM") <<
"Invalid state in TrajectoryMeasurement";
44 if ( tm.
recHit()->isValid() ) {
45 hitPos = tm.
recHit()->localPosition();
46 hitErr = tm.
recHit()->localPositionError();
49 return fit(fwdPar,fwdCov,bwdPar,bwdCov,
51 parameters,covariance,chi2);
69 for (
int i=0;
i<12; ++
i ) {
77 if ( hitErr.
xx()>0 ) {
93 edm::LogWarning(
"CollinearFitAtTM") <<
"Inversion of input covariance matrix failed";
103 if ( !covariance.Invert() ) {
104 edm::LogWarning(
"CollinearFitAtTM") <<
"Inversion of resulting weight matrix failed";
114 ROOT::Math::Similarity(projectedMeasurements_,covariance);
ConstRecHitPointer const & recHit() const
const LocalTrajectoryParameters & localParameters() const
ROOT::Math::SMatrix< double, 6, 6, ROOT::Math::MatRepSym< double, 6 > > ResultMatrix
ROOT::Math::SVector< double, 6 > projectedMeasurements_
bool fit(const TrajectoryMeasurement &tm, ResultVector ¶meters, ResultMatrix &covariance, double &chi2)
Fit for one TM. Return value "true" 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
AlgebraicVector5 vector() const
const AlgebraicSymMatrix55 & matrix() const
const LocalTrajectoryError & localError() const
TrajectoryStateOnSurface const & forwardPredictedState() const
Access to forward predicted state (from fitter or builder)
ROOT::Math::SVector< double, 5 > AlgebraicVector5
ROOT::Math::SMatrix< double, 12, 6 > jacobian_
TrajectoryStateOnSurface const & updatedState() const
ROOT::Math::SVector< double, 12 > measurements_
TrajectoryStateOnSurface const & backwardPredictedState() const
Access to backward predicted state (from smoother)