#include <CollinearFitAtTM.h>
Public Types | |
enum | { ParQpIn =0, ParQpOut, ParDxDz, ParDyDz, ParX, ParY } |
parameter indices in the result vector / covariance matrix More... | |
typedef ROOT::Math::SMatrix< double, 6, 6, ROOT::Math::MatRepSym< double, 6 > > | ResultMatrix |
typedef ROOT::Math::SVector< double, 6 > | ResultVector |
Public Member Functions | |
CollinearFitAtTM () | |
bool | fit (const TrajectoryMeasurement &tm, ResultVector ¶meters, ResultMatrix &covariance, double &chi2) |
Fit for one TM. Return value "true" for success. More... | |
bool | fit (const AlgebraicVector5 &fwdParameters, const AlgebraicSymMatrix55 &fwdCovariance, const AlgebraicVector5 &bwdParameters, const AlgebraicSymMatrix55 &bwdCovariance, const LocalPoint &hitPosition, const LocalError &hitErrors, ResultVector ¶meters, ResultMatrix &covariance, double &chi2) |
Fit with explicit input parameters. Return value "true" for success. More... | |
Private Attributes | |
ROOT::Math::SMatrix< double, 12, 6 > | jacobian_ |
ROOT::Math::SVector< double, 12 > | measurements_ |
ROOT::Math::SVector< double, 6 > | projectedMeasurements_ |
ROOT::Math::SMatrix< double, 12, 12, ROOT::Math::MatRepSym< double, 12 > > | weightMatrix_ |
Constrained fit at a TrajectoryMeasurement assuming collinearity of incoming / outgoing momenta. The result of the fit is a vector of 6 variables: the first five correspond to local trajectory parameters for the incoming momentum, the 6th is the estimated remaining energy fraction (p_out / p_in). The NDF are 6 (4) for a valid (invalid) RecHit.
Definition at line 17 of file CollinearFitAtTM.h.
typedef ROOT::Math::SMatrix<double,6,6,ROOT::Math::MatRepSym<double,6> > CollinearFitAtTM::ResultMatrix |
Definition at line 25 of file CollinearFitAtTM.h.
typedef ROOT::Math::SVector<double,6> CollinearFitAtTM::ResultVector |
Definition at line 24 of file CollinearFitAtTM.h.
anonymous enum |
parameter indices in the result vector / covariance matrix
Enumerator | |
---|---|
ParQpIn | |
ParQpOut | |
ParDxDz | |
ParDyDz | |
ParX | |
ParY |
Definition at line 20 of file CollinearFitAtTM.h.
CollinearFitAtTM::CollinearFitAtTM | ( | ) |
Definition at line 4 of file CollinearFitAtTM.cc.
References mps_fire::i, jacobian_, ParQpIn, and ParQpOut.
bool CollinearFitAtTM::fit | ( | const TrajectoryMeasurement & | tm, |
ResultVector & | parameters, | ||
ResultMatrix & | covariance, | ||
double & | chi2 | ||
) |
Fit for one TM. Return value "true" for success.
Definition at line 20 of file CollinearFitAtTM.cc.
References TrajectoryMeasurement::backwardPredictedState(), TrajectoryMeasurement::forwardPredictedState(), TrajectoryStateOnSurface::isValid(), TrajectoryStateOnSurface::localError(), TrajectoryStateOnSurface::localParameters(), LocalTrajectoryError::matrix(), TrajectoryMeasurement::recHit(), TrajectoryMeasurement::updatedState(), and LocalTrajectoryParameters::vector().
Referenced by trackingPlots.Iteration::modules(), and PFGsfHelper::PFGsfHelper().
bool CollinearFitAtTM::fit | ( | const AlgebraicVector5 & | fwdParameters, |
const AlgebraicSymMatrix55 & | fwdCovariance, | ||
const AlgebraicVector5 & | bwdParameters, | ||
const AlgebraicSymMatrix55 & | bwdCovariance, | ||
const LocalPoint & | hitPosition, | ||
const LocalError & | hitErrors, | ||
ResultVector & | parameters, | ||
ResultMatrix & | covariance, | ||
double & | chi2 | ||
) |
Fit with explicit input parameters. Return value "true" for success.
Definition at line 55 of file CollinearFitAtTM.cc.
References mps_fire::i, jacobian_, measurements_, ParX, ParY, projectedMeasurements_, weightMatrix_, PV3DBase< T, PVType, FrameType >::x(), LocalError::xx(), LocalError::xy(), PV3DBase< T, PVType, FrameType >::y(), and LocalError::yy().
Referenced by trackingPlots.Iteration::modules().
|
private |
Definition at line 41 of file CollinearFitAtTM.h.
Referenced by CollinearFitAtTM(), and fit().
|
private |
Definition at line 42 of file CollinearFitAtTM.h.
Referenced by fit().
|
private |
Definition at line 44 of file CollinearFitAtTM.h.
Referenced by fit().
|
private |
Definition at line 43 of file CollinearFitAtTM.h.
Referenced by fit().