StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
St_tpcWirePlanesC.h
1 #ifndef St_tpcWirePlanesC_h
2 #define St_tpcWirePlanesC_h
3 
4 #include "TChair.h"
5 #include "tables/St_tpcWirePlanes_Table.h"
6 
7 class St_tpcWirePlanesC : public TChair {
8  public:
9  static St_tpcWirePlanesC* instance();
10  tpcWirePlanes_st *Struct(Int_t i = 0) {return ((St_tpcWirePlanes*) Table())->GetTable()+i;}
11  UInt_t getNumRows() {return GetNRows();}
12  Double_t anodeWireRadius(Int_t i = 0) {return Struct(i)->anodeWireRadius;}
13  Double_t frischGridWireRadius(Int_t i = 0) {return Struct(i)->frischGridWireRadius;}
14  Double_t gatingGridWireRadius(Int_t i = 0) {return Struct(i)->gatingGridWireRadius;}
15  Double_t anodeWirePitch(Int_t i = 0) {return Struct(i)->anodeWirePitch;}
16  Double_t frischGridWirePitch(Int_t i = 0) {return Struct(i)->frischGridWirePitch;}
17  Double_t gatingGridWirePitch(Int_t i = 0) {return Struct(i)->gatingGridWirePitch;}
18  Double_t innerSectorAnodeWirePadSep(Int_t i = 0) {return Struct(i)->innerSectorAnodeWirePadSep;}
19  Double_t innerSectorFrischGridPadSep(Int_t i = 0) {return Struct(i)->innerSectorFrischGridPadSep;}
20  Double_t innerSectorGatingGridPadSep(Int_t i = 0) {return Struct(i)->innerSectorGatingGridPadSep;}
21  Double_t outerSectorAnodeWirePadSep(Int_t i = 0) {return Struct(i)->outerSectorAnodeWirePadSep;}
22  Double_t outerSectorFrischGridPadSep(Int_t i = 0) {return Struct(i)->outerSectorFrischGridPadSep;}
23  Double_t outerSectorGatingGridPadSep(Int_t i = 0) {return Struct(i)->outerSectorGatingGridPadSep;}
24  Int_t numInnerSectorAnodeWires(Int_t i = 0) {return Struct(i)->numInnerSectorAnodeWires;}
25  Int_t numInnerSectorFrischGridWires(Int_t i = 0) {return Struct(i)->numInnerSectorFrischGridWires;}
26  Int_t numInnerSectorGatingGridWires(Int_t i = 0) {return Struct(i)->numInnerSectorGatingGridWires;}
27  Double_t firstInnerSectorAnodeWire(Int_t i = 0) {return Struct(i)->firstInnerSectorAnodeWire;}
28  Double_t firstInnerSectorFrischGridWire(Int_t i = 0) {return Struct(i)->firstInnerSectorFrischGridWire;}
29  Double_t firstInnerSectorGatingGridWire(Int_t i = 0) {return Struct(i)->firstInnerSectorGatingGridWire;}
30  Double_t lastInnerSectorAnodeWire(Int_t i = 0) {return Struct(i)->lastInnerSectorAnodeWire;}
31  Int_t numOuterSectorAnodeWires(Int_t i = 0) {return Struct(i)->numOuterSectorAnodeWires;}
32  Int_t numOuterSectorFrischGridWires(Int_t i = 0) {return Struct(i)->numOuterSectorFrischGridWires;}
33  Int_t numOuterSectorGatingGridWires(Int_t i = 0) {return Struct(i)->numOuterSectorGatingGridWires;}
34  Double_t firstOuterSectorAnodeWire(Int_t i = 0) {return Struct(i)->firstOuterSectorAnodeWire;}
35  Double_t firstOuterSectorFrischGridWire(Int_t i = 0) {return Struct(i)->firstOuterSectorFrischGridWire;}
36  Double_t firstOuterSectorGatingGridWire(Int_t i = 0) {return Struct(i)->firstOuterSectorGatingGridWire;}
37  Double_t lastOuterSectorAnodeWire(Int_t i = 0) {return Struct(i)->lastOuterSectorAnodeWire;}
38 
39  Double_t gateWireRadius(Int_t i = 0) {return gatingGridWireRadius(i);}
40  Double_t frischGridPitch(Int_t i = 0) {return frischGridWirePitch(i);}
41  Double_t gatePitch(Int_t i = 0) {return gatingGridWirePitch(i);}
42 
43  Double_t innerSectorAnodeWirePadPlaneSeparation(Int_t i = 0) {return innerSectorAnodeWirePadSep(i);}
44  Double_t innerSectorFrischGridPadPlaneSeparation(Int_t i = 0) {return innerSectorFrischGridPadSep(i);}
45  Double_t innerSectorGatingGridPadPlaneSeparation(Int_t i = 0) {return innerSectorGatingGridPadSep(i);}
46  Double_t outerSectorAnodeWirePadPlaneSeparation(Int_t i = 0) {return outerSectorAnodeWirePadSep(i);}
47  Double_t outerSectorFrischGridPadPlaneSeparation(Int_t i = 0) {return outerSectorFrischGridPadSep(i);}
48  Double_t outerSectorGatingGridPadPlaneSeparation(Int_t i = 0) {return outerSectorGatingGridPadSep(i);}
49 
50  Int_t numberOfInnerSectorAnodeWires(Int_t i = 0) {return numInnerSectorAnodeWires(i);}
51  Int_t numberOfInnerSectorFrischGridWires(Int_t i = 0) {return numInnerSectorFrischGridWires(i);}
52  Int_t numberOfInnerSectorGatingGridWires(Int_t i = 0) {return numInnerSectorGatingGridWires(i);}
53  Int_t numberOfOuterSectorAnodeWires(Int_t i = 0) {return numOuterSectorAnodeWires(i);}
54  Int_t numberOfOuterSectorFrischGridWires(Int_t i = 0) {return numOuterSectorFrischGridWires(i);}
55  Int_t numberOfOuterSectorGatingGridWires(Int_t i = 0) {return numOuterSectorGatingGridWires(i);}
56 
57  protected:
58  St_tpcWirePlanesC(St_tpcWirePlanes *table=0) : TChair(table) {}
59  virtual ~St_tpcWirePlanesC() {fgInstance = 0;}
60  private:
61  static St_tpcWirePlanesC* fgInstance;
62  ClassDefChair(St_tpcWirePlanes, tpcWirePlanes_st )
63  ClassDef(St_tpcWirePlanesC,1) //C++ TChair for tpcWirePlanes table class
64 };
65 #endif
Definition: TChair.h:27