LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
A point in the trajectory, with position and momentum. More...
#include "TrackingTypes.h"
Public Member Functions | |
TrajectoryPoint_t ()=default | |
Default constructor: sets at origin with no momentum. More... | |
TrajectoryPoint_t (Point_t pos, Vector_t mom) | |
Constructor: assigns position and momentum. More... | |
Vector_t | direction () const |
Returns the direction of the trajectory (unit vector of the momentum). More... | |
Public Attributes | |
Point_t | position |
position in the trajectory [cm]. More... | |
Vector_t | momentum |
momentum at the trajectory [GeV/c]. More... | |
A point in the trajectory, with position and momentum.
Definition at line 85 of file TrackingTypes.h.
|
default |
Default constructor: sets at origin with no momentum.
Constructor: assigns position and momentum.
Definition at line 94 of file TrackingTypes.h.
|
inline |
Returns the direction of the trajectory (unit vector of the momentum).
Definition at line 97 of file TrackingTypes.h.
Referenced by recob::tracking::makePlane(), and lar::util::TrackPitchInView().
Vector_t recob::tracking::TrajectoryPoint_t::momentum |
momentum at the trajectory [GeV/c].
Definition at line 88 of file TrackingTypes.h.
Point_t recob::tracking::TrajectoryPoint_t::position |
position in the trajectory [cm].
Definition at line 87 of file TrackingTypes.h.
Referenced by recob::tracking::makePlane(), and lar::util::TrackPitchInView().