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