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/TestEm13/TestEm13.cc

    r1230 r1337  
    2424// ********************************************************************
    2525//
    26 // $Id: TestEm13.cc,v 1.5 2007/06/24 22:26:54 maire Exp $
    27 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     26// $Id: TestEm13.cc,v 1.6 2010/04/02 15:46:31 maire Exp $
     27// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2828//
    2929//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
     
    3232#include "G4RunManager.hh"
    3333#include "G4UImanager.hh"
    34 #include "G4UIterminal.hh"
    35 #include "G4UItcsh.hh"
    3634#include "Randomize.hh"
    3735
     
    4745#ifdef G4VIS_USE
    4846 #include "G4VisExecutive.hh"
     47#endif
     48
     49#ifdef G4UI_USE
     50#include "G4UIExecutive.hh"
    4951#endif
    5052
     
    9193   visManager->Initialize();
    9294#endif   
    93      
    94      G4UIsession * session = 0;
    95 #ifdef G4UI_USE_TCSH
    96       session = new G4UIterminal(new G4UItcsh);     
    97 #else
    98       session = new G4UIterminal();
     95
     96#ifdef G4UI_USE
     97      G4UIExecutive * ui = new G4UIExecutive(argc,argv);     
     98      ui->SessionStart();
     99      delete ui;
    99100#endif     
    100      session->SessionStart();
    101      delete session;
    102101     
    103102#ifdef G4VIS_USE
Note: See TracChangeset for help on using the changeset viewer.