61 KHitMulti(
const std::shared_ptr<const Surface>& psurf);
96 const ublas::matrix<double>&
getH()
const {
return fH;}
104 void addMeas(
const std::shared_ptr<const KHitBase>& pmeas);
113 const KTrack* ref = 0)
const;
119 virtual std::ostream&
Print(std::ostream& out,
bool doTitle =
true)
const;
126 std::vector<std::shared_ptr<const KHit<1> > >
fMeasVec;
127 mutable ublas::vector<double>
fMvec;
128 mutable ublas::symmetric_matrix<double>
fMerr;
129 mutable ublas::vector<double>
fPvec;
130 mutable ublas::symmetric_matrix<double>
fPerr;
131 mutable ublas::vector<double>
fRvec;
132 mutable ublas::symmetric_matrix<double>
fRerr;
133 mutable ublas::symmetric_matrix<double>
fRinv;
134 mutable ublas::matrix<double>
fH;
ublas::vector< double > fPvec
Prediction vector.
bool predict(const KETrack &tre, const Propagator *prop=0, const KTrack *ref=0) const
Prediction method (return false if fail).
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.
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.