/[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.3 by mocchiut, Wed Sep 6 11:04:38 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);
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 105  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 197  class GL_TRK_CALIB : public TObject{ Line 202  class GL_TRK_CALIB : public TObject{
202      UInt_t OBT2;      UInt_t OBT2;
203      UInt_t PKT1;      UInt_t PKT1;
204      UInt_t PKT2;      UInt_t PKT2;
205            UInt_t BOOT_NUMBER;
206            UInt_t VALIDATION;
207    
208      GL_TRK_CALIB();      GL_TRK_CALIB();
209    
# Line 223  class GL_CALO_CALIB : public TObject{ Line 230  class GL_CALO_CALIB : public TObject{
230    
231      GL_CALO_CALIB();      GL_CALO_CALIB();
232    
233      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);
234    
235      ClassDef(GL_CALO_CALIB,1);      ClassDef(GL_CALO_CALIB,1);
236  };  };
# Line 277  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);
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.3  
changed lines
  Added in v.1.9

  ViewVC Help
Powered by ViewVC 1.1.23