| 7 |
// |
// |
| 8 |
// ROOT headers |
// ROOT headers |
| 9 |
// |
// |
| 10 |
|
#include <TFile.h> |
| 11 |
#include <TString.h> |
#include <TString.h> |
| 12 |
#include <TSQLServer.h> |
#include <TSQLServer.h> |
| 13 |
// |
// |
| 49 |
int nul = 0; |
int nul = 0; |
| 50 |
Int_t error = 0; |
Int_t error = 0; |
| 51 |
Bool_t beverbose = false; |
Bool_t beverbose = false; |
| 52 |
ULong64_t run = 0; |
UInt_t run = 0; |
| 53 |
TString filename=""; |
TString filename=""; |
| 54 |
TString processFolder; |
TString processFolder; |
| 55 |
TString outdir = "./"; |
TString outdir = "./"; |
| 79 |
exit(-3); |
exit(-3); |
| 80 |
}; |
}; |
| 81 |
givenid = true; |
givenid = true; |
| 82 |
char *pEnd; |
run = (UInt_t)atoll(inps[i+1]); |
|
run = strtoull(inps[i+1],&pEnd,0); |
|
| 83 |
}; |
}; |
| 84 |
if ( !strcmp(inps[i],"-outDir") ) { |
if ( !strcmp(inps[i],"-outDir") ) { |
| 85 |
if ( numinp-1 < i+1 ){ |
if ( numinp-1 < i+1 ){ |
| 191 |
// |
// |
| 192 |
printf("\nClose the connection to the database... \n"); |
printf("\nClose the connection to the database... \n"); |
| 193 |
dbc->Close(); |
dbc->Close(); |
| 194 |
|
delete dbc; |
| 195 |
|
dbc = 0; |
| 196 |
printf("...connection terminated!\n\n"); |
printf("...connection terminated!\n\n"); |
| 197 |
// |
// |
| 198 |
// Close redirection if the case. |
// Close redirection if the case. |