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.
boost::shared_ptr< genfit::DetPlane > SharedPlanePtr
Shared Pointer to a DetPlane.
void deleteBackwardInfo()
void deleteReferenceInfo()
virtual void Print(const Option_t *="") const
bool hasBackwardUpdate() const
TMatrixDSym getCovariance(double variance, TVector3 trackDirection, SharedPlanePtr measurementPlane) const
Get scattering covariance projected into (measurement) plane.
Info which information has been pruned from the Track.
virtual bool checkConsistency(const genfit::PruneFlags *=NULL) const
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.
virtual GblFitterInfo * clone() const
Deep copy ctor for polymorphic class.
boost::scoped_ptr< MeasuredStateOnPlane > fittedStateFwd_
cache
TVectorD getKinks() const
Get kink (residual) (2D) = 0 - ( (+)pred - (-)pred )
bool hasBackwardPrediction() const
boost::scoped_ptr< MeasuredStateOnPlane > fittedStateBwd_
StateOnPlane with additional covariance matrix.
bool hasMeasurements() const
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.
void updateFitResults(gbl::GblTrajectory &traj)
Update fitter info from GBL fit results.
StateOnPlane getReferenceState() const
Returns (copy of) the stored reference 5D state at current plane with internal rep.
bool hasReferenceState() const
bool hasPredictionsAndUpdates() const
Object containing AbsMeasurement and AbsFitterInfo objects.
MeasurementOnPlane getResidual(unsigned int=0, bool=false, bool onlyMeasurementErrors=true) const
Get the residual.
TVectorD fwdStateCorrection_
void setReferenceState(StateOnPlane &referenceState)
Set the prediction and plane (from measurement if any) You should use the user constructor instead...
MeasurementOnPlane getKink() const
Get kink (residual) with diagonalized covariance (2D) Covariance may be zero if not yet fitted or no ...
const TrackPoint * trackPoint_
A state with arbitrary dimension defined in a DetPlane.
const MeasuredStateOnPlane & getFittedState(bool afterKink=true) const
Get the prediction at this point Always biased in GBL (global fit) There are 2 states, before and after kink (if there is a scatterer at this point). Per default the state after kink for forward propagation is returned.
bool hasRawMeasurements() const
void recalculateJacobian(GblFitterInfo *prevFitterInfo)
Re-extrapolates between prevFitterInfo and this point using forward state to update the Jacobian (if ...
MeasurementOnPlane getMeasurement() const
Get the measurement on plane from stored measurement data (from last construction/update) ...
TVectorD measDownWeights_
bool hasForwardUpdate() const
TVectorD bwdStateCorrection_
Measured coordinates on a plane.
const AbsTrackRep * rep_
No ownership.
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.
bool hasForwardPrediction() const