StRoot
1
|
C++ STL includes. More...
#include <Track.hh>
Public Member Functions | |
Step * | AddStep () |
void | Clear (const Option_t *opts="") |
ClassDef (Track, 1) | |
StHit * | firstHit () const |
First hit. | |
StHit * | lastHit () const |
Last hit. | |
void | merge (Track *track) |
Merge this track with that track. | |
bool | fit () |
Perform linear fits in zx- and zy-plane. More... | |
double | chi2zx () |
chi square of linear fit in zx-plane | |
double | chi2zy () |
chi square of linear fit in zy-plane | |
int | ndf () const |
Number of degrees of freedom. | |
bool | ok () const |
Good track? More... | |
bool | accept (StHit *hit) const |
Is hit close enough to track? More... | |
double | length () const |
Track length. More... | |
double | x0 () const |
x-intercept at z = 0 | |
double | y0 () const |
y-intercept at z = 0 | |
double | dxdz () const |
dx/dz slope | |
double | dydz () const |
dy/dz slope | |
double | x0error () const |
Error on x-intercept. | |
double | y0error () const |
Error on y-intercept. | |
double | dxdzError () const |
Error on dx/dz slope. | |
double | dydzError () const |
Error on dy/dz slope. | |
Track (Int_t sector, StTrack *track, LaserB *laser=0, Double_t z=0) | |
Int_t | Matched () |
void | SetPredictions (TGeoHMatrix *Raft2Tpc=0, TGeoHMatrix *Bundle2Tpc=0, TGeoHMatrix *Mirror2Tpc=0) |
virtual void | Print (const Option_t *opt="") const |
Public Attributes | |
Int_t | idTruth |
Float_t | eta |
Float_t | phi |
Float_t | x |
Float_t | y |
Float_t | z |
Float_t | px |
Float_t | py |
Float_t | pz |
Float_t | mass |
Float_t | charge |
Int_t | nSteps |
TRefArray | steps |
Int_t | Flag |
StVertexId | mType |
StThreeVectorD | Vertex |
Int_t | mSector |
Int_t | mKey |
Short_t | mFlag |
UShort_t | mNumberOfPossiblePointsTpc |
Float_t | mImpactParameter |
Float_t | mLength |
UShort_t | mNumberOfFitPointsTpc |
UShort_t | mPrimaryVertexUsedInFit |
Int_t | fNdEdx |
Float_t | fdEdx |
StHelixModel | fgeoIn |
StHelixModel | fgeoOut |
StDcaGeometry | fDca |
Double32_t | fpTInv |
Double32_t | fTheta |
Double32_t | fPhi |
StThreeVectorD | XyzP |
StThreeVectorD | XyzPL |
StThreeVectorD | XyzPU |
StThreeVectorD | XyzPB |
StThreeVectorD | XyzPM |
StThreeVectorD | dirP |
StThreeVectorD | dirPL |
StThreeVectorD | dirPU |
StThreeVectorD | dirPB |
StThreeVectorD | dirPM |
StThreeVectorD | dU |
Double32_t | thePath |
LaserB | Laser |
Double32_t | dPhi |
Double32_t | dTheta |
Double32_t | zLastHit |
C++ STL includes.
Class to hold information about a beam background track. In particular, a Track contains all the hits associated with it and two linear fitters used to fit the track to lines in the zx- and zy-plane.
bool Track::accept | ( | StHit * | hit | ) | const |
Is hit close enough to track?
Definition at line 67 of file Track.cc.
References dxdz(), dydz(), x0(), and y0().
Referenced by StBeamBackMaker::Make().
bool Track::fit | ( | ) |
Perform linear fits in zx- and zy-plane.
Definition at line 26 of file Track.cc.
References firstHit(), lastHit(), and Line::perigee().
Referenced by StLaserAnalysisMaker::Make(), and StBeamBackMaker::Make().
|
inline |
bool Track::ok | ( | ) | const |
Good track?
Definition at line 62 of file Track.cc.
References dxdz(), and dydz().
Referenced by StBeamBackMaker::Make().