StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
St_emcTriggerLUTC.h
1 #ifndef St_emcTriggerLUTC_h
2 #define St_emcTriggerLUTC_h
3 
4 #include "TChair.h"
5 #include "tables/St_emcTriggerLUT_Table.h"
6 
7 class St_emcTriggerLUTC : public TChair {
8  public:
9  emcTriggerLUT_st *Struct(Int_t i = 0) const {return ((St_emcTriggerLUT*) Table())->GetTable()+i;}
10  UInt_t getNumRows() const {return GetNRows();}
11  UInt_t* FormulaTag(Int_t i = 0) const {return &Struct(i)->FormulaTag[0][0];}
12  UInt_t* FormulaParameter0(Int_t i = 0) const {return &Struct(i)->FormulaParameter0[0][0];}
13  UInt_t* FormulaParameter1(Int_t i = 0) const {return &Struct(i)->FormulaParameter1[0][0];}
14  UInt_t* FormulaParameter2(Int_t i = 0) const {return &Struct(i)->FormulaParameter2[0][0];}
15  UInt_t* FormulaParameter3(Int_t i = 0) const {return &Struct(i)->FormulaParameter3[0][0];}
16  UInt_t* FormulaParameter4(Int_t i = 0) const {return &Struct(i)->FormulaParameter4[0][0];}
17  UInt_t* FormulaParameter5(Int_t i = 0) const {return &Struct(i)->FormulaParameter5[0][0];}
18  protected:
19  St_emcTriggerLUTC(St_emcTriggerLUT *table=0) : TChair(table) {}
20  virtual ~St_emcTriggerLUTC() {}
21  private:
22  ClassDefChair(St_emcTriggerLUT, emcTriggerLUT_st )
23  ClassDef(St_emcTriggerLUTC,1) //C++ TChair for emcTriggerLUT table class
24 };
26  public:
27  static St_bemcTriggerLUTC* instance();
28  protected:
29  St_bemcTriggerLUTC(St_emcTriggerLUT *table=0) : St_emcTriggerLUTC(table) {}
30  virtual ~St_bemcTriggerLUTC() {fgInstance = 0;}
31  private:
32  static St_bemcTriggerLUTC* fgInstance;
33  ClassDef(St_bemcTriggerLUTC,1) //C++ TChair for emcTriggerLUT table class
34 };
35 #endif
Definition: TChair.h:27