StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
St_ftpcVoltageC.h
1 #ifndef St_ftpcVoltageC_h
2 #define St_ftpcVoltageC_h
3 
4 #include "TChair.h"
5 #include "tables/St_ftpcVoltage_Table.h"
6 
7 class St_ftpcVoltageC : public TChair {
8  public:
9  static St_ftpcVoltageC* instance();
10  ftpcVoltage_st *Struct(Int_t i = 0) {return ((St_ftpcVoltage*) Table())->GetTable()+i;}
11  UInt_t getNumRows() {return GetNRows();}
12  UInt_t runNumber(Int_t i = 0) {return Struct(i)->runNumber;}
13  Double_t cathodeVEast(Int_t i = 0) {return Struct(i)->cathodeVEast;}
14  Double_t cathodeVWest(Int_t i = 0) {return Struct(i)->cathodeVWest;}
15  Double_t anodeV1East(Int_t i = 0) {return Struct(i)->anodeV1East;}
16  Double_t anodeV2East(Int_t i = 0) {return Struct(i)->anodeV2East;}
17  Double_t anodeV3East(Int_t i = 0) {return Struct(i)->anodeV3East;}
18  Double_t anodeV4East(Int_t i = 0) {return Struct(i)->anodeV4East;}
19  Double_t anodeV5East(Int_t i = 0) {return Struct(i)->anodeV5East;}
20  Double_t anodeV6East(Int_t i = 0) {return Struct(i)->anodeV6East;}
21  Double_t anodeV1West(Int_t i = 0) {return Struct(i)->anodeV1West;}
22  Double_t anodeV2West(Int_t i = 0) {return Struct(i)->anodeV2West;}
23  Double_t anodeV3West(Int_t i = 0) {return Struct(i)->anodeV3West;}
24  Double_t anodeV4West(Int_t i = 0) {return Struct(i)->anodeV4West;}
25  Double_t anodeV5West(Int_t i = 0) {return Struct(i)->anodeV5West;}
26  Double_t anodeV6West(Int_t i = 0) {return Struct(i)->anodeV6West;}
27  Double_t getCathodeVEast() {return cathodeVEast();}
28  Double_t getAnodeV1East() {return anodeV1East();}
29  Double_t getAnodeV2East() {return anodeV2East();}
30  Double_t getAnodeV3East() {return anodeV3East();}
31  Double_t getAnodeV4East() {return anodeV4East();}
32  Double_t getAnodeV5East() {return anodeV5East();}
33  Double_t getAnodeV6East() {return anodeV6East();}
34  Double_t getCathodeVWest() {return cathodeVWest();}
35  Double_t getAnodeV1West() {return anodeV1West();}
36  Double_t getAnodeV2West() {return anodeV2West();}
37  Double_t getAnodeV3West() {return anodeV3West();}
38  Double_t getAnodeV4West() {return anodeV4West();}
39  Double_t getAnodeV5West() {return anodeV5West();}
40  Double_t getAnodeV6West() {return anodeV6West();}
41  protected:
42  St_ftpcVoltageC(St_ftpcVoltage *table=0) : TChair(table) {}
43  virtual ~St_ftpcVoltageC() {fgInstance = 0;}
44  private:
45  static St_ftpcVoltageC* fgInstance;
46  ClassDefChair(St_ftpcVoltage, ftpcVoltage_st )
47  ClassDef(St_ftpcVoltageC,1) //C++ TChair for ftpcVoltage table class
48 };
49 #endif
Definition: TChair.h:27