11 |
#include <PscuHeader.h> |
#include <PscuHeader.h> |
12 |
#include <RunHeaderEvent.h> |
#include <RunHeaderEvent.h> |
13 |
#include <RunTrailerEvent.h> |
#include <RunTrailerEvent.h> |
14 |
|
#include <cTle.h> |
15 |
|
|
16 |
using namespace pamela; |
using namespace pamela; |
17 |
// ================================================================== |
// ================================================================== |
72 |
void Set_GL_RUNH(RunHeaderEvent *runt, PscuHeader *pht); |
void Set_GL_RUNH(RunHeaderEvent *runt, PscuHeader *pht); |
73 |
void Set_GL_RUNT0(); |
void Set_GL_RUNT0(); |
74 |
void Set_GL_RUNH0(); |
void Set_GL_RUNH0(); |
75 |
|
// |
76 |
|
void Set_GL_RUN(TSQLRow *row); |
77 |
|
// |
78 |
void SetRUNHEADER_TIME(UInt_t abst); |
void SetRUNHEADER_TIME(UInt_t abst); |
79 |
void SetRUNTRAILER_TIME(UInt_t abst); |
void SetRUNTRAILER_TIME(UInt_t abst); |
80 |
void SetRUNHEADER_PKT(UInt_t abst); |
void SetRUNHEADER_PKT(UInt_t abst); |
201 |
UInt_t OBT2; |
UInt_t OBT2; |
202 |
UInt_t PKT1; |
UInt_t PKT1; |
203 |
UInt_t PKT2; |
UInt_t PKT2; |
204 |
|
UInt_t BOOT_NUMBER; |
205 |
|
UInt_t VALIDATION; |
206 |
|
|
207 |
GL_TRK_CALIB(); |
GL_TRK_CALIB(); |
208 |
|
|
229 |
|
|
230 |
GL_CALO_CALIB(); |
GL_CALO_CALIB(); |
231 |
|
|
232 |
Int_t Query_GL_CALO_CALIB(UInt_t time, UInt_t section, TSQLServer *dbc); |
Int_t Query_GL_CALO_CALIB(UInt_t time, UInt_t &uptime, UInt_t section, TSQLServer *dbc); |
233 |
|
|
234 |
ClassDef(GL_CALO_CALIB,1); |
ClassDef(GL_CALO_CALIB,1); |
235 |
}; |
}; |
283 |
UInt_t DBpkt(UInt_t PKT); |
UInt_t DBpkt(UInt_t PKT); |
284 |
ULong64_t DBobt(UInt_t OBT); |
ULong64_t DBobt(UInt_t OBT); |
285 |
// |
// |
286 |
TString ConvertTime(TString tzone, UInt_t dbt); |
TString ConvertTime(TString &tzone, UInt_t dbt); |
287 |
TString UnConvertTime(TString tzone, UInt_t dbt); |
TString UnConvertTime(TString &tzone, UInt_t dbt); |
|
|
|
288 |
|
|
289 |
ClassDef(GL_TIMESYNC,1); |
ClassDef(GL_TIMESYNC,1); |
290 |
}; |
}; |
291 |
|
|
292 |
|
/* Class to query a TLE from the db. |
293 |
|
* |
294 |
|
* Two methods are implemented. |
295 |
|
*/ |
296 |
|
class GL_TLE : public TObject{ |
297 |
|
private: |
298 |
|
cTle *Query_GL_TLE_go(TString, TSQLServer *); |
299 |
|
|
300 |
|
public: |
301 |
|
GL_TLE(); |
302 |
|
|
303 |
|
cTle* Query_GL_TLE(UInt_t unixtime, TSQLServer *dbc); |
304 |
|
cTle* Query_GL_TLE(TString date, TSQLServer *dbc); |
305 |
|
|
306 |
|
ClassDef(GL_TLE,1); |
307 |
|
}; |
308 |
|
|
309 |
#endif |
#endif |
310 |
|
|