/[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 by mocchiut, Wed Aug 30 11:18:13 2006 UTC revision 1.8 by mocchiut, Tue Oct 17 15:19:55 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 112  class GL_RUN : public TObject { Line 116  class GL_RUN : public TObject {
116      UInt_t GetRUNHEADER_OBT(){return(RUNHEADER_OBT);};      UInt_t GetRUNHEADER_OBT(){return(RUNHEADER_OBT);};
117      UInt_t GetRUNTRAILER_OBT(){return(RUNTRAILER_OBT);};      UInt_t GetRUNTRAILER_OBT(){return(RUNTRAILER_OBT);};
118      UInt_t GetNEVENTS(){return(NEVENTS);};      UInt_t GetNEVENTS(){return(NEVENTS);};
119        UInt_t GetBOOT_NUMBER(){return(BOOT_NUMBER);};
120      UInt_t GetTRK_CALIB(){return(TRK_CALIB_USED);};      UInt_t GetTRK_CALIB(){return(TRK_CALIB_USED);};
121      UInt_t GetPKT_COUNTER(){return(PKT_COUNTER);};      UInt_t GetPKT_COUNTER(){return(PKT_COUNTER);};
122      UInt_t GetLAST_TIMESYNC(){return(LAST_TIMESYNC);};      UInt_t GetLAST_TIMESYNC(){return(LAST_TIMESYNC);};
# Line 196  class GL_TRK_CALIB : public TObject{ Line 201  class GL_TRK_CALIB : public TObject{
201      UInt_t OBT2;      UInt_t OBT2;
202      UInt_t PKT1;      UInt_t PKT1;
203      UInt_t PKT2;      UInt_t PKT2;
204            UInt_t BOOT_NUMBER;
205            UInt_t VALIDATION;
206    
207      GL_TRK_CALIB();      GL_TRK_CALIB();
208    
# Line 222  class GL_CALO_CALIB : public TObject{ Line 229  class GL_CALO_CALIB : public TObject{
229    
230      GL_CALO_CALIB();      GL_CALO_CALIB();
231    
232      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);
233    
234      ClassDef(GL_CALO_CALIB,1);      ClassDef(GL_CALO_CALIB,1);
235  };  };
# Line 276  class GL_TIMESYNC : public TObject{ Line 283  class GL_TIMESYNC : public TObject{
283      UInt_t DBpkt(UInt_t PKT);      UInt_t DBpkt(UInt_t PKT);
284      ULong64_t DBobt(UInt_t OBT);      ULong64_t DBobt(UInt_t OBT);
285      //      //
286        TString ConvertTime(TString &tzone, UInt_t dbt);
287        TString UnConvertTime(TString &tzone, UInt_t dbt);
288    
289        ClassDef(GL_TIMESYNC,1);
290    };
291    
292    /* Class to query a TLE from the db.
293     *
294     * Two methods are implemented.
295     */
296    class GL_TLE : public TObject{
297     private:
298      cTle *Query_GL_TLE_go(TString, TSQLServer *);
299    
300      ClassDef(GL_TIMESYNC,1);   public:
301      GL_TLE();
302    
303      cTle* Query_GL_TLE(UInt_t unixtime, TSQLServer *dbc);
304      cTle* Query_GL_TLE(TString date, TSQLServer *dbc);
305    
306      ClassDef(GL_TLE,1);
307  };  };
308    
309  #endif  #endif
310    

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.8

  ViewVC Help
Powered by ViewVC 1.1.23