Changeset 1337 for trunk/examples/extended/electromagnetic/TestEm17
- Timestamp:
- Sep 30, 2010, 2:47:17 PM (14 years ago)
- Location:
- trunk/examples/extended/electromagnetic/TestEm17
- Files:
-
- 39 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/examples/extended/electromagnetic/TestEm17/History
r807 r1337 1 $Id: History,v 1. 4 2007/05/12 16:33:53 vnivanchExp $1 $Id: History,v 1.12 2010/06/07 05:40:46 perl Exp $ 2 2 ------------------------------------------------------------------- 3 3 … … 15 15 * Reverse chronological order (last date on top), please * 16 16 ---------------------------------------------------------- 17 18 06-06-10 J.Perl (testem17-V09-03-02) 19 - Remove unused variable in EventAction 20 21 03-06-10 J.Perl (testem17-V09-03-01) 22 - Updated vis usage 23 24 21-05-10 mma (testem17-V09-03-00) 25 - TestEm17.cc : introduction of G4UIExecutive 26 27 24-09-08 mma (testem17-V09-01-04) 28 - HistoManager : root as default format 29 30 12-06-08 mma (testem17-V09-01-03) 31 - Remove AIDA from GNUmakefile 32 33 07-05-08 mma (testem17-V09-01-02) 34 - PhysListEmStandard : add spline option for physics tables 35 - README : update Aida informations 36 37 31-03-08 V.Ivant (testem17-V09-01-01) 38 - reduce number of string comparisons (10% CPU) 39 40 18-03-08 V.Ivant (testem17-V09-01-00) 41 - added pion and protons bremsstrahlung and pair production 17 42 18 43 12-05-07 V.Ivant (testem17-V08-03-00) -
trunk/examples/extended/electromagnetic/TestEm17/README
r807 r1337 1 $Id: README,v 1. 1 2006/05/09 16:22:19maire Exp $1 $Id: README,v 1.3 2008/09/26 20:15:04 maire Exp $ 2 2 ------------------------------------------------------------------- 3 3 … … 79 79 the commands: 80 80 /testem/histo/setFileName name (default testem17) 81 /testem/histo/setFileType name (default hbook)81 /testem/histo/setFileType name (default root) 82 82 83 83 Note that, by default, histograms are disabled. To activate them, … … 124 124 125 125 To use histograms, at least one of the AIDA implementations should be 126 available (see http://aida.freehep.org).126 available. See InstallAida.txt 127 127 128 8a - PI129 130 A package including AIDA and extended interfaces also using Python is PI,131 available from: http://cern.ch/pi132 133 Once installed PI or PI-Lite in a specified local area $MYPY, it is required134 to add the installation path to $PATH, i.e. for example, for release 1.2.1 of135 PI:136 setenv PATH ${PATH}:$MYPI/1.2.1/app/releases/PI/PI_1_2_1/rh73_gcc32/bin137 138 CERN users can use the PATH to the LCG area on AFS.139 Before running the example the command should be issued:140 eval `aida-config --runtime csh`141 142 8b - OpenScientist143 144 OpenScientist is available at http://OpenScientist.lal.in2p3.fr.145 146 You have to "setup" the OpenScientist AIDA implementation before compiling147 (then with G4ANALYSIS_USE set) and running your Geant4 application.148 149 On UNIX you setup, with a csh flavoured shell :150 csh> source <<OpenScientist install path>/aida-setup.csh151 or with a sh flavoured shell :152 sh> . <<OpenScientist install path>/aida-setup.sh153 On Windows :154 DOS> call <<OpenScientist install path>/aida-setup.bat155 156 You can use various file formats for writing (AIDA-XML, hbook, root).157 These formats are readable by the Lab onx interactive program158 or the OpenPAW application. See the web pages.159 160 161 With OpenPAW, on a run.hbook file, one can view the histograms162 with something like :163 OS> opaw164 opaw> h/file 1 run.hbook ( or opaw> h/file 1 run.aida or run.root)165 opaw> zone 2 2166 opaw> h/plot 1167 opaw> h/plot 2 -
trunk/examples/extended/electromagnetic/TestEm17/TestEm17.cc
r1230 r1337 25 25 // 26 26 // 27 // $Id: TestEm17.cc,v 1. 2 2006/06/29 16:48:08 gunterExp $28 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // $Id: TestEm17.cc,v 1.3 2010/05/21 08:30:24 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 … … 50 48 #ifdef G4VIS_USE 51 49 #include "G4VisExecutive.hh" 50 #endif 51 52 #ifdef G4UI_USE 53 #include "G4UIExecutive.hh" 52 54 #endif 53 55 … … 72 74 runManager->SetUserAction(prim = new PrimaryGeneratorAction(det)); 73 75 74 #ifdef G4VIS_USE75 // visualization manager76 G4VisManager* visManager = new G4VisExecutive;77 visManager->Initialize();78 #endif79 80 76 HistoManager* histo = new HistoManager(); 81 77 … … 95 91 96 92 } else { // start interactive session 97 G4UIsession* session = 0; 98 #ifdef G4UI_USE_TCSH 99 session = new G4UIterminal(new G4UItcsh); 100 #else 101 session = new G4UIterminal(); 102 #endif 103 session->SessionStart(); 104 delete session; 93 #ifdef G4VIS_USE 94 G4VisManager* visManager = new G4VisExecutive; 95 visManager->Initialize(); 96 #endif 97 98 #ifdef G4UI_USE 99 G4UIExecutive * ui = new G4UIExecutive(argc,argv); 100 ui->SessionStart(); 101 delete ui; 102 #endif 103 104 #ifdef G4VIS_USE 105 delete visManager; 106 #endif 105 107 } 106 108 107 109 // job termination 108 110 // 109 110 #ifdef G4VIS_USE111 delete visManager;112 #endif113 114 111 delete histo; 115 112 delete runManager; -
trunk/examples/extended/electromagnetic/TestEm17/TestEm17.in
r807 r1337 1 # $Id: TestEm17.in,v 1. 1 2006/05/09 16:22:19 maireExp $1 # $Id: TestEm17.in,v 1.3 2008/03/31 10:11:30 vnivanch Exp $ 2 2 # 3 3 # Macro file for "TestEm17.cc" … … 21 21 # 22 22 /run/beamOn 10000 23 # 24 /gun/particle pi+ 25 /run/beamOn 10000 26 # 27 /gun/particle proton 28 /run/beamOn 10000 29 # 30 -
trunk/examples/extended/electromagnetic/TestEm17/TestEm17.out
r807 r1337 1 2 ############################################ 3 !!! WARNING - FPE detection is activated !!! 4 ############################################ 1 5 2 6 ************************************************************* 3 Geant4 version Name: g lobal-V09-00-03 (9-May-2008)7 Geant4 version Name: geant4-09-03-ref-06 (25-June-2010) 4 8 Copyright : Geant4 Collaboration 5 9 Reference : NIM A 506 (2003), 250-303 … … 10 14 ***** Table : Nb of materials = 7 ***** 11 15 12 Material: galactic density: 0.000 mg/cm3 RadL: 204727576.737 pc Imean: 21.800 eV temperature: 2.73 K pressure: 0.00 atm16 Material: galactic density: 0.000 kg/m3 RadL: 204727512.315 pc Nucl.Int.Length: 113804112.800 pc Imean: 19.200 eV temperature: 2.73 K pressure: 0.00 atm 13 17 ---> Element: galactic ( ) Z = 1.0 N = 1.0 A = 1.01 g/mole ElmMassFraction: 100.00 % ElmAbundance 100.00 % 14 18 15 Material: Air density: 1.290 mg/cm3 RadL: 285.161 m Imean: 85.684eV temperature: 273.15 K pressure: 1.00 atm19 Material: Air density: 1.290 mg/cm3 RadL: 285.161 m Nucl.Int.Length: 662.680 m Imean: 85.703 eV temperature: 273.15 K pressure: 1.00 atm 16 20 ---> Element: Nitrogen (N) Z = 7.0 N = 14.0 A = 14.01 g/mole ElmMassFraction: 70.00 % ElmAbundance 72.71 % 17 21 ---> Element: Oxygen (O) Z = 8.0 N = 16.0 A = 16.00 g/mole ElmMassFraction: 30.00 % ElmAbundance 27.29 % 18 22 19 Material: CaCO3 density: 2.800 g/cm3 RadL: 8.581 cm Imean: 123.060eV23 Material: CaCO3 density: 2.800 g/cm3 RadL: 8.581 cm Nucl.Int.Length: 34.749 cm Imean: 123.236 eV 20 24 ---> Element: Calcium (Ca) Z = 20.0 N = 40.1 A = 40.08 g/mole ElmMassFraction: 40.04 % ElmAbundance 20.00 % 21 25 ---> Element: Carbon (C) Z = 6.0 N = 12.0 A = 12.01 g/mole ElmMassFraction: 12.00 % ElmAbundance 20.00 % 22 26 ---> Element: Oxygen (O) Z = 8.0 N = 16.0 A = 16.00 g/mole ElmMassFraction: 47.96 % ElmAbundance 60.00 % 23 27 24 Material: Carbon density: 2.265 g/cm3 RadL: 18.850 cm Imean: 78.000 eV28 Material: Carbon density: 2.265 g/cm3 RadL: 18.850 cm Nucl.Int.Length: 35.387 cm Imean: 81.000 eV 25 29 ---> Element: Carbon ( ) Z = 6.0 N = 12.0 A = 12.01 g/mole ElmMassFraction: 100.00 % ElmAbundance 100.00 % 26 30 27 Material: Iron density: 7.870 g/cm3 RadL: 1.759 cm Imean: 286.000 eV28 ---> Element: Iron ( ) Z = 26.0 N = 55. 9A = 55.85 g/mole ElmMassFraction: 100.00 % ElmAbundance 100.00 %29 30 Material: Tin density: 7.310 g/cm3 RadL: 1.206 cm Imean: 490.000 eV31 Material: Iron density: 7.870 g/cm3 RadL: 1.759 cm Nucl.Int.Length: 16.999 cm Imean: 286.000 eV 32 ---> Element: Iron ( ) Z = 26.0 N = 55.8 A = 55.85 g/mole ElmMassFraction: 100.00 % ElmAbundance 100.00 % 33 34 Material: Tin density: 7.310 g/cm3 RadL: 1.206 cm Nucl.Int.Length: 23.531 cm Imean: 488.000 eV 31 35 ---> Element: Tin ( ) Z = 50.0 N = 118.7 A = 118.70 g/mole ElmMassFraction: 100.00 % ElmAbundance 100.00 % 32 36 33 Material: HI density: 2.800 g/cm3 RadL: 3.049 cm Imean: 465.242eV37 Material: HI density: 2.800 g/cm3 RadL: 3.049 cm Nucl.Int.Length: 60.888 cm Imean: 462.393 eV 34 38 ---> Element: Hydrogen (H) Z = 1.0 N = 1.0 A = 1.01 g/mole ElmMassFraction: 0.79 % ElmAbundance 50.00 % 35 39 ---> Element: Iodine (I) Z = 53.0 N = 126.9 A = 126.90 g/mole ElmMassFraction: 99.21 % ElmAbundance 50.00 % 36 40 37 38 Visualization Manager instantiating...39 Visualization Manager initialising...40 Registering graphics systems...41 42 You have successfully registered the following graphics systems.43 Current available graphics systems are:44 ASCIITree (ATree)45 DAWNFILE (DAWNFILE)46 G4HepRep (HepRepXML)47 G4HepRepFile (HepRepFile)48 RayTracer (RayTracer)49 VRML1FILE (VRML1FILE)50 VRML2FILE (VRML2FILE)51 OpenGLImmediateX (OGLIX)52 OpenGLStoredX (OGLSX)53 54 Registering model factories...55 56 You have successfully registered the following model factories.57 Registered model factories:58 generic59 drawByCharge60 drawByParticleID61 drawByOriginVolume62 drawByAttribute63 64 Registered filter factories:65 chargeFilter66 particleFilter67 originVolumeFilter68 attributeFilter69 41 70 42 /run/verbose 2 … … 83 55 physicsList->Construct() start. 84 56 physicsList->Construct() start. 57 physicsList->CheckParticleList() start. 85 58 physicsList->setCut() start. 86 59 PhysicsList::SetCuts:CutLength : 1 mm … … 92 65 # 93 66 /run/beamOn 10000 67 68 hIoni: for proton SubType= 2 69 dE/dx and range tables from 100 eV to 1000 PeV in 160 bins 70 Lambda tables from threshold to 1000 PeV in 160 bins, spline: 1 71 finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 72 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 73 Bragg : Emin= 0 eV Emax= 2 MeV 74 BetheBloch : Emin= 2 MeV Emax= 1000 PeV 75 76 hBrems: for proton SubType= 3 77 dE/dx and range tables from 100 eV to 1000 PeV in 160 bins 78 Lambda tables from threshold to 1000 PeV in 160 bins, spline: 1 79 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 80 hBrem : Emin= 0 eV Emax= 100 TeV 81 82 hPairProd: for proton SubType= 4 83 dE/dx and range tables from 100 eV to 1000 PeV in 160 bins 84 Lambda tables from threshold to 1000 PeV in 160 bins, spline: 1 85 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 86 hPairProd : Emin= 0 eV Emax= 100 TeV 87 88 muIoni: for mu+ SubType= 2 89 dE/dx and range tables from 100 eV to 1000 PeV in 160 bins 90 Lambda tables from threshold to 1000 PeV in 160 bins, spline: 1 91 finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 92 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 93 Bragg : Emin= 0 eV Emax= 200 keV 94 BetheBloch : Emin= 200 keV Emax= 1 GeV 95 MuBetheBloch : Emin= 1 GeV Emax= 1000 PeV 96 97 muBrems: for mu+ SubType= 3 98 dE/dx and range tables from 100 eV to 1000 PeV in 160 bins 99 Lambda tables from threshold to 1000 PeV in 160 bins, spline: 1 100 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 101 MuBrem : Emin= 0 eV Emax= 1000 PeV 102 103 muPairProd: for mu+ SubType= 4 104 dE/dx and range tables from 100 eV to 1000 PeV in 160 bins 105 Lambda tables from threshold to 1000 PeV in 160 bins, spline: 1 106 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 107 muPairProd : Emin= 0 eV Emax= 1000 PeV 108 109 muIoni: for mu- SubType= 2 110 dE/dx and range tables from 100 eV to 1000 PeV in 160 bins 111 Lambda tables from threshold to 1000 PeV in 160 bins, spline: 1 112 finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 113 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 114 ICRU73QO : Emin= 0 eV Emax= 200 keV 115 BetheBloch : Emin= 200 keV Emax= 1 GeV 116 MuBetheBloch : Emin= 1 GeV Emax= 1000 PeV 117 118 muBrems: for mu- SubType= 3 119 dE/dx and range tables from 100 eV to 1000 PeV in 160 bins 120 Lambda tables from threshold to 1000 PeV in 160 bins, spline: 1 121 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 122 MuBrem : Emin= 0 eV Emax= 1000 PeV 123 124 muPairProd: for mu- SubType= 4 125 dE/dx and range tables from 100 eV to 1000 PeV in 160 bins 126 Lambda tables from threshold to 1000 PeV in 160 bins, spline: 1 127 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 128 muPairProd : Emin= 0 eV Emax= 1000 PeV 129 130 hIoni: for pi+ SubType= 2 131 dE/dx and range tables from 100 eV to 1000 PeV in 160 bins 132 Lambda tables from threshold to 1000 PeV in 160 bins, spline: 1 133 finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 134 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 135 Bragg : Emin= 0 eV Emax= 297.504 keV 136 BetheBloch : Emin= 297.504 keV Emax= 1000 PeV 137 138 hBrems: for pi+ SubType= 3 139 dE/dx and range tables from 100 eV to 1000 PeV in 160 bins 140 Lambda tables from threshold to 1000 PeV in 160 bins, spline: 1 141 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 142 hBrem : Emin= 0 eV Emax= 100 TeV 143 144 hPairProd: for pi+ SubType= 4 145 dE/dx and range tables from 100 eV to 1000 PeV in 160 bins 146 Lambda tables from threshold to 1000 PeV in 160 bins, spline: 1 147 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 148 hPairProd : Emin= 0 eV Emax= 100 TeV 149 150 hIoni: for pi- SubType= 2 151 dE/dx and range tables from 100 eV to 1000 PeV in 160 bins 152 Lambda tables from threshold to 1000 PeV in 160 bins, spline: 1 153 finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 154 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 155 ICRU73QO : Emin= 0 eV Emax= 297.504 keV 156 BetheBloch : Emin= 297.504 keV Emax= 1000 PeV 157 158 hBrems: for pi- SubType= 3 159 dE/dx and range tables from 100 eV to 1000 PeV in 160 bins 160 Lambda tables from threshold to 1000 PeV in 160 bins, spline: 1 161 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 162 hBrem : Emin= 0 eV Emax= 100 TeV 163 164 hPairProd: for pi- SubType= 4 165 dE/dx and range tables from 100 eV to 1000 PeV in 160 bins 166 Lambda tables from threshold to 1000 PeV in 160 bins, spline: 1 167 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 168 hPairProd : Emin= 0 eV Emax= 100 TeV 94 169 95 170 Region <DefaultRegionForTheWorld> -- appears in <Iron> world volume … … 97 172 Pointers : G4VUserRegionInformation[0], G4UserLimits[0], G4FastSimulationManager[0], G4UserSteppingAction[0] 98 173 Materials : Iron 99 Production cuts : gamma 1 mm e- 1 mm e+ 1 mm174 Production cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 0 fm 100 175 101 176 ========= Table of registered couples ============================== … … 103 178 Index : 0 used in the geometry : Yes recalculation needed : No 104 179 Material : Iron 105 Range cuts : gamma 1 mm e- 1 mm e+ 1 mm106 Energy thresholds : gamma 20.8323 keV e- 1.28002 MeV e+ 1.21851 MeV180 Range cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 0 fm 181 Energy thresholds : gamma 20.6438 keV e- 1.29592 MeV e+ 1.21169 MeV proton 0 eV 107 182 Region(s) which use this couple : 108 183 DefaultRegionForTheWorld … … 145 220 Run Summary 146 221 Number of events processed : 10000 147 User= 8.7s Real=32.93s Sys=2.4s222 User=4.58s Real=9.39s Sys=0.25s 148 223 149 224 The run consists of 10000 mu+ of 10 TeV through 1 m of Iron (density: 7.9 g/cm3 ) 150 225 151 Number of process calls ---> muIoni : 46 9509 muPairProd : 63194 muBrems : 732152 153 Simulation: total CrossSection = 0.5 3343 /cm MeanFreePath = 1.8746 cm massicCrossSection = 0.067781cm2/g226 Number of process calls ---> muIoni : 461894 muPairProd : 63886 muBrems : 665 227 228 Simulation: total CrossSection = 0.52644 /cm MeanFreePath = 1.8995 cm massicCrossSection = 0.066893 cm2/g 154 229 Theory: total CrossSection = 0.53938 /cm MeanFreePath = 1.854 cm massicCrossSection = 0.068536 cm2/g 155 230 156 231 --------- Ranecu engine status --------- 157 232 Initial seed (index) = 0 158 Current couple of seeds = 2031201429, 1872579439 159 ---------------------------------------- 160 Graphics systems deleted. 161 Visualization Manager deleting... 233 Current couple of seeds = 1599898295, 1410323926 234 ---------------------------------------- 235 # 236 /gun/particle pi+ 237 /run/beamOn 10000 238 239 Region <DefaultRegionForTheWorld> -- appears in <Iron> world volume 240 Root logical volume(s) : Iron 241 Pointers : G4VUserRegionInformation[0], G4UserLimits[0], G4FastSimulationManager[0], G4UserSteppingAction[0] 242 Materials : Iron 243 Production cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 0 fm 244 245 ========= Table of registered couples ============================== 246 247 Index : 0 used in the geometry : Yes recalculation needed : No 248 Material : Iron 249 Range cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 0 fm 250 Energy thresholds : gamma 20.643844 keV e- 1.295918 MeV e+ 1.2116932 MeV proton 0 eV 251 Region(s) which use this couple : 252 DefaultRegionForTheWorld 253 254 ==================================================================== 255 256 ### Run 1 start. 257 258 --------- Ranecu engine status --------- 259 Initial seed (index) = 0 260 Current couple of seeds = 1599898295, 1410323926 261 ---------------------------------------- 262 Start Run processing. 263 264 ---> Begin of Event: 0 265 266 ---> Begin of Event: 1000 267 268 ---> Begin of Event: 2000 269 270 ---> Begin of Event: 3000 271 272 ---> Begin of Event: 4000 273 274 ---> Begin of Event: 5000 275 276 ---> Begin of Event: 6000 277 278 ---> Begin of Event: 7000 279 280 ---> Begin of Event: 8000 281 282 ---> Begin of Event: 9000 283 Run terminated. 284 Run Summary 285 Number of events processed : 10000 286 User=4.12s Real=5.27s Sys=0.24s 287 288 The run consists of 10000 pi+ of 10 TeV through 1 m of Iron (density: 7.9 g/cm3 ) 289 290 Number of process calls ---> hIoni : 433928 hPairProd : 59452 hBrems : 347 291 292 Simulation: total CrossSection = 0.49373 /cm MeanFreePath = 2.0254 cm massicCrossSection = 0.062735 cm2/g 293 294 --------- Ranecu engine status --------- 295 Initial seed (index) = 0 296 Current couple of seeds = 1194972054, 916833196 297 ---------------------------------------- 298 # 299 /gun/particle proton 300 /run/beamOn 10000 301 302 Region <DefaultRegionForTheWorld> -- appears in <Iron> world volume 303 Root logical volume(s) : Iron 304 Pointers : G4VUserRegionInformation[0], G4UserLimits[0], G4FastSimulationManager[0], G4UserSteppingAction[0] 305 Materials : Iron 306 Production cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 0 fm 307 308 ========= Table of registered couples ============================== 309 310 Index : 0 used in the geometry : Yes recalculation needed : No 311 Material : Iron 312 Range cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 0 fm 313 Energy thresholds : gamma 20.643844 keV e- 1.295918 MeV e+ 1.2116932 MeV proton 0 eV 314 Region(s) which use this couple : 315 DefaultRegionForTheWorld 316 317 ==================================================================== 318 319 ### Run 2 start. 320 321 --------- Ranecu engine status --------- 322 Initial seed (index) = 0 323 Current couple of seeds = 1194972054, 916833196 324 ---------------------------------------- 325 Start Run processing. 326 327 ---> Begin of Event: 0 328 329 ---> Begin of Event: 1000 330 331 ---> Begin of Event: 2000 332 333 ---> Begin of Event: 3000 334 335 ---> Begin of Event: 4000 336 337 ---> Begin of Event: 5000 338 339 ---> Begin of Event: 6000 340 341 ---> Begin of Event: 7000 342 343 ---> Begin of Event: 8000 344 345 ---> Begin of Event: 9000 346 Run terminated. 347 Run Summary 348 Number of events processed : 10000 349 User=3.58s Real=3.91s Sys=0.24s 350 351 The run consists of 10000 proton of 10 TeV through 1 m of Iron (density: 7.9 g/cm3 ) 352 353 Number of process calls ---> hIoni : 433160 hPairProd : 34070 hBrems : 10 354 355 Simulation: total CrossSection = 0.46724 /cm MeanFreePath = 2.1402 cm massicCrossSection = 0.05937 cm2/g 356 357 --------- Ranecu engine status --------- 358 Initial seed (index) = 0 359 Current couple of seeds = 250921008, 1691860124 360 ---------------------------------------- 361 # 162 362 UserDetectorConstruction deleted. 163 363 UserPhysicsList deleted. … … 166 366 G4 kernel has come to Quit state. 167 367 EventManager deleted. 168 Default detector region deleted.169 368 UImanager deleted. 170 369 Units table cleared. … … 172 371 RunManagerKernel is deleted. 173 372 RunManager is deleting. 373 -
trunk/examples/extended/electromagnetic/TestEm17/include/DetectorConstruction.hh
r1230 r1337 26 26 // 27 27 // $Id: DetectorConstruction.hh,v 1.2 2006/06/29 16:48:10 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $28 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 29 29 // 30 30 // -
trunk/examples/extended/electromagnetic/TestEm17/include/DetectorMessenger.hh
r1230 r1337 26 26 // 27 27 // $Id: DetectorMessenger.hh,v 1.2 2006/06/29 16:48:13 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $28 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 29 29 // 30 30 // -
trunk/examples/extended/electromagnetic/TestEm17/include/EventAction.hh
r1230 r1337 25 25 // 26 26 // $Id: EventAction.hh,v 1.2 2006/06/29 16:48:15 gunter Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/electromagnetic/TestEm17/include/EventActionMessenger.hh
r1230 r1337 25 25 // 26 26 // $Id: EventActionMessenger.hh,v 1.2 2006/06/29 16:48:17 gunter Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/electromagnetic/TestEm17/include/HistoManager.hh
r1230 r1337 25 25 // 26 26 // $Id: HistoManager.hh,v 1.3 2008/03/18 15:30:33 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/electromagnetic/TestEm17/include/HistoMessenger.hh
r1230 r1337 25 25 // 26 26 // $Id: HistoMessenger.hh,v 1.2 2006/06/29 16:48:21 gunter Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/electromagnetic/TestEm17/include/MuCrossSections.hh
r1230 r1337 25 25 // 26 26 // $Id: MuCrossSections.hh,v 1.2 2006/06/29 16:48:23 gunter Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/electromagnetic/TestEm17/include/MuNuclearBuilder.hh
r1230 r1337 25 25 // 26 26 // $Id: MuNuclearBuilder.hh,v 1.2 2006/06/29 16:48:25 gunter Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/electromagnetic/TestEm17/include/PhysListEmStandard.hh
r1230 r1337 25 25 // 26 26 // $Id: PhysListEmStandard.hh,v 1.2 2006/06/29 16:48:30 gunter Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/electromagnetic/TestEm17/include/PhysicsList.hh
r1230 r1337 25 25 // 26 26 // $Id: PhysicsList.hh,v 1.2 2006/06/29 16:48:32 gunter Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/electromagnetic/TestEm17/include/PhysicsListMessenger.hh
r1230 r1337 25 25 // 26 26 // $Id: PhysicsListMessenger.hh,v 1.2 2006/06/29 16:48:34 gunter Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/electromagnetic/TestEm17/include/PrimaryGeneratorAction.hh
r1230 r1337 25 25 // 26 26 // $Id: PrimaryGeneratorAction.hh,v 1.2 2006/06/29 16:48:36 gunter Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/electromagnetic/TestEm17/include/ProcessesCount.hh
r1230 r1337 25 25 // 26 26 // $Id: ProcessesCount.hh,v 1.2 2006/06/29 16:48:38 gunter Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/electromagnetic/TestEm17/include/RunAction.hh
r1230 r1337 25 25 // 26 26 // $Id: RunAction.hh,v 1.2 2006/06/29 16:48:40 gunter Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/electromagnetic/TestEm17/include/StackingAction.hh
r1230 r1337 25 25 // 26 26 // $Id: StackingAction.hh,v 1.2 2006/06/29 16:48:42 gunter Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/electromagnetic/TestEm17/include/SteppingAction.hh
r1230 r1337 25 25 // 26 26 // $Id: SteppingAction.hh,v 1.2 2006/06/29 16:48:44 gunter Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/electromagnetic/TestEm17/include/SteppingVerbose.hh
r1230 r1337 25 25 // 26 26 // $Id: SteppingVerbose.hh,v 1.2 2006/06/29 16:48:47 gunter Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 // This class manages the verbose outputs in G4SteppingManager. -
trunk/examples/extended/electromagnetic/TestEm17/src/DetectorConstruction.cc
r1230 r1337 26 26 // 27 27 // $Id: DetectorConstruction.cc,v 1.3 2007/05/12 16:33:53 vnivanch Exp $ 28 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $28 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 29 29 // 30 30 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/electromagnetic/TestEm17/src/DetectorMessenger.cc
r1230 r1337 26 26 // 27 27 // $Id: DetectorMessenger.cc,v 1.2 2006/06/29 16:48:51 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $28 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 29 29 // 30 30 // -
trunk/examples/extended/electromagnetic/TestEm17/src/EventAction.cc
r1230 r1337 24 24 // ******************************************************************** 25 25 // 26 // $Id: EventAction.cc,v 1. 2 2006/06/29 16:48:53 gunterExp $27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $26 // $Id: EventAction.cc,v 1.4 2010/06/07 05:40:46 perl Exp $ 27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... … … 35 35 36 36 #include "G4Event.hh" 37 #include "G4TrajectoryContainer.hh"38 #include "G4Trajectory.hh"39 #include "G4VVisManager.hh"40 37 41 38 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... … … 67 64 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 68 65 69 void EventAction::EndOfEventAction(const G4Event* evt)66 void EventAction::EndOfEventAction(const G4Event*) 70 67 { 71 if (G4VVisManager::GetConcreteInstance())72 {73 G4TrajectoryContainer* trajectoryContainer = evt->GetTrajectoryContainer();74 G4int n_trajectories = 0;75 if (trajectoryContainer) n_trajectories = trajectoryContainer->entries();76 for (G4int i=0; i<n_trajectories; i++) {77 G4Trajectory* trj = (G4Trajectory*)78 ((*(evt->GetTrajectoryContainer()))[i]);79 trj->DrawTrajectory(1000);80 }81 }82 68 } 83 69 -
trunk/examples/extended/electromagnetic/TestEm17/src/EventActionMessenger.cc
r1230 r1337 25 25 // 26 26 // $Id: EventActionMessenger.cc,v 1.2 2006/06/29 16:48:55 gunter Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/electromagnetic/TestEm17/src/HistoManager.cc
r1230 r1337 25 25 // 26 26 // $Id: HistoManager.cc,v 1.4 2008/09/26 20:15:04 maire Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/electromagnetic/TestEm17/src/HistoMessenger.cc
r1230 r1337 25 25 // 26 26 // $Id: HistoMessenger.cc,v 1.2 2006/06/29 16:49:01 gunter Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/electromagnetic/TestEm17/src/MuCrossSections.cc
r1230 r1337 25 25 // 26 26 // $Id: MuCrossSections.cc,v 1.2 2006/06/29 16:49:03 gunter Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/electromagnetic/TestEm17/src/MuNuclearBuilder.cc
r1230 r1337 26 26 // 27 27 // $Id: MuNuclearBuilder.cc,v 1.2 2006/06/29 16:49:05 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $28 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 29 29 // 30 30 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/electromagnetic/TestEm17/src/PhysListEmStandard.cc
r1230 r1337 25 25 // 26 26 // $Id: PhysListEmStandard.cc,v 1.4 2008/05/07 13:57:56 maire Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/electromagnetic/TestEm17/src/PhysicsList.cc
r1230 r1337 26 26 // 27 27 // $Id: PhysicsList.cc,v 1.4 2006/10/24 10:06:21 maire Exp $ 28 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $28 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 29 29 // 30 30 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/electromagnetic/TestEm17/src/PhysicsListMessenger.cc
r1230 r1337 25 25 // 26 26 // $Id: PhysicsListMessenger.cc,v 1.2 2006/06/29 16:49:13 gunter Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/electromagnetic/TestEm17/src/PrimaryGeneratorAction.cc
r1230 r1337 25 25 // 26 26 // $Id: PrimaryGeneratorAction.cc,v 1.2 2006/06/29 16:49:15 gunter Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/electromagnetic/TestEm17/src/RunAction.cc
r1230 r1337 25 25 // 26 26 // $Id: RunAction.cc,v 1.4 2008/03/31 10:22:59 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/electromagnetic/TestEm17/src/StackingAction.cc
r1230 r1337 25 25 // 26 26 // $Id: StackingAction.cc,v 1.2 2006/06/29 16:49:20 gunter Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/electromagnetic/TestEm17/src/SteppingAction.cc
r1230 r1337 25 25 // 26 26 // $Id: SteppingAction.cc,v 1.4 2008/03/31 10:22:59 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/electromagnetic/TestEm17/src/SteppingVerbose.cc
r1230 r1337 25 25 // 26 26 // $Id: SteppingVerbose.cc,v 1.2 2006/06/29 16:49:25 gunter Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/electromagnetic/TestEm17/vis.mac
r807 r1337 1 1 # 2 # Macro file for the initialization phase of "TestEm 14.cc"2 # Macro file for the initialization phase of "TestEm6.cc" 3 3 # 4 4 # Sets some default verbose … … 10 10 /run/initialize 11 11 # 12 # Create empty scene ("world" is default)13 /vis/ scene/create12 # Use this open statement to create an OpenGL view: 13 /vis/open OGL 600x600-0+0 14 14 # 15 # Create a scene handler for a specific graphics system 16 # Edit the next line(s) to choose another graphic system 17 # 18 /vis/open OGLIX 19 # 15 # Use this open statement to create a .prim file suitable for 16 # viewing in DAWN: 20 17 #/vis/open DAWNFILE 21 18 # 22 # Draw scene 19 # Use this open statement to create a .heprep file suitable for 20 # viewing in HepRApp: 21 #/vis/open HepRepFile 22 # 23 # Use this open statement to create a .wrl file suitable for 24 # viewing in a VRML viewer: 25 #/vis/open VRML2FILE 26 # 27 # Disable auto refresh and quieten vis messages whilst scene and 28 # trajectories are established: 29 /vis/viewer/set/autoRefresh false 30 /vis/verbose errors 31 # 32 # Draw geometry: 33 /vis/drawVolume 34 # 35 # Specify view angle: 36 #/vis/viewer/set/viewpointThetaPhi 90. 0. 37 # 38 # Specify zoom value: 23 39 /vis/viewer/zoom 1.4 24 /vis/viewer/flush25 40 # 26 # for drawing the tracks 27 # if too many tracks cause core dump => storeTrajectory 0 28 /tracking/storeTrajectory 1 41 # Specify style (surface or wireframe): 42 #/vis/viewer/set/style surface 43 # 44 # Draw coordinate axes: 45 #/vis/scene/add/axes 0 0 0 1 m 46 # 47 # Draw smooth trajectories at end of event, showing trajectory points 48 # as markers 2 pixels wide: 49 /vis/scene/add/trajectories smooth 50 /vis/modeling/trajectories/create/drawByCharge 51 /vis/modeling/trajectories/drawByCharge-0/default/setDrawStepPts true 52 /vis/modeling/trajectories/drawByCharge-0/default/setStepPtsSize 2 53 # (if too many tracks cause core dump => /tracking/storeTrajectory 0) 54 # 55 # Draw hits at end of event: 56 #/vis/scene/add/hits 57 # 58 # To draw only gammas: 59 #/vis/filtering/trajectories/create/particleFilter 60 #/vis/filtering/trajectories/particleFilter-0/add gamma 61 # 62 # To invert the above, drawing all particles except gammas, 63 # keep the above two lines but also add: 64 #/vis/filtering/trajectories/particleFilter-0/invert true 65 # 66 # Many other options are available with /vis/modeling and /vis/filtering. 67 # For example, to select colour by particle ID: 68 #/vis/modeling/trajectories/create/drawByParticleID 69 #/vis/modeling/trajectories/drawByParticleID-0/set e- blue 70 # 71 # To superimpose all of the events from a given run: 29 72 /vis/scene/endOfEventAction accumulate 30 73 # 74 # Re-establish auto refreshing and verbosity: 75 /vis/viewer/set/autoRefresh true 76 /vis/verbose warnings 77 # 78 # For file-based drivers, use this to create an empty detector view: 79 #/vis/viewer/flush
Note: See TracChangeset
for help on using the changeset viewer.