GENFIT
Rev:NoNumberAvailable
|
Go to the documentation of this file.
23 #ifndef genfit_GblFitterInfo_h
24 #define genfit_GblFitterInfo_h
39 #include "TMatrixDSym.h"
45 #include <boost/scoped_ptr.hpp>
87 void reset(
unsigned int measurementDim = 2,
unsigned int repDim = 5);
247 virtual void Print(
const Option_t* =
"")
const;
287 #endif // genfit_GblFitterInfo_h
virtual GblFitterInfo * clone() const
Deep copy ctor for polymorphic class.
Collects information needed and produced by a GblFitter/GBL and is specific to one AbsTrackRep of the...
boost::shared_ptr< genfit::DetPlane > SharedPlanePtr
Shared Pointer to a DetPlane.
SharedPlanePtr sharedPlane_
No ownership.
void deleteBackwardInfo()
void recalculateJacobian(GblFitterInfo *prevFitterInfo)
Re-extrapolates between prevFitterInfo and this point using forward state to update the Jacobian (if ...
bool hasBackwardPrediction() const
boost::scoped_ptr< MeasuredStateOnPlane > fittedStateFwd_
cache
bool hasForwardUpdate() const
void updateFitResults(gbl::GblTrajectory &traj)
Update fitter info from GBL fit results.
MeasurementOnPlane getKink() const
Get kink (residual) with diagonalized covariance (2D) Covariance may be zero if not yet fitted or no ...
StateOnPlane with additional covariance matrix.
MeasurementOnPlane getResidual(unsigned int=0, bool=false, bool onlyMeasurementErrors=true) const
Get the residual.
void deleteMeasurementInfo()
Defines for I/O streams used for error and debug printing.
TVectorD kinkDownWeights_
TVectorD getKinks() const
Get kink (residual) (2D) = 0 - ( (+)pred - (-)pred )
const AbsTrackRep * rep_
No ownership.
TVectorD fwdStateCorrection_
TVectorD kinkResidualErrors_
Abstract base class for a track representation.
void setJacobian(TMatrixD jacobian)
Set the Jacobian for further GblPoint construction.
StateOnPlane getReferenceState() const
Returns (copy of) the stored reference 5D state at current plane with internal rep.
virtual void Print(const Option_t *="") const
virtual bool checkConsistency(const genfit::PruneFlags *=NULL) const
bool hasReferenceState() const
Object containing AbsMeasurement and AbsFitterInfo objects.
This class collects all information needed and produced by a specific AbsFitter and is specific to on...
TVectorD measDownWeights_
A state with arbitrary dimension defined in a DetPlane.
bool hasRawMeasurements() const
GblFitterInfo()
Constructor for ROOT I/O.
void updateMeasurementAndPlane(const StateOnPlane &sop)
SHOULD BE USED ONLY INTERNALY! Update the plane from measurement constructed with state or take plane...
TVectorD measResidualErrors_
const TrackPoint * trackPoint_
Measured coordinates on a plane.
TVectorD bwdStateCorrection_
gbl::GblPoint constructGblPoint()
Collect all data and create a GblPoint.
TMatrixDSym getCovariance(double variance, TVector3 trackDirection, SharedPlanePtr measurementPlane) const
Get scattering covariance projected into (measurement) plane.
bool hasForwardPrediction() const
const MeasuredStateOnPlane & getFittedState(bool afterKink=true) const
Get the prediction at this point Always biased in GBL (global fit) There are 2 states,...
bool hasMeasurements() const
MeasurementOnPlane getMeasurement() const
Get the measurement on plane from stored measurement data (from last construction/update)
bool hasBackwardUpdate() const
bool hasPredictionsAndUpdates() const
void setReferenceState(StateOnPlane &referenceState)
Set the prediction and plane (from measurement if any) You should use the user constructor instead.
boost::scoped_ptr< MeasuredStateOnPlane > fittedStateBwd_
void reset(unsigned int measurementDim=2, unsigned int repDim=5)
(Initial) reset of fitter info
void deleteReferenceInfo()
bool hasUpdate(int direction) const
Info which information has been pruned from the Track.