StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
St_asic_thresholds_tpxC.h
1 #ifndef St_asic_thresholds_tpxC_h
2 #define St_asic_thresholds_tpxC_h
3 
4 #include "TChair.h"
5 #include "tables/St_asic_thresholds_tpx_Table.h"
6 
8  public:
9  static St_asic_thresholds_tpxC* instance();
10  asic_thresholds_tpx_st *Struct(Int_t i = 0) {return ((St_asic_thresholds_tpx*) Table())->GetTable()+i;}
11  UInt_t getNumRows() {return GetNRows();}
12  Int_t thresh_lo(Int_t i = 0) {return Struct(i)->thresh_lo;}
13  Int_t thresh_hi(Int_t i = 0) {return Struct(i)->thresh_hi;}
14  Int_t n_seq_lo(Int_t i = 0) {return Struct(i)->n_seq_lo;}
15  Int_t n_seq_hi(Int_t i = 0) {return Struct(i)->n_seq_hi;}
16  protected:
17  St_asic_thresholds_tpxC(St_asic_thresholds_tpx *table=0) : TChair(table) {}
18  virtual ~St_asic_thresholds_tpxC() {fgInstance = 0;}
19  private:
20  static St_asic_thresholds_tpxC* fgInstance;
21  ClassDefChair(St_asic_thresholds_tpx, asic_thresholds_tpx_st )
22  ClassDef(St_asic_thresholds_tpxC,1) //C++ TChair for asic_thresholds_tpx table class
23 };
24 #endif
Definition: TChair.h:27