| 19 |
// |
// |
| 20 |
// ROOT headers |
// ROOT headers |
| 21 |
// |
// |
| 22 |
|
#include <TFile.h> |
| 23 |
#include <TString.h> |
#include <TString.h> |
| 24 |
#include <TSQLServer.h> |
#include <TSQLServer.h> |
| 25 |
// |
// |
| 61 |
Int_t error = 0; |
Int_t error = 0; |
| 62 |
TFile *processFile =0; |
TFile *processFile =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],"-processFile") ) { |
if ( !strcmp(inps[i],"-processFile") ) { |
| 97 |
if ( numinp-1 < i+1 ){ |
if ( numinp-1 < i+1 ){ |
| 194 |
// |
// |
| 195 |
printf("\nClose the connection to the database... \n"); |
printf("\nClose the connection to the database... \n"); |
| 196 |
dbc->Close(); |
dbc->Close(); |
| 197 |
|
delete dbc; |
| 198 |
|
dbc = 0; |
| 199 |
printf("...connection terminated!\n\n"); |
printf("...connection terminated!\n\n"); |
| 200 |
// |
// |
| 201 |
// Close redirection if the case. |
// Close redirection if the case. |