76 void XYZ(
double *xyz)
const;
101 #endif // RB_VERTEX_H
void XYZ(double *xyz) const
Legacy method to access vertex position, preserved to avoid breaking code. Please try to use Vertex::...
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...
ROOT::Math::SMatrix< Double32_t, 3, 3, ROOT::Math::MatRepSym< Double32_t, 3 > > SMatrixSym33
constexpr int kBogusI
obviously bogus integer value
ROOT::Math::SVector< Double32_t, 3 > SVector3
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.
ROOT::Math::SVector< Double32_t, 2 > SVector2
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.
int ID() const
Return vertex id.
friend bool operator<(const Vertex &a, const Vertex &b)
ROOT::Math::SMatrix< Double32_t, 2, 2, ROOT::Math::MatRepSym< Double32_t, 2 > > SMatrixSym22
tracking::SVector2 SVector2
constexpr double kBogusD
obviously bogus double value
Collection of Physical constants used in LArSoft.
ROOT::Math::PositionVector3D< ROOT::Math::Cartesian3D< Coord_t >, ROOT::Math::GlobalCoordinateSystemTag > Point_t
Type for representation of position in physical 3D space. See recob::tracking::Coord_t for more detai...
const Point_t & position() const
Return vertex 3D position.