StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
St_tpcFieldCageShortC.h
1 #ifndef St_tpcFieldCageShortC_h
2 #define St_tpcFieldCageShortC_h
3 
4 #include "TChair.h"
5 #include "tables/St_tpcFieldCageShort_Table.h"
6 
7 class St_tpcFieldCageShortC : public TChair {
8  public:
9  static St_tpcFieldCageShortC* instance();
10  tpcFieldCageShort_st *Struct(Int_t i = 0) {return ((St_tpcFieldCageShort*) Table())->GetTable()+i;}
11  UInt_t getNumRows() {return GetNRows();}
12  Float_t side(Int_t i = 0) {return Struct(i)->side;}
13  Float_t cage(Int_t i = 0) {return Struct(i)->cage;}
14  Float_t ring(Int_t i = 0) {return Struct(i)->ring;}
15  Float_t resistor(Int_t i = 0) {return Struct(i)->resistor;}
16  Float_t MissingResistance(Int_t i = 0) {return Struct(i)->MissingResistance;}
17  protected:
18  St_tpcFieldCageShortC(St_tpcFieldCageShort *table=0) : TChair(table) {}
19  virtual ~St_tpcFieldCageShortC() {fgInstance = 0;}
20  private:
21  static St_tpcFieldCageShortC* fgInstance;
22  ClassDefChair(St_tpcFieldCageShort, tpcFieldCageShort_st )
23  ClassDef(St_tpcFieldCageShortC,1) //C++ TChair for tpcFieldCageShort table class
24 };
25 #endif
Definition: TChair.h:27