25 :
fTrackState(trackStatePar, trackStateCov, plane, trackAlongPlaneDir, pid) {}
62 std::ostream&
dump(std::ostream& out = std::cout)
const {
63 out <<
"KFTrackState with pID=" <<
pID() <<
" mass=" <<
mass()
Class for track parameters (and errors) defined on a recob::tracking::Plane.
Vector_t const & direction() const
Reference direction orthogonal to the plane.
void setParameters(const SVector5 &trackStatePar)
This function calls the homonymous function of the stored TrackState.
const TrackState & trackState() const
Get the (const reference to the) TrackState.
const SVector6 parameters6D() const
This function calls the homonymous function of the stored TrackState.
void setCovariance(const SMatrixSym55 &trackStateCov)
Set the covariance matrix of the TrackState.
recob::tracking::Point_t Point_t
recob::tracking::Vector_t Vector_t
const Vector_t & momentum() const
momentum of the track
const SVector5 & parameters() const
track parameters defined on the plane
recob::tracking::SMatrixSym55 SMatrixSym55
bool isTrackAlongPlaneDir() const
This function calls the homonymous function of the stored TrackState.
const SVector5 & parameters() const
This function calls the homonymous function of the stored TrackState.
double combinedError(const HitState &hitstate) const
This function calls the homonymous function of the stored TrackState.
double chi2(const HitState &hitstate) const
This function calls the homonymous function of the stored TrackState.
double mass() const
This function calls the homonymous function of the stored TrackState.
double mass() const
mass hypthesis of the track
void setCovariance(const SMatrixSym55 &trackStateCov)
This function calls the homonymous function of the stored TrackState.
const Point_t & position() const
This function calls the homonymous function of the stored TrackState.
const Point_t & position() const
position of the track
void setTrackState(TrackState &&s)
Set the TrackState.
double combinedError2(const HitState &hitstate) const
This function calls the homonymous function of the stored TrackState.
bool combineWithTrackState(const TrackState &trackstate)
Combine the TrackState given another TrackState (they need to be on the same plane) ...
Extension of a TrackState to perform KalmanFilter calculations.
bool isTrackAlongPlaneDir() const
is the track momentum along the plane direction?
double residual(const HitState &hitstate) const
This function calls the homonymous function of the stored TrackState.
recob::tracking::SVector5 SVector5
int pID() const
particle id hypthesis of the track
const SMatrixSym55 & covariance() const
This function calls the homonymous function of the stored TrackState.
Point_t const & position() const
Reference position on the plane.
void setParameters(const SVector5 &trackStatePar)
Set the parameters of the TrackState; also update the global position and momentum accordingly...
bool updateWithHitState(const HitState &hitstate)
Update the TrackState given a HitState (they need to be on the same plane)
Class defining a plane for tracking. It provides various functionalities to convert track parameters ...
double chi2(const HitState &hitstate) const
Chi2 of the TrackState with respect to a HitState. The two states must be on the same plane; it is re...
double combinedError(const HitState &hitstate) const
Combined error of the TrackState with respect to a HitState. The two states must be on the same plane...
KFTrackState(const SVector5 &trackStatePar, const SMatrixSym55 &trackStateCov, const Plane &plane, bool trackAlongPlaneDir, int pid)
SVector6 parameters6D() const
track parameters in global cartesian coordinates
KFTrackState(TrackState &&trackState)
const SMatrixSym55 & covariance() const
track parameter covariance matrix on the plane
const Plane & plane() const
This function calls the homonymous function of the stored TrackState.
double residual(const HitState &hitstate) const
Residual of the TrackState with respect to a HitState. The two states must be on the same plane; it i...
recob::tracking::SVector6 SVector6
const Vector_t & momentum() const
This function calls the homonymous function of the stored TrackState.
Class for a measurement on a recob::tracking::Plane (plane defined by a wire and the drift direction)...
std::ostream & dump(std::ostream &out=std::cout) const
Printout information.
const Plane & plane() const
plane where the parameters are defined
int pID() const
This function calls the homonymous function of the stored TrackState.
double combinedError2(const HitState &hitstate) const
Combined squared error of the TrackState with respect to a HitState. The two states must be on the sa...