1 #ifndef TRACKCREATIONBOOKKEEPER_H 2 #define TRACKCREATIONBOOKKEEPER_H 41 :
ttcbk_(outhits, hasMomenta)
69 chi2v.push_back(chi2);
80 addPoint(point, vect, hit, flag, chi2);
89 ttcbk_.
addPoint(std::move(point), std::move(vect), hit, std::move(flag));
91 chi2v.push_back(chi2);
102 addPoint(std::move(point), std::move(vect), hit, std::move(flag), chi2);
recob::TrajectoryPointFlags PointFlags_t
Type for flags of a point/hit.
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 ...
void setTotChi2(double totChi2)
Set the total chi2 value.
TrackCreationBookKeeper & operator=(const TrackCreationBookKeeper &)=delete
Avoid copies of this object.
Declaration of signal hit object.
recob::TrackTrajectory finalizeTrackTrajectory()
Get the finalized recob::TrackTrajectory object; internal data vectors are moved so no more points sh...
trkmkr::TrackTrajectoryCreationBookKeeper ttcbk_
void addPoint(const Point_t &point, const Vector_t &vect, art::Ptr< recob::Hit > hit, const PointFlags_t &flag)
Add a single point; different version of the functions are provided using const references or rvalue ...
ROOT::Math::SMatrix< Double32_t, 5, 5, ROOT::Math::MatRepSym< Double32_t, 5 >> SMatrixSym55
auto vector(Vector const &v)
Returns a manipulator which will print the specified array.
Helper class to aid the creation of a recob::TrackTrajectory, keeping data vectors in sync...
Struct holding point-by-point elements used in OptionalOutputs.
recob::tracking::Vector_t Vector_t
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< Coord_t >, ROOT::Math::GlobalCoordinateSystemTag > Vector_t
Type for representation of momenta in 3D space. See recob::tracking::Coord_t for more details on the ...
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 need...
Provides recob::Track data product.
recob::Track finalizeTrack(recob::tracking::SMatrixSym55 &&covStart, recob::tracking::SMatrixSym55 &&covEnd)
Get the finalized recob::Track; needs the start and end covariance matrices.
Detector simulation of raw signals on wires.
void reset()
reset the stored vectors
void addPoint(const Point_t &point, const Vector_t &vect, art::Ptr< recob::Hit > hit, const PointFlags_t &flag, double chi2, OptionalPointElement &ope)
Add a single point; different version of the functions are provided using const references or rvalue ...
void addPoint(OptionalPointElement &ope)
add one OptionalPointElement
Helper class to aid the creation of a recob::Track, keeping data vectors in sync. ...
void addPoint(Point_t &&point, Vector_t &&vect, art::Ptr< recob::Hit > hit, PointFlags_t &&flag, double chi2, OptionalPointElement &ope)
Add a single point; different version of the functions are provided using const references or rvalue ...
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.
TrackCollectionProxyElement< TrackCollProxy > Track
Proxy to an element of a proxy collection of recob::Track objects.
std::vector< double > chi2v
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...
void addPoint(Point_t &&point, Vector_t &&vect, art::Ptr< recob::Hit > hit, PointFlags_t &&flag, double chi2)
Add a single point; different version of the functions are provided using const references or rvalue ...
Struct holding optional TrackMaker outputs.
Set of flags pertaining a point of the track.
Track from a non-cascading particle.A recob::Track consists of a recob::TrackTrajectory, plus additional members relevant for a "fitted" track:
recob::tracking::Point_t Point_t