StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
St_bsmdeMapC.h
1 #ifndef St_bsmdeMapC_h
2 #define St_bsmdeMapC_h
3 
4 #include "TChair.h"
5 #include "tables/St_bsmdeMap_Table.h"
6 
7 class St_bsmdeMapC : public TChair {
8  public:
9  static St_bsmdeMapC* instance();
10  bsmdeMap_st *Struct(Int_t i = 0) const {return ((St_bsmdeMap*) Table())->GetTable()+i;}
11  UInt_t getNumRows() const {return GetNRows();}
12  UChar_t m(Int_t i = 0) const {return Struct(i)->m;}
13  UChar_t e(Int_t i = 0) const {return Struct(i)->e;}
14  UChar_t s(Int_t i = 0) const {return Struct(i)->s;}
15  UChar_t rdo(Int_t i = 0) const {return Struct(i)->rdo;}
16  unsigned short rdoChannel(Int_t i = 0) const {return Struct(i)->rdoChannel;}
17  UChar_t wire(Int_t i = 0) const {return Struct(i)->wire;}
18  UChar_t feeA(Int_t i = 0) const {return Struct(i)->feeA;}
19  Float_t eta(Int_t i = 0) const {return Struct(i)->eta;}
20  Float_t phi(Int_t i = 0) const {return Struct(i)->phi;}
21  protected:
22  St_bsmdeMapC(St_bsmdeMap *table=0) : TChair(table) {}
23  virtual ~St_bsmdeMapC() {fgInstance = 0;}
24  private:
25  static St_bsmdeMapC* fgInstance;
26  ClassDefChair(St_bsmdeMap, bsmdeMap_st )
27  ClassDef(St_bsmdeMapC,1) //C++ TChair for bsmdeMap table class
28 };
29 #endif
Definition: TChair.h:27