#include <KHitWireX.h>
Public Member Functions | |
KHitWireX (const detinfo::DetectorPropertiesData &detProp, const art::Ptr< recob::Hit > &hit, const std::shared_ptr< const Surface > &psurf) | |
Constructor from Hit. More... | |
KHitWireX (const geo::WireID &wireid, double x, double xerr) | |
Constructor from wire id (mainly for testing). More... | |
const art::Ptr< recob::Hit > & | getHit () const |
Get original hit. More... | |
bool | subpredict (const KETrack &tre, KVector< 1 >::type &pvec, KSymMatrix< 1 >::type &perr, KHMatrix< 1 >::type &hmatrix) const override |
Public Member Functions inherited from trkf::KHit< 1 > | |
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 | |
art::Ptr< recob::Hit > | fHit |
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... | |
Definition at line 34 of file KHitWireX.h.
trkf::KHitWireX::KHitWireX | ( | const detinfo::DetectorPropertiesData & | detProp, |
const art::Ptr< recob::Hit > & | hit, | ||
const std::shared_ptr< const Surface > & | psurf | ||
) |
Constructor from Hit.
Constructor.
Arguments:
hit - Hit. psurf - Measurement surface (can be null).
The measurement surface is only a suggestion. It is allowed to be specified to allow measurements to whare surfaces to save memory.
Definition at line 30 of file KHitWireX.cxx.
trkf::KHitWireX::KHitWireX | ( | const geo::WireID & | wireid, |
double | x, | ||
double | xerr | ||
) |
Constructor from wire id (mainly for testing).
Constructor.
Arguments:
wireid - Wire id. x - X coordinate. xerr - X error.
Definition at line 93 of file KHitWireX.cxx.
|
inline |
Get original hit.
Definition at line 48 of file KHitWireX.h.
|
override |
Definition at line 115 of file KHitWireX.cxx.
|
private |
Definition at line 62 of file KHitWireX.h.