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