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