1 #ifndef STAR_StRtsTable
2 #define STAR_StRtsTable
4 #include "TGenericTable.h"
16 static UInt_t fToken ;
17 static UInt_t fTrgcmd ;
18 static UInt_t fDaqcmd ;
19 static UInt_t fTrgword ;
20 static UInt_t fPhyword ;
21 static UInt_t fDaqbits ;
22 static UInt_t fDaqbits_l1;
23 static UInt_t fDaqbits_l2;
24 static UInt_t fEvpgroups ;
26 static UInt_t fDetectors ;
28 static UInt_t fDetsinrun ;
29 static UInt_t fEvpgroupsinrun;
34 void SetAll(Int_t sec,Int_t pad,Int_t rdo,Int_t row);
35 void SetSector (Int_t s);
36 void SetPad (Int_t p);
37 void SetRdo (Int_t r);
38 void SetRow (Int_t r);
39 void SetMeta (
void* v);
41 Int_t Sector ()
const;
45 const void* Meta()
const;
47 static UInt_t Token();
48 static void SetToken(UInt_t token);
49 static UInt_t Trgcmd();
50 static void SetTrgcmd(UInt_t trgcmd);
51 static UInt_t Daqcmd();
52 static void SetDaqcmd(UInt_t daqcmd);
53 static UInt_t Trgword();
54 static void SetTrgword(UInt_t trgword);
55 static UInt_t Phyword();
56 static void SetPhyword(UInt_t phyword);
57 static UInt_t Daqbits();
58 static void SetDaqbits(UInt_t daqbits);
59 static UInt_t Daqbits_l1();
60 static void SetDaqbits_l1(UInt_t daqbits_l1);
61 static UInt_t Daqbits_l2();
62 static void SetDaqbits_l2(UInt_t daqbits_l2);
63 static UInt_t Evpgroups();
64 static void SetEvpgroups(UInt_t evpgroups);
66 static UInt_t Detectors();
67 static void SetDetectors(UInt_t detectors);
72 inline Int_t StRtsTable::Sector()
const {
return fSector;}
73 inline Int_t StRtsTable::Pad()
const {
return fPad;}
74 inline Int_t StRtsTable::Rdo()
const {
return fRdo;}
75 inline Int_t StRtsTable::Row()
const {
return fRow;}
76 inline const void* StRtsTable::Meta()
const {
return fMeta;}
78 inline UInt_t StRtsTable::Token() {
return fToken; }
79 inline UInt_t StRtsTable::Trgcmd() {
return fTrgcmd; }
80 inline UInt_t StRtsTable::Daqcmd() {
return fDaqcmd; }
81 inline UInt_t StRtsTable::Trgword() {
return fTrgword; }
82 inline UInt_t StRtsTable::Phyword() {
return fPhyword; }
83 inline UInt_t StRtsTable::Daqbits() {
return fDaqbits; }
84 inline UInt_t StRtsTable::Daqbits_l1() {
return fDaqbits_l1;}
85 inline UInt_t StRtsTable::Daqbits_l2() {
return fDaqbits_l2;}
86 inline UInt_t StRtsTable::Evpgroups() {
return fEvpgroups;}
88 inline UInt_t StRtsTable::Detectors() {
return fDetectors;}
91 inline void StRtsTable::SetAll(Int_t sec,Int_t pad,Int_t rdo,Int_t row)
99 inline void StRtsTable::SetSector (Int_t s) {fSector= s;}
100 inline void StRtsTable::SetPad (Int_t p) {fPad = p;}
101 inline void StRtsTable::SetRdo (Int_t r) {fRdo = r;}
102 inline void StRtsTable::SetRow (Int_t r) {fRow = r;}
103 inline void StRtsTable::SetMeta (
void* v) {fMeta = v;}
105 inline void StRtsTable::SetToken(UInt_t token) { fToken = token; }
106 inline void StRtsTable::SetTrgcmd(UInt_t trgcmd) { fTrgcmd = trgcmd; }
107 inline void StRtsTable::SetDaqcmd(UInt_t daqcmd) { fDaqcmd = daqcmd; }
108 inline void StRtsTable::SetTrgword(UInt_t trgword) { fTrgword = trgword; }
109 inline void StRtsTable::SetPhyword(UInt_t phyword) { fPhyword = phyword; }
110 inline void StRtsTable::SetDaqbits(UInt_t daqbits) { fDaqbits = daqbits; }
111 inline void StRtsTable::SetDaqbits_l1(UInt_t daqbits_l1){ fDaqbits_l1 = daqbits_l1; }
112 inline void StRtsTable::SetDaqbits_l2(UInt_t daqbits_l2){ fDaqbits_l2 = daqbits_l2; }
113 inline void StRtsTable::SetEvpgroups(UInt_t evpgroups) { fEvpgroups = evpgroups; }
114 inline void StRtsTable::SetDetectors(UInt_t detectors) { fDetectors = detectors; }