StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
St_asic_thresholdsC.h
1 #ifndef St_asic_thresholdsC_h
2 #define St_asic_thresholdsC_h
3 
4 #include "TChair.h"
5 #include "tables/St_asic_thresholds_Table.h"
6 
7 class St_asic_thresholdsC : public TChair {
8  public:
9  static St_asic_thresholdsC* instance();
10  asic_thresholds_st *Struct(Int_t i = 0) {return ((St_asic_thresholds*) 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_thresholdsC(St_asic_thresholds *table=0) : TChair(table) {}
18  virtual ~St_asic_thresholdsC() {fgInstance = 0;}
19  private:
20  static St_asic_thresholdsC* fgInstance;
21  ClassDefChair(St_asic_thresholds, asic_thresholds_st )
22  ClassDef(St_asic_thresholdsC,1) //C++ TChair for asic_thresholds table class
23 };
24 #endif
Definition: TChair.h:27