18 |
// |
// |
19 |
// ROOT headers |
// ROOT headers |
20 |
// |
// |
21 |
|
#include <TFile.h> |
22 |
#include <TString.h> |
#include <TString.h> |
23 |
#include <TSQLServer.h> |
#include <TSQLServer.h> |
24 |
// |
// |
61 |
int nul = 0; |
int nul = 0; |
62 |
int error = 0; |
int error = 0; |
63 |
Bool_t beverbose = false; |
Bool_t beverbose = false; |
64 |
ULong64_t run = 0; |
UInt_t run = 0; |
65 |
TString filename=""; |
TString filename=""; |
66 |
TString processFolder; |
TString processFolder; |
67 |
TString outDir = "./"; |
TString outDir = "./"; |
91 |
exit(-3); |
exit(-3); |
92 |
}; |
}; |
93 |
givenid = true; |
givenid = true; |
94 |
char *pEnd; |
run = (UInt_t)atoll(inps[i+1]); |
|
run = strtoull(inps[i+1],&pEnd,0); |
|
95 |
}; |
}; |
96 |
if ( !strcmp(inps[i],"-outDir") ) { |
if ( !strcmp(inps[i],"-outDir") ) { |
97 |
if ( numinp-1 < i+1 ){ |
if ( numinp-1 < i+1 ){ |
201 |
// |
// |
202 |
printf("\nClose the connection to the database... \n"); |
printf("\nClose the connection to the database... \n"); |
203 |
dbc->Close(); |
dbc->Close(); |
204 |
|
delete dbc; |
205 |
|
dbc = 0; |
206 |
printf("...connection terminated!\n\n"); |
printf("...connection terminated!\n\n"); |
207 |
// |
// |
208 |
// Close redirection if the case. |
// Close redirection if the case. |