11 |
#include <PscuHeader.h> |
#include <PscuHeader.h> |
12 |
#include <RunHeaderEvent.h> |
#include <RunHeaderEvent.h> |
13 |
#include <RunTrailerEvent.h> |
#include <RunTrailerEvent.h> |
14 |
|
#include <sgp4.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); |
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); |
109 |
// GETTERS |
// GETTERS |
110 |
// |
// |
111 |
void GetLevel2Struct(cGLRun *l2) const; |
void GetLevel2Struct(cGLRun *l2) const; |
112 |
|
UInt_t GetID(){return(ID);}; |
113 |
UInt_t GetRUNHEADER_PKT(){return(RUNHEADER_PKT);}; |
UInt_t GetRUNHEADER_PKT(){return(RUNHEADER_PKT);}; |
114 |
UInt_t GetRUNTRAILER_PKT(){return(RUNTRAILER_PKT);}; |
UInt_t GetRUNTRAILER_PKT(){return(RUNTRAILER_PKT);}; |
115 |
UInt_t GetRUNHEADER_TIME(){return(RUNHEADER_TIME);}; |
UInt_t GetRUNHEADER_TIME(){return(RUNHEADER_TIME);}; |
284 |
UInt_t DBpkt(UInt_t PKT); |
UInt_t DBpkt(UInt_t PKT); |
285 |
ULong64_t DBobt(UInt_t OBT); |
ULong64_t DBobt(UInt_t OBT); |
286 |
// |
// |
287 |
TString ConvertTime(TString tzone, UInt_t dbt); |
TString ConvertTime(TString &tzone, UInt_t dbt); |
288 |
TString UnConvertTime(TString tzone, UInt_t dbt); |
TString UnConvertTime(TString &tzone, UInt_t dbt); |
|
|
|
289 |
|
|
290 |
ClassDef(GL_TIMESYNC,1); |
ClassDef(GL_TIMESYNC,1); |
291 |
}; |
}; |
292 |
|
|
293 |
|
/* Class to query a TLE from the db. |
294 |
|
* |
295 |
|
* Two methods are implemented. |
296 |
|
*/ |
297 |
|
class GL_TLE : public TObject{ |
298 |
|
private: |
299 |
|
cTle *Query_GL_TLE_go(TString, TSQLServer *); |
300 |
|
|
301 |
|
public: |
302 |
|
GL_TLE(); |
303 |
|
|
304 |
|
cTle* Query_GL_TLE(UInt_t unixtime, TSQLServer *dbc); |
305 |
|
cTle* Query_GL_TLE(TString date, TSQLServer *dbc); |
306 |
|
|
307 |
|
ClassDef(GL_TLE,1); |
308 |
|
}; |
309 |
|
|
310 |
#endif |
#endif |
311 |
|
|