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