/[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.6 by mocchiut, Mon Oct 16 10:59:14 2006 UTC revision 6.8 by mocchiut, Fri Oct 19 08:14:52 2007 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 <TROOT.h>
7    #include "../event/yodaversion.h"
8  extern "C" {  extern "C" {
9      #include <dirent.h>      #include <dirent.h>
10  }  }
# Line 15  using namespace pamela::techmodel; Line 16  using namespace pamela::techmodel;
16    
17  static LoggerPtr logger = Logger::getLogger(_T("pamela.techmodel.TechmodelReader"));  static LoggerPtr logger = Logger::getLogger(_T("pamela.techmodel.TechmodelReader"));
18    
 int GetYODAver(){  
   return(60312);  
 };  
   
19  int main(int argc, char* argv[]) {  int main(int argc, char* argv[]) {
20            
21      stringstream oss;      stringstream oss;
# Line 71  int main(int argc, char* argv[]) { Line 68  int main(int argc, char* argv[]) {
68    
69    if (!strcmp(argv[1], "-version")){    if (!strcmp(argv[1], "-version")){
70      printf(" Version %i \n",GetYODAver());      printf(" Version %i \n",GetYODAver());
71      //        cout << "$Name:  $ $Revision: 6.5 $" << "\n";      //        cout << "$Name:  $ $Revision: 6.7 $" << "\n";
72          exit(1);          exit(1);
73    }    }
74    

Legend:
Removed from v.6.6  
changed lines
  Added in v.6.8

  ViewVC Help
Powered by ViewVC 1.1.23