/[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.6 by pam-fi, Fri Sep 8 14:42:48 2006 UTC revision 1.9 by mocchiut, Fri Oct 20 11:11:11 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 <cTle.h>
15    
16  using namespace pamela;  using namespace pamela;
17  // ==================================================================  // ==================================================================
# Line 71  class GL_RUN : public TObject { Line 72  class GL_RUN : public TObject {
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);
# Line 108  class GL_RUN : public TObject { Line 109  class GL_RUN : public TObject {
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);};
# Line 282  class GL_TIMESYNC : public TObject{ Line 284  class GL_TIMESYNC : public TObject{
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    

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.9

  ViewVC Help
Powered by ViewVC 1.1.23