StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
St_EbyET0C.h
1 #ifndef St_EbyET0C_h
2 #define St_EbyET0C_h
3 #include "TChair.h"
4 #include "tables/St_EbyET0_Table.h"
5 
6 class St_EbyET0C : public TChair {
7  public:
8  static St_EbyET0C* instance();
9  EbyET0_st *Struct(Int_t i = 0) const {return ((St_EbyET0*) Table())->GetTable()+i;}
10  UInt_t getNumRows() const {return GetNRows();}
11  Int_t detector(Int_t i = 0) const {return Struct(i)->detector;}
12  Double_t min(Int_t i = 0) const {return Struct(i)->min;}
13  Double_t max(Int_t i = 0) const {return Struct(i)->max;}
14  Int_t func(Int_t i = 0) const {return Struct(i)->func;}
15  Double_t* par(Int_t i = 0) const {return Struct(i)->par;}
16  Double_t time(Int_t i, Double_t x);
17  Double_t T0(Int_t i, Double_t x) {return time(i,x);}
18  protected:
19  St_EbyET0C(St_EbyET0 *table=0) : TChair(table) {}
20  virtual ~St_EbyET0C() {fgInstance = 0;}
21  private:
22  static St_EbyET0C* fgInstance;
23 
24  ClassDefChair(St_EbyET0, EbyET0_st )
25  ClassDef(St_EbyET0C,1) //C++ TChair for EbyET0 table class
26 };
27 #endif
28 
Definition: TChair.h:27