StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
St_trigL3ExpandedC.h
1 #ifndef St_trigL3ExpandedC_h
2 #define St_trigL3ExpandedC_h
3 
4 #include "TChair.h"
5 #include "tables/St_trigL3Expanded_Table.h"
6 
7 class St_trigL3ExpandedC : public TChair {
8  public:
9  static St_trigL3ExpandedC* instance();
10  trigL3Expanded_st *Struct(Int_t i = 0) {return ((St_trigL3Expanded*) Table())->GetTable()+i;}
11  UInt_t getNumRows() {return GetNRows();}
12  Int_t runNumber(Int_t i = 0) {return Struct(i)->runNumber;}
13  Char_t* l2TriggerResultType(Int_t i = 0) {return Struct(i)->l2TriggerResultType;}
14  UChar_t* name(Int_t i = 0) {return Struct(i)->name;}
15  Int_t l3TrgId(Int_t i = 0) {return Struct(i)->l3TrgId;}
16  Int_t l3ExpandedTrgId(Int_t i = 0) {return Struct(i)->l3ExpandedTrgId;}
17  Int_t l2Algo(Int_t i = 0) {return Struct(i)->l2Algo;}
18  Float_t l2Ps(Int_t i = 0) {return Struct(i)->l2Ps;}
19  protected:
20  St_trigL3ExpandedC(St_trigL3Expanded *table=0) : TChair(table) {}
21  virtual ~St_trigL3ExpandedC() {if (Table()->IsMarked()) delete GetThisTable(); fgInstance = 0;}
22  private:
23  static St_trigL3ExpandedC* fgInstance;
24  ClassDefChair(St_trigL3Expanded, trigL3Expanded_st )
25  ClassDef(St_trigL3ExpandedC,1) //C++ TChair for trigL3Expanded table class
26 };
27 #endif
Definition: TChair.h:27