Type of track point information.
More...
#include "Track.h"
Type of track point information.
- See also
proxy::TrackPointWrapper
For its interface, see proxy::TrackPointWrapper
.
Definition at line 683 of file Track.h.
Definition at line 688 of file Track.h.
std::tuple< recob::Track const *, art::Ptr< recob::Hit >, recob::TrackFitHitInfo const *, std::size_t > TrackPointData
Container of track point information.
Definition at line 689 of file Track.h.
std::tuple< recob::Track const *, art::Ptr< recob::Hit >, recob::TrackFitHitInfo const *, std::size_t > TrackPointData
Container of track point information.
Returns fit info associated with the trajectory point.
- Returns
- a pointer to the fit info, or
nullptr
if not merged in proxy
If the track proxy this point comes from had no fit information, nullptr
is returned. The fit information is extracted using the tag in proxy::Tracks::TrackFitHitInfoTag
.
Definition at line 663 of file Track.h.
664 {
return get<FitHitInfoIndex>(); }
Returns the flags associated with the trajectory point.
- See also
recob::Track::FlagsAtPoint()
Definition at line 635 of file Track.h.
const recob::TrackTrajectory & Trajectory() const
Access to the stored recob::TrackTrajectory.
PointFlags_t const & FlagsAtPoint(size_t i) const
Returns the flags for the specified trajectory point.
auto index() const -> decltype(auto)
Returns the index of this point in the trajectory.
recob::Track const & track() const
Returns the track this point belongs to.
Returns a pointer to the hit on the trajectory point, if any.
Definition at line 670 of file Track.h.
671 { decltype(
auto) ptr =
hitPtr(); return ptr? ptr.
get():
nullptr; }
art::Ptr< recob::Hit > hitPtr() const
Returns the hit associated with the trajectory point.
auto get() const -> decltype(auto)
Returns the hit associated with the trajectory point.
- Returns
- an art pointer to the hit associated to this point
Definition at line 652 of file Track.h.
652 {
return get<HitIndex>(); }
Returns the index of this point in the trajectory.
Definition at line 667 of file Track.h.
667 {
return get<IndexIndex >(); }
Returns whether the trajectory point is valid.
Even if the trajectory point (position and momentum) are not valid, the hit is still associated to the track/tracjectory.
Definition at line 644 of file Track.h.
644 {
return flags().isPointValid(); }
auto flags() const -> decltype(auto)
Returns the momentum vector of the trajectory point.
- See also
recob::Track::MomentumVectorAtPoint()
Definition at line 625 of file Track.h.
References track.
const recob::TrackTrajectory & Trajectory() const
Access to the stored recob::TrackTrajectory.
auto index() const -> decltype(auto)
Returns the index of this point in the trajectory.
Vector_t const & MomentumVectorAtPoint(size_t i) const
Returns the momentum vector at a point.
recob::Track const & track() const
Returns the track this point belongs to.
Returns the position of the trajectory point.
- See also
recob::Track::LocationAtPoint()
Definition at line 620 of file Track.h.
References track.
const recob::TrackTrajectory & Trajectory() const
Access to the stored recob::TrackTrajectory.
Point_t const & LocationAtPoint(size_t i) const
Returns the position at the specified trajectory point.
auto index() const -> decltype(auto)
Returns the index of this point in the trajectory.
recob::Track const & track() const
Returns the track this point belongs to.
Returns the track this point belongs to.
Definition at line 615 of file Track.h.
616 {
return *get<TrackIndex>(); }
The documentation for this struct was generated from the following file:
- lardata/v06_47_03/source/lardata/RecoBaseProxy/Track.h