StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
St_tpcAltroParamsC.h
1 #ifndef St_tpcAltroParamsC_h
2 #define St_tpcAltroParamsC_h
3 
4 #include "TChair.h"
5 #include "tables/St_tpcAltroParams_Table.h"
6 
7 class St_tpcAltroParamsC : public TChair {
8  public:
9  static St_tpcAltroParamsC* instance();
10  tpcAltroParams_st *Struct(Int_t i = 0) {return ((St_tpcAltroParams*) Table())->GetTable()+i;}
11  UInt_t getNumRows() {return GetNRows();}
12  Int_t N(Int_t i = 0) {return Struct(i)->N;}
13  Int_t Threshold(Int_t i = 0) {return Struct(i)->Altro_thr;}
14  Int_t MinSamplesaboveThreshold(Int_t i = 0) {return Struct(i)->Altro_seq;}
15  Int_t K1(Int_t i = 0) {return Struct(i)->Altro_K1;}
16  Int_t K2(Int_t i = 0) {return Struct(i)->Altro_K2;}
17  Int_t K3(Int_t i = 0) {return Struct(i)->Altro_K3;}
18  Int_t L1(Int_t i = 0) {return Struct(i)->Altro_L1;}
19  Int_t L2(Int_t i = 0) {return Struct(i)->Altro_L2;}
20  Int_t L3(Int_t i = 0) {return Struct(i)->Altro_L3;}
21  protected:
22  St_tpcAltroParamsC(St_tpcAltroParams *table=0) : TChair(table) {}
23  virtual ~St_tpcAltroParamsC() {fgInstance = 0;}
24  private:
25  static St_tpcAltroParamsC* fgInstance;
26  ClassDefChair(St_tpcAltroParams, tpcAltroParams_st )
27  ClassDef(St_tpcAltroParamsC,1) //C++ TChair for tpcAltroParams table class
28 };
29 #endif
Definition: TChair.h:27