StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
St_tofSimResParamsC.h
1 #ifndef St_tofSimResParamsC_h
2 #define St_tofSimResParamsC_h
3 
4 #include "TChair.h"
5 #include "tables/St_tofSimResParams_Table.h"
6 class TBrowser;
7 
8 class St_tofSimResParamsC : public TChair {
9  public:
10  static St_tofSimResParamsC* instance();
11  tofSimResParams_st *Struct(Int_t i = 0) const {return ((St_tofSimResParams*) Table())->GetTable()+i;}
12  UInt_t getNumRows() const {return GetNRows();}
13  UShort_t * resolution(Int_t i = 0) const {return Struct(i)->resolution;}
14  UChar_t* algoFlag(Int_t i = 0) const {return Struct(i)->algoFlag;}
15  static Double_t average_timeres_tof(){return mAverageTimeResTof;}
16  static Double_t timeres_tof(UInt_t itray, UInt_t imodule, UInt_t icell);
17  void Browse(TBrowser *b) {}
18  protected:
19  static Double_t params[120][192];
20  static Double_t mAverageTimeResTof;
21  St_tofSimResParamsC(St_tofSimResParams *table=0) : TChair(table) {}
22  virtual ~St_tofSimResParamsC() {fgInstance = 0;}
23  private:
24  static St_tofSimResParamsC* fgInstance;
25  ClassDefChair(St_tofSimResParams, tofSimResParams_st )
26  ClassDef(St_tofSimResParamsC,1) //C++ TChair for tofSimResParams table class
27 };
28 #endif
Definition: TChair.h:27
void Browse(TBrowser *b)
Browse this dataset (called by TBrowser).