StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
St_tpcDriftVelocityC.h
1 #ifndef St_tpcDriftVelocityC_h
2 #define St_tpcDriftVelocityC_h
3 
4 #include "TChair.h"
5 #include "tables/St_tpcDriftVelocity_Table.h"
6 
7 class St_tpcDriftVelocityC : public TChair {
8  public:
9  static St_tpcDriftVelocityC* instance();
10  tpcDriftVelocity_st *Struct(Int_t i = 0) {return ((St_tpcDriftVelocity*) Table())->GetTable()+i;}
11  UInt_t getNumRows() {return GetNRows();}
12  Float_t laserDriftVelocityEast(Int_t i = 0) {return Struct(i)->laserDriftVelocityEast;}
13  Float_t laserDriftVelocityWest(Int_t i = 0) {return Struct(i)->laserDriftVelocityWest;}
14  Float_t cathodeDriftVelocityEast(Int_t i = 0) {return Struct(i)->cathodeDriftVelocityEast;}
15  Float_t cathodeDriftVelocityWest(Int_t i = 0) {return Struct(i)->cathodeDriftVelocityWest;}
16  Float_t timeBucketPitch(Int_t i = 0); // cm
17 #if 0
18  Float_t scaleY(Int_t i = 0) {return Struct(i)->scaleY;}
19 #endif
20  protected:
21  St_tpcDriftVelocityC(St_tpcDriftVelocity *table=0) : TChair(table) {}
22  virtual ~St_tpcDriftVelocityC() {fgInstance = 0;}
23  private:
24  static St_tpcDriftVelocityC* fgInstance;
25  ClassDefChair(St_tpcDriftVelocity, tpcDriftVelocity_st )
26  ClassDef(St_tpcDriftVelocityC,1) //C++ TChair for tpcDriftVelocity table class
27 };
28 #endif
Definition: TChair.h:27