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 <TDirectory.h> |
11 |
|
#include <TH1D.h> |
12 |
|
#include <TH2D.h> |
13 |
#include <TSystem.h> |
#include <TSystem.h> |
14 |
#include <GLTablesStruct.h> |
#include <GLTablesStruct.h> |
15 |
#include <EventHeader.h> |
#include <EventHeader.h> |
67 |
}; |
}; |
68 |
|
|
69 |
// ================================================================== |
// ================================================================== |
70 |
|
class Q2TH : public TObject { |
71 |
|
private: |
72 |
|
TSQLServer *dbc; |
73 |
|
TSQLResult *pResult; |
74 |
|
TSQLRow *Row; |
75 |
|
TString fh; |
76 |
|
TString fp; |
77 |
|
TString fu; |
78 |
|
|
79 |
|
public: |
80 |
|
|
81 |
|
Q2TH(TString h="$PAM_DBHOST", TString u="$PAM_DBUSER", TString p="$PAM_DBPSW"); |
82 |
|
|
83 |
|
TObject *Draw(TString query, Bool_t verbose = false, TString hname="q2th"); |
84 |
|
|
85 |
|
ClassDef(Q2TH,1); // 2 |
86 |
|
|
87 |
|
}; |
88 |
|
|
89 |
/** |
/** |
90 |
* \brief Class to store GL_RUN data |
* \brief Class to store GL_RUN data |