Wrapper class to facilitate vertex production. More...
#include <VertexWrapper.h>
Public Member Functions | |
VertexWrapper () | |
VertexWrapper (const recob::Vertex &vtx) | |
VertexWrapper (const recob::tracking::Point_t &pos, const recob::tracking::SMatrixSym33 &cov, double chi2, int ndof) | |
const recob::Vertex & | vertex () const |
bool | isValid () const |
const recob::tracking::Point_t & | position () const |
const recob::tracking::SMatrixSym33 & | covariance () const |
void | setVertexId (int newID) |
void | addTrack (const recob::Track &tk) |
void | addTrackAndUpdateVertex (const recob::tracking::Point_t &pos, const recob::tracking::SMatrixSym33 &cov, double chi2, int ndof, const recob::Track &tk) |
size_t | findTrack (const recob::Track &tk) const |
size_t | tracksSize () const |
const TrackRefVec & | tracks () const |
TrackRefVec | tracksWithoutElement (size_t element) const |
Private Attributes | |
recob::Vertex | vtx_ |
TrackRefVec | vtxtks_ |
Wrapper class to facilitate vertex production.
It stores the recob::Vertex being built and the references to the tracks being used in the vertex fit. Tracks are stored in a vector of std::reference_wrapper<const recob::Track>, so the wrapper does not own the pointer to the original track object.
Definition at line 28 of file VertexWrapper.h.
|
inline |
Definition at line 32 of file VertexWrapper.h.
|
inline |
Definition at line 33 of file VertexWrapper.h.
|
inline |
Definition at line 34 of file VertexWrapper.h.
|
inline |
Definition at line 43 of file VertexWrapper.h.
|
inline |
Definition at line 44 of file VertexWrapper.h.
|
inline |
Definition at line 39 of file VertexWrapper.h.
|
inline |
Definition at line 50 of file VertexWrapper.h.
|
inline |
Definition at line 37 of file VertexWrapper.h.
|
inline |
Definition at line 38 of file VertexWrapper.h.
|
inline |
Definition at line 41 of file VertexWrapper.h.
|
inline |
Definition at line 58 of file VertexWrapper.h.
|
inline |
Definition at line 57 of file VertexWrapper.h.
|
inline |
Definition at line 59 of file VertexWrapper.h.
|
inline |
Definition at line 36 of file VertexWrapper.h.
|
private |
Definition at line 66 of file VertexWrapper.h.
|
private |
Definition at line 67 of file VertexWrapper.h.