/[PAMELA software]/YodaProfiler/inc/GLTables.h
ViewVC logotype

Diff of /YodaProfiler/inc/GLTables.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1.1.1 by mocchiut, Wed Aug 30 11:18:13 2006 UTC revision 1.11 by mocchiut, Tue Oct 24 14:24:22 2006 UTC
# Line 11  Line 11 
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  // ==================================================================  // ==================================================================
# Line 63  class GL_RUN : public TObject { Line 64  class GL_RUN : public TObject {
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
# Line 71  class GL_RUN : public TObject { Line 74  class GL_RUN : public TObject {
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);
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);
# Line 105  class GL_RUN : public TObject { Line 111  class GL_RUN : public TObject {
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);};
# Line 112  class GL_RUN : public TObject { Line 119  class GL_RUN : public TObject {
119      UInt_t GetRUNHEADER_OBT(){return(RUNHEADER_OBT);};      UInt_t GetRUNHEADER_OBT(){return(RUNHEADER_OBT);};
120      UInt_t GetRUNTRAILER_OBT(){return(RUNTRAILER_OBT);};      UInt_t GetRUNTRAILER_OBT(){return(RUNTRAILER_OBT);};
121      UInt_t GetNEVENTS(){return(NEVENTS);};      UInt_t GetNEVENTS(){return(NEVENTS);};
122        UInt_t GetBOOT_NUMBER(){return(BOOT_NUMBER);};
123      UInt_t GetTRK_CALIB(){return(TRK_CALIB_USED);};      UInt_t GetTRK_CALIB(){return(TRK_CALIB_USED);};
124      UInt_t GetPKT_COUNTER(){return(PKT_COUNTER);};      UInt_t GetPKT_COUNTER(){return(PKT_COUNTER);};
125      UInt_t GetLAST_TIMESYNC(){return(LAST_TIMESYNC);};      UInt_t GetLAST_TIMESYNC(){return(LAST_TIMESYNC);};
# Line 196  class GL_TRK_CALIB : public TObject{ Line 204  class GL_TRK_CALIB : public TObject{
204      UInt_t OBT2;      UInt_t OBT2;
205      UInt_t PKT1;      UInt_t PKT1;
206      UInt_t PKT2;      UInt_t PKT2;
207            UInt_t BOOT_NUMBER;
208            UInt_t VALIDATION;
209    
210      GL_TRK_CALIB();      GL_TRK_CALIB();
211    
# Line 222  class GL_CALO_CALIB : public TObject{ Line 232  class GL_CALO_CALIB : public TObject{
232    
233      GL_CALO_CALIB();      GL_CALO_CALIB();
234    
235      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);
236    
237      ClassDef(GL_CALO_CALIB,1);      ClassDef(GL_CALO_CALIB,1);
238  };  };
# Line 276  class GL_TIMESYNC : public TObject{ Line 286  class GL_TIMESYNC : public TObject{
286      UInt_t DBpkt(UInt_t PKT);      UInt_t DBpkt(UInt_t PKT);
287      ULong64_t DBobt(UInt_t OBT);      ULong64_t DBobt(UInt_t OBT);
288      //      //
289        TString ConvertTime(TString &tzone, UInt_t dbt);
290        TString UnConvertTime(TString &tzone, UInt_t dbt);
291    
292        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      ClassDef(GL_TIMESYNC,1);   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    

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.11

  ViewVC Help
Powered by ViewVC 1.1.23