StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
St_istControlC.h
1 #ifndef St_istControlC_h
2 #define St_istControlC_h
3 
4 #include "TChair.h"
5 #include "tables/St_istControl_Table.h"
6 
7 class St_istControlC : public TChair {
8  public:
9  static St_istControlC* instance();
10  istControl_st *Struct(Int_t i = 0) const {return ((St_istControl*) Table())->GetTable()+i;}
11  UInt_t getNumRows() const {return GetNRows();}
12  Float_t kIstChanMaxRmsNoiseLevel(Int_t i = 0) const {return Struct(i)->kIstChanMaxRmsNoiseLevel;}
13  Float_t kIstChanMinRmsNoiseLevel(Int_t i = 0) const {return Struct(i)->kIstChanMinRmsNoiseLevel;}
14  Float_t kIstApvMaxCmNoiseLevel(Int_t i = 0) const {return Struct(i)->kIstApvMaxCmNoiseLevel;}
15  Float_t kIstPedCutDefault(Int_t i = 0) const {return Struct(i)->kIstPedCutDefault;}
16  Float_t kIstHitCutDefault(Int_t i = 0) const {return Struct(i)->kIstHitCutDefault;}
17  Float_t kIstCMNCutDefault(Int_t i = 0) const {return Struct(i)->kIstCMNCutDefault;}
18  unsigned short kIstMinNumOfRawHits(Int_t i = 0) const {return Struct(i)->kIstMinNumOfRawHits;}
19  unsigned short kIstMaxNumOfRawHits(Int_t i = 0) const {return Struct(i)->kIstMaxNumOfRawHits;}
20  UChar_t kIstAlldata(Int_t i = 0) const {return Struct(i)->kIstAlldata;}
21  UChar_t kIstADCdata(Int_t i = 0) const {return Struct(i)->kIstADCdata;}
22  UChar_t kIstZSdata(Int_t i = 0) const {return Struct(i)->kIstZSdata;}
23  UChar_t kIstDefaultTimeBin(Int_t i = 0) const {return Struct(i)->kIstDefaultTimeBin;}
24  UChar_t kIstCurrentTimeBinNum(Int_t i = 0) const {return Struct(i)->kIstCurrentTimeBinNum;}
25  protected:
26  St_istControlC(St_istControl *table=0) : TChair(table) {}
27  virtual ~St_istControlC() {fgInstance = 0;}
28  private:
29  static St_istControlC* fgInstance;
30  ClassDefChair(St_istControl, istControl_st )
31  ClassDef(St_istControlC,1) //C++ TChair for istControl table class
32 };
33 #endif
Definition: TChair.h:27