23#ifndef genfit_KalmanFitterInfo_h
24#define genfit_KalmanFitterInfo_h
109 virtual void Print(
const Option_t* =
"")
const override;
Abstract base class for a track representation.
MeasuredStateOnPlane with additional info produced by a Kalman filter or DAF.
bool hasBackwardUpdate() const override
void setBackwardUpdate(KalmanFittedStateOnPlane *backwardUpdate)
bool hasPredictionsAndUpdates() const
void setRep(const AbsTrackRep *rep) override
std::vector< MeasurementOnPlane * > measurementsOnPlane_
cache
virtual bool checkConsistency(const genfit::PruneFlags *=nullptr) const override
ReferenceStateOnPlane * getReferenceState() const
KalmanFittedStateOnPlane * getUpdate(int direction) const
bool hasForwardPrediction() const override
void setWeights(const std::vector< double > &)
Set weights of measurements.
void addMeasurementOnPlane(MeasurementOnPlane *measurementOnPlane)
void setMeasurementsOnPlane(const std::vector< genfit::MeasurementOnPlane * > &measurementsOnPlane)
const MeasuredStateOnPlane & getFittedState(bool biased=true) const override
Get unbiased or biased (default) smoothed state.
std::unique_ptr< ReferenceStateOnPlane > referenceState_
Reference state. Used by KalmanFitterRefTrack.
void setBackwardPrediction(MeasuredStateOnPlane *backwardPrediction)
bool hasBackwardPrediction() const override
const std::vector< genfit::MeasurementOnPlane * > & getMeasurementsOnPlane() const
void setForwardUpdate(KalmanFittedStateOnPlane *forwardUpdate)
MeasurementOnPlane getAvgWeightedMeasurementOnPlane(bool ignoreWeights=false) const
void addMeasurementsOnPlane(const std::vector< genfit::MeasurementOnPlane * > &measurementsOnPlane)
void setReferenceState(ReferenceStateOnPlane *referenceState)
std::vector< double > getWeights() const
Get weights of measurements.
void setPrediction(MeasuredStateOnPlane *prediction, int direction)
void deleteBackwardInfo() override
void deleteMeasurementInfo() override
unsigned int getNumMeasurements() const
MeasurementOnPlane getResidual(unsigned int iMeasurement=0, bool biased=false, bool onlyMeasurementErrors=true) const override
Get unbiased (default) or biased residual from ith measurement.
bool hasMeasurements() const override
MeasuredStateOnPlane * getForwardPrediction() const
virtual KalmanFitterInfo * clone() const override
Deep copy ctor for polymorphic class.
KalmanFittedStateOnPlane * getBackwardUpdate() const
std::unique_ptr< MeasuredStateOnPlane > fittedStateBiased_
cache
bool hasUpdate(int direction) const override
MeasurementOnPlane * getClosestMeasurementOnPlane(const StateOnPlane *) const
Get measurements which is closest to state.
MeasuredStateOnPlane * getBackwardPrediction() const
std::unique_ptr< MeasuredStateOnPlane > forwardPrediction_
virtual void Print(const Option_t *="") const override
virtual ~KalmanFitterInfo()
bool hasReferenceState() const override
std::unique_ptr< MeasuredStateOnPlane > fittedStateUnbiased_
MeasuredStateOnPlane * getPrediction(int direction) const
void fixWeights(bool arg=true)
bool areWeightsFixed() const
Are the weights fixed?
std::unique_ptr< KalmanFittedStateOnPlane > backwardUpdate_
bool hasForwardUpdate() const override
void deleteReferenceInfo() override
MeasurementOnPlane * getMeasurementOnPlane(int i=0) const
double getSmoothedChi2(unsigned int iMeasurement=0) const
void setForwardPrediction(MeasuredStateOnPlane *forwardPrediction)
KalmanFittedStateOnPlane * getForwardUpdate() const
void deleteForwardInfo() override
void setUpdate(KalmanFittedStateOnPlane *update, int direction)
std::unique_ptr< KalmanFittedStateOnPlane > forwardUpdate_
std::unique_ptr< MeasuredStateOnPlane > backwardPrediction_
StateOnPlane with additional covariance matrix.
Measured coordinates on a plane.
StateOnPlane with linearized transport to that ReferenceStateOnPlane from previous and next Reference...
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.
Info which information has been pruned from the Track.