LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "KHitBase.h"
Public Member Functions | |
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... | |
virtual bool | predict (const KETrack &tre, const Propagator &prop, const KTrack *ref=0) const =0 |
Prediction method (return false if fail). More... | |
virtual double | getChisq () const =0 |
Return incremental chisquare. More... | |
virtual void | update (KETrack &tre) const =0 |
Update track method. More... | |
virtual std::ostream & | Print (std::ostream &out, bool doTitle=true) const |
Printout. More... | |
Protected Attributes | |
std::shared_ptr< const Surface > | fPredSurf |
Prediction surface. More... | |
double | fPredDist |
Prediction distance. More... | |
int | fID |
Unique id. More... | |
Private Attributes | |
std::shared_ptr< const Surface > | fMeasSurf |
Measurement surface. More... | |
int | fMeasPlane |
Measurement plane index. More... | |
Definition at line 62 of file KHitBase.h.
trkf::KHitBase::KHitBase | ( | ) |
trkf::KHitBase::KHitBase | ( | const std::shared_ptr< const Surface > & | psurf, |
int | plane = -1 |
||
) |
Initializing Constructor.
Initializing Constructor.
Arguments:
psurf - Measurement surface pointer.
Definition at line 26 of file KHitBase.cxx.
|
virtualdefault |
Destructor.
|
pure virtual |
Return incremental chisquare.
Implemented in trkf::KHit< N >, trkf::KHit< 1 >, and trkf::KHitMulti.
Referenced by trkf::KalmanFilterAlg::buildTrack(), trkf::KalmanFilterAlg::cleanTrack(), trkf::KalmanFilterAlg::extendTrack(), setMeasPlane(), and trkf::KalmanFilterAlg::smoothTrack().
|
inline |
Unique id.
Definition at line 88 of file KHitBase.h.
References fID.
Referenced by trkf::KalmanFilterAlg::buildTrack(), trkf::KalmanFilterAlg::cleanTrack(), trkf::KalmanFilterAlg::extendTrack(), and trkf::KalmanFilterAlg::smoothTrack().
|
inline |
Measurement plane index.
Definition at line 85 of file KHitBase.h.
References fMeasPlane.
Referenced by trkf::KalmanFilterAlg::buildTrack(), trkf::KalmanFilterAlg::cleanTrack(), trkf::KalmanFilterAlg::extendTrack(), and trkf::KGTrack::Print().
|
inline |
Measurement surface.
Definition at line 82 of file KHitBase.h.
References fMeasSurf.
Referenced by trkf::KHit< N >::predict(), trkf::KHitWireLine::subpredict(), and trkf::KHitWireX::subpredict().
|
inline |
Prediction distance.
Definition at line 79 of file KHitBase.h.
References fPredDist.
Referenced by trkf::KalmanFilterAlg::buildTrack(), and trkf::KalmanFilterAlg::extendTrack().
|
inline |
Predition surface.
Definition at line 76 of file KHitBase.h.
References fPredSurf.
Referenced by trkf::KHitMulti::update(), and trkf::KHit< N >::update().
|
pure virtual |
Prediction method (return false if fail).
Implemented in trkf::KHit< N >, trkf::KHit< 1 >, and trkf::KHitMulti.
Referenced by trkf::KalmanFilterAlg::buildTrack(), trkf::KalmanFilterAlg::extendTrack(), setMeasPlane(), and trkf::KalmanFilterAlg::smoothTrack().
|
virtual |
Printout.
Reimplemented in trkf::KHit< N >, trkf::KHit< 1 >, and trkf::KHitMulti.
Definition at line 31 of file KHitBase.cxx.
References fMeasPlane, fMeasSurf, fPredDist, and fPredSurf.
Referenced by trkf::operator<<(), trkf::KHit< N >::Print(), and setMeasPlane().
|
inline |
Measurement plane.
Definition at line 96 of file KHitBase.h.
References fMeasPlane, getChisq(), predict(), Print(), and update().
Referenced by trkf::KHitWireLine::KHitWireLine(), and trkf::KHitWireX::KHitWireX().
|
inline |
Measurement surface.
Definition at line 93 of file KHitBase.h.
References fMeasSurf.
Referenced by trkf::KHitWireLine::KHitWireLine(), and trkf::KHitWireX::KHitWireX().
|
pure virtual |
Update track method.
Implemented in trkf::KHit< N >, trkf::KHit< 1 >, and trkf::KHitMulti.
Referenced by setMeasPlane(), and trkf::KalmanFilterAlg::smoothTrack().
|
protected |
Unique id.
Definition at line 119 of file KHitBase.h.
Referenced by getID(), trkf::KHitWireLine::KHitWireLine(), and trkf::KHitWireX::KHitWireX().
|
private |
Measurement plane index.
Definition at line 123 of file KHitBase.h.
Referenced by getMeasPlane(), Print(), and setMeasPlane().
|
private |
Measurement surface.
Definition at line 122 of file KHitBase.h.
Referenced by getMeasSurface(), Print(), and setMeasSurface().
|
mutableprotected |
Prediction distance.
Definition at line 118 of file KHitBase.h.
Referenced by getPredDistance(), trkf::KHitMulti::predict(), trkf::KHit< N >::predict(), and Print().
|
mutableprotected |
Prediction surface.
Definition at line 117 of file KHitBase.h.
Referenced by getPredSurface(), trkf::KHitMulti::predict(), trkf::KHit< N >::predict(), and Print().