LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
TrackUtils.h
Go to the documentation of this file.
1 
14 #ifndef LARDATA_ARTDATAHELPER_TRACKUTILS_H
15 #define LARDATA_ARTDATAHELPER_TRACKUTILS_H
16 
17 // LArSoft libraries
18 #include "larcoreobj/SimpleTypesAndConstants/geo_types.h" // geo::View_t
19 
20 namespace recob {
21  class Track;
22 }
23 
24 namespace lar::util {
25 
38 
65  double TrackPitchInView(recob::Track const& track,
66  geo::View_t view,
67  size_t trajectory_point = 0U);
68 
69 } // namespace lar::util
70 
71 #endif // LARDATA_ARTDATAHELPER_TRACKUTILS_H
Reconstruction base classes.
enum geo::_plane_proj View_t
Enumerate the possible plane projections.
double TrackProjectedLength(recob::Track const &track, geo::View_t view)
Returns the length of the projection of a track on a view.
Definition: TrackUtils.cxx:33
LArSoft utility namespace.
Definition: NumericUtils.cxx:6
Definition of data types for geometry description.
double TrackPitchInView(recob::Track const &track, geo::View_t view, size_t trajectory_point=0U)
Returns the projected length of track on a wire pitch step [cm].
Definition: TrackUtils.cxx:75
Float_t track
Definition: plot.C:35
Definition: Track.hh:42
Track from a non-cascading particle.A recob::Track consists of a recob::TrackTrajectory, plus additional members relevant for a "fitted" track:
Definition: Track.h:49