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