StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
St_pxlControlC.h
1 #ifndef St_pxlControlC_h
2 #define St_pxlControlC_h
3 
4 #include "TChair.h"
5 #include "tables/St_pxlControl_Table.h"
6 
7 class St_pxlControlC : public TChair {
8  public:
9  static St_pxlControlC* instance();
10  pxlControl_st *Struct(Int_t i = 0) const {return ((St_pxlControl*) Table())->GetTable()+i;}
11  UInt_t getNumRows() const {return GetNRows();}
12  UInt_t headerToken(Int_t i = 0) const {return Struct(i)->headerToken;}
13  UInt_t separatorToken(Int_t i = 0) const {return Struct(i)->separatorToken;}
14  UInt_t endToken(Int_t i = 0) const {return Struct(i)->endToken;}
15  UInt_t dummyState(Int_t i = 0) const {return Struct(i)->dummyState;}
16  Float_t pixelSize(Int_t i = 0) const {return Struct(i)->pixelSize;}
17  Float_t centerOfDiodeZ(Int_t i = 0) const {return Struct(i)->centerOfDiodeZ;}
18  Float_t centerOfDiodeX(Int_t i = 0) const {return Struct(i)->centerOfDiodeX;}
19  UChar_t headerLength(Int_t i = 0) const {return Struct(i)->headerLength;}
20  UChar_t hardwareIdPosition(Int_t i = 0) const {return Struct(i)->hardwareIdPosition;}
21  UChar_t chipIdStartBit(Int_t i = 0) const {return Struct(i)->chipIdStartBit;}
22  UChar_t chipIdEndBit(Int_t i = 0) const {return Struct(i)->chipIdEndBit;}
23  UChar_t chipIdPow(Int_t i = 0) const {return Struct(i)->chipIdPow;}
24  UChar_t overflowBit(Int_t i = 0) const {return Struct(i)->overflowBit;}
25  UChar_t rowOrColumnFlagBit(Int_t i = 0) const {return Struct(i)->rowOrColumnFlagBit;}
26  UChar_t codingStartBit(Int_t i = 0) const {return Struct(i)->codingStartBit;}
27  UChar_t codingEndBit(Int_t i = 0) const {return Struct(i)->codingEndBit;}
28  UChar_t dataStartBit(Int_t i = 0) const {return Struct(i)->dataStartBit;}
29  UChar_t dataEndBit(Int_t i = 0) const {return Struct(i)->dataEndBit;}
30  UChar_t sensorGoodStatusMin(Int_t i = 0) const {return Struct(i)->sensorGoodStatusMin;}
31  UChar_t sensorGoodStatusMax(Int_t i = 0) const {return Struct(i)->sensorGoodStatusMax;}
32  UChar_t rowColumnGoodStatus(Int_t i = 0) const {return Struct(i)->rowColumnGoodStatus;}
33  protected:
34  St_pxlControlC(St_pxlControl *table=0) : TChair(table) {}
35  virtual ~St_pxlControlC() {fgInstance = 0;}
36  private:
37  static St_pxlControlC* fgInstance;
38  ClassDefChair(St_pxlControl, pxlControl_st )
39  ClassDef(St_pxlControlC,1) //C++ TChair for pxlControl table class
40 };
41 #endif
Definition: TChair.h:27