StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
St_beamInfoC.h
1 #ifndef St_beamInfoC_h
2 #define St_beamInfoC_h
3 
4 #include "TChair.h"
5 #include "tables/St_beamInfo_Table.h"
6 
7 class St_beamInfoC : public TChair {
8  public:
9  static St_beamInfoC* instance();
10  beamInfo_st *Struct(Int_t i = 0) {return ((St_beamInfo*) Table())->GetTable()+i;}
11  UInt_t getNumRows() {return GetNRows();}
12  UInt_t runNumber(Int_t i = 0) {return Struct(i)->runNumber;}
13  Int_t entryTag(Int_t i = 0) {return Struct(i)->entryTag;}
14  Char_t* blueSpecies(Int_t i = 0) {return Struct(i)->blueSpecies;}
15  UInt_t blueMassNumber(Int_t i = 0) {return Struct(i)->blueMassNumber;}
16  Float_t blueEnergy(Int_t i = 0) {return Struct(i)->blueEnergy;}
17  Float_t blueIntensity(Int_t i = 0) {return Struct(i)->blueIntensity;}
18  Float_t blueLifeTime(Int_t i = 0) {return Struct(i)->blueLifeTime;}
19  Float_t blueBunchIntensity(Int_t i = 0) {return Struct(i)->blueBunchIntensity;}
20  Char_t* yellowSpecies(Int_t i = 0) {return Struct(i)->yellowSpecies;}
21  UInt_t yellowMassNumber(Int_t i = 0) {return Struct(i)->yellowMassNumber;}
22  Float_t yellowEnergy(Int_t i = 0) {return Struct(i)->yellowEnergy;}
23  Float_t yellowIntensity(Int_t i = 0) {return Struct(i)->yellowIntensity;}
24  Float_t yellowLifeTime(Int_t i = 0) {return Struct(i)->yellowLifeTime;}
25  Float_t yellowBunchIntensity(Int_t i =0) {return Struct(i)->yellowBunchIntensity;}
26  Float_t blueFillNumber(Int_t i = 0) {return Struct(i)->blueFillNumber;}
27  Float_t yellowFillNumber(Int_t i = 0) {return Struct(i)->yellowFillNumber;}
28  UInt_t getRunNumber(Int_t i=0) {return runNumber(i);}
29  Int_t getEntryTag(Int_t i=0) {return entryTag(i);}
30  Char_t* getBlueSpecies(Int_t i=0) {return blueSpecies(i);}
31  UInt_t getBlueMassNumber(Int_t i=0) {return blueMassNumber(i);}
32  Float_t getBlueEnergy(Int_t i=0) {return blueEnergy(i);}
33  Float_t getBlueIntensity(Int_t i=0) {return blueIntensity(i);}
34  Float_t getBlueLifeTime(Int_t i=0) {return blueLifeTime(i);}
35  Float_t getBlueBunchIntensity(Int_t i=0) {return blueBunchIntensity(i);}
36  Float_t getBlueFillNumber(Int_t i=0) {return blueFillNumber(i);}
37  Char_t* getYellowSpecies(Int_t i=0) {return yellowSpecies(i);}
38  UInt_t getYellowMassNumber(Int_t i=0) {return yellowMassNumber(i);}
39  Float_t getYellowEnergy(Int_t i=0) {return yellowEnergy(i);}
40  Float_t getYellowIntensity(Int_t i=0) {return yellowIntensity(i);}
41  Float_t getYellowLifeTime(Int_t i=0) {return yellowLifeTime(i);}
42  Float_t getYellowBunchIntensity(Int_t i=0){return yellowBunchIntensity(i);}
43  Float_t getYellowFillNumber(Int_t i=0) {return yellowFillNumber(i);}
44  Bool_t IsFixedTarget();
45  Float_t GammaCMS();
46  Float_t GammaYellow();
47  Float_t GammaBlue();
48  Float_t BetaYellow();
49  Float_t BetaBlue();
50  Float_t BetaCMS();
51  Float_t Frequency();
52  Float_t SqrtS();
53  Float_t Ycms();
54  protected:
55  St_beamInfoC(St_beamInfo *table=0) : TChair(table) {}
56  virtual ~St_beamInfoC() {fgInstance = 0;}
57  private:
58  static St_beamInfoC* fgInstance;
59  ClassDefChair(St_beamInfo, beamInfo_st )
60  ClassDef(St_beamInfoC,1) //C++ TChair for beamInfo table class
61 };
62 #endif
Definition: TChair.h:27