|
| | TrackCreationBookKeeper (std::vector< art::Ptr< 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< 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< Hit > hit, const PointFlags_t &flag, double chi2, OptionalPointElement &ope) |
| |
| void | addPoint (Point_t &&point, Vector_t &&vect, art::Ptr< Hit > hit, PointFlags_t &&flag, double chi2) |
| |
| void | addPoint (Point_t &&point, Vector_t &&vect, art::Ptr< Hit > hit, PointFlags_t &&flag, double chi2, OptionalPointElement &ope) |
| |
|
| Track | finalizeTrack (const tracking::SMatrixSym55 &covStart, const tracking::SMatrixSym55 &covEnd) |
| | Get the finalized recob::Track; needs the start and end covariance matrices. More...
|
| |
| Track | finalizeTrack (tracking::SMatrixSym55 &&covStart, 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 31 of file TrackCreationBookKeeper.h.