24 stream << std::setiosflags(std::ios::fixed) << std::setprecision(3) <<
"\n Track ID " 27 <<
"\n StartCosines : ( " << start.X() <<
" ; " << start.Y() <<
" ; " << start.Z()
28 <<
") EndCosines : ( " <<
end.X() <<
" ; " <<
end.Y() <<
" ; " <<
end.Z() <<
")" 29 <<
"\n #Position and Direction = " << std::setw(5) <<
std::right 39 if (a.
ID() != b.
ID())
return a.
ID() < b.
ID();
60 result[0] =
End().X();
61 result[1] =
End().Y();
62 result[2] =
End().Z();
TrackTrajectory fTraj
Stored trajectory data member.
SVector6 EndParametersGlobal6D() const
Accessors to track parameters and covariance matrices in Local5D and Global6D coordinates.
double EndMomentum() const
double VertexMomentum() const
constexpr auto const & right(const_AssnsIter< L, R, D, Dir > const &a, const_AssnsIter< L, R, D, Dir > const &b)
tracking::SVector5 SVector5
SMatrixSym55 fCovVertex
Covariance matrix (local 5D representation) at start point (vertex)
Reconstruction base classes.
SMatrixSym55 fCovEnd
Covariance matrix (local 5D representation) at end point.
bool operator<(Cluster const &a, Cluster const &b)
SMatrixSym66 EndCovarianceGlobal6D() const
Accessors to track parameters and covariance matrices in Local5D and Global6D coordinates.
size_t NumberTrajectoryPoints() const
Various functions related to the presence and the number of (valid) points.
Vector_t const & VertexMomentumVector() const
Returns the momentum of the trajectory at the first valid point [GeV/c].
Vector_t VertexDirection() const
Access to track direction at different points.
tracking::SMatrixSym66 SMatrixSym66
tracking::SVector6 SVector6
SMatrixSym66 VertexCovarianceGlobal6D() const
Accessors to track parameters and covariance matrices in Local5D and Global6D coordinates.
decltype(auto) constexpr end(T &&obj)
ADL-aware version of std::end.
Vector_t VertexDirection() const
Returns the direction of the trajectory at the first point.
SVector5 EndParametersLocal5D() const
Accessors to track parameters and covariance matrices in Local5D and Global6D coordinates.
double Phi() const
Access to spherical or geographical angles at vertex or at any point.
double Theta() const
Access to spherical or geographical angles at vertex or at any point.
SMatrixSym66 Local5DToGlobal6DCovariance(SMatrixSym55 cov5d, bool hasMomentum, const Vector_t &trackMomOrDir) const
Translate track covariance from local to global coordinates. The track momentum (or direction) is nee...
Point_t const & Vertex() const
Access to track position at different points.
Provides recob::Track data product.
Vector_t EndDirection() const
Returns the direction of the trajectory at the last point.
SVector6 VertexParametersGlobal6D() const
Accessors to track parameters and covariance matrices in Local5D and Global6D coordinates.
Vector_t const & EndMomentumVector() const
Returns the momentum of the trajectory at the last valid point [GeV/c].
Vector_t EndDirection() const
Access to track direction at different points.
SVector5 VertexParametersLocal5D() const
Accessors to track parameters and covariance matrices in Local5D and Global6D coordinates.
Point_t const & End() const
Access to track position at different points.
Track from a non-cascading particle.A recob::Track consists of a recob::TrackTrajectory, plus additional members relevant for a "fitted" track:
std::ostream & operator<<(std::ostream &o, Cluster const &c)