/[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.7 by mocchiut, Mon Dec 14 16:53:41 2009 UTC revision 1.9 by mocchiut, Tue Dec 15 10:23:28 2009 UTC
# Line 7  Line 7 
7  #include <TSQLRow.h>  #include <TSQLRow.h>
8  #include <TSQLResult.h>  #include <TSQLResult.h>
9  #include <TCanvas.h>  #include <TCanvas.h>
10    #include <TDirectory.h>
11  #include <TH1D.h>  #include <TH1D.h>
12  #include <TH2D.h>  #include <TH2D.h>
13  #include <TSystem.h>  #include <TSystem.h>
# Line 78  class Q2TH : public TObject { Line 79  class Q2TH : public TObject {
79   public:   public:
80            
81      Q2TH(TString h="$PAM_DBHOST", TString u="$PAM_DBUSER", TString p="$PAM_DBPSW");      Q2TH(TString h="$PAM_DBHOST", TString u="$PAM_DBUSER", TString p="$PAM_DBPSW");
82        ~Q2TH(){ if ( dbc ) dbc->Close(); delete dbc; };
83            
84      TObject *Draw(TString query, Bool_t verbose = false, TString hname="q2th");      TObject *Draw(TString query, Bool_t verbose = false, TString hname="q2th");
85        void Open(TString h="$PAM_DBHOST", TString u="$PAM_DBUSER", TString p="$PAM_DBPSW");
86        void Close(){ if ( dbc ) dbc->Close(); delete dbc; };
87    
88      ClassDef(Q2TH,1); // 2      ClassDef(Q2TH,1); // 2
89    

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

  ViewVC Help
Powered by ViewVC 1.1.23