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 |
// ================================================================== |
// ================================================================== |
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 |
|
|