#include <KHit.h>
Public Member Functions | |
KHit () | |
Default constructor. More... | |
KHit (const std::shared_ptr< const Surface > &psurf) | |
Initializing Constructor – surface only. More... | |
KHit (const std::shared_ptr< const Surface > &psurf, const typename KVector< N >::type &mvec, const typename KSymMatrix< N >::type &merr) | |
Fully Initializing Constructor. More... | |
virtual | ~KHit () |
Destructor. More... | |
void | setMeasVector (const typename KVector< N >::type &mvec) |
Set measurement vector. More... | |
void | setMeasError (const typename KSymMatrix< N >::type &merr) |
Set measurement error. More... | |
const KVector< N >::type & | getMeasVector () const |
Measurement vector. More... | |
const KSymMatrix< N >::type & | getMeasError () const |
Measurement error matrix. More... | |
const KVector< N >::type & | getPredVector () const |
Prediction vector. More... | |
const KSymMatrix< N >::type & | getPredError () const |
Prediction matrix. More... | |
const KVector< N >::type & | getResVector () const |
Residual vector. More... | |
const KSymMatrix< N >::type & | getResError () const |
Residual error matrix. More... | |
const KSymMatrix< N >::type & | getResInvError () const |
Residual inv. error matrix. More... | |
const KHMatrix< N >::type & | getH () const |
Kalman H-matrix. More... | |
double | getChisq () const |
Incremental chisquare. More... | |
bool | predict (const KETrack &tre, const Propagator &prop, const KTrack *ref=0) const |
Prediction method (return false if fail). More... | |
void | update (KETrack &tre) const |
Update track method. More... | |
virtual bool | subpredict (const KETrack &tre, typename KVector< N >::type &pvec, typename KSymMatrix< N >::type &perr, typename KHMatrix< N >::type &hmatrix) const =0 |
Calculate prediction function (return via arguments). More... | |
virtual std::ostream & | Print (std::ostream &out, bool doTitle=true) const |
Printout. More... | |
Public Member Functions inherited from trkf::KHitBase | |
KHitBase () | |
Default constructor. More... | |
KHitBase (const std::shared_ptr< const Surface > &psurf, int plane=-1) | |
Initializing Constructor. More... | |
virtual | ~KHitBase ()=default |
Destructor. More... | |
const std::shared_ptr< const Surface > & | getPredSurface () const |
Predition surface. More... | |
double | getPredDistance () const |
Prediction distance. More... | |
const std::shared_ptr< const Surface > & | getMeasSurface () const |
Measurement surface. More... | |
int | getMeasPlane () const |
Measurement plane index. More... | |
int | getID () const |
Unique id. More... | |
void | setMeasSurface (const std::shared_ptr< const Surface > &psurf) |
Measurement surface. More... | |
void | setMeasPlane (int plane) |
Measurement plane. More... | |
Private Attributes | |
KVector< N >::type | fMvec |
Measurement vector. More... | |
KSymMatrix< N >::type | fMerr |
Measurement error matrix. More... | |
KVector< N >::type | fPvec |
Prediction vector. More... | |
KSymMatrix< N >::type | fPerr |
Prediction error matrix. More... | |
KVector< N >::type | fRvec |
Residual vector. More... | |
KSymMatrix< N >::type | fRerr |
Residual error matrix. More... | |
KSymMatrix< N >::type | fRinv |
Residual inverse error matrix. More... | |
KHMatrix< N >::type | fH |
Kalman H-matrix. More... | |
double | fChisq |
Incremental chisquare. More... | |
Additional Inherited Members | |
Protected Attributes inherited from trkf::KHitBase | |
std::shared_ptr< const Surface > | fPredSurf |
Prediction surface. More... | |
double | fPredDist |
Prediction distance. More... | |
int | fID |
Unique id. More... | |
trkf::KHit< N >::KHit | ( | ) |
Default constructor.
trkf::KHit< N >::KHit | ( | const std::shared_ptr< const Surface > & | psurf | ) |
trkf::KHit< N >::KHit | ( | const std::shared_ptr< const Surface > & | psurf, |
const typename KVector< N >::type & | mvec, | ||
const typename KSymMatrix< N >::type & | merr | ||
) |
|
virtual |
|
inlinevirtual |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
virtual |
Prediction method (return false if fail).
Prediction method.
Arguments;
tre - Track prediction. prop - Propagator. ref - Reference track.
Implements trkf::KHitBase.
Definition at line 252 of file KHit.h.
|
virtual |
Printout.
Reimplemented from trkf::KHitBase.
Definition at line 404 of file KHit.h.
|
inline |
|
inline |
|
pure virtual |
Calculate prediction function (return via arguments).
|
virtual |
Update track method.
Update track method.
Arguments:
tre - Track to be updated.
Implements trkf::KHitBase.
Definition at line 360 of file KHit.h.
|
mutableprivate |
|
mutableprivate |
|
private |
|
private |
|
mutableprivate |
|
mutableprivate |
|
mutableprivate |
|
mutableprivate |
|
mutableprivate |