51 o << std::setprecision(5);
52 o <<
"Vertex ID " << a.
id_ << std::setw(5)
53 <<
" (x,y,z) = (" << a.
pos_.X() <<
"," << a.
pos_.Y() <<
"," 64 double xyza[3] = {0.};
65 double xyzb[3] = {0.};
69 return xyza[2] < xyzb[2];
void XYZ(double *xyz) const
Legacy method to access vertex position, preserved to avoid breaking code. Please try to use Vertex::...
Reconstruction base classes.
friend std::ostream & operator<<(std::ostream &o, const Vertex &a)
Vertex()
Default constructor, initializes status to Invalid, and data members to default or kBogus values...
constexpr int kBogusI
obviously bogus integer value
Definition of vertex object for LArSoft.
tracking::Point_t Point_t
Status status_
Vertex status, as define in Vertex::Status enum.
int id_
id number for vertex
int ndof_
Vertex fit degrees of freedom.
Point_t pos_
Vertex 3D position.
double chi2_
Vertex fit chi2.
friend bool operator<(const Vertex &a, const Vertex &b)
constexpr double kBogusD
obviously bogus double value