StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
St_tpcSCGLC.h
1 #ifndef St_tpcSCGLC_h
2 #define St_tpcSCGLC_h
3 #include "TChair.h"
4 #include "tables/St_tpcSCGL_Table.h"
5 
6 
7 class St_tpcSCGLC : public TChair {
8  public:
9  static St_tpcSCGLC* instance();
10 
11  tpcSCGL_st *Struct(Int_t i = 0) {return ((St_tpcSCGL*) Table())->GetTable()+i;}
12  float* SC() {return Struct()->SC;}
13  float* SCoffset() {return Struct()->SCoffset;}
14  float* SCexponent() {return Struct()->SCexponent;}
15  float* SCscaler() {return Struct()->SCscaler;}
16  float* GL() {return Struct()->GL;}
17  float* GLoffset() {return Struct()->GLoffset;}
18  float GLradius() {return Struct()->GLradius;}
19  float GLwidth() {return Struct()->GLwidth;}
20  int mode() {return Struct()->mode;}
21  char* comment() {return Struct()->comment;}
22 
23  protected:
24  St_tpcSCGLC(St_tpcSCGL *table=0) : TChair(table) {}
25  virtual ~St_tpcSCGLC() {fgInstance = 0;}
26  private:
27  static St_tpcSCGLC* fgInstance;
28  ClassDef(St_tpcSCGLC,1)
29 };
30 #endif
Definition: TChair.h:27