Changeset 1337 for trunk/examples/extended/electromagnetic/TestEm15
- Timestamp:
- Sep 30, 2010, 2:47:17 PM (14 years ago)
- Location:
- trunk/examples/extended/electromagnetic/TestEm15
- Files:
-
- 36 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/examples/extended/electromagnetic/TestEm15/History
r807 r1337 1 $Id: History,v 1. 9 2007/11/13 14:13:31 maireExp $1 $Id: History,v 1.18 2010/06/07 05:40:46 perl Exp $ 2 2 ------------------------------------------------------------------- 3 3 … … 16 16 ---------------------------------------------------------- 17 17 18 06-06-10 J.Perl (testem15-V09-03-02) 19 - Remove unused variable in EventAction 20 21 03-06-10 J.Perl (testem15-V09-03-01) 22 - Updated vis usage 23 24 20-05-10 mma (testem15-V09-03-00) 25 - TestEm15.cc : introduction of G4UIExecutive 26 27 19-11-09 mma (testem15-V09-02-00) 28 - PhysListEmStandard : introduce MuMultipleScattering 29 30 26-09-08 mma (testem15-V09-01-04) 31 - HistoManager : root as default format 32 33 12-06-08 mma (testem15-V09-01-03) 34 - Remove AIDA from GNUmakefile 35 36 07-05-08 mma (testem15-V09-01-02) 37 - README : update Aida informations 38 39 07-04-08 mma (testem15-V09-01-01) 40 - PhysListEmStandard : replace G4MultipleScattering by G4eMultipleScattering; 41 - HistoManager::saveAscii() : redefinition of binEdge 42 43 08-01-08 mma (testem15-V09-01-00) 44 - HistoManager : ascii[0] = flag to control creation of .ascii file 45 18 46 13-11-07 mma (testem15-V09-00-00) 19 47 - HistoManager/HistoMessenger : print selected histos on ascii file -
trunk/examples/extended/electromagnetic/TestEm15/README
r807 r1337 1 $Id: README,v 1. 4 2007/11/13 14:13:31 maire Exp $1 $Id: README,v 1.6 2008/09/26 19:47:51 maire Exp $ 2 2 ------------------------------------------------------------------- 3 3 … … 76 76 the commands: 77 77 /testem/histo/setFileName name (default testem15) 78 /testem/histo/setFileType name (default hbook)78 /testem/histo/setFileType name (default root) 79 79 80 80 It is also possible to print selected histograms on an ascii file: … … 127 127 128 128 To use histograms, at least one of the AIDA implementations should be 129 available (see http://aida.freehep.org). 130 131 8a - PI 132 133 A package including AIDA and extended interfaces also using Python is PI, 134 available from: http://cern.ch/pi 135 136 Once installed PI or PI-Lite in a specified local area $MYPY, it is required 137 to add the installation path to $PATH, i.e. for example, for release 1.2.1 of 138 PI: 139 setenv PATH ${PATH}:$MYPI/1.2.1/app/releases/PI/PI_1_2_1/rh73_gcc32/bin 140 141 CERN users can use the PATH to the LCG area on AFS. 142 Before running the example the command should be issued: 143 eval `aida-config --runtime csh` 144 145 8b - OpenScientist 146 147 OpenScientist is available at http://OpenScientist.lal.in2p3.fr. 148 149 You have to "setup" the OpenScientist AIDA implementation before compiling 150 (then with G4ANALYSIS_USE set) and running your Geant4 application. 151 152 On UNIX you setup, with a csh flavoured shell : 153 csh> source <<OpenScientist install path>/aida-setup.csh 154 or with a sh flavoured shell : 155 sh> . <<OpenScientist install path>/aida-setup.sh 156 On Windows : 157 DOS> call <<OpenScientist install path>/aida-setup.bat 158 159 You can use various file formats for writing (AIDA-XML, hbook, root). 160 These formats are readable by the Lab onx interactive program 161 or the OpenPAW application. See the web pages. 162 163 164 With OpenPAW, on a run.hbook file, one can view the histograms 165 with something like : 166 OS> opaw 167 opaw> h/file 1 run.hbook ( or opaw> h/file 1 run.aida or run.root) 168 opaw> zone 2 2 169 opaw> h/plot 1 170 opaw> h/plot 2 129 available. See InstallAida.txt -
trunk/examples/extended/electromagnetic/TestEm15/TestEm15.cc
r1230 r1337 24 24 // ******************************************************************** 25 25 // 26 // $Id: TestEm15.cc,v 1. 2 2006/06/29 16:46:08 gunterExp $27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $26 // $Id: TestEm15.cc,v 1.3 2010/05/20 21:29:29 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 … … 69 71 runManager->SetUserInitialization(new PhysicsList); 70 72 runManager->SetUserAction(prim = new PrimaryGeneratorAction(det)); 71 72 #ifdef G4VIS_USE 73 // visualization manager 74 G4VisManager* visManager = new G4VisExecutive; 75 visManager->Initialize(); 76 #endif 77 73 78 74 HistoManager* histo = new HistoManager(); 79 75 … … 87 83 G4UImanager* UI = G4UImanager::GetUIpointer(); 88 84 89 if (argc==1) // Define UI terminal for interactive mode 90 { 91 G4UIsession * session = 0; 92 #ifdef G4UI_USE_TCSH 93 session = new G4UIterminal(new G4UItcsh); 94 #else 95 session = new G4UIterminal(); 96 #endif 97 session->SessionStart(); 98 delete session; 99 } 100 else // Batch mode 101 { 85 if (argc!=1) // batch mode 86 { 102 87 G4String command = "/control/execute "; 103 88 G4String fileName = argv[1]; 104 89 UI->ApplyCommand(command+fileName); 105 90 } 91 92 else //define visualization and UI terminal for interactive mode 93 { 94 #ifdef G4VIS_USE 95 G4VisManager* visManager = new G4VisExecutive; 96 visManager->Initialize(); 97 #endif 98 99 #ifdef G4UI_USE 100 G4UIExecutive * ui = new G4UIExecutive(argc,argv); 101 ui->SessionStart(); 102 delete ui; 103 #endif 104 105 #ifdef G4VIS_USE 106 delete visManager; 107 #endif 108 } 106 109 107 110 // job termination 108 #ifdef G4VIS_USE 109 delete visManager; 110 #endif 111 111 // 112 112 delete histo; 113 113 delete runManager; -
trunk/examples/extended/electromagnetic/TestEm15/TestEm15.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 = 16 ***** 11 15 12 Material: Air density: 1.290 mg/cm3 RadL: 285.161 m Imean: 85.684eV temperature: 273.15 K pressure: 1.00 atm16 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 13 17 ---> Element: Nitrogen (N) Z = 7.0 N = 14.0 A = 14.01 g/mole ElmMassFraction: 70.00 % ElmAbundance 72.71 % 14 18 ---> Element: Oxygen (O) Z = 8.0 N = 16.0 A = 16.00 g/mole ElmMassFraction: 30.00 % ElmAbundance 27.29 % 15 19 16 Material: H2liquid density: 70.800 mg/cm3 RadL: 8.923 m Imean: 21.800 eV20 Material: H2liquid density: 70.800 mg/cm3 RadL: 8.923 m Nucl.Int.Length: 4.960 m Imean: 19.200 eV 17 21 ---> Element: Hydrogen (H) Z = 1.0 N = 1.0 A = 1.01 g/mole ElmMassFraction: 100.00 % ElmAbundance 100.00 % 18 22 19 Material: Water H_2O density: 1.000 g/cm3 RadL: 36.092 cm Imean: 75.000 eV23 Material: Water H_2O density: 1.000 g/cm3 RadL: 36.092 cm Nucl.Int.Length: 75.416 cm Imean: 75.000 eV 20 24 ---> Element: Hydrogen (H) Z = 1.0 N = 1.0 A = 1.01 g/mole ElmMassFraction: 11.21 % ElmAbundance 66.67 % 21 25 ---> Element: Oxygen (O) Z = 8.0 N = 16.0 A = 16.00 g/mole ElmMassFraction: 88.79 % ElmAbundance 33.33 % 22 26 23 Material: liquidArgon density: 1.390 g/cm3 RadL: 14.065 cm Imean: 187.200 eV27 Material: liquidArgon density: 1.390 g/cm3 RadL: 14.065 cm Nucl.Int.Length: 86.078 cm Imean: 188.000 eV 24 28 ---> Element: liquidArgon ( ) Z = 18.0 N = 40.0 A = 39.95 g/mole ElmMassFraction: 100.00 % ElmAbundance 100.00 % 25 29 26 Material: Carbon density: 2.267 g/cm3 RadL: 18.833 cm Imean: 78.000 eV30 Material: Carbon density: 2.267 g/cm3 RadL: 18.833 cm Nucl.Int.Length: 35.356 cm Imean: 81.000 eV 27 31 ---> Element: Carbon ( ) Z = 6.0 N = 12.0 A = 12.01 g/mole ElmMassFraction: 100.00 % ElmAbundance 100.00 % 28 32 29 Material: Aluminium density: 2.700 g/cm3 RadL: 8.893 cm Imean: 166.400 eV33 Material: Aluminium density: 2.700 g/cm3 RadL: 8.893 cm Nucl.Int.Length: 38.879 cm Imean: 166.000 eV 30 34 ---> Element: Aluminium ( ) Z = 13.0 N = 27.0 A = 26.98 g/mole ElmMassFraction: 100.00 % ElmAbundance 100.00 % 31 35 32 Material: Silicon density: 2.330 g/cm3 RadL: 9.368 cm Imean: 173.600 eV36 Material: Silicon density: 2.330 g/cm3 RadL: 9.368 cm Nucl.Int.Length: 45.663 cm Imean: 173.000 eV 33 37 ---> Element: Silicon ( ) Z = 14.0 N = 28.1 A = 28.09 g/mole ElmMassFraction: 100.00 % ElmAbundance 100.00 % 34 38 35 Material: Germanium density: 5.323 g/cm3 RadL: 2.301 cm Imean: 332.800 eV39 Material: Germanium density: 5.323 g/cm3 RadL: 2.301 cm Nucl.Int.Length: 27.431 cm Imean: 350.000 eV 36 40 ---> Element: Germanium ( ) Z = 32.0 N = 72.6 A = 72.61 g/mole ElmMassFraction: 100.00 % ElmAbundance 100.00 % 37 41 38 Material: NaI density: 3.670 g/cm3 RadL: 2.586 cm Imean: 452.000 eV42 Material: NaI density: 3.670 g/cm3 RadL: 2.586 cm Nucl.Int.Length: 42.878 cm Imean: 452.000 eV 39 43 ---> Element: Sodium (Na) Z = 11.0 N = 23.0 A = 22.99 g/mole ElmMassFraction: 15.34 % ElmAbundance 50.00 % 40 44 ---> Element: Iodine (I) Z = 53.0 N = 126.9 A = 126.90 g/mole ElmMassFraction: 84.66 % ElmAbundance 50.00 % 41 45 42 Material: Iodine density: 4.930 g/cm3 RadL: 1.720 cm Imean: 492.900 eV46 Material: Iodine density: 4.930 g/cm3 RadL: 1.720 cm Nucl.Int.Length: 35.676 cm Imean: 491.000 eV 43 47 ---> Element: Iodine (I) Z = 53.0 N = 126.9 A = 126.90 g/mole ElmMassFraction: 100.00 % ElmAbundance 100.00 % 44 48 45 Material: BGO density: 7.100 g/cm3 RadL: 1.123 cm Imean: 469.142eV49 Material: BGO density: 7.100 g/cm3 RadL: 1.123 cm Nucl.Int.Length: 22.806 cm Imean: 473.785 eV 46 50 ---> Element: Oxygen (O) Z = 8.0 N = 16.0 A = 16.00 g/mole ElmMassFraction: 15.41 % ElmAbundance 63.16 % 47 51 ---> Element: Germanium (Ge) Z = 32.0 N = 72.6 A = 72.59 g/mole ElmMassFraction: 17.48 % ElmAbundance 15.79 % 48 52 ---> Element: Bismuth (Bi) Z = 83.0 N = 209.0 A = 208.98 g/mole ElmMassFraction: 67.10 % ElmAbundance 21.05 % 49 53 50 Material: Iron density: 7.870 g/cm3 RadL: 1.759 cm Imean: 286.000 eV51 ---> Element: Iron ( ) Z = 26.0 N = 55. 9A = 55.85 g/mole ElmMassFraction: 100.00 % ElmAbundance 100.00 %52 53 Material: Tungsten density: 19.300 g/cm3 RadL: 3.504 mm Imean: 725.200 eV54 Material: Iron density: 7.870 g/cm3 RadL: 1.759 cm Nucl.Int.Length: 16.999 cm Imean: 286.000 eV 55 ---> Element: Iron ( ) Z = 26.0 N = 55.8 A = 55.85 g/mole ElmMassFraction: 100.00 % ElmAbundance 100.00 % 56 57 Material: Tungsten density: 19.300 g/cm3 RadL: 3.504 mm Nucl.Int.Length: 10.312 cm Imean: 727.000 eV 54 58 ---> Element: Tungsten ( ) Z = 74.0 N = 183.8 A = 183.85 g/mole ElmMassFraction: 100.00 % ElmAbundance 100.00 % 55 59 56 Material: Lead density: 11.350 g/cm3 RadL: 5.612 mm Imean: 820.000 eV60 Material: Lead density: 11.350 g/cm3 RadL: 5.612 mm Nucl.Int.Length: 18.247 cm Imean: 823.000 eV 57 61 ---> Element: Lead ( ) Z = 82.0 N = 207.2 A = 207.19 g/mole ElmMassFraction: 100.00 % ElmAbundance 100.00 % 58 62 59 Material: Uranium density: 18.950 g/cm3 RadL: 3.166 mm Imean: 892.400 eV63 Material: Uranium density: 18.950 g/cm3 RadL: 3.166 mm Nucl.Int.Length: 11.446 cm Imean: 890.000 eV 60 64 ---> Element: Uranium ( ) Z = 92.0 N = 238.0 A = 238.03 g/mole ElmMassFraction: 100.00 % ElmAbundance 100.00 % 61 65 62 Material: Galactic density: 0.000 mg/cm3 RadL: 204322175.595 pc Imean: 21.800 eV temperature: 2.73 K pressure: 0.00 atm66 Material: Galactic density: 0.000 kg/m3 RadL: 204322111.300 pc Nucl.Int.Length: 113728944.943 pc Imean: 19.200 eV temperature: 2.73 K pressure: 0.00 atm 63 67 ---> Element: Galactic ( ) Z = 1.0 N = 1.0 A = 1.01 g/mole ElmMassFraction: 100.00 % ElmAbundance 100.00 % 64 68 65 66 Visualization Manager instantiating...67 Visualization Manager initialising...68 Registering graphics systems...69 70 You have successfully registered the following graphics systems.71 Current available graphics systems are:72 ASCIITree (ATree)73 DAWNFILE (DAWNFILE)74 G4HepRep (HepRepXML)75 G4HepRepFile (HepRepFile)76 RayTracer (RayTracer)77 VRML1FILE (VRML1FILE)78 VRML2FILE (VRML2FILE)79 OpenGLImmediateX (OGLIX)80 OpenGLStoredX (OGLSX)81 82 Registering model factories...83 84 You have successfully registered the following model factories.85 Registered model factories:86 generic87 drawByCharge88 drawByParticleID89 drawByOriginVolume90 drawByAttribute91 92 Registered filter factories:93 chargeFilter94 particleFilter95 originVolumeFilter96 attributeFilter97 69 98 70 /run/verbose 2 … … 107 79 physicsList->Construct() start. 108 80 physicsList->Construct() start. 81 physicsList->CheckParticleList() start. 109 82 physicsList->setCut() start. 110 83 # … … 122 95 /run/beamOn 10000 123 96 124 phot: Total cross sections from Sandia parametrisation. 125 Sampling according PhotoElectric model 126 127 compt: Total cross sections has a good parametrisation from 10 KeV to (100/Z) GeV 128 Sampling according Klein-Nishina model 129 tables are built for gamma 130 Lambda tables from 100 eV to 100 GeV in 90 bins. 131 132 conv: Total cross sections has a good parametrisation from 1.5 MeV to 100 GeV for all Z; 133 sampling secondary e+e- according Bethe-Heitler model 134 tables are built for gamma 135 Lambda tables from 1.022 MeV to 100 GeV in 100 bins. 136 137 msc: Model variant of multiple scattering for e- 138 Lambda tables from 100 eV to 100 TeV in 120 bins. 139 LateralDisplacementFlag= 1 Skin= 0 140 Boundary/stepping algorithm is active with RangeFactor= 0.02 Step limit type 1 141 142 eIoni: tables are built for e- 143 dE/dx and range tables from 100 eV to 100 TeV in 120 bins. 144 Lambda tables from threshold to 100 TeV in 120 bins. 145 Delta cross sections and sampling from MollerBhabha model 146 Good description from 1 KeV to 100 GeV. 147 148 eBrem: tables are built for e- 149 dE/dx and range tables from 100 eV to 100 TeV in 120 bins. 150 Lambda tables from threshold to 100 TeV in 120 bins. 151 Total cross sections and sampling from StandBrem model (based on the EEDL data library) 152 Good description from 1 KeV to 100 GeV, log scale extrapolation above 100 GeV. LPM flag 1 153 Step function: finalRange(mm)= 1, dRoverRange= 1, integral: 0, fluct: 0 154 155 eIoni: tables are built for e+ 156 dE/dx and range tables from 100 eV to 100 TeV in 120 bins. 157 Lambda tables from threshold to 100 TeV in 120 bins. 158 Delta cross sections and sampling from MollerBhabha model 159 Good description from 1 KeV to 100 GeV. 160 161 eBrem: tables are built for e+ 162 dE/dx and range tables from 100 eV to 100 TeV in 120 bins. 163 Lambda tables from threshold to 100 TeV in 120 bins. 164 Total cross sections and sampling from StandBrem model (based on the EEDL data library) 165 Good description from 1 KeV to 100 GeV, log scale extrapolation above 100 GeV. LPM flag 1 166 Step function: finalRange(mm)= 1, dRoverRange= 1, integral: 0, fluct: 0 167 168 annihil: Sampling according eplus2gg model 169 tables are built for e+ 170 Lambda tables from 100 eV to 100 TeV in 120 bins. 171 172 msc: Model variant of multiple scattering for proton 173 Lambda tables from 100 eV to 100 TeV in 120 bins. 174 LateralDisplacementFlag= 1 Skin= 0 175 Boundary/stepping algorithm is active with RangeFactor= 0.02 Step limit type 1 176 177 hIoni: tables are built for proton 178 dE/dx and range tables from 100 eV to 100 TeV in 120 bins. 179 Lambda tables from threshold to 100 TeV in 120 bins. 180 Scaling relation is used from proton dE/dx and range. 181 Delta cross sections and sampling from BetheBloch model for scaled energy > 2 MeV 182 Parametrisation from Bragg for protons below. NuclearStopping= 1 183 Step function: finalRange(mm)= 1, dRoverRange= 1, integral: 0, fluct: 0 184 185 msc: Model variant of multiple scattering for GenericIon 186 LateralDisplacementFlag= 0 Skin= 0 187 Boundary/stepping algorithm is active with RangeFactor= 0.2 Step limit type 1 188 189 ionIoni: tables are built for GenericIon 190 dE/dx and range tables from 100 eV to 100 TeV in 120 bins. 191 Lambda tables from threshold to 100 TeV in 120 bins. 192 Scaling relation is used from proton dE/dx and range. 193 Delta cross sections and sampling from BetheBloch model for scaled energy > 2 MeV 194 Parametrisation from BraggIon for protons below. NuclearStopping= 1 195 196 Stopping Power data for 8 ion/material pairs are used. 197 Step function: finalRange(mm)= 1, dRoverRange= 1, integral: 0, fluct: 0 198 199 hIoni: tables are built for anti_proton 200 dE/dx and range tables from 100 eV to 100 TeV in 120 bins. 201 Lambda tables from threshold to 100 TeV in 120 bins. 202 Scaling relation is used from proton dE/dx and range. 203 Delta cross sections and sampling from BetheBloch model for scaled energy > 2 MeV 204 Parametrisation from Bragg for protons below. NuclearStopping= 1 205 Step function: finalRange(mm)= 1, dRoverRange= 1, integral: 0, fluct: 0 206 207 msc: Model variant of multiple scattering for mu+ 208 Lambda tables from 100 eV to 100 TeV in 120 bins. 209 LateralDisplacementFlag= 1 Skin= 0 210 Boundary/stepping algorithm is active with RangeFactor= 0.02 Step limit type 1 211 212 muIoni: tables are built for mu+ 213 dE/dx and range tables from 100 eV to 100 TeV in 120 bins. 214 Lambda tables from threshold to 100 TeV in 120 bins. 215 Bether-Bloch model for E > 0.2 MeV, parametrisation of Bragg peak below, 216 radiative corrections for E > 1 GeV 217 Step function: finalRange(mm)= 1, dRoverRange= 1, integral: 0, fluct: 0 218 219 muBrems: tables are built for mu+ 220 dE/dx and range tables from 100 eV to 100 TeV in 120 bins. 221 Lambda tables from threshold to 100 TeV in 120 bins. 222 Parametrised model 223 224 muPairProd: tables are built for mu+ 225 dE/dx and range tables from 100 eV to 100 TeV in 120 bins. 226 Lambda tables from threshold to 100 TeV in 120 bins. 227 Parametrised model 228 229 muIoni: tables are built for mu- 230 dE/dx and range tables from 100 eV to 100 TeV in 120 bins. 231 Lambda tables from threshold to 100 TeV in 120 bins. 232 Bether-Bloch model for E > 0.2 MeV, parametrisation of Bragg peak below, 233 radiative corrections for E > 1 GeV 234 Step function: finalRange(mm)= 1, dRoverRange= 1, integral: 0, fluct: 0 235 236 muBrems: tables are built for mu- 237 dE/dx and range tables from 100 eV to 100 TeV in 120 bins. 238 Lambda tables from threshold to 100 TeV in 120 bins. 239 Parametrised model 240 241 muPairProd: tables are built for mu- 242 dE/dx and range tables from 100 eV to 100 TeV in 120 bins. 243 Lambda tables from threshold to 100 TeV in 120 bins. 244 Parametrised model 245 246 hIoni: tables are built for pi+ 247 dE/dx and range tables from 100 eV to 100 TeV in 120 bins. 248 Lambda tables from threshold to 100 TeV in 120 bins. 249 Scaling relation is used from proton dE/dx and range. 250 Delta cross sections and sampling from BetheBloch model for scaled energy > 0.297504 MeV 251 Parametrisation from Bragg for protons below. NuclearStopping= 1 252 Step function: finalRange(mm)= 1, dRoverRange= 1, integral: 0, fluct: 0 253 254 msc: Model variant of multiple scattering for pi- 255 Lambda tables from 100 eV to 100 TeV in 120 bins. 256 LateralDisplacementFlag= 1 Skin= 0 257 Boundary/stepping algorithm is active with RangeFactor= 0.02 Step limit type 1 258 259 hIoni: tables are built for pi- 260 dE/dx and range tables from 100 eV to 100 TeV in 120 bins. 261 Lambda tables from threshold to 100 TeV in 120 bins. 262 Scaling relation is used from proton dE/dx and range. 263 Delta cross sections and sampling from BetheBloch model for scaled energy > 0.297504 MeV 264 Parametrisation from Bragg for protons below. NuclearStopping= 1 265 Step function: finalRange(mm)= 1, dRoverRange= 1, integral: 0, fluct: 0 97 phot: for gamma SubType= 12 98 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 99 PhotoElectric : Emin= 0 eV Emax= 10 TeV 100 101 compt: for gamma SubType= 13 102 Lambda tables from 100 eV to 10 TeV in 77 bins, spline: 1 103 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 104 Klein-Nishina : Emin= 0 eV Emax= 10 TeV 105 106 conv: for gamma SubType= 14 107 Lambda tables from 1.022 MeV to 10 TeV in 77 bins, spline: 1 108 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 109 Bethe-Heitler : Emin= 0 eV Emax= 10 TeV 110 111 msc: for e- SubType= 10 112 Lambda tables from 100 eV to 10 TeV in 77 bins, spline: 1 113 RangeFactor= 0.04, stepLimitType: 1, latDisplacement: 1 114 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 115 UrbanMsc93 : Emin= 0 eV Emax= 10 TeV 116 117 eIoni: for e- SubType= 2 118 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 119 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 120 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 121 MollerBhabha : Emin= 0 eV Emax= 10 TeV 122 123 eBrem: for e- SubType= 3 124 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 125 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 126 finalRange(mm)= 1, dRoverRange= 1, integral: 0, fluct: 0, linLossLimit= 0.01 127 LPM flag: 1 for E > 1 GeV 128 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 129 eBrem : Emin= 0 eV Emax= 1 GeV 130 eBremRel : Emin= 1 GeV Emax= 10 TeV 131 132 eIoni: for e+ SubType= 2 133 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 134 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 135 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 136 MollerBhabha : Emin= 0 eV Emax= 10 TeV 137 138 eBrem: for e+ SubType= 3 139 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 140 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 141 finalRange(mm)= 1, dRoverRange= 1, integral: 0, fluct: 0, linLossLimit= 0.01 142 LPM flag: 1 for E > 1 GeV 143 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 144 eBrem : Emin= 0 eV Emax= 1 GeV 145 eBremRel : Emin= 1 GeV Emax= 10 TeV 146 147 annihil: for e+ SubType= 5 148 Lambda tables from 100 eV to 10 TeV in 77 bins, spline: 1 149 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 150 eplus2gg : Emin= 0 eV Emax= 10 TeV 151 152 msc: for proton SubType= 10 153 Lambda tables from 100 eV to 10 TeV in 77 bins, spline: 1 154 RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1 155 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 156 UrbanMsc90 : Emin= 0 eV Emax= 10 TeV 157 158 hIoni: for proton SubType= 2 159 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 160 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 161 finalRange(mm)= 1, dRoverRange= 1, integral: 0, fluct: 0, linLossLimit= 0.01 162 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 163 Bragg : Emin= 0 eV Emax= 2 MeV 164 BetheBloch : Emin= 2 MeV Emax= 10 TeV 165 166 msc: for GenericIon SubType= 10 167 RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 0 168 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 169 UrbanMsc90 : Emin= 0 eV Emax= 10 TeV 170 171 ionIoni: for GenericIon SubType= 2 172 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 173 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 174 finalRange(mm)= 1, dRoverRange= 1, integral: 0, fluct: 0, linLossLimit= 0.02 175 Stopping Power data for 17 ion/material pairs, nuclearStopping: 1 176 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 177 BraggIon : Emin= 0 eV Emax= 2 MeV 178 BetheBloch : Emin= 2 MeV Emax= 10 TeV 179 180 hIoni: for anti_proton SubType= 2 181 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 182 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 183 finalRange(mm)= 1, dRoverRange= 1, integral: 0, fluct: 0, linLossLimit= 0.01 184 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 185 ICRU73QO : Emin= 0 eV Emax= 2 MeV 186 BetheBloch : Emin= 2 MeV Emax= 10 TeV 187 188 hIoni: for kaon+ SubType= 2 189 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 190 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 191 finalRange(mm)= 1, dRoverRange= 1, integral: 0, fluct: 0, linLossLimit= 0.01 192 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 193 Bragg : Emin= 0 eV Emax= 1.05231 MeV 194 BetheBloch : Emin= 1.05231 MeV Emax= 10 TeV 195 196 hIoni: for kaon- SubType= 2 197 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 198 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 199 finalRange(mm)= 1, dRoverRange= 1, integral: 0, fluct: 0, linLossLimit= 0.01 200 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 201 ICRU73QO : Emin= 0 eV Emax= 1.05231 MeV 202 BetheBloch : Emin= 1.05231 MeV Emax= 10 TeV 203 204 muMsc: for mu+ SubType= 10 205 Lambda tables from 100 eV to 10 TeV in 77 bins, spline: 1 206 RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 1, polarAngleLimit(deg)= 0 207 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 208 UrbanMsc90 : Emin= 0 eV Emax= 10 TeV 209 210 muIoni: for mu+ SubType= 2 211 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 212 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 213 finalRange(mm)= 1, dRoverRange= 1, integral: 0, fluct: 0, linLossLimit= 0.01 214 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 215 Bragg : Emin= 0 eV Emax= 200 keV 216 BetheBloch : Emin= 200 keV Emax= 1 GeV 217 MuBetheBloch : Emin= 1 GeV Emax= 10 TeV 218 219 muBrems: for mu+ SubType= 3 220 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 221 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 222 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 223 MuBrem : Emin= 0 eV Emax= 10 TeV 224 225 muPairProd: for mu+ SubType= 4 226 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 227 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 228 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 229 muPairProd : Emin= 0 eV Emax= 10 TeV 230 231 muIoni: for mu- SubType= 2 232 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 233 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 234 finalRange(mm)= 1, dRoverRange= 1, integral: 0, fluct: 0, linLossLimit= 0.01 235 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 236 ICRU73QO : Emin= 0 eV Emax= 200 keV 237 BetheBloch : Emin= 200 keV Emax= 1 GeV 238 MuBetheBloch : Emin= 1 GeV Emax= 10 TeV 239 240 muBrems: for mu- SubType= 3 241 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 242 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 243 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 244 MuBrem : Emin= 0 eV Emax= 10 TeV 245 246 muPairProd: for mu- SubType= 4 247 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 248 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 249 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 250 muPairProd : Emin= 0 eV Emax= 10 TeV 251 252 hIoni: for pi+ SubType= 2 253 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 254 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 255 finalRange(mm)= 1, dRoverRange= 1, integral: 0, fluct: 0, linLossLimit= 0.01 256 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 257 Bragg : Emin= 0 eV Emax= 297.504 keV 258 BetheBloch : Emin= 297.504 keV Emax= 10 TeV 259 260 msc: for pi- SubType= 10 261 Lambda tables from 100 eV to 10 TeV in 77 bins, spline: 1 262 RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1 263 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 264 UrbanMsc90 : Emin= 0 eV Emax= 10 TeV 265 266 hIoni: for pi- SubType= 2 267 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 268 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 269 finalRange(mm)= 1, dRoverRange= 1, integral: 0, fluct: 0, linLossLimit= 0.01 270 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 271 ICRU73QO : Emin= 0 eV Emax= 297.504 keV 272 BetheBloch : Emin= 297.504 keV Emax= 10 TeV 266 273 267 274 Region <DefaultRegionForTheWorld> -- appears in <World> world volume … … 269 276 Pointers : G4VUserRegionInformation[0], G4UserLimits[0], G4FastSimulationManager[0], G4UserSteppingAction[0] 270 277 Materials : Galactic Water 271 Production cuts : gamma 1 mm e- 1 mm e+ 1 mm278 Production cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 0 fm 272 279 273 280 ========= Table of registered couples ============================== … … 275 282 Index : 0 used in the geometry : Yes recalculation needed : No 276 283 Material : Galactic 277 Range cuts : gamma 1 mm e- 1 mm e+ 1 mm278 Energy thresholds : gamma 990 eV e- 990 eV e+ 990 eV284 Range cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 0 fm 285 Energy thresholds : gamma 990 eV e- 990 eV e+ 990 eV proton 0 eV 279 286 Region(s) which use this couple : 280 287 DefaultRegionForTheWorld … … 282 289 Index : 1 used in the geometry : Yes recalculation needed : No 283 290 Material : Water 284 Range cuts : gamma 1 mm e- 1 mm e+ 1 mm285 Energy thresholds : gamma 2.90186 keV e- 347.138 keV e+ 338.695 keV291 Range cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 0 fm 292 Energy thresholds : gamma 2.94056 keV e- 351.877 keV e+ 342.545 keV proton 0 eV 286 293 Region(s) which use this couple : 287 294 DefaultRegionForTheWorld … … 306 313 Run Summary 307 314 Number of events processed : 10000 308 User=0. 25s Real=0.25s Sys=0s315 User=0.16s Real=0.17s Sys=0s 309 316 310 317 The run consists of 10000 e- of 5 MeV through 100 m of Water (density: 1 g/cm3 ) … … 312 319 Process calls frequency ---> msc = 10000 313 320 314 truePathLength : 2.75 21 cm +- 3.269nm315 geomPathLength : 2.0 696 cm +- 11.392nm316 lateralDisplac : 1.148 2 cm +- 4.6902nm317 Psi : 506. 49 mrad +- 0.00019571 mrad (29.02 deg +- 1.1213e-05 deg)318 319 Theta_plane : 18 06.6 mrad (103.51deg)320 phi correlation: 0.26 24 +- 0.059273(std::cos(phi_pos - phi_dir))321 truePathLength : 2.7512 cm +- 11.142 nm 322 geomPathLength : 2.0703 cm +- 16.621 nm 323 lateralDisplac : 1.1488 cm +- 3.0764 nm 324 Psi : 506.58 mrad +- 0.00019228 mrad (29.025 deg +- 1.1017e-05 deg) 325 326 Theta_plane : 1810.8 mrad (103.75 deg) 327 phi correlation: 0.26308 +- 0.058008 (std::cos(phi_pos - phi_dir)) 321 328 322 329 Verification from G4EmCalculator. 323 330 324 transport mean free path : 8.3 46cm325 range from restrict dE/dx: 2.75 21cm331 transport mean free path : 8.3657 cm 332 range from restrict dE/dx: 2.7512 cm 326 333 ---> effective facRange : 1 327 334 328 compute theta0 from Highland : 620. 13 mrad (35.531deg)335 compute theta0 from Highland : 620.02 mrad (35.525 deg) 329 336 330 337 --------- Ranecu engine status --------- 331 338 Initial seed (index) = 0 332 Current couple of seeds = 397063712, 552340631339 Current couple of seeds = 427512639, 82926200 333 340 ---------------------------------------- 334 341 # … … 340 347 Pointers : G4VUserRegionInformation[0], G4UserLimits[0], G4FastSimulationManager[0], G4UserSteppingAction[0] 341 348 Materials : Galactic Water 342 Production cuts : gamma 1 mm e- 1 mm e+ 1 mm349 Production cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 0 fm 343 350 344 351 ========= Table of registered couples ============================== … … 346 353 Index : 0 used in the geometry : Yes recalculation needed : No 347 354 Material : Galactic 348 Range cuts : gamma 1 mm e- 1 mm e+ 1 mm349 Energy thresholds : gamma 9.9e+02 eV e- 9.9e+02 eV e+ 9.9e+02eV355 Range cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 0 fm 356 Energy thresholds : gamma 9.9e+02 eV e- 9.9e+02 eV e+ 9.9e+02 eV proton 0 eV 350 357 Region(s) which use this couple : 351 358 DefaultRegionForTheWorld … … 353 360 Index : 1 used in the geometry : Yes recalculation needed : No 354 361 Material : Water 355 Range cuts : gamma 1 mm e- 1 mm e+ 1 mm356 Energy thresholds : gamma 2.9 keV e- 3.5e+02 keV e+ 3.4e+02 keV362 Range cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 0 fm 363 Energy thresholds : gamma 2.9 keV e- 3.5e+02 keV e+ 3.4e+02 keV proton 0 eV 357 364 Region(s) which use this couple : 358 365 DefaultRegionForTheWorld … … 364 371 --------- Ranecu engine status --------- 365 372 Initial seed (index) = 0 366 Current couple of seeds = 397063712, 552340631373 Current couple of seeds = 427512639, 82926200 367 374 ---------------------------------------- 368 375 Start Run processing. … … 372 379 Run Summary 373 380 Number of events processed : 10000 374 User=0. 23s Real=0.23s Sys=0s381 User=0.16s Real=0.16s Sys=0s 375 382 376 383 The run consists of 10000 e- of 100 keV through 100 m of Water (density: 1 g/cm3 ) … … 378 385 Process calls frequency ---> msc = 10000 379 386 380 truePathLength : 6.3051 um +- 5404.2fm381 geomPathLength : 6.1807 um +- 878.92fm382 lateralDisplac : 923.68 nm +- 256.83fm383 Psi : 148.35 mrad +- 8.7703e-05 mrad (8.4998 deg +- 5.025e-06 deg)384 385 Theta_plane : 2 58.19 mrad (14.793deg)386 phi correlation: 0.077 745 +- 0.12942(std::cos(phi_pos - phi_dir))387 truePathLength : 6.3051 um +- 2009.6 fm 388 geomPathLength : 6.1807 um +- 2968 fm 389 lateralDisplac : 923.68 nm +- 393.04 fm 390 Psi : 148.35 mrad +- 5.0567e-05 mrad (8.4998 deg +- 2.8973e-06 deg) 391 392 Theta_plane : 243.36 mrad (13.944 deg) 393 phi correlation: 0.077644 +- 0.13144 (std::cos(phi_pos - phi_dir)) 387 394 388 395 Verification from G4EmCalculator. 389 396 390 397 transport mean free path : 157.63 um 391 range from restrict dE/dx: 143. 16 um398 range from restrict dE/dx: 143.26 um 392 399 ---> effective facRange : 0.04 393 400 … … 396 403 --------- Ranecu engine status --------- 397 404 Initial seed (index) = 0 398 Current couple of seeds = 707823211, 530749218405 Current couple of seeds = 885985248, 261613716 399 406 ---------------------------------------- 400 Graphics systems deleted.401 Visualization Manager deleting...402 407 UserDetectorConstruction deleted. 403 408 UserPhysicsList deleted. … … 406 411 G4 kernel has come to Quit state. 407 412 EventManager deleted. 408 Default detector region deleted.409 413 UImanager deleted. 410 414 Units table cleared. … … 412 416 RunManagerKernel is deleted. 413 417 RunManager is deleting. 418 -
trunk/examples/extended/electromagnetic/TestEm15/include/DetectorConstruction.hh
r1230 r1337 25 25 // 26 26 // $Id: DetectorConstruction.hh,v 1.2 2006/06/29 16:46:10 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/TestEm15/include/DetectorMessenger.hh
r1230 r1337 25 25 // 26 26 // $Id: DetectorMessenger.hh,v 1.2 2006/06/29 16:46:14 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/TestEm15/include/EventAction.hh
r1230 r1337 25 25 // 26 26 // $Id: EventAction.hh,v 1.2 2006/06/29 16:46: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/TestEm15/include/EventActionMessenger.hh
r1230 r1337 25 25 // 26 26 // $Id: EventActionMessenger.hh,v 1.2 2006/06/29 16:46:19 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/TestEm15/include/HistoManager.hh
r1230 r1337 25 25 // 26 26 // $Id: HistoManager.hh,v 1.4 2007/11/13 14:13:31 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/TestEm15/include/HistoMessenger.hh
r1230 r1337 25 25 // 26 26 // $Id: HistoMessenger.hh,v 1.3 2007/11/13 14:13:31 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/TestEm15/include/PhysListEmStandard.hh
r1230 r1337 26 26 // 27 27 // $Id: PhysListEmStandard.hh,v 1.2 2006/06/29 16:46:26 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/TestEm15/include/PhysicsList.hh
r1230 r1337 26 26 // 27 27 // $Id: PhysicsList.hh,v 1.2 2006/06/29 16:46:28 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/TestEm15/include/PhysicsListMessenger.hh
r1230 r1337 25 25 // 26 26 // $Id: PhysicsListMessenger.hh,v 1.2 2006/06/29 16:46: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/TestEm15/include/PrimaryGeneratorAction.hh
r1230 r1337 25 25 // 26 26 // $Id: PrimaryGeneratorAction.hh,v 1.2 2006/06/29 16:46: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/TestEm15/include/ProcessesCount.hh
r1230 r1337 25 25 // 26 26 // $Id: ProcessesCount.hh,v 1.2 2006/06/29 16:46: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/TestEm15/include/RunAction.hh
r1230 r1337 25 25 // 26 26 // $Id: RunAction.hh,v 1.3 2006/06/29 16:46: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/TestEm15/include/StepMax.hh
r1230 r1337 25 25 // 26 26 // $Id: StepMax.hh,v 1.2 2006/06/29 16:46: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/TestEm15/include/StepMaxMessenger.hh
r1230 r1337 25 25 // 26 26 // $Id: StepMaxMessenger.hh,v 1.2 2006/06/29 16:46: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/TestEm15/include/SteppingAction.hh
r1230 r1337 25 25 // 26 26 // $Id: SteppingAction.hh,v 1.2 2006/06/29 16:46: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/TestEm15/include/SteppingVerbose.hh
r1230 r1337 25 25 // 26 26 // $Id: SteppingVerbose.hh,v 1.2 2006/06/29 16:46: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 // This class manages the verbose outputs in G4SteppingManager. -
trunk/examples/extended/electromagnetic/TestEm15/src/DetectorConstruction.cc
r1230 r1337 25 25 // 26 26 // $Id: DetectorConstruction.cc,v 1.3 2006/06/29 16:46: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 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/electromagnetic/TestEm15/src/DetectorMessenger.cc
r1230 r1337 25 25 // 26 26 // $Id: DetectorMessenger.cc,v 1.2 2006/06/29 16:46:49 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/TestEm15/src/EventAction.cc
r1230 r1337 24 24 // ******************************************************************** 25 25 // 26 // $Id: EventAction.cc,v 1. 2 2006/06/29 16:46:51 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 #include "G4UnitsTable.hh" 41 38 … … 68 65 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 69 66 70 void EventAction::EndOfEventAction(const G4Event* evt)67 void EventAction::EndOfEventAction(const G4Event*) 71 68 { 72 if (G4VVisManager::GetConcreteInstance())73 {74 G4TrajectoryContainer* trajectoryContainer = evt->GetTrajectoryContainer();75 G4int n_trajectories = 0;76 if (trajectoryContainer) n_trajectories = trajectoryContainer->entries();77 for (G4int i=0; i<n_trajectories; i++) {78 G4Trajectory* trj = (G4Trajectory*)79 ((*(evt->GetTrajectoryContainer()))[i]);80 trj->DrawTrajectory(1000);81 }82 }83 69 } 84 70 -
trunk/examples/extended/electromagnetic/TestEm15/src/EventActionMessenger.cc
r1230 r1337 25 25 // 26 26 // $Id: EventActionMessenger.cc,v 1.2 2006/06/29 16:46:53 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/TestEm15/src/HistoManager.cc
r1230 r1337 25 25 // 26 26 // $Id: HistoManager.cc,v 1.8 2008/09/26 19:47:51 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/TestEm15/src/HistoMessenger.cc
r1230 r1337 25 25 // 26 26 // $Id: HistoMessenger.cc,v 1.3 2007/11/13 14:13:31 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/TestEm15/src/PhysListEmStandard.cc
r1230 r1337 26 26 // 27 27 // $Id: PhysListEmStandard.cc,v 1.4 2009/11/19 17:58:25 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/TestEm15/src/PhysicsList.cc
r1230 r1337 26 26 // 27 27 // $Id: PhysicsList.cc,v 1.2 2006/06/29 16:47:04 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/TestEm15/src/PhysicsListMessenger.cc
r1230 r1337 25 25 // 26 26 // $Id: PhysicsListMessenger.cc,v 1.2 2006/06/29 16:47:07 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/TestEm15/src/PrimaryGeneratorAction.cc
r1230 r1337 25 25 // 26 26 // $Id: PrimaryGeneratorAction.cc,v 1.2 2006/06/29 16:47:10 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/TestEm15/src/RunAction.cc
r1230 r1337 25 25 // 26 26 // $Id: RunAction.cc,v 1.5 2006/06/29 16:47: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/TestEm15/src/StepMax.cc
r1230 r1337 25 25 // 26 26 // $Id: StepMax.cc,v 1.2 2006/06/29 16:47:16 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/TestEm15/src/StepMaxMessenger.cc
r1230 r1337 25 25 // 26 26 // $Id: StepMaxMessenger.cc,v 1.2 2006/06/29 16:47:18 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/TestEm15/src/SteppingAction.cc
r1230 r1337 25 25 // 26 26 // $Id: SteppingAction.cc,v 1.6 2007/03/15 15:52:39 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/TestEm15/src/SteppingVerbose.cc
r1230 r1337 25 25 // 26 26 // $Id: SteppingVerbose.cc,v 1.2 2006/06/29 16:47:22 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/TestEm15/vis.mac
r807 r1337 1 1 # 2 # Macro file for the initialization phase of "TestEm 13.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.