/[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.5 by pam-rm2, Wed Aug 23 14:39:44 2006 UTC revision 6.6 by mocchiut, Mon Oct 16 10:59:14 2006 UTC
# Line 8  extern "C" { Line 8  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 17  using namespace pamela::techmodel; Line 15  using namespace pamela::techmodel;
15    
16  static LoggerPtr logger = Logger::getLogger(_T("pamela.techmodel.TechmodelReader"));  static LoggerPtr logger = Logger::getLogger(_T("pamela.techmodel.TechmodelReader"));
17    
18    int GetYODAver(){
19      return(60312);
20    };
21    
22  int main(int argc, char* argv[]) {  int main(int argc, char* argv[]) {
23            
24      stringstream oss;      stringstream oss;
# Line 68  int main(int argc, char* argv[]) { Line 70  int main(int argc, char* argv[]) {
70    }    }
71    
72    if (!strcmp(argv[1], "-version")){    if (!strcmp(argv[1], "-version")){
73          cout << "$Name: YODA6_3/05 $ $Revision: 6.3 $" << "\n";      printf(" Version %i \n",GetYODAver());
74        //        cout << "$Name:  $ $Revision: 6.5 $" << "\n";
75          exit(1);          exit(1);
76    }    }
77    
# Line 183  int main(int argc, char* argv[]) { Line 186  int main(int argc, char* argv[]) {
186    Run.WriteFiles();    Run.WriteFiles();
187    
188    logger->info("<-------------------------------END UNPACKING------------------------------->\n");    logger->info("<-------------------------------END UNPACKING------------------------------->\n");
189      printf("Finished, exiting...\n");
190    
191    //Momentarly suspended the save      //Momentarly suspended the save  
192    //system(command.c_str());    //system(command.c_str());

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

  ViewVC Help
Powered by ViewVC 1.1.23