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 63 of file TrackingTypes.h.
|
default |
Default constructor: sets at origin with no momentum.
Constructor: assigns position and momentum.
Definition at line 72 of file TrackingTypes.h.
|
inline |
Returns the direction of the trajectory (unit vector of the momentum).
Definition at line 76 of file TrackingTypes.h.
Vector_t recob::tracking::TrajectoryPoint_t::momentum |
momentum at the trajectory [GeV/c].
Definition at line 66 of file TrackingTypes.h.
Point_t recob::tracking::TrajectoryPoint_t::position |
position in the trajectory [cm].
Definition at line 65 of file TrackingTypes.h.