StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
St_tpcSlowControlSimC.h
1 #ifndef St_tpcSlowControlSimC_h
2 #define St_tpcSlowControlSimC_h
3 
4 #include "TChair.h"
5 #include "tables/St_tpcSlowControlSim_Table.h"
6 
7 class St_tpcSlowControlSimC : public TChair {
8  public:
9  static St_tpcSlowControlSimC* instance();
10  tpcSlowControlSim_st *Struct(Int_t i = 0) {return ((St_tpcSlowControlSim*) Table())->GetTable()+i;}
11  UInt_t getNumRows() {return GetNRows();}
12  Double_t driftVelocity(Int_t i = 0) {return Struct(i)->driftVelocity;}
13  Double_t driftVoltage(Int_t i = 0) {return Struct(i)->driftVoltage;}
14  Double_t innerSectorAnodeVoltage(Int_t i = 0) {return Struct(i)->innerSectorAnodeVoltage;}
15  Double_t innerSectorGatingGridV(Int_t i = 0) {return Struct(i)->innerSectorGatingGridV;}
16  Double_t outerSectorAnodeVoltage(Int_t i = 0) {return Struct(i)->outerSectorAnodeVoltage;}
17  Double_t outerSectorGatingGridV(Int_t i = 0) {return Struct(i)->outerSectorGatingGridV;}
18  Double_t innerSectorGasGain(Int_t i = 0) {return Struct(i)->innerSectorGasGain;}
19  Double_t innerSectorGasGainVzero(Int_t i = 0) {return Struct(i)->innerSectorGasGainVzero;}
20  Double_t innerSectorGasGainb(Int_t i = 0) {return Struct(i)->innerSectorGasGainb;}
21  Double_t outerSectorGasGain(Int_t i = 0) {return Struct(i)->outerSectorGasGain;}
22  Double_t outerSectorGasGainVzero(Int_t i = 0) {return Struct(i)->outerSectorGasGainVzero;}
23  Double_t outerSectorGasGainb(Int_t i = 0) {return Struct(i)->outerSectorGasGainb;}
24  Double_t hallPressure(Int_t i = 0) {return Struct(i)->hallPressure;}
25  Double_t hallTemperature(Int_t i = 0) {return Struct(i)->hallTemperature;}
26  protected:
27  St_tpcSlowControlSimC(St_tpcSlowControlSim *table=0) : TChair(table) {}
28  virtual ~St_tpcSlowControlSimC() {fgInstance = 0;}
29  private:
30  static St_tpcSlowControlSimC* fgInstance;
31  ClassDefChair(St_tpcSlowControlSim, tpcSlowControlSim_st )
32  ClassDef(St_tpcSlowControlSimC,1) //C++ TChair for tpcSlowControlSim table class
33 };
34 #endif
Definition: TChair.h:27