25 stream << std::setiosflags(std::ios::fixed) << std::setprecision(3)
26 <<
"\n Track ID " << std::setw(4) <<
std::right << a.
ID()
29 <<
"\n StartCosines : ( " << start.X() <<
" ; " << start.Y() <<
" ; " << start.Z()
30 <<
") EndCosines : ( " <<
end.X() <<
" ; " <<
end.Y() <<
" ; " <<
end.Z()
32 <<
"\n #Position and Direction = "
43 return a.
ID() < b.
ID();
62 result[0] =
End().X();
63 result[1] =
End().Y();
64 result[2] =
End().Z();
TrackTrajectory fTraj
Stored trajectory data member.
SVector6 EndParametersGlobal6D() const
double EndMomentum() const
double VertexMomentum() const
tracking::SVector5 SVector5
SMatrixSym55 fCovVertex
Covariance matrix (local 5D representation) at start point (vertex)
SMatrixSym55 fCovEnd
Covariance matrix (local 5D representation) at end point.
bool operator<(Cluster const &a, Cluster const &b)
SMatrixSym66 EndCovarianceGlobal6D() const
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
tracking::SMatrixSym66 SMatrixSym66
tracking::SVector6 SVector6
SMatrixSym66 VertexCovarianceGlobal6D() const
Vector_t VertexDirection() const
Returns the direction of the trajectory at the first point.
SVector5 EndParametersLocal5D() const
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
auto end(FixedBins< T, C > const &) noexcept
Provides recob::Track data product.
Vector_t EndDirection() const
Returns the direction of the trajectory at the last point.
SVector6 VertexParametersGlobal6D() const
Vector_t const & EndMomentumVector() const
Returns the momentum of the trajectory at the last valid point [GeV/c].
Vector_t EndDirection() const
SVector5 VertexParametersLocal5D() const
Accessors to track parameters and covariance matrices in Local5D and Global6D coordinates.
Point_t const & End() const
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)