- Timestamp:
- Sep 30, 2010, 2:47:17 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/examples/extended/electromagnetic/TestEm13/TestEm13.cc
r1230 r1337 24 24 // ******************************************************************** 25 25 // 26 // $Id: TestEm13.cc,v 1. 5 2007/06/24 22:26:54maire Exp $27 // GEANT4 tag $Name: geant4-09-0 3-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 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... … … 32 32 #include "G4RunManager.hh" 33 33 #include "G4UImanager.hh" 34 #include "G4UIterminal.hh"35 #include "G4UItcsh.hh"36 34 #include "Randomize.hh" 37 35 … … 47 45 #ifdef G4VIS_USE 48 46 #include "G4VisExecutive.hh" 47 #endif 48 49 #ifdef G4UI_USE 50 #include "G4UIExecutive.hh" 49 51 #endif 50 52 … … 91 93 visManager->Initialize(); 92 94 #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; 99 100 #endif 100 session->SessionStart();101 delete session;102 101 103 102 #ifdef G4VIS_USE
Note: See TracChangeset
for help on using the changeset viewer.