StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
St_pvpdStrobeDefC.h
1 #ifndef St_pvpdStrobeDefC_h
2 #define St_pvpdStrobeDefC_h
3 
4 #include "TChair.h"
5 #include "tables/St_pvpdStrobeDef_Table.h"
6 
7 class St_pvpdStrobeDefC : public TChair {
8  public:
9  static St_pvpdStrobeDefC* instance();
10  pvpdStrobeDef_st *Struct(Int_t i = 0) const {return ((St_pvpdStrobeDef*) Table())->GetTable()+i;}
11  UInt_t getNumRows() const {return GetNRows();}
12  Int_t id(Int_t i = 0) const {return Struct(i)->id;}
13  Int_t strobeTdcMin(Int_t i = 0) const {return Struct(i)->strobeTdcMin;}
14  Int_t strobeTdcMax(Int_t i = 0) const {return Struct(i)->strobeTdcMax;}
15  protected:
16  St_pvpdStrobeDefC(St_pvpdStrobeDef *table=0) : TChair(table) {}
17  virtual ~St_pvpdStrobeDefC() {fgInstance = 0;}
18  private:
19  static St_pvpdStrobeDefC* fgInstance;
20  ClassDefChair(St_pvpdStrobeDef, pvpdStrobeDef_st )
21  ClassDef(St_pvpdStrobeDefC,1) //C++ TChair for pvpdStrobeDef table class
22 };
23 #endif
Definition: TChair.h:27