StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
St_emcTriggerPedC.h
1 #ifndef St_emcTriggerPedC_h
2 #define St_emcTriggerPedC_h
3 
4 #include "TChair.h"
5 #include "tables/St_emcTriggerPed_Table.h"
6 
7 class St_emcTriggerPedC : public TChair {
8  public:
9  emcTriggerPed_st *Struct(Int_t i = 0) const {return ((St_emcTriggerPed*) Table())->GetTable()+i;}
10  UInt_t getNumRows() const {return GetNRows();}
11  UInt_t PedShift(Int_t i = 0) const {return Struct(i)->PedShift;}
12  UInt_t* BitConversionMode(Int_t i = 0) const {return &Struct(i)->BitConversionMode[0][0];}
13  UInt_t* Ped(Int_t i = 0) const {return &Struct(i)->Ped[0][0];}
14  protected:
15  St_emcTriggerPedC(St_emcTriggerPed *table=0) : TChair(table) {}
16  virtual ~St_emcTriggerPedC() {}
17  private:
18  ClassDefChair(St_emcTriggerPed, emcTriggerPed_st )
19  ClassDef(St_emcTriggerPedC,1) //C++ TChair for emcTriggerPed table class
20 };
22  public:
23  static St_bemcTriggerPedC* instance();
24  protected:
25  St_bemcTriggerPedC(St_emcTriggerPed *table=0) : St_emcTriggerPedC(table) {}
26  virtual ~St_bemcTriggerPedC() {fgInstance = 0;}
27  private:
28  static St_bemcTriggerPedC* fgInstance;
29  ClassDef(St_bemcTriggerPedC,1) //C++ TChair for emcTriggerPed table class
30 };
31 #endif
Definition: TChair.h:27