00001 #ifndef StiLocalTrackSeedFinderParameters_h
00002 #define StiLocalTrackSeedFinderParameters_h
00003
00004 #include "TChair.h"
00005 #include "tables/St_LocalTrackSeedFinder_Table.h"
00006
00007 class StiLocalTrackSeedFinderParameters : public TChair {
00008 public:
00009 static StiLocalTrackSeedFinderParameters* instance();
00010 LocalTrackSeedFinder_st *Struct(Int_t i = 0) {return ((St_LocalTrackSeedFinder*) Table())->GetTable()+i;}
00011 UInt_t getNumRows() {return GetNRows();}
00012 Double_t deltaY(Int_t i = 0) {return Struct(i)->deltaY;}
00013 Double_t deltaZ(Int_t i = 0) {return Struct(i)->deltaZ;}
00014 Double_t mExtrapDeltaY(Int_t i = 0) {return Struct(i)->mExtrapDeltaY;}
00015 Double_t mExtrapDeltaZ(Int_t i = 0) {return Struct(i)->mExtrapDeltaZ;}
00016 Int_t seedLength(Int_t i = 0) {return Struct(i)->seedLength;}
00017 Int_t maxSkipped(Int_t i = 0) {return Struct(i)->maxSkipped;}
00018 Int_t extrapMaxLength(Int_t i = 0) {return Struct(i)->extrapMaxLength;}
00019 Int_t extrapMinLength(Int_t i = 0) {return Struct(i)->extrapMinLength;}
00020 Int_t useOrigin(Int_t i = 0) {return Struct(i)->useOrigin;}
00021 Double_t extrapDeltaY() {return mExtrapDeltaY();}
00022 Double_t extrapDeltaZ() {return mExtrapDeltaZ();}
00023
00024 protected:
00025 StiLocalTrackSeedFinderParameters(St_LocalTrackSeedFinder *table=0) : TChair(table) {}
00026 virtual ~StiLocalTrackSeedFinderParameters() {fgInstance = 0;}
00027 private:
00028 static StiLocalTrackSeedFinderParameters* fgInstance;
00029 ClassDefineChair(StiLocalTrackSeedFinderParameters,St_LocalTrackSeedFinder, LocalTrackSeedFinder_st )
00030 ClassDef(StiLocalTrackSeedFinderParameters,1)
00031 };
00032 #endif