00001 #ifndef St_ftpcVoltageC_h
00002 #define St_ftpcVoltageC_h
00003
00004 #include "TChair.h"
00005 #include "tables/St_ftpcVoltage_Table.h"
00006
00007 class St_ftpcVoltageC : public TChair {
00008 public:
00009 static St_ftpcVoltageC* instance();
00010 ftpcVoltage_st *Struct(Int_t i = 0) {return ((St_ftpcVoltage*) Table())->GetTable()+i;}
00011 UInt_t getNumRows() {return GetNRows();}
00012 UInt_t runNumber(Int_t i = 0) {return Struct(i)->runNumber;}
00013 Double_t cathodeVEast(Int_t i = 0) {return Struct(i)->cathodeVEast;}
00014 Double_t cathodeVWest(Int_t i = 0) {return Struct(i)->cathodeVWest;}
00015 Double_t anodeV1East(Int_t i = 0) {return Struct(i)->anodeV1East;}
00016 Double_t anodeV2East(Int_t i = 0) {return Struct(i)->anodeV2East;}
00017 Double_t anodeV3East(Int_t i = 0) {return Struct(i)->anodeV3East;}
00018 Double_t anodeV4East(Int_t i = 0) {return Struct(i)->anodeV4East;}
00019 Double_t anodeV5East(Int_t i = 0) {return Struct(i)->anodeV5East;}
00020 Double_t anodeV6East(Int_t i = 0) {return Struct(i)->anodeV6East;}
00021 Double_t anodeV1West(Int_t i = 0) {return Struct(i)->anodeV1West;}
00022 Double_t anodeV2West(Int_t i = 0) {return Struct(i)->anodeV2West;}
00023 Double_t anodeV3West(Int_t i = 0) {return Struct(i)->anodeV3West;}
00024 Double_t anodeV4West(Int_t i = 0) {return Struct(i)->anodeV4West;}
00025 Double_t anodeV5West(Int_t i = 0) {return Struct(i)->anodeV5West;}
00026 Double_t anodeV6West(Int_t i = 0) {return Struct(i)->anodeV6West;}
00027 Double_t getCathodeVEast() {return cathodeVEast();}
00028 Double_t getAnodeV1East() {return anodeV1East();}
00029 Double_t getAnodeV2East() {return anodeV2East();}
00030 Double_t getAnodeV3East() {return anodeV3East();}
00031 Double_t getAnodeV4East() {return anodeV4East();}
00032 Double_t getAnodeV5East() {return anodeV5East();}
00033 Double_t getAnodeV6East() {return anodeV6East();}
00034 Double_t getCathodeVWest() {return cathodeVWest();}
00035 Double_t getAnodeV1West() {return anodeV1West();}
00036 Double_t getAnodeV2West() {return anodeV2West();}
00037 Double_t getAnodeV3West() {return anodeV3West();}
00038 Double_t getAnodeV4West() {return anodeV4West();}
00039 Double_t getAnodeV5West() {return anodeV5West();}
00040 Double_t getAnodeV6West() {return anodeV6West();}
00041 protected:
00042 St_ftpcVoltageC(St_ftpcVoltage *table=0) : TChair(table) {}
00043 virtual ~St_ftpcVoltageC() {fgInstance = 0;}
00044 private:
00045 static St_ftpcVoltageC* fgInstance;
00046 ClassDefChair(St_ftpcVoltage, ftpcVoltage_st )
00047 ClassDef(St_ftpcVoltageC,1)
00048 };
00049 #endif