StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
St_tss_tssparC.h
1 #ifndef St_tss_tssparC_h
2 #define St_tss_tssparC_h
3 
4 #include "TChair.h"
5 #include "tables/St_tss_tsspar_Table.h"
6 class St_tss_tssparC : public TChair {
7  public:
8  static St_tss_tssparC* instance();
9  tss_tsspar_st *Struct(Int_t i = 0) {return ((St_tss_tsspar*) Table())->GetTable()+i;}
10  UInt_t getNumRows() {return GetNRows();}
11  Char_t* fileout(Int_t i = 0) {return Struct(i)->fileout;}
12  Int_t dynam(Int_t i = 0) {return Struct(i)->dynam;}
13  Int_t format(Int_t i = 0) {return Struct(i)->format;}
14  Int_t max_itime(Int_t i = 0) {return Struct(i)->max_itime;}
15  Int_t max_pads(Int_t i = 0) {return Struct(i)->max_pads;}
16  Int_t max_row(Int_t i = 0) {return Struct(i)->max_row;}
17  Int_t max_sect(Int_t i = 0) {return Struct(i)->max_sect;}
18  Int_t min_itime(Int_t i = 0) {return Struct(i)->min_itime;}
19  Int_t min_pads(Int_t i = 0) {return Struct(i)->min_pads;}
20  Int_t min_row(Int_t i = 0) {return Struct(i)->min_row;}
21  Int_t min_sect(Int_t i = 0) {return Struct(i)->min_sect;}
22  Int_t mode(Int_t i = 0) {return Struct(i)->mode;}
23  Int_t nele_laser(Int_t i = 0) {return Struct(i)->nele_laser;}
24  Int_t ngain(Int_t i = 0) {return Struct(i)->ngain;}
25  Int_t nseg(Int_t i = 0) {return Struct(i)->nseg;}
26  Int_t ntime(Int_t i = 0) {return Struct(i)->ntime;}
27  Int_t printout(Int_t i = 0) {return Struct(i)->printout;}
28  Int_t tpc_half(Int_t i = 0) {return Struct(i)->tpc_half;}
29  Int_t reset(Int_t i = 0) {return Struct(i)->reset;}
30  Float_t ave_ion_pot(Int_t i = 0){return Struct(i)->ave_ion_pot;}
31  Float_t bfield(Int_t i = 0) {return Struct(i)->bfield;}
32  Float_t c_test(Int_t i = 0) {return Struct(i)->c_test;}
33  Float_t diff_long(Int_t i = 0) {return Struct(i)->diff_long;}
34  Float_t diff_trans(Int_t i = 0) {return Struct(i)->diff_trans;}
35  Float_t gain_in(Int_t i = 0) {return Struct(i)->gain_in;}
36  Float_t gain_in(Int_t sec, Int_t row) {return gain(sec,row);}
37  Float_t gain_out(Int_t i = 0) {return Struct(i)->gain_out;}
38  Float_t gain_out(Int_t sec, Int_t row) {return gain(sec,row);}
39  Float_t gain(Int_t sec, Int_t row);
40  Float_t prf_in(Int_t i = 0) {return Struct(i)->prf_in;}
41  Float_t prf_out(Int_t i = 0) {return Struct(i)->prf_out;}
42  Float_t sca_rms(Int_t i = 0) {return Struct(i)->sca_rms;}
43  Float_t scale(Int_t i = 0) {return Struct(i)->scale;}
44  Float_t step_size(Int_t i = 0) {return Struct(i)->step_size;}
45  Float_t tau(Int_t i = 0) {return Struct(i)->tau;}
46  Float_t threshold(Int_t i = 0) {return Struct(i)->threshold;}
47  Float_t time_offset(Int_t i = 0){return Struct(i)->time_offset;}
48  Float_t v_test(Int_t i = 0) {return Struct(i)->v_test;}
49  Float_t white_rms(Int_t i = 0) {return Struct(i)->white_rms;}
50  Float_t wire_coupling_in(Int_t i = 0) {return Struct(i)->wire_coupling_in;}
51  Float_t wire_coupling_out(Int_t i = 0) {return Struct(i)->wire_coupling_out;}
52  Float_t x_laser(Int_t i = 0) {return Struct(i)->x_laser;}
53  Float_t y_laser(Int_t i = 0) {return Struct(i)->y_laser;}
54  Float_t z_laser(Int_t i = 0) {return Struct(i)->z_laser;}
55  protected:
56  St_tss_tssparC(St_tss_tsspar *table=0) : TChair(table) {}
57  virtual ~St_tss_tssparC() {fgInstance = 0;}
58  private:
59  static St_tss_tssparC* fgInstance;
60  ClassDefChair(St_tss_tsspar, tss_tsspar_st )
61  ClassDef(St_tss_tssparC,1) //C++ TChair for tss_tsspar table class
62 };
63 #endif
Definition: TChair.h:27