1 #ifndef TRACKCREATIONBOOKKEEPER_H
2 #define TRACKCREATIONBOOKKEEPER_H
54 chi2v.push_back(chi2);
59 addPoint(point, vect, hit, flag, chi2);
65 chi2v.push_back(chi2);
70 addPoint(std::move(point), std::move(vect), hit, std::move(
flag), chi2);
86 std::move(covStart),std::move(covEnd),
tkID_);
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
then echo unknown compiler flag
ROOT::Math::SMatrix< Double32_t, 5, 5, ROOT::Math::MatRepSym< Double32_t, 5 > > SMatrixSym55
Declaration of signal hit object.
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...
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 ...
auto vector(Vector const &v)
Returns a manipulator which will print the specified array.
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 ...
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
Provides recob::Track data product.
recob::Track finalizeTrack(recob::tracking::SMatrixSym55 &&covStart, recob::tracking::SMatrixSym55 &&covEnd)
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)
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)
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)
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