/[PAMELA software]/yoda/techmodel/techmodelreader.cpp
ViewVC logotype

Diff of /yoda/techmodel/techmodelreader.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 6.2 by kusanagi, Tue Apr 4 15:26:57 2006 UTC revision 6.7 by mocchiut, Mon Oct 16 16:02:21 2006 UTC
# Line 3  Line 3 
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 "../event/yodaversion.h"
7  extern "C" {  extern "C" {
8      #include <dirent.h>      #include <dirent.h>
9  }  }
10    
   
   
11  using namespace pamela;  using namespace pamela;
12  using namespace log4cxx;  using namespace log4cxx;
13  using namespace std;  using namespace std;
# Line 24  int main(int argc, char* argv[]) { Line 22  int main(int argc, char* argv[]) {
22      bool multiFile = 0;      bool multiFile = 0;
23      short compression = 3;      short compression = 3;
24      char nomeFileLog[L_tmpnam];      char nomeFileLog[L_tmpnam];
25      tmpnam(nomeFileLog);      mkstemp(nomeFileLog);
26      DIR *dirp;      DIR *dirp;
27      char *outDir = "";      char *outDir = "";
28            
# Line 68  int main(int argc, char* argv[]) { Line 66  int main(int argc, char* argv[]) {
66    }    }
67    
68    if (!strcmp(argv[1], "-version")){    if (!strcmp(argv[1], "-version")){
69          cout << "$Name$ $Revision$" << "\n";      printf(" Version %i \n",GetYODAver());
70        //        cout << "$Name:  $ $Revision: 6.5 $" << "\n";
71          exit(1);          exit(1);
72    }    }
73    
# Line 183  int main(int argc, char* argv[]) { Line 182  int main(int argc, char* argv[]) {
182    Run.WriteFiles();    Run.WriteFiles();
183    
184    logger->info("<-------------------------------END UNPACKING------------------------------->\n");    logger->info("<-------------------------------END UNPACKING------------------------------->\n");
185      printf("Finished, exiting...\n");
186    
187    //Momentarly suspended the save      //Momentarly suspended the save  
188    //system(command.c_str());    //system(command.c_str());

Legend:
Removed from v.6.2  
changed lines
  Added in v.6.7

  ViewVC Help
Powered by ViewVC 1.1.23