25 :
fTrackState(trackStatePar, trackStateCov, plane, trackAlongPlaneDir, pid) {}
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.
double std(const std::vector< short > &wf, const double ped_mean, size_t start, size_t nsample)
void setParameters(const SVector5 &trackStatePar)
const TrackState & trackState() const
Get the (const reference to the) TrackState.
const SVector6 parameters6D() const
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
const SVector5 & parameters() const
This function calls the homonymous function of the stored TrackState.
double combinedError(const HitState &hitstate) const
double chi2(const HitState &hitstate) const
double mass() const
mass hypthesis of the track
void setCovariance(const SMatrixSym55 &trackStateCov)
const Point_t & position() const
const Point_t & position() const
position of the track
void setTrackState(TrackState &&s)
Set the TrackState.
double combinedError2(const HitState &hitstate) const
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
recob::tracking::SVector5 SVector5
int pID() const
particle id hypthesis of the track
const SMatrixSym55 & covariance() const
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
then echo File list $list not found else cat $list while read file do echo $file sed s
KFTrackState(TrackState &&trackState)
const SMatrixSym55 & covariance() const
track parameter covariance matrix on the plane
const Plane & plane() const
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
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
BEGIN_PROLOG could also be cout
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...