48 o << std::setprecision(5);
49 o <<
"Vertex ID " << a.
id_ << std::setw(5) <<
" (x,y,z) = (" << a.
pos_.X() <<
"," 50 << a.
pos_.Y() <<
"," << a.
pos_.Z() <<
")";
60 double xyza[3] = {0.};
61 double xyzb[3] = {0.};
65 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