Extension of a TrackState to perform KalmanFilter calculations. More...
#include <KFTrackState.h>
Public Member Functions | |
KFTrackState (const SVector5 &trackStatePar, const SMatrixSym55 &trackStateCov, const Plane &plane, bool trackAlongPlaneDir, int pid) | |
KFTrackState (TrackState &&trackState) | |
bool | updateWithHitState (const HitState &hitstate) |
Update the TrackState given a HitState (they need to be on the same plane) More... | |
bool | combineWithTrackState (const TrackState &trackstate) |
Combine the TrackState given another TrackState (they need to be on the same plane) More... | |
const TrackState & | trackState () const |
Get the (const reference to the) TrackState. More... | |
void | setTrackState (TrackState &&s) |
Set the TrackState. More... | |
std::ostream & | dump (std::ostream &out=std::cout) const |
Printout information. More... | |
const SVector5 & | parameters () const |
This function calls the homonymous function of the stored TrackState. More... | |
const SMatrixSym55 & | covariance () const |
const Plane & | plane () const |
const Point_t & | position () const |
const Vector_t & | momentum () const |
int | pID () const |
double | mass () const |
const SVector6 | parameters6D () const |
bool | isTrackAlongPlaneDir () const |
double | residual (const HitState &hitstate) const |
double | combinedError2 (const HitState &hitstate) const |
double | combinedError (const HitState &hitstate) const |
double | chi2 (const HitState &hitstate) const |
void | setCovariance (const SMatrixSym55 &trackStateCov) |
void | setParameters (const SVector5 &trackStatePar) |
Private Attributes | |
TrackState | fTrackState |
Extension of a TrackState to perform KalmanFilter calculations.
This class extends the concept of TrackState, providing functionalities for Kalman Filter-specific calculations such as 'update' and 'combine'. It holds a TrackState by value, which is modified in place when updating or combining.
Definition at line 21 of file KFTrackState.h.
|
inline |
Definition at line 24 of file KFTrackState.h.
|
inline |
Definition at line 26 of file KFTrackState.h.
|
inline |
Definition at line 55 of file KFTrackState.h.
|
inline |
Definition at line 54 of file KFTrackState.h.
|
inline |
Definition at line 53 of file KFTrackState.h.
bool KFTrackState::combineWithTrackState | ( | const TrackState & | trackstate | ) |
Combine the TrackState given another TrackState (they need to be on the same plane)
Definition at line 17 of file KFTrackState.cxx.
|
inline |
Definition at line 43 of file KFTrackState.h.
|
inline |
Printout information.
Definition at line 62 of file KFTrackState.h.
|
inline |
Definition at line 50 of file KFTrackState.h.
|
inline |
Definition at line 48 of file KFTrackState.h.
|
inline |
Definition at line 46 of file KFTrackState.h.
|
inline |
This function calls the homonymous function of the stored TrackState.
Definition at line 42 of file KFTrackState.h.
|
inline |
Definition at line 49 of file KFTrackState.h.
|
inline |
Definition at line 47 of file KFTrackState.h.
|
inline |
Definition at line 44 of file KFTrackState.h.
|
inline |
Definition at line 45 of file KFTrackState.h.
|
inline |
Definition at line 52 of file KFTrackState.h.
|
inline |
Definition at line 57 of file KFTrackState.h.
|
inline |
Definition at line 58 of file KFTrackState.h.
|
inline |
Set the TrackState.
Definition at line 38 of file KFTrackState.h.
|
inline |
bool KFTrackState::updateWithHitState | ( | const HitState & | hitstate | ) |
Update the TrackState given a HitState (they need to be on the same plane)
Definition at line 5 of file KFTrackState.cxx.
|
private |
Definition at line 71 of file KFTrackState.h.