59 KHitMulti(
const std::shared_ptr<const Surface>& psurf);
94 const ublas::matrix<double>&
getH()
const {
return fH; }
102 void addMeas(
const std::shared_ptr<const KHitBase>& pmeas);
116 virtual std::ostream&
Print(std::ostream& out,
bool doTitle =
true)
const;
122 std::vector<std::shared_ptr<const KHit<1>>>
fMeasVec;
123 mutable ublas::vector<double>
fMvec;
124 mutable ublas::symmetric_matrix<double>
fMerr;
125 mutable ublas::vector<double>
fPvec;
126 mutable ublas::symmetric_matrix<double>
fPerr;
127 mutable ublas::vector<double>
fRvec;
128 mutable ublas::symmetric_matrix<double>
fRerr;
129 mutable ublas::symmetric_matrix<double>
fRinv;
130 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.