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