StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StiTrackingParameters.h
1 #ifndef StiTrackingParameters_h
2 #define StiTrackingParameters_h
3 
4 #include "TChair.h"
5 #include "tables/St_TrackingParameters_Table.h"
6 
7 class StiTrackingParameters : public TChair {
8  public:
9  TrackingParameters_st *Struct(Int_t i = 0) const {return ((St_TrackingParameters*) Table())->GetTable()+i;}
10  UInt_t getNumRows() const {return GetNRows();}
11  Double_t minSearch(Int_t i = 0) const {return Struct(i)->minSearch;}
12  Double_t maxSearch(Int_t i = 0) const {return Struct(i)->maxSearch;}
13  Double_t scaling(Int_t i = 0) const {return Struct(i)->scaling;}
14  Double_t maxChi2(Int_t i = 0) const {return Struct(i)->maxChi2;}
15  Double_t getMinSearchWindow() const {return minSearch();}
16  Double_t getMaxSearchWindow() const {return maxSearch();}
17  Double_t getSearchWindowScale() const {return scaling();}
18  Double_t getMaxChi2ForSelection() const {return maxChi2();}
19 
20  protected:
21  StiTrackingParameters(St_TrackingParameters *table=0) : TChair(table) {}
22  virtual ~StiTrackingParameters() {}
23  private:
24  ClassDefineChair(StiTrackingParameters,St_TrackingParameters, TrackingParameters_st )
25  ClassDef(StiTrackingParameters,1) //C++ TChair for TrackingParameters table class
26 };
27 #endif
Definition: TChair.h:27