76 void XYZ(
double *xyz)
const;
101 #endif // RB_VERTEX_H ROOT::Math::SVector< double, 3 > SVector3
void XYZ(double *xyz) const
Legacy method to access vertex position, preserved to avoid breaking code. Please try to use Vertex::...
ROOT::Math::SVector< double, 2 > SVector2
Reconstruction base classes.
geo::Point_t Point_t
Type for representation of position in physical 3D space.
tracking::SMatrixSym33 SMatrixSym33
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
void setID(int newID)
Set vertex id.
Vertex(const Point_t &pos, const SMatrixSym33 &cov, double chi2, int ndof, int id=util::kBogusI)
Constructor initializing all data members.
Definition of vertex object for LArSoft.
bool isValidCovariance() const
tracking::Point_t Point_t
double chi2PerNdof() const
Status status_
Vertex status, as define in Vertex::Status enum.
SMatrixSym33 cov_
Vertex covariance matrix 3x3.
int id_
id number for vertex
const SMatrixSym33 & covariance() const
Return vertex 3D covariance (be careful, the matrix may have rank=2).
int ndof_
Vertex fit degrees of freedom.
tracking::SMatrixSym22 SMatrixSym22
tracking::SVector3 SVector3
Point_t pos_
Vertex 3D position.
double chi2_
Vertex fit chi2.
ROOT::Math::SMatrix< double, 3, 3, ROOT::Math::MatRepSym< double, 3 > > SMatrixSym33
int ID() const
Return vertex id.
friend bool operator<(const Vertex &a, const Vertex &b)
tracking::SVector2 SVector2
constexpr double kBogusD
obviously bogus double value
const Point_t & position() const
Return vertex 3D position.
ROOT::Math::SMatrix< double, 2, 2, ROOT::Math::MatRepSym< double, 2 > > SMatrixSym22