StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
St_triggerInfoC.h
1 #ifndef St_triggerInfoC_h
2 #define St_triggerInfoC_h
3 
4 #include "TChair.h"
5 #include "tables/St_triggerInfo_Table.h"
6 
7 class St_triggerInfoC : public TChair {
8  public:
9  static St_triggerInfoC* instance();
10  triggerInfo_st *Struct(Int_t i = 0) {return ((St_triggerInfo*) Table())->GetTable()+i;}
11  UInt_t getNumRows() {return GetNRows();}
12  Int_t runNumber(Int_t i = 0) {return Struct(i)->runNumber;}
13  Int_t idxTrg(Int_t i = 0) {return Struct(i)->idxTrg;}
14  Int_t daqTrgId(Int_t i = 0) {return Struct(i)->daqTrgId;}
15  Int_t offlineTrgId(Int_t i = 0) {return Struct(i)->offlineTrgId;}
16  Int_t trgNameVersion(Int_t i = 0) {return Struct(i)->trgNameVersion;}
17  Int_t trgVersion(Int_t i = 0) {return Struct(i)->trgVersion;}
18  Int_t threashVersion(Int_t i = 0) {return Struct(i)->threashVersion;}
19  Int_t psVersion(Int_t i = 0) {return Struct(i)->psVersion;}
20  Int_t psL0(Int_t i = 0) {return Struct(i)->psL0;}
21  Char_t* name(Int_t i = 0) {return Struct(i)->name;}
22  UInt_t detectorLiveOnBits(Int_t i = 0) {return Struct(i)->detectorLiveOnBits;}
23  UInt_t detectorLiveOffBits(Int_t i = 0){return Struct(i)->detectorLiveOffBits;}
24  UInt_t detectorRequest(Int_t i = 0) {return Struct(i)->detectorRequest;}
25  Int_t idxLevel(Int_t i = 0) {return Struct(i)->idxLevel;}
26  Int_t algorithmId(Int_t i = 0) {return Struct(i)->algorithmId;}
27  Float_t ps(Int_t i = 0) {return Struct(i)->ps;}
28  protected:
29  St_triggerInfoC(St_triggerInfo *table=0) : TChair(table) {}
30  virtual ~St_triggerInfoC() {fgInstance = 0;}
31  private:
32  static St_triggerInfoC* fgInstance;
33  ClassDefChair(St_triggerInfo, triggerInfo_st )
34  ClassDef(St_triggerInfoC,1) //C++ TChair for triggerInfo table class
35 };
36 #endif
Definition: TChair.h:27