59 KHitMulti(
const std::shared_ptr<const Surface>& psurf);
74 const std::vector<std::shared_ptr<const KHit<1>>>&
81 const ublas::vector<double>&
88 const ublas::symmetric_matrix<double>&
95 const ublas::vector<double>&
102 const ublas::symmetric_matrix<double>&
109 const ublas::vector<double>&
116 const ublas::symmetric_matrix<double>&
123 const ublas::symmetric_matrix<double>&
130 const ublas::matrix<double>&
146 void addMeas(
const std::shared_ptr<const KHitBase>& pmeas);
160 virtual std::ostream&
Print(std::ostream& out,
bool doTitle =
true)
const;
166 std::vector<std::shared_ptr<const KHit<1>>>
fMeasVec;
167 mutable ublas::vector<double>
fMvec;
168 mutable ublas::symmetric_matrix<double>
fMerr;
169 mutable ublas::vector<double>
fPvec;
170 mutable ublas::symmetric_matrix<double>
fPerr;
171 mutable ublas::vector<double>
fRvec;
172 mutable ublas::symmetric_matrix<double>
fRerr;
173 mutable ublas::symmetric_matrix<double>
fRinv;
174 mutable ublas::matrix<double>
fH;
ublas::vector< double > fPvec
Prediction vector.
const ublas::symmetric_matrix< double > & getResError() const
Residual error matrix.
int getMeasDim() const
Measurement space dimension.
const ublas::symmetric_matrix< double > & getPredError() const
Prediction matrix.
const ublas::symmetric_matrix< double > & getMeasError() const
Measurement error matrix.
const ublas::matrix< double > & getH() const
Kalman H-matrix.
std::vector< std::shared_ptr< const KHit< 1 > > > fMeasVec
Underlying measurements.
const ublas::vector< double > & getMeasVector() const
Measurement vector.
Kalman filter measurement class template.
const std::vector< std::shared_ptr< const KHit< 1 > > > & getMeasVec() const
Measurement collection.
void addMeas(const std::shared_ptr< const KHitBase > &pmeas)
Add a measurement of unknown type.
ublas::symmetric_matrix< double > fRinv
Residual inverse error matrix.
virtual std::ostream & Print(std::ostream &out, bool doTitle=true) const
Printout.
KHitMulti()
Default constructor.
ublas::symmetric_matrix< double > fPerr
Prediction error matrix.
ublas::vector< double > fRvec
Residual vector.
bool predict(const KETrack &tre, const Propagator &prop, const KTrack *ref=0) const
Prediction method (return false if fail).
ublas::matrix< double > fH
Kalman H-matrix.
ublas::symmetric_matrix< double > fRerr
Residual error matrix.
ublas::symmetric_matrix< double > fMerr
Measurement error matrix.
double getChisq() const
Incremental chisquare.
void update(KETrack &tre) const
Update track method.
double fChisq
Incremental chisquare.
const ublas::vector< double > & getResVector() const
Residual vector.
ublas::vector< double > fMvec
Measurement vector.
const ublas::vector< double > & getPredVector() const
Prediction vector.
virtual ~KHitMulti()
Destructor.
int fMeasDim
Measurement space dimension.
const ublas::symmetric_matrix< double > & getResInvError() const
Residual inv. error matrix.