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> |
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 |
|
|