|
| TrackCreationBookKeeper (std::vector< art::Ptr< recob::Hit > > &outhits, OptionalOutputs &optionals, int tkID, int pdgHyp, bool hasMomenta, int nfitpars=4) |
| Constructor: needs reference to output hit vector, optional outputs struct, and other parameters needed when creating the track object. More...
|
|
void | setTotChi2 (double totChi2) |
| Set the total chi2 value. More...
|
|
|
| TrackCreationBookKeeper (const TrackCreationBookKeeper &)=delete |
| Avoid copies of this object. More...
|
|
| TrackCreationBookKeeper (TrackCreationBookKeeper &&)=delete |
|
TrackCreationBookKeeper & | operator= (const TrackCreationBookKeeper &)=delete |
|
TrackCreationBookKeeper & | operator= (TrackCreationBookKeeper &&)=delete |
|
|
void | addPoint (const Point_t &point, const Vector_t &vect, art::Ptr< recob::Hit > hit, const PointFlags_t &flag, double chi2) |
| Add a single point; different version of the functions are provided using const references or rvalue references, with and without an OptionalPointElement argument. More...
|
|
void | addPoint (const Point_t &point, const Vector_t &vect, art::Ptr< recob::Hit > hit, const PointFlags_t &flag, double chi2, OptionalPointElement &ope) |
|
void | addPoint (Point_t &&point, Vector_t &&vect, art::Ptr< recob::Hit > hit, PointFlags_t &&flag, double chi2) |
|
void | addPoint (Point_t &&point, Vector_t &&vect, art::Ptr< recob::Hit > hit, PointFlags_t &&flag, double chi2, OptionalPointElement &ope) |
|
|
recob::Track | finalizeTrack (const recob::tracking::SMatrixSym55 &covStart, const recob::tracking::SMatrixSym55 &covEnd) |
| Get the finalized recob::Track; needs the start and end covariance matrices. More...
|
|
recob::Track | finalizeTrack (recob::tracking::SMatrixSym55 &&covStart, recob::tracking::SMatrixSym55 &&covEnd) |
|
Helper class to aid the creation of a recob::Track, keeping data vectors in sync.
Helper class to aid the creation of a recob::Track, keeping output data (vectors of recob::tracking::Point_t, recob::tracking::Vector_t, recob::TrackTrajectory::PointFlags_t, recob::Hit, and trkmkr::OptionalOutputs struct) in sync. It internally stores and uses a trkmkr::TrackTrajectoryCreationBookKeeper object. Elements of those vectors are added sequentially using the addPoint functions. Once all points have been added a call to the function finalizeTrack, builds the track moving the content of the vectors.
- Author
- G. Cerati (FNAL, MicroBooNE)
- Date
- 2017
- Version
- 1.0
Definition at line 32 of file TrackCreationBookKeeper.h.