1 #ifndef TRACKTRAJECTORYCREATIONBOOKKEEPER_H 2 #define TRACKTRAJECTORYCREATIONBOOKKEEPER_H 60 flags.push_back(flag);
65 momenta.push_back(std::move(vect));
67 flags.push_back(std::move(flag));
80 std::vector<art::Ptr<recob::Hit>>*
hits;
83 std::vector<PointFlags_t>
flags;
recob::TrajectoryPointFlags PointFlags_t
Type for flags of a point/hit.
TrackTrajectoryCreationBookKeeper(std::vector< art::Ptr< recob::Hit >> &outhits, bool hasMomenta)
Constructor: needs reference to output hit vector, and hasMomenta bool (true if Vector_t are momenta...
Declaration of signal hit object.
std::vector< PointFlags_t > flags
recob::TrackTrajectory finalizeTrackTrajectory()
Get the finalized recob::TrackTrajectory object; internal data vectors are moved so no more points sh...
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 ...
std::vector< Vector_t > momenta
recob::tracking::Point_t Point_t
auto vector(Vector const &v)
Returns a manipulator which will print the specified array.
recob::TrackTrajectory::PointFlags_t PointFlags_t
Helper class to aid the creation of a recob::TrackTrajectory, keeping data vectors in sync...
A trajectory in space reconstructed from hits.
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 ...
std::vector< art::Ptr< recob::Hit > > * hits
Data product for reconstructed trajectory in space.
void addPoint(Point_t &&point, Vector_t &&vect, art::Ptr< recob::Hit > hit, PointFlags_t &&flag)
Add a single point; different version of the functions are provided using const references or rvalue ...
Detector simulation of raw signals on wires.
std::vector< Point_t > positions
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...
TrackTrajectoryCreationBookKeeper & operator=(const TrackTrajectoryCreationBookKeeper &)=delete
Avoid copies of this object.
recob::tracking::Vector_t Vector_t
Set of flags pertaining a point of the track.
recob::tracking::Point_t Point_t