StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
St_bsmdpMapC.h
1 #ifndef St_bsmdpMapC_h
2 #define St_bsmdpMapC_h
3 
4 #include "TChair.h"
5 #include "tables/St_bsmdpMap_Table.h"
6 
7 class St_bsmdpMapC : public TChair {
8  public:
9  static St_bsmdpMapC* instance();
10  bsmdpMap_st *Struct(Int_t i = 0) const {return ((St_bsmdpMap*) 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_bsmdpMapC(St_bsmdpMap *table=0) : TChair(table) {}
23  virtual ~St_bsmdpMapC() {fgInstance = 0;}
24  private:
25  static St_bsmdpMapC* fgInstance;
26  ClassDefChair(St_bsmdpMap, bsmdpMap_st )
27  ClassDef(St_bsmdpMapC,1) //C++ TChair for bsmdpMap table class
28 };
29 #endif
Definition: TChair.h:27