StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
St_itpcDeadFEEC.h
1 #ifndef St_itpcDeadFEEC_h
2 #define St_itpcDeadFEEC_h
3 
4 #include "TChair.h"
5 #include "tables/St_itpcDeadFEE_Table.h"
6 
7 class St_itpcDeadFEEC : public TChair {
8  public:
9  static St_itpcDeadFEEC* instance();
10  itpcDeadFEE_st *Struct(Int_t i = 0) const {return ((St_itpcDeadFEE*) Table())->GetTable()+i;}
11  UInt_t getNumRows() const {return GetNRows();}
12  Short_t sector(Int_t i = 0) const {return Struct(i)->sector;}
13  Short_t row(Int_t i = 0) const {return Struct(i)->row;}
14  Short_t padMin(Int_t i = 0) const {return Struct(i)->padMin;}
15  Short_t padMax(Int_t i = 0) const {return Struct(i)->padMax;}
16  Short_t FEE(Int_t i = 0) const {return Struct(i)->FEE;}
17  Short_t RDO(Int_t i = 0) const {return Struct(i)->RDO;}
18  protected:
19  St_itpcDeadFEEC(St_itpcDeadFEE *table=0) : TChair(table) {}
20  virtual ~St_itpcDeadFEEC() {fgInstance = 0;}
21  private:
22  static St_itpcDeadFEEC* fgInstance;
23  ClassDefChair(St_itpcDeadFEE, itpcDeadFEE_st )
24  ClassDef(St_itpcDeadFEEC,1) //C++ TChair for itpcDeadFEE table class
25 };
26 #endif
Definition: TChair.h:27