StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
St_tpcMaxHitsC.h
1 #ifndef St_tpcMaxHitsC_h
2 #define St_tpcMaxHitsC_h
3 #include "TChair.h"
4 #include "tables/St_tpcMaxHits_Table.h"
5 class TBrowser;
6 class St_tpcMaxHitsC : public TChair {
7  public:
8  static St_tpcMaxHitsC* instance();
9  tpcMaxHits_st *Struct(Int_t i = 0) {return ((St_tpcMaxHits*) Table())->GetTable()+i;}
10  Int_t maxSectorHits() {return Struct()->maxSectorHits;}
11  Int_t maxBinZeroHits() {return Struct()->maxBinZeroHits;}
12  void Browse(TBrowser *b) {}
13  protected:
14  St_tpcMaxHitsC(St_tpcMaxHits *table=0) : TChair(table) {}
15  virtual ~St_tpcMaxHitsC() {fgInstance = 0;}
16  private:
17  static St_tpcMaxHitsC* fgInstance;
18  ClassDef(St_tpcMaxHitsC,1)
19 };
20 #endif
Definition: TChair.h:27
void Browse(TBrowser *b)
Browse this dataset (called by TBrowser).