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

Diff of /chewbacca/YodaProfiler/inc/GLTables.h

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

revision 1.5 by mocchiut, Tue Jan 27 11:38:12 2009 UTC revision 1.7 by mocchiut, Mon Dec 14 16:53:41 2009 UTC
# Line 6  Line 6 
6  #include <TSQLServer.h>  #include <TSQLServer.h>
7  #include <TSQLRow.h>  #include <TSQLRow.h>
8  #include <TSQLResult.h>  #include <TSQLResult.h>
9    #include <TCanvas.h>
10    #include <TH1D.h>
11    #include <TH2D.h>
12  #include <TSystem.h>  #include <TSystem.h>
13  #include <GLTablesStruct.h>  #include <GLTablesStruct.h>
14  #include <EventHeader.h>  #include <EventHeader.h>
# Line 33  class GL_TABLES : public TObject { Line 36  class GL_TABLES : public TObject {
36    
37   public:   public:
38      //      //
39      TString mh;      TString mh; //!
40      TString mp;      TString mp; //!
41      TString mu;      TString mu; //!
42      GL_TABLES();        GL_TABLES();  
43      GL_TABLES(TString, TString, TString);      GL_TABLES(TString, TString, TString);
44      //      //
45      void Set(TString, TString, TString);      void Set(TString, TString, TString);
46      //      //
47      Bool_t IsConnected(TSQLServer *&);      //    Bool_t IsConnected(TSQLServer *&);
48        Bool_t IsConnected(TSQLServer *);
49      //      //
50      void ResetCounters();      void ResetCounters();
51      void AddQ();      void AddQ();
# Line 58  class GL_TABLES : public TObject { Line 62  class GL_TABLES : public TObject {
62      //      //
63      GL_TABLES *GetGLTABLES(){return this;};      GL_TABLES *GetGLTABLES(){return this;};
64      //      //
65      ClassDef(GL_TABLES,2);      ClassDef(GL_TABLES,0); // 2
66  };  };
67    
68  // ==================================================================  // ==================================================================
69    class Q2TH : public TObject {
70     private:
71        TSQLServer *dbc;
72        TSQLResult *pResult;
73        TSQLRow *Row;
74        TString fh;
75        TString fp;
76        TString fu;
77        
78     public:
79        
80        Q2TH(TString h="$PAM_DBHOST", TString u="$PAM_DBUSER", TString p="$PAM_DBPSW");
81        
82        TObject *Draw(TString query, Bool_t verbose = false, TString hname="q2th");
83    
84        ClassDef(Q2TH,1); // 2
85    
86    };
87    
88  /**  /**
89   * \brief Class to store GL_RUN data   * \brief Class to store GL_RUN data

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.7

  ViewVC Help
Powered by ViewVC 1.1.23