StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
St_tofTrgWindowC.h
1 #ifndef St_tofTrgWindowC_h
2 #define St_tofTrgWindowC_h
3 
4 #include "TChair.h"
5 #include "tables/St_tofTrgWindow_Table.h"
6 
7 class St_tofTrgWindowC : public TChair {
8  public:
9  static St_tofTrgWindowC* instance();
10  tofTrgWindow_st *Struct(Int_t i = 0) const {return ((St_tofTrgWindow*) Table())->GetTable()+i;}
11  UInt_t getNumRows() const {return GetNRows();}
12  unsigned short trgWindow_Min(Int_t i = 0) const {return Struct(i)->trgWindow_Min;}
13  unsigned short trgWindow_Max(Int_t i = 0) const {return Struct(i)->trgWindow_Max;}
14  protected:
15  St_tofTrgWindowC(St_tofTrgWindow *table=0) : TChair(table) {}
16  virtual ~St_tofTrgWindowC() {fgInstance = 0;}
17  private:
18  static St_tofTrgWindowC* fgInstance;
19  ClassDefChair(St_tofTrgWindow, tofTrgWindow_st )
20  ClassDef(St_tofTrgWindowC,1) //C++ TChair for tofTrgWindow table class
21 };
22 #endif
Definition: TChair.h:27