Ignore:
Timestamp:
Sep 30, 2010, 2:47:17 PM (14 years ago)
Author:
garnier
Message:

tag geant4.9.4 beta 1 + modifs locales

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/examples/extended/electromagnetic/TestEm5/TestEm5.cc

    r1313 r1337  
    2525//
    2626//
    27 // $Id: TestEm5.cc,v 1.17 2007/06/22 10:48:00 maire Exp $
    28 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     27// $Id: TestEm5.cc,v 1.18 2010/05/19 09:35:37 maire Exp $
     28// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2929//
    3030//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
     
    3333#include "G4RunManager.hh"
    3434#include "G4UImanager.hh"
    35 #include "G4UIterminal.hh"
    36 #include "G4UItcsh.hh"
    3735#include "Randomize.hh"
    3836
     
    123121#endif   
    124122     
    125    //   G4UIsession * session = 0;
    126    G4UIExecutive * session = 0;
    127123#ifdef G4UI_USE
    128    session = new G4UIExecutive(argc,argv);
    129 #else
    130    session = new G4UIterminal();
     124      G4UIExecutive * ui = new G4UIExecutive(argc,argv);     
     125      ui->SessionStart();
     126      delete ui;
    131127#endif
    132 
    133 // #ifdef G4UI_USE_TCSH
    134 //       session = new G4UIterminal(new G4UItcsh);     
    135 // #else
    136 //       session = new G4UIterminal();
    137 // #endif     
    138      session->SessionStart();
    139      delete session;
    140128     
    141129#ifdef G4VIS_USE
Note: See TracChangeset for help on using the changeset viewer.