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