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

    r1230 r1337  
    2424// ********************************************************************
    2525//
    26 // $Id: TestEm3.cc,v 1.23 2007/06/22 09:22:05 maire Exp $
    27 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     26// $Id: TestEm3.cc,v 1.24 2010/05/19 09:10:52 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
     
    4846#ifdef G4VIS_USE
    4947#include "G4VisExecutive.hh"
     48#endif
     49
     50#ifdef G4UI_USE
     51#include "G4UIExecutive.hh"
    5052#endif
    5153
     
    101103   G4VisManager* visManager = new G4VisExecutive;
    102104   visManager->Initialize();
    103 #endif   
    104      
    105      G4UIsession * session = 0;
    106 #ifdef G4UI_USE_TCSH
    107       session = new G4UIterminal(new G4UItcsh);     
    108 #else
    109       session = new G4UIterminal();
    110 #endif     
    111      session->SessionStart();
    112      delete session;
     105#endif
     106   
     107#ifdef G4UI_USE
     108      G4UIExecutive * ui = new G4UIExecutive(argc,argv);     
     109      ui->SessionStart();
     110      delete ui;
     111#endif
    113112     
    114113#ifdef G4VIS_USE
Note: See TracChangeset for help on using the changeset viewer.