33 |
|
|
34 |
public: |
public: |
35 |
// |
// |
36 |
TString mh; |
TString mh; //! |
37 |
TString mp; |
TString mp; //! |
38 |
TString mu; |
TString mu; //! |
39 |
GL_TABLES(); |
GL_TABLES(); |
40 |
GL_TABLES(TString, TString, TString); |
GL_TABLES(TString, TString, TString); |
41 |
// |
// |
42 |
void Set(TString, TString, TString); |
void Set(TString, TString, TString); |
43 |
// |
// |
44 |
Bool_t IsConnected(TSQLServer *&); |
// Bool_t IsConnected(TSQLServer *&); |
45 |
|
Bool_t IsConnected(TSQLServer *); |
46 |
// |
// |
47 |
void ResetCounters(); |
void ResetCounters(); |
48 |
void AddQ(); |
void AddQ(); |
59 |
// |
// |
60 |
GL_TABLES *GetGLTABLES(){return this;}; |
GL_TABLES *GetGLTABLES(){return this;}; |
61 |
// |
// |
62 |
ClassDef(GL_TABLES,2); |
ClassDef(GL_TABLES,0); // 2 |
63 |
}; |
}; |
64 |
|
|
65 |
// ================================================================== |
// ================================================================== |
66 |
|
|
67 |
/** |
/** |
68 |
* \brief Class to store GL_RUN data |
* \brief Class to store GL_RUN data |
69 |
*/ |
*/ |
102 |
UInt_t CAL_DSP_MASK; |
UInt_t CAL_DSP_MASK; |
103 |
UInt_t LAST_TIMESYNC; |
UInt_t LAST_TIMESYNC; |
104 |
UInt_t OBT_TIMESYNC; |
UInt_t OBT_TIMESYNC; |
105 |
|
UInt_t PHYSENDRUN_MASK_S3S2S12; |
106 |
|
UInt_t PHYSENDRUN_MASK_S11CRC; |
107 |
UInt_t VALIDATION; |
UInt_t VALIDATION; |
108 |
// |
// |
109 |
// |
// |
159 |
void SetRM_ACQ_SETTING_MODE(UInt_t); |
void SetRM_ACQ_SETTING_MODE(UInt_t); |
160 |
void SetTRK_CALIB_USED(UInt_t); |
void SetTRK_CALIB_USED(UInt_t); |
161 |
void SetCAL_DSP_MASK(UInt_t); |
void SetCAL_DSP_MASK(UInt_t); |
162 |
|
void SetPHYSENDRUN_MASK_S3S2S12(UInt_t); |
163 |
|
void SetPHYSENDRUN_MASK_S11CRC(UInt_t); |
164 |
// |
// |
165 |
// GETTERS |
// GETTERS |
166 |
// |
// |
190 |
UInt_t GetRM_ACQ_SETTING_MODE(){return(RM_ACQ_SETTING_MODE);}; |
UInt_t GetRM_ACQ_SETTING_MODE(){return(RM_ACQ_SETTING_MODE);}; |
191 |
UInt_t GetTRK_CALIB_USED(){return(TRK_CALIB_USED);}; |
UInt_t GetTRK_CALIB_USED(){return(TRK_CALIB_USED);}; |
192 |
UInt_t GetCAL_DSP_MASK(){return(CAL_DSP_MASK);}; |
UInt_t GetCAL_DSP_MASK(){return(CAL_DSP_MASK);}; |
193 |
|
UInt_t GetPHYSENDRUN_MASK_S3S2S12(){return (PHYSENDRUN_MASK_S3S2S12);}; |
194 |
|
UInt_t GetPHYSENDRUN_MASK_S11CRC(){return (PHYSENDRUN_MASK_S11CRC);}; |
195 |
// |
// |
196 |
GL_RUN* GetGL_RUN(){return this;}; |
GL_RUN* GetGL_RUN(){return this;}; |
197 |
// |
// |
198 |
ClassDef(GL_RUN,1); |
ClassDef(GL_RUN,2); |
199 |
}; |
}; |
200 |
|
|
201 |
// ================================================================== |
// ================================================================== |
222 |
}; |
}; |
223 |
// ================================================================== |
// ================================================================== |
224 |
/** |
/** |
225 |
|
* \brief Class to store GL_RAW |
226 |
|
*/ |
227 |
|
class GL_RAW : public GL_TABLES { |
228 |
|
//class GL_ROOT : public TObject{ |
229 |
|
private: |
230 |
|
|
231 |
|
public: |
232 |
|
// |
233 |
|
UInt_t ID; |
234 |
|
TString PATH; |
235 |
|
TString NAME; |
236 |
|
UInt_t BOOT_NUMBER; |
237 |
|
|
238 |
|
GL_RAW(); |
239 |
|
|
240 |
|
// Int_t Query_GL_RAW(UInt_t id, TSQLServer *dbc); |
241 |
|
|
242 |
|
ClassDef(GL_RAW,1); |
243 |
|
}; |
244 |
|
// ================================================================== |
245 |
|
/** |
246 |
* \brief Class to store GL_PARAM data |
* \brief Class to store GL_PARAM data |
247 |
*/ |
*/ |
248 |
class GL_PARAM : public GL_TABLES { |
class GL_PARAM : public GL_TABLES { |
285 |
UInt_t OBT2; |
UInt_t OBT2; |
286 |
UInt_t PKT1; |
UInt_t PKT1; |
287 |
UInt_t PKT2; |
UInt_t PKT2; |
288 |
UInt_t BOOT_NUMBER; |
UInt_t BOOT_NUMBER; |
289 |
UInt_t VALIDATION; |
UInt_t VALIDATION; |
290 |
|
|
291 |
GL_TRK_CALIB(); |
GL_TRK_CALIB(); |
292 |
|
|
400 |
// |
// |
401 |
GL_TIMESYNC(); |
GL_TIMESYNC(); |
402 |
GL_TIMESYNC(UInt_t ID, TString TYPE, TSQLServer *dbc); |
GL_TIMESYNC(UInt_t ID, TString TYPE, TSQLServer *dbc); |
403 |
|
GL_TIMESYNC(UInt_t ID, TString TYPE, TSQLServer *dbc, Bool_t usel0file); |
404 |
// |
// |
405 |
UInt_t DBabsTime(UInt_t OBT); |
UInt_t DBabsTime(UInt_t OBT); |
406 |
UInt_t ResursTime(UInt_t OBT); |
UInt_t ResursTime(UInt_t OBT); |