#include <Track.h>
Public Member Functions | |
Track () | |
Track (const float length, const float momentum_beg, const float momentum_end, const float *vtx, const float *end, const float *vtxDir, const float *endDir, const size_t nhits, const int charge, const double time) | |
Track (const float lengthforwards, const float lengthbackwards, const size_t nhits, const float xbeg, const float *trackparbeg, const float *covmatbeg, const float chisqforward, const float xend, const float *trackparend, const float *covmatend, const float chisqbackward, const double time) | |
bool | operator== (const Track &rhs) const |
bool | operator!= (const Track &rhs) const |
gar::rec::IDNumber | getIDNumber () const |
const float * | Vertex () const |
const float * | End () const |
const float * | VtxDir () const |
const float * | EndDir () const |
float | Length () |
float const & | LengthForward () const |
float const & | LengthBackward () const |
float const & | Momentum_beg () const |
float const & | Momentum_end () const |
float const & | ChisqForward () const |
float const & | ChisqBackward () const |
size_t const & | NHits () const |
const float * | TrackParBeg () const |
const float * | TrackParEnd () const |
void | CovMatBegSymmetric (float *cmb) const |
void | CovMatEndSymmetric (float *cme) const |
const float * | CovMatBegPacked () const |
const float * | CovMatEndPacked () const |
int | ChargeBeg () const |
int | ChargeEnd () const |
double const & | Time () const |
Private Attributes | |
gar::rec::IDNumber | fIDnumero |
float | fLengthforwards |
length of the track in cm from forwards fit More... | |
float | fLengthbackwards |
length of the track in cm from backwards fit More... | |
float | fMomentum_beg |
momentum of the track at the vertex in GeV/c More... | |
float | fMomentum_end |
momentum of the track at the end in GeV/c More... | |
float | fVertex [3] |
track vertex position in cm – == "beginning" of track. Arbitrary choice made by patrec More... | |
float | fEnd [3] |
track end position in cm More... | |
float | fVtxDir [3] |
track vertex direction More... | |
float | fEndDir [3] |
track end direction More... | |
float | fChisqForward |
chisquared forward fit More... | |
float | fChisqBackward |
chisquared backward fit More... | |
size_t | fNHits |
number of hits More... | |
double | fTime |
time in ns from trigger More... | |
float | fTrackParBeg [5] |
Track parameters at beginning of track y, z, curvature, phi, lambda – 5-parameter track (cm, cm, cm-1, radians, radians) More... | |
float | fTrackParEnd [5] |
Track parameters at end of track y, z, curvature, phi, lambda – 5-parameter track (cm, cm, cm-1, radians, radians) More... | |
float | fCovMatBeg [15] |
covariance matrix at beginning of track – packed in a 1D array, assuming symmetry More... | |
float | fCovMatEnd [15] |
covariance matrix at end of track More... | |
Static Private Attributes | |
static gar::rec::IDNumber const | FirstNumber = 100000 |
gar::rec::Track::Track | ( | ) |
Definition at line 22 of file Track.cxx.
gar::rec::Track::Track | ( | const float | length, |
const float | momentum_beg, | ||
const float | momentum_end, | ||
const float * | vtx, | ||
const float * | end, | ||
const float * | vtxDir, | ||
const float * | endDir, | ||
const size_t | nhits, | ||
const int | charge, | ||
const double | time | ||
) |
Definition at line 49 of file Track.cxx.
gar::rec::Track::Track | ( | const float | lengthforwards, |
const float | lengthbackwards, | ||
const size_t | nhits, | ||
const float | xbeg, | ||
const float * | trackparbeg, | ||
const float * | covmatbeg, | ||
const float | chisqforward, | ||
const float | xend, | ||
const float * | trackparend, | ||
const float * | covmatend, | ||
const float | chisqbackward, | ||
const double | time | ||
) |
Definition at line 147 of file Track.cxx.
int gar::rec::Track::ChargeBeg | ( | ) | const |
Definition at line 229 of file Track.cxx.
int gar::rec::Track::ChargeEnd | ( | ) | const |
Definition at line 236 of file Track.cxx.
|
inline |
|
inline |
|
inline |
Definition at line 153 of file Track.h.
void gar::rec::Track::CovMatBegSymmetric | ( | float * | cmb | ) | const |
Definition at line 246 of file Track.cxx.
|
inline |
Definition at line 154 of file Track.h.
void gar::rec::Track::CovMatEndSymmetric | ( | float * | cme | ) | const |
Definition at line 257 of file Track.cxx.
gar::rec::IDNumber gar::rec::Track::getIDNumber | ( | ) | const |
|
inline |
Definition at line 143 of file Track.h.
|
inline |
Definition at line 145 of file Track.h.
|
inline |
Definition at line 144 of file Track.h.
|
inline |
Definition at line 146 of file Track.h.
|
inline |
Definition at line 147 of file Track.h.
|
inline |
Definition at line 151 of file Track.h.
|
inline |
Definition at line 152 of file Track.h.
|
inline |
Definition at line 139 of file Track.h.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
staticprivate |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |