| 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 |
// ================================================================== |
// ================================================================== |
| 64 |
Int_t Fill_GL_RUN(TSQLServer*); |
Int_t Fill_GL_RUN(TSQLServer*); |
| 65 |
Int_t Query_GL_RUN_FRAGMENTS(TString, TSQLServer*); |
Int_t Query_GL_RUN_FRAGMENTS(TString, TSQLServer*); |
| 66 |
Int_t Fill_GL_RUN_FRAGMENTS(TSQLServer*); |
Int_t Fill_GL_RUN_FRAGMENTS(TSQLServer*); |
| 67 |
|
Int_t DeleteRun(TSQLServer*, UInt_t, TString); |
| 68 |
|
Int_t RestoreRun(TSQLServer*, UInt_t, TString); |
| 69 |
void Clear(); |
void Clear(); |
| 70 |
// |
// |
| 71 |
// SETTERS |
// SETTERS |
| 74 |
void Set_GL_RUNH(RunHeaderEvent *runt, PscuHeader *pht); |
void Set_GL_RUNH(RunHeaderEvent *runt, PscuHeader *pht); |
| 75 |
void Set_GL_RUNT0(); |
void Set_GL_RUNT0(); |
| 76 |
void Set_GL_RUNH0(); |
void Set_GL_RUNH0(); |
| 77 |
// |
// |
| 78 |
void Set_GL_RUN(TSQLRow *row); |
void Set_GL_RUN(TSQLRow *row); |
| 79 |
// |
// |
| 80 |
void SetRUNHEADER_TIME(UInt_t abst); |
void SetRUNHEADER_TIME(UInt_t abst); |
| 81 |
void SetRUNTRAILER_TIME(UInt_t abst); |
void SetRUNTRAILER_TIME(UInt_t abst); |
| 82 |
void SetRUNHEADER_PKT(UInt_t abst); |
void SetRUNHEADER_PKT(UInt_t abst); |
| 111 |
// GETTERS |
// GETTERS |
| 112 |
// |
// |
| 113 |
void GetLevel2Struct(cGLRun *l2) const; |
void GetLevel2Struct(cGLRun *l2) const; |
| 114 |
|
UInt_t GetID(){return(ID);}; |
| 115 |
UInt_t GetRUNHEADER_PKT(){return(RUNHEADER_PKT);}; |
UInt_t GetRUNHEADER_PKT(){return(RUNHEADER_PKT);}; |
| 116 |
UInt_t GetRUNTRAILER_PKT(){return(RUNTRAILER_PKT);}; |
UInt_t GetRUNTRAILER_PKT(){return(RUNTRAILER_PKT);}; |
| 117 |
UInt_t GetRUNHEADER_TIME(){return(RUNHEADER_TIME);}; |
UInt_t GetRUNHEADER_TIME(){return(RUNHEADER_TIME);}; |
| 289 |
TString ConvertTime(TString &tzone, UInt_t dbt); |
TString ConvertTime(TString &tzone, UInt_t dbt); |
| 290 |
TString UnConvertTime(TString &tzone, UInt_t dbt); |
TString UnConvertTime(TString &tzone, UInt_t dbt); |
| 291 |
|
|
|
|
|
| 292 |
ClassDef(GL_TIMESYNC,1); |
ClassDef(GL_TIMESYNC,1); |
| 293 |
}; |
}; |
| 294 |
|
|
| 295 |
|
/* Class to query a TLE from the db. |
| 296 |
|
* |
| 297 |
|
* Two methods are implemented. |
| 298 |
|
*/ |
| 299 |
|
class GL_TLE : public TObject{ |
| 300 |
|
private: |
| 301 |
|
cTle *Query_GL_TLE_go(TString, TSQLServer *); |
| 302 |
|
|
| 303 |
|
public: |
| 304 |
|
GL_TLE(); |
| 305 |
|
|
| 306 |
|
cTle* Query_GL_TLE(UInt_t unixtime, TSQLServer *dbc); |
| 307 |
|
cTle* Query_GL_TLE(TString date, TSQLServer *dbc); |
| 308 |
|
|
| 309 |
|
ClassDef(GL_TLE,1); |
| 310 |
|
}; |
| 311 |
|
|
| 312 |
#endif |
#endif |
| 313 |
|
|