9 #ifndef STAR_StFtpcTracker
10 #define STAR_StFtpcTracker
13 #include "TBenchmark.h"
14 #include "StFtpcVertex.hh"
15 #include "TObjArray.h"
31 Bool_t mVertexCreated;
41 Bool_t bench = (Bool_t)kFALSE,
42 Double_t max_Dca = 100.);
45 Bool_t bench = (Bool_t)kFALSE,
46 Double_t max_Dca = 100.);
53 Char_t sector, UChar_t iterations = 1);
55 Double_t lowAngle, Double_t highAngle,
56 Double_t lowRadius, Double_t highRadius,
57 UChar_t iterations = 1);
59 void Sorter(Double_t *arr, Int_t *index, Int_t len);
60 Int_t GlobalFitAnddEdx() {
return FitAnddEdx(kFALSE); }
61 Int_t PrimaryFitAnddEdx() {
return FitAnddEdx(kTRUE); }
62 Int_t FitAnddEdx(Bool_t primary_fit);
63 Int_t GlobalFit() {
return Fit(kFALSE); }
64 Int_t PrimaryFit() {
return Fit(kTRUE); }
65 Int_t
Fit(Bool_t primary_fit);
68 Float_t GetTime() {
return mTime; }
69 Float_t GetTime(
char name[10]) {
return mBench->GetCpuTime(name); }
73 Int_t GetNumberOfClusters() {
return mHit->GetEntriesFast(); }
74 Int_t GetNumberOfTracks() {
return mTrack->GetEntriesFast(); }
75 TObjArray *GetClusters() {
return mHit; }
76 TObjArray *GetTracks() {
return mTrack; }
77 Double_t GetMaxDca()
const {
return mMaxDca; }
80 void SetMaxDca(Double_t f) { mMaxDca = f; }
Int_t Fit(Bool_t primary_fit)
StFtpcTracker()
Default constructor. Sets the pointers to 0 an cut for momentum fit loosely.
virtual ~StFtpcTracker()
Destructor.
void EstimateVertex(StFtpcVertex *vertex, UChar_t iterations=1)
Vertex estimation with fit tracks for FTPC east and west.
void Sorter(Double_t *arr, Int_t *index, Int_t len)