| 6 |
// |
// |
| 7 |
// ROOT headers |
// ROOT headers |
| 8 |
// |
// |
| 9 |
|
#include <TFile.h> |
| 10 |
#include <TString.h> |
#include <TString.h> |
| 11 |
#include <TSQLServer.h> |
#include <TSQLServer.h> |
| 12 |
// |
// |
| 48 |
int nul = 0; |
int nul = 0; |
| 49 |
Int_t error = 0; |
Int_t error = 0; |
| 50 |
Bool_t beverbose = false; |
Bool_t beverbose = false; |
| 51 |
ULong64_t run = 0; |
UInt_t run = 0; |
| 52 |
TString filename; |
TString filename; |
| 53 |
TString outDir = "./"; |
TString outDir = "./"; |
| 54 |
TSQLServer *dbc = 0; |
TSQLServer *dbc = 0; |
| 77 |
exit(-3); |
exit(-3); |
| 78 |
}; |
}; |
| 79 |
givenid = true; |
givenid = true; |
| 80 |
char *pEnd; |
run = (UInt_t)atoll(inps[i+1]); |
|
run = strtoull(inps[i+1],&pEnd,0); |
|
| 81 |
}; |
}; |
| 82 |
if ( !strcmp(inps[i],"-processFile") ) { |
if ( !strcmp(inps[i],"-processFile") ) { |
| 83 |
if ( numinp-1 < i+1 ){ |
if ( numinp-1 < i+1 ){ |
| 180 |
// |
// |
| 181 |
printf("\nClose the connection to the database... \n"); |
printf("\nClose the connection to the database... \n"); |
| 182 |
dbc->Close(); |
dbc->Close(); |
| 183 |
|
delete dbc; |
| 184 |
|
dbc = 0; |
| 185 |
printf("...connection terminated!\n\n"); |
printf("...connection terminated!\n\n"); |
| 186 |
// |
// |
| 187 |
// Close redirection if the case. |
// Close redirection if the case. |