StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
St_istSimParC.h
1 #ifndef St_istSimParC_h
2 #define St_istSimParC_h
3 
4 #include "TChair.h"
5 #include "tables/St_istSimPar_Table.h"
6 
7 class St_istSimParC : public TChair {
8  public:
9  static St_istSimParC* instance();
10  istSimPar_st *Struct(Int_t i = 0) const {return ((St_istSimPar*) Table())->GetTable()+i;}
11  UInt_t getNumRows() const {return GetNRows();}
12  UChar_t mode(Int_t i = 0) const {return Struct(i)->mode;}
13  Float_t pCut(Int_t i = 0) const {return Struct(i)->pCut;}
14  Float_t effIst(Int_t i = 0) const {return Struct(i)->effIst;}
15  protected:
16  St_istSimParC(St_istSimPar *table=0) : TChair(table) {}
17  virtual ~St_istSimParC() {fgInstance = 0;}
18  private:
19  static St_istSimParC* fgInstance;
20  ClassDefChair(St_istSimPar, istSimPar_st )
21  ClassDef(St_istSimParC,1) //C++ TChair for istSimPar table class
22 };
23 #endif
Definition: TChair.h:27