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