StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
St_tofINLSCorrC.h
1 #ifndef St_tofINLSCorrC_h
2 #define St_tofINLSCorrC_h
3 
4 #include "TChair.h"
5 #include "tables/St_tofINLSCorr_Table.h"
6 
7 class St_tofINLSCorrC : public TChair {
8  public:
9  static St_tofINLSCorrC* instance();
10  tofINLSCorr_st *Struct(Int_t i = 0) const {return ((St_tofINLSCorr*) 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  short* INLCorr(Int_t i = 0) const {return Struct(i)->INLCorr;}
15  protected:
16  St_tofINLSCorrC(St_tofINLSCorr *table=0) : TChair(table) {}
17  virtual ~St_tofINLSCorrC() {fgInstance = 0;}
18  private:
19  static St_tofINLSCorrC* fgInstance;
20  ClassDefChair(St_tofINLSCorr, tofINLSCorr_st )
21  ClassDef(St_tofINLSCorrC,1) //C++ TChair for tofINLSCorr table class
22 };
23 #endif
Definition: TChair.h:27