StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
St_L0TriggerInfoC.h
1 #ifndef St_L0TriggerInfoC_h
2 #define St_L0TriggerInfoC_h
3 
4 #include "TChair.h"
5 #include "tables/St_L0TriggerInfo_Table.h"
6 
7 class St_L0TriggerInfoC : public TChair {
8  public:
9  static St_L0TriggerInfoC* instance();
10  L0TriggerInfo_st *Struct(Int_t i = 0) {return ((St_L0TriggerInfo*) Table())->GetTable()+i;}
11  UInt_t getNumRows() {return GetNRows();}
12  Int_t runNumber(Int_t i = 0) {return Struct(i)->runNumber;}
13  Int_t daqTriggerId(Int_t i = 0) {return Struct(i)->daqTriggerId;}
14  Int_t offlineTriggerId(Int_t i = 0) {return Struct(i)->offlineTriggerId;}
15  Int_t psL0(Int_t i = 0) {return Struct(i)->psL0;}
16  Char_t* name(Int_t i = 0) {return Struct(i)->name;}
17  UInt_t detectorLiveOnBits(Int_t i = 0) {return Struct(i)->detectorLiveOnBits;}
18  UInt_t detectorLiveOffBits(Int_t i = 0){return Struct(i)->detectorLiveOffBits;}
19  UInt_t detectorRequest(Int_t i = 0) {return Struct(i)->detectorRequest;}
20  protected:
21  St_L0TriggerInfoC(St_L0TriggerInfo *table=0) : TChair(table) {}
22  virtual ~St_L0TriggerInfoC() {fgInstance = 0;}
23  private:
24  static St_L0TriggerInfoC* fgInstance;
25  ClassDefChair(St_L0TriggerInfo, L0TriggerInfo_st )
26  ClassDef(St_L0TriggerInfoC,1) //C++ TChair for L0TriggerInfo table class
27 };
28 #endif
Definition: TChair.h:27