Changeset 4878 for trunk/MagicSoft/Mars/macros
- Timestamp:
- 09/07/04 11:53:09 (20 years ago)
- Location:
- trunk/MagicSoft/Mars/macros/sql
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/macros/sql/fillcalib.C
r4870 r4878 57 57 #include <iostream> 58 58 59 #include <TEnv.h> 59 60 #include <TRegexp.h> 60 61 … … 151 152 void fillcallisto(TString fname, Bool_t dummy=kTRUE) 152 153 { 153 MSQLServer serv("mysql://hercules:d99swMT!@localhost"); 154 TEnv env("sql.rc"); 155 156 MSQLServer serv(env); 154 157 if (!serv.IsConnected()) 155 158 { -
trunk/MagicSoft/Mars/macros/sql/filldotraw.C
r4870 r4878 57 57 #include <iostream> 58 58 59 #include <TEnv.h> 59 60 #include <TFile.h> 60 61 #include <TTree.h> … … 163 164 void filldotraw(TString fname, Bool_t dummy=kTRUE) 164 165 { 165 MSQLServer serv("mysql://hercules:d99swMT!@localhost"); 166 TEnv env("sql.rc"); 167 168 MSQLServer serv(env); 166 169 if (!serv.IsConnected()) 167 170 { -
trunk/MagicSoft/Mars/macros/sql/filldotrbk.C
r4869 r4878 63 63 #include <fstream> 64 64 65 #include <TEnv.h> 65 66 #include <TRegexp.h> 66 67 … … 213 214 int filldotrbk(TString path="/data/MAGIC/Period017/ccdata", Bool_t dummy=kTRUE) 214 215 { 215 MSQLServer serv("mysql://hercules:d99swMT!@localhost"); 216 TEnv env("sql.rc"); 217 218 MSQLServer serv(env); 216 219 if (!serv.IsConnected()) 217 220 { -
trunk/MagicSoft/Mars/macros/sql/filldotrun.C
r4869 r4878 71 71 #include <fstream> 72 72 73 #include <TEnv.h> 73 74 #include <TMath.h> 74 75 #include <TRegexp.h> … … 400 401 int filldotrun(const TString path="/data/MAGIC/Period018/ccdata", Bool_t dummy=kTRUE) 401 402 { 402 MSQLServer serv("mysql://hercules:d99swMT!@localhost"); 403 TEnv env("sql.rc"); 404 405 MSQLServer serv(env); 403 406 if (!serv.IsConnected()) 404 407 {
Note:
See TracChangeset
for help on using the changeset viewer.