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