LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
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 31 of file VertexWrapper.h.
References vtx_.
|
inline |
Definition at line 32 of file VertexWrapper.h.
|
inline |
Definition at line 33 of file VertexWrapper.h.
References vtx_.
|
inline |
Definition at line 48 of file VertexWrapper.h.
References vtxtks_.
Referenced by addTrackAndUpdateVertex(), and trkf::Geometric3DVertexFitter::fitTwoTracks().
|
inline |
Definition at line 49 of file VertexWrapper.h.
References addTrack(), recob::Vertex::chi2(), recob::Vertex::ndof(), and vtx_.
Referenced by trkf::Geometric3DVertexFitter::addTrackToVertex(), trkf::Geometric3DVertexFitter::closestPointAlongTrack(), and trkf::Geometric3DVertexFitter::fitTwoTracks().
|
inline |
Definition at line 44 of file VertexWrapper.h.
References recob::Vertex::covariance(), and vtx_.
Referenced by trkf::Geometric3DVertexFitter::addTrackToVertex(), trkf::Geometric3DVertexFitter::fitTwoTracks(), and trkf::Geometric3DVertexFitter::getParsCovsOnPlane().
|
inline |
Definition at line 59 of file VertexWrapper.h.
References vtxtks_.
Referenced by trkf::Geometric3DVertexFitter::chi2Unbiased(), trkf::Geometric3DVertexFitter::computeMeta(), trkf::Geometric3DVertexFitter::ipErrUnbiased(), trkf::Geometric3DVertexFitter::ipUnbiased(), trkf::Geometric3DVertexFitter::pDistUnbiased(), trkf::Geometric3DVertexFitter::sipUnbiased(), and trkf::Geometric3DVertexFitter::unbiasedVertex().
|
inline |
Definition at line 42 of file VertexWrapper.h.
References recob::Vertex::isValid(), and vtx_.
Referenced by trkf::Geometric3DVertexFitter::fitTracks(), and trkf::VertexFitter::produce().
|
inline |
Definition at line 43 of file VertexWrapper.h.
References recob::Vertex::position(), and vtx_.
Referenced by trkf::Geometric3DVertexFitter::addTrackToVertex(), trkf::Geometric3DVertexFitter::fitTwoTracks(), trkf::Geometric3DVertexFitter::getParsCovsOnPlane(), and trkf::Geometric3DVertexFitter::pDist().
|
inline |
Definition at line 46 of file VertexWrapper.h.
References recob::Vertex::setID(), and vtx_.
Referenced by trkf::VertexFitter::produce().
|
inline |
Definition at line 68 of file VertexWrapper.h.
References vtxtks_.
Referenced by trkf::Geometric3DVertexFitter::computeMeta().
|
inline |
Definition at line 67 of file VertexWrapper.h.
References vtxtks_.
Referenced by trkf::Geometric3DVertexFitter::chi2Unbiased(), trkf::Geometric3DVertexFitter::computeMeta(), trkf::Geometric3DVertexFitter::fitTracks(), trkf::Geometric3DVertexFitter::ipErrUnbiased(), trkf::Geometric3DVertexFitter::ipUnbiased(), trkf::Geometric3DVertexFitter::pDistUnbiased(), trkf::Geometric3DVertexFitter::sipUnbiased(), and trkf::Geometric3DVertexFitter::unbiasedVertex().
|
inline |
Definition at line 69 of file VertexWrapper.h.
References vtxtks_.
Referenced by trkf::Geometric3DVertexFitter::chi2Unbiased(), trkf::Geometric3DVertexFitter::computeMeta(), trkf::Geometric3DVertexFitter::ipErrUnbiased(), trkf::Geometric3DVertexFitter::ipUnbiased(), trkf::Geometric3DVertexFitter::pDistUnbiased(), trkf::Geometric3DVertexFitter::sipUnbiased(), and trkf::Geometric3DVertexFitter::unbiasedVertex().
|
inline |
Definition at line 41 of file VertexWrapper.h.
References vtx_.
Referenced by trkf::VertexFitter::produce().
|
private |
Definition at line 77 of file VertexWrapper.h.
Referenced by addTrackAndUpdateVertex(), covariance(), isValid(), position(), setVertexId(), vertex(), and VertexWrapper().
|
private |
Definition at line 78 of file VertexWrapper.h.
Referenced by addTrack(), findTrack(), tracks(), tracksSize(), and tracksWithoutElement().