- Timestamp:
- Sep 30, 2010, 2:47:17 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/examples/extended/electromagnetic/TestEm3/TestEm3.cc
r1230 r1337 24 24 // ******************************************************************** 25 25 // 26 // $Id: TestEm3.cc,v 1.2 3 2007/06/22 09:22:05maire Exp $27 // GEANT4 tag $Name: geant4-09-0 3-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 $ 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 … … 48 46 #ifdef G4VIS_USE 49 47 #include "G4VisExecutive.hh" 48 #endif 49 50 #ifdef G4UI_USE 51 #include "G4UIExecutive.hh" 50 52 #endif 51 53 … … 101 103 G4VisManager* visManager = new G4VisExecutive; 102 104 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 113 112 114 113 #ifdef G4VIS_USE
Note: See TracChangeset
for help on using the changeset viewer.