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