LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
|
Data related to recob::Hit
associated with recob::Track
.The purpose is to collect several variables that do not work well alone inside track class and are related to 2D hits along the 3D trajectory. So in the first place it is the hit index along the trajectory. There is also dx associated to hit to help dE/dx calculations.
More...
#include "TrackHitMeta.h"
Public Member Functions | |
TrackHitMeta ()=default | |
Default needed by ROOT. More... | |
TrackHitMeta (unsigned int idx, double dx=0.0) | |
Constructor with initialization. More... | |
unsigned int | Index () const |
Hit index along the track trajectory. More... | |
double | Dx () const |
Length of the track segments associated with the 2D hit. More... | |
Private Attributes | |
unsigned int | fIndex = 0U |
Stored index of the hit in the sequence. More... | |
double | fDx = 0.0 |
Stored dx size, in centimeters. More... | |
Data related to recob::Hit
associated with recob::Track
.
The purpose is to collect several variables that do not work well alone inside track class and are related to 2D hits along the 3D trajectory. So in the first place it is the hit index along the trajectory. There is also dx associated to hit to help dE/dx calculations.
Please, add other variables that may fit here. One candidate is 3D position.
PLEASE, remember to add errors on values whenever this is possible to calculate.
The expected association takes the form of:
It is also expected and recommended practice to create the association list sorted by track, as in the one-to-many sequential association definition.
Definition at line 43 of file TrackHitMeta.h.
|
default |
Default needed by ROOT.
|
inline |
Constructor with initialization.
Definition at line 50 of file TrackHitMeta.h.
|
inline |
Length of the track segments associated with the 2D hit.
The length is the sum of lengths of the two segments: half-distance to the next hit in the same plane and half-distance to the preceding hit in the same plane.
Definition at line 65 of file TrackHitMeta.h.
References fDx.
|
inline |
Hit index along the track trajectory.
Definition at line 55 of file TrackHitMeta.h.
References fIndex.
Referenced by recob::operator<(), and recob::operator<<().
|
private |
|
private |
Stored index of the hit in the sequence.
Definition at line 71 of file TrackHitMeta.h.
Referenced by Index().