3 |
#include <log4cxx/propertyconfigurator.h> |
#include <log4cxx/propertyconfigurator.h> |
4 |
#include "EventReader.h" |
#include "EventReader.h" |
5 |
#include <time.h> |
#include <time.h> |
6 |
|
#include <TROOT.h> |
7 |
|
#include "../event/yodaversion.h" |
8 |
extern "C" { |
extern "C" { |
9 |
#include <dirent.h> |
#include <dirent.h> |
10 |
} |
} |
11 |
|
|
|
|
|
|
|
|
12 |
using namespace pamela; |
using namespace pamela; |
13 |
using namespace log4cxx; |
using namespace log4cxx; |
14 |
using namespace std; |
using namespace std; |
23 |
bool multiFile = 0; |
bool multiFile = 0; |
24 |
short compression = 3; |
short compression = 3; |
25 |
char nomeFileLog[L_tmpnam]; |
char nomeFileLog[L_tmpnam]; |
26 |
tmpnam(nomeFileLog); |
mkstemp(nomeFileLog); |
27 |
DIR *dirp; |
DIR *dirp; |
28 |
char *outDir = ""; |
char *outDir = ""; |
29 |
|
|
67 |
} |
} |
68 |
|
|
69 |
if (!strcmp(argv[1], "-version")){ |
if (!strcmp(argv[1], "-version")){ |
70 |
cout << "$Name$ $Revision$" << "\n"; |
printf(" Version %i \n",GetYODAver()); |
71 |
|
// cout << "$Name: $ $Revision: 6.7 $" << "\n"; |
72 |
exit(1); |
exit(1); |
73 |
} |
} |
74 |
|
|
183 |
Run.WriteFiles(); |
Run.WriteFiles(); |
184 |
|
|
185 |
logger->info("<-------------------------------END UNPACKING------------------------------->\n"); |
logger->info("<-------------------------------END UNPACKING------------------------------->\n"); |
186 |
|
printf("Finished, exiting...\n"); |
187 |
|
|
188 |
//Momentarly suspended the save |
//Momentarly suspended the save |
189 |
//system(command.c_str()); |
//system(command.c_str()); |