StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
St_additionalTriggerIDC.h
1 #ifndef St_additionalTriggerIDC_h
2 #define St_additionalTriggerIDC_h
3 
4 #include "TChair.h"
5 #include "tables/St_additionalTriggerID_Table.h"
6 
8  public:
9  static St_additionalTriggerIDC* instance();
10  additionalTriggerID_st *Struct(Int_t i = 0) {return ((St_additionalTriggerID*) Table())->GetTable()+i;}
11  UInt_t getNumRows() {return GetNRows();}
12  UInt_t runNumber(Int_t i = 0) {return Struct(i)->runNumber;}
13  UInt_t eventNumber(Int_t i = 0) {return Struct(i)->eventNumber;}
14  UInt_t idxTrg(Int_t i = 0) {return Struct(i)->idxTrg;}
15  UInt_t daqTrgId(Int_t i = 0) {return Struct(i)->daqTrgId;}
16  UInt_t offlineTrgId(Int_t i = 0) {return Struct(i)->offlineTrgId;}
17  UInt_t trgNameVersion(Int_t i = 0) {return Struct(i)->trgNameVersion;}
18  UInt_t trgVersion(Int_t i = 0) {return Struct(i)->trgVersion;}
19  UInt_t threashVersion(Int_t i = 0) {return Struct(i)->threashVersion;}
20  UInt_t psVersion(Int_t i = 0) {return Struct(i)->psVersion;}
21  protected:
22  St_additionalTriggerIDC(St_additionalTriggerID *table=0) : TChair(table) {}
23  virtual ~St_additionalTriggerIDC() {if (Table()->IsMarked()) delete GetThisTable(); fgInstance = 0;}
24  private:
25  static St_additionalTriggerIDC* fgInstance;
26  ClassDefChair(St_additionalTriggerID, additionalTriggerID_st )
27  ClassDef(St_additionalTriggerIDC,1) //C++ TChair for additionalTriggerID table class
28 };
29 #endif
Definition: TChair.h:27