- Timestamp:
- Sep 30, 2010, 2:47:17 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/examples/extended/electromagnetic/TestEm5/TestEm5.cc
r1313 r1337 25 25 // 26 26 // 27 // $Id: TestEm5.cc,v 1.1 7 2007/06/22 10:48:00maire Exp $28 // GEANT4 tag $Name: geant4-09-0 3-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 $ 29 29 // 30 30 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... … … 33 33 #include "G4RunManager.hh" 34 34 #include "G4UImanager.hh" 35 #include "G4UIterminal.hh"36 #include "G4UItcsh.hh"37 35 #include "Randomize.hh" 38 36 … … 123 121 #endif 124 122 125 // G4UIsession * session = 0;126 G4UIExecutive * session = 0;127 123 #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; 131 127 #endif 132 133 // #ifdef G4UI_USE_TCSH134 // session = new G4UIterminal(new G4UItcsh);135 // #else136 // session = new G4UIterminal();137 // #endif138 session->SessionStart();139 delete session;140 128 141 129 #ifdef G4VIS_USE
Note: See TracChangeset
for help on using the changeset viewer.