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