StFtpcTrack


class description - source file - inheritance tree

class StFtpcTrack : public TObject


    public:
StFtpcTrack StFtpcTrack() StFtpcTrack StFtpcTrack(fpt_fptrack_st* track_st, TClonesArray* hits = 0) StFtpcTrack StFtpcTrack(StFtpcTrack&) virtual void ~StFtpcTrack() Double_t CalcDca(StFtpcVertex* vertex) void CalculateNMax() static TClass* Class() Bool_t ComesFromMainVertex() const void ComesFromMainVertex(Bool_t f) void Fit() void Fit(StFtpcVertex* vertex, Double_t max_Dca) Double_t GetAlpha0() const Double_t GetAlphaFirst() const Double_t GetAlphaLast() const Double_t GetCenterX() const Double_t GetCenterY() const Int_t GetCharge() const Double_t GetChi2Circle() const Double_t GetChi2Length() const const Double_t* GetChiSq() const Double_t GetDca() const Double_t GetEta() const Bool_t GetHemisphere() const MIntArray* GetHitNumbers() const TObjArray* GetHits() const StThreeVector<double> GetMomentum() const Short_t GetNMax() const Int_t GetNumberOfPoints() const Double_t GetP() const Double_t GetPid() const Double_t GetPseudoRapidity() const Double_t GetPt() const Double_t GetPx() const Double_t GetPy() const Double_t GetPz() const Double_t GetRadius() const Double_t GetRapidity() const Double_t GetRFirst() const Double_t GetRLast() const Int_t GetRowsWithPoints() const Double_t GetTheta() const StThreeVector<double> GetVertex() const virtual TClass* IsA() const void SetAlpha0(Double_t f) void SetAlphaFirst(Double_t f) void SetAlphaLast(Double_t f) void SetCenterX(Double_t f) void SetCenterY(Double_t f) void SetCharge(Int_t f) void SetChi2Circle(Double_t f) void SetChi2Length(Double_t f) void SetDca(Double_t f) void SetNMax(Short_t f) void SetPid(Int_t f) void SetProperties(Bool_t fUsage, Int_t mTrackNumber) void SetPx(Double_t f) void SetPy(Double_t f) void SetPz(Double_t f) void SetRadius(Double_t f) void SetRFirst(Double_t f) void SetRLast(Double_t f) void SetRowsWithPoints(Int_t f) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) Int_t Write(fpt_fptrack_st* trackTableEntry)

Data Members

private:
TObjArray* mPoints Array of pointers to clusters of track MIntArray* mPointNumbers Array of numbers of clusters Int_t mRowsWithPoints Double_t mChi2Circle Chi squared of circle fit Double_t mChi2Length Chi squared of length fit Double_t mRadius Radius of the helix (projected to a circle) Double_t mCenterX x coordinate of the center of the helix (projected to a circle) Double_t mCenterY y coordinate of the center of the helix (projected to a circle) Double_t mAlpha0 angle between first point of track (may be the vertex) and x axis as seen from center of circle projetion Int_t mPid particle id Short_t mNMax number of possible hits on this track Double_t mRFirst radius of (virtual) trackpoint in the first (inner) pad row Double_t mRLast radius of (virtual) trackpoint in the last (outer) pad row Double_t mAlphaFirst angle of (virtual) trackpoint in the first (inner) pad row Double_t mAlphaLast angle of (virtual) trackpoint in the last (outer) pad row Bool_t mFromMainVertex true if tracks origin is the main vertex, otherwise false StThreeVector<double> mP ThreeVector of track momentum StThreeVector<double> mV ThreeVector of vertex used in fit Int_t mQ charge measured in fit Double_t mChiSq[2] Chi2 of momentum fit Double_t mTheta theta value of momentum fit Double_t mDca radial impact parameter to main vertex

Class Description

                                                                                
 StFtpcTrack class - representation of one track for the FTPC trackers.         
                                                                                
 This class contains all data members which are the output of the FTPC tracker. 
                                                                                


StFtpcTrack()
 Default constructor.
 Creates a ObjArray of the hits belonging to the track.

StFtpcTrack(fpt_fptrack_st *track_st, TClonesArray *hits)
 Constructor if STAF table track is given.
 Creates a ObjArray of the hits belonging to the track.

~StFtpcTrack()
 Destructor.

Double_t GetPt() const
 Returns transverse momentum.

Double_t GetP() const
 Returns total momentum.

Double_t GetPseudoRapidity() const
 Returns the pseudo rapidity of the particle.

Double_t GetEta() const
 This function returns the value of GetPseudoRapidity().

Double_t GetRapidity() const
 Returns the rapidity of the particle with the assumption that the particle is a pion (+/-).

void SetProperties(Bool_t usage, Int_t tracknumber)
 Sets number of next hit. Counting is started from the vertex. (The tracker finds hits on tracks vice versa!)
 Sets the usage of all points belonging to this track to the value of fUsage and
 sets the track number of all points belonging to this track to the value of fTrackNumber.

void CalculateNMax()
 Calculates the max. possible number of points on this track.
 Up to now this is only a approximation. The calculated value would be right if:
   - the track would be a straight line

 In addition this funtion calculates the radius and the angle of a potential
 track point in the first (inner) and the last (outer) pad row.

void Fit()
 set up hits for calling fit class

Double_t CalcDca(StFtpcVertex *vertex)
 Calculates distance of closest approach to vertex.

void Fit(StFtpcVertex *vertex, Double_t max_Dca)
 Fitting.

Int_t Write(fpt_fptrack_st *trackTableEntry)
 Writes track to StAF table



Inline Functions


                   TObjArray* GetHits() const
                   MIntArray* GetHitNumbers() const
                        Int_t GetRowsWithPoints() const
                     Double_t GetChi2Circle() const
                     Double_t GetChi2Length() const
                     Double_t GetRadius() const
                     Double_t GetCenterX() const
                     Double_t GetCenterY() const
                     Double_t GetAlpha0() const
                     Double_t GetPid() const
                      Short_t GetNMax() const
                     Double_t GetRFirst() const
                     Double_t GetRLast() const
                     Double_t GetAlphaFirst() const
                     Double_t GetAlphaLast() const
                       Bool_t GetHemisphere() const
                        Int_t GetNumberOfPoints() const
                       Bool_t ComesFromMainVertex() const
        StThreeVector<double> GetMomentum() const
                     Double_t GetPx() const
                     Double_t GetPy() const
                     Double_t GetPz() const
        StThreeVector<double> GetVertex() const
                        Int_t GetCharge() const
              const Double_t* GetChiSq() const
                     Double_t GetTheta() const
                     Double_t GetDca() const
                         void SetRowsWithPoints(Int_t f)
                         void SetPx(Double_t f)
                         void SetPy(Double_t f)
                         void SetPz(Double_t f)
                         void SetChi2Circle(Double_t f)
                         void SetChi2Length(Double_t f)
                         void SetRadius(Double_t f)
                         void SetCenterX(Double_t f)
                         void SetCenterY(Double_t f)
                         void SetAlpha0(Double_t f)
                         void SetCharge(Int_t f)
                         void SetPid(Int_t f)
                         void SetRLast(Double_t f)
                         void SetRFirst(Double_t f)
                         void SetAlphaLast(Double_t f)
                         void SetAlphaFirst(Double_t f)
                         void SetDca(Double_t f)
                         void SetNMax(Short_t f)
                         void ComesFromMainVertex(Bool_t f)
                      TClass* Class()
                      TClass* IsA() const
                         void ShowMembers(TMemberInspector& insp, char* parent)
                         void Streamer(TBuffer& b)
                  StFtpcTrack StFtpcTrack(StFtpcTrack&)


Author: Holm G. Hümmler, Markus D. Oldenburg
Last update: 22.05.2000
Copyright © MDO Production 1999


ROOT page - Home page - Class index - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.