Changeset 1337 for trunk/examples/extended/electromagnetic/TestEm12
- Timestamp:
- Sep 30, 2010, 2:47:17 PM (14 years ago)
- Location:
- trunk/examples/extended/electromagnetic/TestEm12
- Files:
-
- 40 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/examples/extended/electromagnetic/TestEm12/History
r807 r1337 1 $Id: History,v 1. 15 2007/11/09 17:35:06 maireExp $1 $Id: History,v 1.34 2010/06/07 05:40:45 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 (testem12-V09-03-03) 19 - Remove unused variable in EventAction 20 21 03-06-10 J.Perl (testem12-V09-03-02) 22 - Updated vis usage 23 24 25-05-10 mma (testem12-V09-03-01) 25 - add PhysListStandardGS, PhysListStandardSS, PhysListStandardWVI 26 27 20-05-10 mma (testem12-V09-03-00) 28 - TestEm12.cc : introduction of G4UIExecutive 29 30 16-11-09 mma (testem12-V09-02-01) 31 - PhysListEmStandard copied from TestEm5 32 33 22-09-09 mma (testem12-V09-02-00) 34 - PhysicsList.cc : 35 - renamed "standard" -> "local"; "emstandard" -> "emstandard_opt0" 36 - Substituted obsolete low-energy physics builders by builders from 37 the physics_list library; 38 - updated README and macro files 39 40 16-11-08 mma (testem12-V09-01-08) 41 - Em options: 20bins/decade LinLossLimit=default=0.01 42 43 29-10-08 mma (testem12-V09-01-07) 44 - update PhysListEmStandard : options and hMultipleScattering for muon 45 46 26-10-08 mma (testem12-V09-01-06) 47 - update PhysListEmStandard and README 48 49 23-09-08 mma (testem12-V09-01-05) 50 - HistoManager : root format by default 51 52 12-06-08 mma (testem12-V09-01-04) 53 - Remove AIDA from GNUmakefile 54 55 07-05-08 mma (testem12-V09-01-03) 56 - README : update Aida informations 57 58 11-04-08 mma 59 - HistoManager::Scale() : suppress warning 60 61 07-04-08 mma (testem12-V09-01-02) 62 - PhysListEmStandard : replace G4MultipleScattering by G4eMultipleScattering; 63 - HistoManager::saveAscii() : redefinition of binEdge 64 65 24-01-08 mma (testem12-V09-01-01) 66 - update macro berger.mac : setCuts 2um (=1keV) 67 68 14-01-08 jja (testem12-V09-01-00) 69 - add macro berger/berger.C 70 71 10-01-08 jean jacquemier 72 - new subdirectory berger/data 73 74 07-12-07 mma 75 - add macro berger.mac 17 76 18 77 09-11-07 mma (testem12-V09-00-01) -
trunk/examples/extended/electromagnetic/TestEm12/README
r807 r1337 1 $Id: README,v 1. 7 2007/11/09 17:35:06maire Exp $1 $Id: README,v 1.11 2009/09/22 15:18:20 maire Exp $ 2 2 ------------------------------------------------------------------- 3 3 … … 31 31 2- PHYSICS LIST 32 32 33 The particle list is the one of novice/exampleN02. 34 The physics list contains the 'standard' electromagnetic processes, 35 and decay. 36 37 Few commands have been added to PhysicsList, in order to set the 38 production threshold for secondaries either in range for gamma, e-/e+. 33 Physics lists can be local (eg. in this example) or from G4 kernel 34 physics_lists subdirectory. 35 36 Local physics lists: 37 - "local" standard EM physics with current 'best' options setting. 38 39 From geant4/source/physics_lists/builders: 40 - "emstandard_opt0" recommended standard EM physics for LHC 41 - "emstandard_opt1" best CPU performance standard physics for LHC 42 - "emstandard_opt2" 43 - "emstandard_opt3" best current advanced EM options. 44 analog to "local" above 45 - "emlivermore" low-energy EM physics using Livermore data 46 - "empenelope" low-energy EM physics implementing Penelope models 47 48 Physics lists and options can be (re)set with UI commands 49 50 Please, notice that options set through G4EmProcessOPtions are global, eg 51 for all particle types. In G4 builders, it is shown how to set options per 52 particle type. 53 39 54 40 55 3- AN EVENT : THE PRIMARY GENERATOR … … 127 142 128 143 It is possible to choose the format of the histogram file (hbook, root, XML) 129 with the command /testem/histo/setFileType ( hbookby default)144 with the command /testem/histo/setFileType (root by default) 130 145 131 146 It is also possible to print selected histograms on an ascii file: … … 140 155 141 156 To use histograms, at least one of the AIDA implementations should be 142 available (see http://aida.freehep.org). 143 144 8a - PI 145 146 A package including AIDA and extended interfaces also using Python is PI, 147 available from: http://cern.ch/pi 148 149 Once installed PI or PI-Lite in a specified local area $MYPY, it is required 150 to add the installation path to $PATH, i.e. for example, for release 1.2.1 of 151 PI: 152 setenv PATH ${PATH}:$MYPI/1.2.1/app/releases/PI/PI_1_2_1/rh73_gcc32/bin 153 154 CERN users can use the PATH to the LCG area on AFS. 155 Before running the example the command should be issued: 156 eval `aida-config --runtime csh` 157 158 8b - OpenScientist 159 160 OpenScientist is available at http://OpenScientist.lal.in2p3.fr. 161 162 You have to "setup" the OpenScientist AIDA implementation before compiling 163 (then with G4ANALYSIS_USE set) and running your Geant4 application. 164 165 On UNIX you setup, with a csh flavoured shell : 166 csh> source <<OpenScientist install path>/aida-setup.csh 167 or with a sh flavoured shell : 168 sh> . <<OpenScientist install path>/aida-setup.sh 169 On Windows : 170 DOS> call <<OpenScientist install path>/aida-setup.bat 171 172 You can use various file formats for writing (AIDA-XML, hbook, root). 173 These formats are readable by the Lab onx interactive program 174 or the OpenPAW application. See the web pages. 175 176 177 With OpenPAW, on a run.hbook file, one can view the histograms 178 with something like : 179 OS> opaw 180 opaw> h/file 1 run.hbook ( or opaw> h/file 1 run.aida or run.root) 181 opaw> zone 2 2 182 opaw> h/plot 1 183 opaw> h/plot 2 157 available. See InstallAida.txt -
trunk/examples/extended/electromagnetic/TestEm12/TestEm12.cc
r1230 r1337 24 24 // ******************************************************************** 25 25 // 26 // $Id: TestEm12.cc,v 1. 4 2006/06/29 16:41:58 gunterExp $27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $26 // $Id: TestEm12.cc,v 1.5 2010/05/20 13:13:33 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 … … 49 47 #ifdef G4VIS_USE 50 48 #include "G4VisExecutive.hh" 49 #endif 50 51 #ifdef G4UI_USE 52 #include "G4UIExecutive.hh" 51 53 #endif 52 54 … … 71 73 runManager->SetUserInitialization(phys = new PhysicsList); 72 74 runManager->SetUserAction(kin = new PrimaryGeneratorAction(det)); 73 74 #ifdef G4VIS_USE75 //visualization manager76 G4VisManager* visManager = new G4VisExecutive;77 visManager->Initialize();78 #endif79 75 80 76 //set user action classes … … 91 87 G4UImanager* UI = G4UImanager::GetUIpointer(); 92 88 93 if (argc==1) // Define UI terminal for interactive mode 94 { 95 G4UIsession* session = 0; 96 #ifdef G4UI_USE_TCSH 97 session = new G4UIterminal(new G4UItcsh); 98 #else 99 session = new G4UIterminal(); 100 #endif 101 session->SessionStart(); 102 delete session; 103 } 104 else // Batch mode 105 { 89 if (argc!=1) // batch mode 90 { 106 91 G4String command = "/control/execute "; 107 92 G4String fileName = argv[1]; 108 93 UI->ApplyCommand(command+fileName); 109 94 } 95 96 else //define visualization and UI terminal for interactive mode 97 { 98 #ifdef G4VIS_USE 99 G4VisManager* visManager = new G4VisExecutive; 100 visManager->Initialize(); 101 #endif 102 103 #ifdef G4UI_USE 104 G4UIExecutive * ui = new G4UIExecutive(argc,argv); 105 ui->SessionStart(); 106 delete ui; 107 #endif 108 109 #ifdef G4VIS_USE 110 delete visManager; 111 #endif 112 } 110 113 111 114 //job termination 112 #ifdef G4VIS_USE 113 delete visManager; 114 #endif 115 115 // 116 116 delete histo; 117 117 delete runManager; -
trunk/examples/extended/electromagnetic/TestEm12/TestEm12.in
r807 r1337 1 # $Id: TestEm12.in,v 1. 7 2006/10/25 17:27:02maire Exp $1 # $Id: TestEm12.in,v 1.9 2009/09/22 15:18:20 maire Exp $ 2 2 # 3 3 # limit the step size from histos 1 and 8 … … 10 10 /testem/det/setNbOfLayers 1 11 11 # 12 /testem/phys/addPhysics standard# em physics12 /testem/phys/addPhysics local # em physics 13 13 # 14 14 /run/initialize … … 19 19 /gun/energy 4 MeV 20 20 # 21 /testem/histo/setFileType hbook21 /testem/histo/setFileType root 22 22 /testem/histo/setFileName testem12 23 23 /testem/histo/setHisto 1 120 0. 2.4 cm #edep profile -
trunk/examples/extended/electromagnetic/TestEm12/TestEm12.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 = 8 ***** 11 15 12 Material: G4_Al density: 2.699 g/cm3 RadL: 8.896 cm Imean: 166.000 eV16 Material: G4_Al density: 2.699 g/cm3 RadL: 8.896 cm Nucl.Int.Length: 38.894 cm Imean: 166.000 eV 13 17 ---> Element: Al (Al) Z = 13.0 N = 27.0 A = 26.98 g/mole ElmMassFraction: 100.00 % ElmAbundance 100.00 % 14 18 15 Material: G4_Si density: 2.330 g/cm3 RadL: 9.366 cm Imean: 173.000 eV19 Material: G4_Si density: 2.330 g/cm3 RadL: 9.366 cm Nucl.Int.Length: 45.660 cm Imean: 173.000 eV 16 20 ---> Element: Si (Si) Z = 14.0 N = 28.1 A = 28.09 g/mole ElmMassFraction: 100.00 % ElmAbundance 100.00 % 17 21 18 Material: G4_Fe density: 7.874 g/cm3 RadL: 1.757 cm Imean: 286.000 eV22 Material: G4_Fe density: 7.874 g/cm3 RadL: 1.757 cm Nucl.Int.Length: 16.990 cm Imean: 286.000 eV 19 23 ---> Element: Fe (Fe) Z = 26.0 N = 55.8 A = 55.85 g/mole ElmMassFraction: 100.00 % ElmAbundance 100.00 % 20 24 21 Material: G4_Ge density: 5.323 g/cm3 RadL: 2.301 cm Imean: 350.000 eV25 Material: G4_Ge density: 5.323 g/cm3 RadL: 2.301 cm Nucl.Int.Length: 27.431 cm Imean: 350.000 eV 22 26 ---> Element: Ge (Ge) Z = 32.0 N = 72.6 A = 72.61 g/mole ElmMassFraction: 100.00 % ElmAbundance 100.00 % 23 27 24 Material: G4_W density: 19.300 g/cm3 RadL: 3.504 mm Imean: 727.000 eV28 Material: G4_W density: 19.300 g/cm3 RadL: 3.504 mm Nucl.Int.Length: 10.312 cm Imean: 727.000 eV 25 29 ---> Element: W (W) Z = 74.0 N = 183.8 A = 183.84 g/mole ElmMassFraction: 100.00 % ElmAbundance 100.00 % 26 30 27 Material: G4_Pb density: 11.350 g/cm3 RadL: 5.613 mm Imean: 823.000 eV31 Material: G4_Pb density: 11.350 g/cm3 RadL: 5.613 mm Nucl.Int.Length: 18.248 cm Imean: 823.000 eV 28 32 ---> Element: Pb (Pb) Z = 82.0 N = 207.2 A = 207.22 g/mole ElmMassFraction: 100.00 % ElmAbundance 100.00 % 29 33 30 Material: G4_AIR density: 1.205 mg/cm3 RadL: 303.921 m Imean: 85.700 eV temperature: 273.15 K pressure: 1.00 atm34 Material: G4_AIR density: 1.205 mg/cm3 RadL: 303.921 m Nucl.Int.Length: 710.095 m Imean: 85.700 eV temperature: 273.15 K pressure: 1.00 atm 31 35 ---> Element: C (C) Z = 6.0 N = 12.0 A = 12.01 g/mole ElmMassFraction: 0.01 % ElmAbundance 0.02 % 32 36 ---> Element: N (N) Z = 7.0 N = 14.0 A = 14.01 g/mole ElmMassFraction: 75.53 % ElmAbundance 78.44 % … … 34 38 ---> Element: Ar (Ar) Z = 18.0 N = 39.9 A = 39.95 g/mole ElmMassFraction: 1.28 % ElmAbundance 0.47 % 35 39 36 Material: G4_WATER H_2O density: 1.000 g/cm3 RadL: 36.083 cm Imean: 75.000 eV40 Material: G4_WATER H_2O density: 1.000 g/cm3 RadL: 36.083 cm Nucl.Int.Length: 75.423 cm Imean: 78.000 eV 37 41 ---> Element: H (H) Z = 1.0 N = 1.0 A = 1.01 g/mole ElmMassFraction: 11.19 % ElmAbundance 66.67 % 38 42 ---> Element: O (O) Z = 8.0 N = 16.0 A = 16.00 g/mole ElmMassFraction: 88.81 % ElmAbundance 33.33 % 39 43 40 41 Visualization Manager instantiating...42 Visualization Manager initialising...43 Registering graphics systems...44 45 You have successfully registered the following graphics systems.46 Current available graphics systems are:47 ASCIITree (ATree)48 DAWNFILE (DAWNFILE)49 G4HepRep (HepRepXML)50 G4HepRepFile (HepRepFile)51 RayTracer (RayTracer)52 VRML1FILE (VRML1FILE)53 VRML2FILE (VRML2FILE)54 OpenGLImmediateX (OGLIX)55 OpenGLStoredX (OGLSX)56 57 Registering model factories...58 59 You have successfully registered the following model factories.60 Registered model factories:61 generic62 drawByCharge63 drawByParticleID64 drawByOriginVolume65 drawByAttribute66 67 Registered filter factories:68 chargeFilter69 particleFilter70 originVolumeFilter71 attributeFilter72 44 73 45 /run/verbose 2 … … 77 49 /testem/det/setNbOfLayers 1 78 50 # 79 /testem/phys/addPhysics standard80 PhysicsList::AddPhysicsList: < standard>51 /testem/phys/addPhysics local 52 PhysicsList::AddPhysicsList: <local> 81 53 # 82 54 /run/initialize … … 90 62 physicsList->Construct() start. 91 63 physicsList->Construct() start. 64 physicsList->CheckParticleList() start. 92 65 physicsList->setCut() start. 93 66 PhysicsList::SetCuts:CutLength : 1 mm … … 98 71 /gun/energy 4 MeV 99 72 # 100 /testem/histo/setFileType hbook73 /testem/histo/setFileType root 101 74 /testem/histo/setFileName testem12 102 /testem/histo/setHisto 1 120 0. 2.4 cm 75 /testem/histo/setHisto 1 120 0. 2.4 cm 103 76 ----> SetHisto 1: dE/dr (MeV/mm) along radius (cm); 120 bins from 0 cm to 2.4 cm 104 /testem/histo/setHisto 2 180 0. 4.5 MeV 77 /testem/histo/setHisto 2 180 0. 4.5 MeV 105 78 ----> SetHisto 2: total Energy deposited in absorber (MeV); 180 bins from 0 MeV to 4.5 MeV 106 /testem/histo/setHisto 3 100 0. 3. cm 79 /testem/histo/setHisto 3 100 0. 3. cm 107 80 ----> SetHisto 3: true track length of the primary particle (cm); 100 bins from 0 cm to 3 cm 108 /testem/histo/setHisto 4 100 0. 500. um 81 /testem/histo/setHisto 4 100 0. 500. um 109 82 ----> SetHisto 4: true step size of the primary particle (um); 100 bins from 0 um to 500 um 110 /testem/histo/setHisto 5 200 -3. 3. cm 83 /testem/histo/setHisto 5 200 -3. 3. cm 111 84 ----> SetHisto 5: projected range of the primary particle (cm); 200 bins from -3 cm to 3 cm 112 85 /testem/histo/setcsdaRange 2.037 cm 113 /testem/histo/setHisto 8 120 0. 1.2 none 86 /testem/histo/setHisto 8 120 0. 1.2 none 114 87 ----> SetHisto 8: d(E/E0)/d(r/r0) along r/r0; 120 bins from 0 none to 1.2 none 115 88 # … … 118 91 /run/beamOn 10000 119 92 120 phot: Total cross sections from Sandia parametrisation. 121 Sampling according PhotoElectric model 122 123 compt: Total cross sections has a good parametrisation from 10 KeV to (100/Z) GeV 124 Sampling according Klein-Nishina model 125 tables are built for gamma 126 Lambda tables from 100 eV to 100 GeV in 90 bins. 127 128 conv: Total cross sections has a good parametrisation from 1.5 MeV to 100 GeV for all Z; 129 sampling secondary e+e- according Bethe-Heitler model 130 tables are built for gamma 131 Lambda tables from 1.022 MeV to 100 GeV in 100 bins. 132 133 msc: Model variant of multiple scattering for e- 134 Lambda tables from 100 eV to 100 TeV in 120 bins. 135 LateralDisplacementFlag= 1 Skin= 0 136 Boundary/stepping algorithm is active with RangeFactor= 0.02 Step limit type 1 137 138 eIoni: tables are built for e- 139 dE/dx and range tables from 100 eV to 100 TeV in 120 bins. 140 Lambda tables from threshold to 100 TeV in 120 bins. 141 Delta cross sections and sampling from MollerBhabha model 142 Good description from 1 KeV to 100 GeV. 143 Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1 144 CSDA range table up to 1 GeV in 70 bins. 145 146 eBrem: tables are built for e- 147 dE/dx and range tables from 100 eV to 100 TeV in 120 bins. 148 Lambda tables from threshold to 100 TeV in 120 bins. 149 Total cross sections and sampling from StandBrem model (based on the EEDL data library) 150 Good description from 1 KeV to 100 GeV, log scale extrapolation above 100 GeV. LPM flag 1 151 152 eIoni: tables are built for e+ 153 dE/dx and range tables from 100 eV to 100 TeV in 120 bins. 154 Lambda tables from threshold to 100 TeV in 120 bins. 155 Delta cross sections and sampling from MollerBhabha model 156 Good description from 1 KeV to 100 GeV. 157 Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1 158 CSDA range table up to 1 GeV in 70 bins. 159 160 eBrem: tables are built for e+ 161 dE/dx and range tables from 100 eV to 100 TeV in 120 bins. 162 Lambda tables from threshold to 100 TeV in 120 bins. 163 Total cross sections and sampling from StandBrem model (based on the EEDL data library) 164 Good description from 1 KeV to 100 GeV, log scale extrapolation above 100 GeV. LPM flag 1 165 166 annihil: Sampling according eplus2gg model 167 tables are built for e+ 168 Lambda tables from 100 eV to 100 TeV in 120 bins. 169 170 msc: Model variant of multiple scattering for proton 171 Lambda tables from 100 eV to 100 TeV in 120 bins. 172 LateralDisplacementFlag= 1 Skin= 0 173 Boundary/stepping algorithm is active with RangeFactor= 0.02 Step limit type 1 174 175 hIoni: tables are built for proton 176 dE/dx and range tables from 100 eV to 100 TeV in 120 bins. 177 Lambda tables from threshold to 100 TeV in 120 bins. 178 Scaling relation is used from proton dE/dx and range. 179 Delta cross sections and sampling from BetheBloch model for scaled energy > 2 MeV 180 Parametrisation from Bragg for protons below. NuclearStopping= 1 181 Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1 182 CSDA range table up to 1 GeV in 70 bins. 183 184 msc: Model variant of multiple scattering for GenericIon 185 LateralDisplacementFlag= 0 Skin= 0 186 Boundary/stepping algorithm is active with RangeFactor= 0.2 Step limit type 1 187 188 ionIoni: tables are built for GenericIon 189 dE/dx and range tables from 100 eV to 100 TeV in 120 bins. 190 Lambda tables from threshold to 100 TeV in 120 bins. 191 Scaling relation is used from proton dE/dx and range. 192 Delta cross sections and sampling from BetheBloch model for scaled energy > 2 MeV 193 Parametrisation from BraggIon for protons below. NuclearStopping= 1 194 195 Stopping Power data for 8 ion/material pairs are used. 196 Step function: finalRange(mm)= 0.1, dRoverRange= 0.1, integral: 1, fluct: 1 197 CSDA range table up to 1 GeV in 70 bins. 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= 0.2, integral: 1, fluct: 1 206 CSDA range table up to 1 GeV in 70 bins. 207 208 msc: Model variant of multiple scattering for mu+ 209 Lambda tables from 100 eV to 100 TeV in 120 bins. 210 LateralDisplacementFlag= 1 Skin= 0 211 Boundary/stepping algorithm is active with RangeFactor= 0.02 Step limit type 1 212 213 muIoni: tables are built for mu+ 214 dE/dx and range tables from 100 eV to 100 TeV in 120 bins. 215 Lambda tables from threshold to 100 TeV in 120 bins. 216 Bether-Bloch model for E > 0.2 MeV, parametrisation of Bragg peak below, 217 radiative corrections for E > 1 GeV 218 Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1 219 CSDA range table up to 1 GeV in 70 bins. 220 221 muBrems: tables are built for mu+ 222 dE/dx and range tables from 100 eV to 100 TeV in 120 bins. 223 Lambda tables from threshold to 100 TeV in 120 bins. 224 Parametrised model 225 226 muPairProd: tables are built for mu+ 227 dE/dx and range tables from 100 eV to 100 TeV in 120 bins. 228 Lambda tables from threshold to 100 TeV in 120 bins. 229 Parametrised model 230 231 muIoni: tables are built for mu- 232 dE/dx and range tables from 100 eV to 100 TeV in 120 bins. 233 Lambda tables from threshold to 100 TeV in 120 bins. 234 Bether-Bloch model for E > 0.2 MeV, parametrisation of Bragg peak below, 235 radiative corrections for E > 1 GeV 236 Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1 237 CSDA range table up to 1 GeV in 70 bins. 238 239 muBrems: tables are built for mu- 240 dE/dx and range tables from 100 eV to 100 TeV in 120 bins. 241 Lambda tables from threshold to 100 TeV in 120 bins. 242 Parametrised model 243 244 muPairProd: tables are built for mu- 245 dE/dx and range tables from 100 eV to 100 TeV in 120 bins. 246 Lambda tables from threshold to 100 TeV in 120 bins. 247 Parametrised model 248 249 hIoni: tables are built for pi+ 250 dE/dx and range tables from 100 eV to 100 TeV in 120 bins. 251 Lambda tables from threshold to 100 TeV in 120 bins. 252 Scaling relation is used from proton dE/dx and range. 253 Delta cross sections and sampling from BetheBloch model for scaled energy > 0.297504 MeV 254 Parametrisation from Bragg for protons below. NuclearStopping= 1 255 Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1 256 CSDA range table up to 1 GeV in 70 bins. 257 258 msc: Model variant of multiple scattering for pi- 259 Lambda tables from 100 eV to 100 TeV in 120 bins. 260 LateralDisplacementFlag= 1 Skin= 0 261 Boundary/stepping algorithm is active with RangeFactor= 0.02 Step limit type 1 262 263 hIoni: tables are built for pi- 264 dE/dx and range tables from 100 eV to 100 TeV in 120 bins. 265 Lambda tables from threshold to 100 TeV in 120 bins. 266 Scaling relation is used from proton dE/dx and range. 267 Delta cross sections and sampling from BetheBloch model for scaled energy > 0.297504 MeV 268 Parametrisation from Bragg for protons below. NuclearStopping= 1 269 Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1 270 CSDA range table up to 1 GeV in 70 bins. 93 phot: for gamma SubType= 12 94 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 95 PhotoElectric : Emin= 0 eV Emax= 10 TeV 96 97 compt: for gamma SubType= 13 98 Lambda tables from 100 eV to 10 TeV in 77 bins, spline: 1 99 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 100 Klein-Nishina : Emin= 0 eV Emax= 10 TeV 101 102 conv: for gamma SubType= 14 103 Lambda tables from 1.022 MeV to 10 TeV in 77 bins, spline: 1 104 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 105 Bethe-Heitler : Emin= 0 eV Emax= 10 TeV 106 107 msc: for e- SubType= 10 108 Lambda tables from 100 eV to 10 TeV in 77 bins, spline: 1 109 RangeFactor= 0.04, stepLimitType: 1, latDisplacement: 1 110 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 111 UrbanMsc93 : Emin= 0 eV Emax= 10 TeV 112 113 eIoni: for e- SubType= 2 114 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 115 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 116 finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 117 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 118 MollerBhabha : Emin= 0 eV Emax= 10 TeV 119 CSDA range table up to 1 GeV in 160 bins 120 121 eBrem: for e- SubType= 3 122 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 123 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 124 LPM flag: 1 for E > 1 GeV 125 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 126 eBrem : Emin= 0 eV Emax= 1 GeV 127 eBremRel : Emin= 1 GeV Emax= 10 TeV 128 129 eIoni: for e+ SubType= 2 130 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 131 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 132 finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 133 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 134 MollerBhabha : Emin= 0 eV Emax= 10 TeV 135 CSDA range table up to 1 GeV in 160 bins 136 137 eBrem: for e+ SubType= 3 138 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 139 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 140 LPM flag: 1 for E > 1 GeV 141 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 142 eBrem : Emin= 0 eV Emax= 1 GeV 143 eBremRel : Emin= 1 GeV Emax= 10 TeV 144 145 annihil: for e+ SubType= 5 146 Lambda tables from 100 eV to 10 TeV in 77 bins, spline: 1 147 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 148 eplus2gg : Emin= 0 eV Emax= 10 TeV 149 150 msc: for proton SubType= 10 151 Lambda tables from 100 eV to 10 TeV in 77 bins, spline: 1 152 RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1 153 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 154 UrbanMsc90 : Emin= 0 eV Emax= 10 TeV 155 156 hIoni: for proton SubType= 2 157 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 158 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 159 finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 160 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 161 Bragg : Emin= 0 eV Emax= 2 MeV 162 BetheBloch : Emin= 2 MeV Emax= 10 TeV 163 CSDA range table up to 1 GeV in 160 bins 164 165 hBrems: for proton SubType= 3 166 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 167 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 168 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 169 hBrem : Emin= 0 eV Emax= 10 TeV 170 171 hPairProd: for proton SubType= 4 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 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 175 hPairProd : Emin= 0 eV Emax= 10 TeV 176 177 msc: for GenericIon SubType= 10 178 RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 0 179 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 180 UrbanMsc90 : Emin= 0 eV Emax= 10 TeV 181 182 ionIoni: for GenericIon SubType= 2 183 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 184 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 185 finalRange(mm)= 0.1, dRoverRange= 0.1, integral: 1, fluct: 1, linLossLimit= 0.02 186 Stopping Power data for 17 ion/material pairs, nuclearStopping: 1 187 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 188 ParamICRU73 : Emin= 0 eV Emax= 10 TeV 189 CSDA range table up to 1 GeV in 160 bins 190 191 nuclearStopping: for GenericIon SubType= 1 192 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 193 ICRU49NucStopping : Emin= 0 eV Emax= 10 TeV 194 195 nuclearStopping: for alpha SubType= 1 196 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 197 ICRU49NucStopping : Emin= 0 eV Emax= 10 TeV 198 199 hIoni: for anti_proton SubType= 2 200 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 201 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 202 finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 203 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 204 ICRU73QO : Emin= 0 eV Emax= 2 MeV 205 BetheBloch : Emin= 2 MeV Emax= 10 TeV 206 CSDA range table up to 1 GeV in 160 bins 207 208 hIoni: for kaon+ SubType= 2 209 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 210 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 211 finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 212 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 213 Bragg : Emin= 0 eV Emax= 1.05231 MeV 214 BetheBloch : Emin= 1.05231 MeV Emax= 10 TeV 215 CSDA range table up to 1 GeV in 160 bins 216 217 hIoni: for kaon- SubType= 2 218 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 219 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 220 finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 221 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 222 ICRU73QO : Emin= 0 eV Emax= 1.05231 MeV 223 BetheBloch : Emin= 1.05231 MeV Emax= 10 TeV 224 CSDA range table up to 1 GeV in 160 bins 225 226 muMsc: for mu+ SubType= 10 227 Lambda tables from 100 eV to 10 TeV in 77 bins, spline: 1 228 RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 1, polarAngleLimit(deg)= 0 229 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 230 UrbanMsc90 : Emin= 0 eV Emax= 10 TeV 231 232 muIoni: for mu+ SubType= 2 233 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 234 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 235 finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 236 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 237 Bragg : Emin= 0 eV Emax= 200 keV 238 BetheBloch : Emin= 200 keV Emax= 1 GeV 239 MuBetheBloch : Emin= 1 GeV Emax= 10 TeV 240 CSDA range table up to 1 GeV in 160 bins 241 242 muBrems: for mu+ SubType= 3 243 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 244 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 245 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 246 MuBrem : Emin= 0 eV Emax= 10 TeV 247 248 muPairProd: for mu+ SubType= 4 249 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 250 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 251 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 252 muPairProd : Emin= 0 eV Emax= 10 TeV 253 254 muIoni: for mu- SubType= 2 255 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 256 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 257 finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 258 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 259 ICRU73QO : Emin= 0 eV Emax= 200 keV 260 BetheBloch : Emin= 200 keV Emax= 1 GeV 261 MuBetheBloch : Emin= 1 GeV Emax= 10 TeV 262 CSDA range table up to 1 GeV in 160 bins 263 264 muBrems: for mu- SubType= 3 265 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 266 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 267 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 268 MuBrem : Emin= 0 eV Emax= 10 TeV 269 270 muPairProd: for mu- SubType= 4 271 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 272 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 273 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 274 muPairProd : Emin= 0 eV Emax= 10 TeV 275 276 hIoni: for pi+ SubType= 2 277 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 278 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 279 finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 280 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 281 Bragg : Emin= 0 eV Emax= 297.504 keV 282 BetheBloch : Emin= 297.504 keV Emax= 10 TeV 283 CSDA range table up to 1 GeV in 160 bins 284 285 hBrems: for pi+ SubType= 3 286 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 287 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 288 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 289 hBrem : Emin= 0 eV Emax= 10 TeV 290 291 hPairProd: for pi+ SubType= 4 292 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 293 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 294 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 295 hPairProd : Emin= 0 eV Emax= 10 TeV 296 297 msc: for pi- SubType= 10 298 Lambda tables from 100 eV to 10 TeV in 77 bins, spline: 1 299 RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1 300 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 301 UrbanMsc90 : Emin= 0 eV Emax= 10 TeV 302 303 hIoni: for pi- SubType= 2 304 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 305 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 306 finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 307 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 308 ICRU73QO : Emin= 0 eV Emax= 297.504 keV 309 BetheBloch : Emin= 297.504 keV Emax= 10 TeV 310 CSDA range table up to 1 GeV in 160 bins 311 312 hBrems: for pi- SubType= 3 313 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 314 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 315 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 316 hBrem : Emin= 0 eV Emax= 10 TeV 317 318 hPairProd: for pi- SubType= 4 319 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 320 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 321 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 322 hPairProd : Emin= 0 eV Emax= 10 TeV 271 323 272 324 Region <DefaultRegionForTheWorld> -- appears in <Absorber> world volume … … 274 326 Pointers : G4VUserRegionInformation[0], G4UserLimits[0], G4FastSimulationManager[0], G4UserSteppingAction[0] 275 327 Materials : G4_WATER 276 Production cuts : gamma 1 um e- 1 um e+ 1 um328 Production cuts : gamma 1 um e- 1 um e+ 1 um proton 0 fm 277 329 278 330 ========= Table of registered couples ============================== … … 280 332 Index : 0 used in the geometry : Yes recalculation needed : No 281 333 Material : G4_WATER 282 Range cuts : gamma 1 um e- 1 um e+ 1 um283 Energy thresholds : gamma 990 eV e- 990 eV e+ 990 eV334 Range cuts : gamma 1 um e- 1 um e+ 1 um proton 0 fm 335 Energy thresholds : gamma 990 eV e- 990 eV e+ 990 eV proton 0 eV 284 336 Region(s) which use this couple : 285 337 DefaultRegionForTheWorld … … 324 376 Run Summary 325 377 Number of events processed : 10000 326 User= 65.4s Real=92.27s Sys=2.75s378 User=42.93s Real=71.08s Sys=0.28s 327 379 328 380 ======================== run summary ====================== … … 332 384 ============================================================ 333 385 334 Total Energy deposited = 3.93 4 MeV +- 240.666keV335 336 Track length of primary track = 2.0 16 cm +- 2.808mm337 Range from EmCalculator = 2.0 21cm (from full dE/dx)338 339 Projected range = 1.3 05 cm +- 4.176mm340 341 Nb of steps of primary track = 2 38.40 +- 31.17 Step size= 84.562 um +- 4.576um386 Total Energy deposited = 3.932 MeV +- 234.119 keV 387 388 Track length of primary track = 2.045 cm +- 2.840 mm 389 Range from EmCalculator = 2.048 cm (from full dE/dx) 390 391 Projected range = 1.316 cm +- 4.268 mm 392 393 Nb of steps of primary track = 241.47 +- 31.53 Step size= 84.668 um +- 4.553 um 342 394 343 395 --------- Ranecu engine status --------- 344 396 Initial seed (index) = 0 345 Current couple of seeds = 1695104246, 964521664397 Current couple of seeds = 343308114, 1826359441 346 398 ---------------------------------------- 347 Graphics systems deleted.348 Visualization Manager deleting...349 399 UserDetectorConstruction deleted. 350 400 UserPhysicsList deleted. … … 353 403 G4 kernel has come to Quit state. 354 404 EventManager deleted. 355 Default detector region deleted.356 405 UImanager deleted. 357 406 Units table cleared. … … 359 408 RunManagerKernel is deleted. 360 409 RunManager is deleting. 410 -
trunk/examples/extended/electromagnetic/TestEm12/include/DetectorConstruction.hh
r1230 r1337 25 25 // 26 26 // $Id: DetectorConstruction.hh,v 1.2 2006/06/29 16:42: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/TestEm12/include/DetectorMessenger.hh
r1230 r1337 25 25 // 26 26 // $Id: DetectorMessenger.hh,v 1.2 2006/06/29 16:42: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/TestEm12/include/EventAction.hh
r1230 r1337 25 25 // 26 26 // $Id: EventAction.hh,v 1.2 2006/06/29 16:42:06 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/TestEm12/include/EventActionMessenger.hh
r1230 r1337 25 25 // 26 26 // $Id: EventActionMessenger.hh,v 1.2 2006/06/29 16:42:08 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/TestEm12/include/HistoManager.hh
r1230 r1337 25 25 // 26 26 // $Id: HistoManager.hh,v 1.6 2007/11/09 17:35:06 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/TestEm12/include/HistoMessenger.hh
r1230 r1337 25 25 // 26 26 // $Id: HistoMessenger.hh,v 1.4 2008/01/11 13:11:31 jjacquem 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/TestEm12/include/PhysListEmStandard.hh
r1230 r1337 26 26 // 27 27 // $Id: PhysListEmStandard.hh,v 1.2 2006/06/29 16:42:25 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/TestEm12/include/PhysicsList.hh
r1230 r1337 26 26 // 27 27 // $Id: PhysicsList.hh,v 1.3 2006/06/29 16:42:37 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/TestEm12/include/PhysicsListMessenger.hh
r1230 r1337 25 25 // 26 26 // $Id: PhysicsListMessenger.hh,v 1.2 2006/06/29 16:42: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/TestEm12/include/PrimaryGeneratorAction.hh
r1230 r1337 25 25 // 26 26 // $Id: PrimaryGeneratorAction.hh,v 1.2 2006/06/29 16:42: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/TestEm12/include/PrimaryGeneratorMessenger.hh
r1230 r1337 25 25 // 26 26 // $Id: PrimaryGeneratorMessenger.hh,v 1.2 2006/06/29 16:42: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/TestEm12/include/RunAction.hh
r1230 r1337 25 25 // 26 26 // $Id: RunAction.hh,v 1.4 2007/04/27 10:38:11 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/TestEm12/include/StepMax.hh
r1230 r1337 25 25 // 26 26 // $Id: StepMax.hh,v 1.3 2006/06/29 16:42:50 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/TestEm12/include/StepMaxMessenger.hh
r1230 r1337 25 25 // 26 26 // $Id: StepMaxMessenger.hh,v 1.3 2006/06/29 16:42:52 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/TestEm12/include/SteppingAction.hh
r1230 r1337 25 25 // 26 26 // $Id: SteppingAction.hh,v 1.2 2006/06/29 16:42:54 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/TestEm12/include/SteppingVerbose.hh
r1230 r1337 25 25 // 26 26 // $Id: SteppingVerbose.hh,v 1.2 2006/06/29 16:42:56 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/TestEm12/include/TrackingAction.hh
r1230 r1337 25 25 // 26 26 // $Id: TrackingAction.hh,v 1.2 2006/06/29 16:42:58 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/TestEm12/src/DetectorConstruction.cc
r1230 r1337 25 25 // 26 26 // $Id: DetectorConstruction.cc,v 1.2 2006/06/29 16:43:00 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/TestEm12/src/DetectorMessenger.cc
r1230 r1337 25 25 // 26 26 // $Id: DetectorMessenger.cc,v 1.2 2006/06/29 16:43: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/TestEm12/src/EventAction.cc
r1230 r1337 24 24 // ******************************************************************** 25 25 // 26 // $Id: EventAction.cc,v 1. 2 2006/06/29 16:43:05 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...... … … 37 37 38 38 #include "G4Event.hh" 39 #include "G4TrajectoryContainer.hh"40 #include "G4Trajectory.hh"41 #include "G4VVisManager.hh"42 39 43 40 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... … … 72 69 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 73 70 74 void EventAction::EndOfEventAction(const G4Event* evt)71 void EventAction::EndOfEventAction(const G4Event*) 75 72 { 76 73 //plot energy deposited per event … … 80 77 histoManager->FillHisto(2,totalEdep); 81 78 } 82 83 //trajectories84 //85 if (G4VVisManager::GetConcreteInstance())86 {87 G4TrajectoryContainer* trajectoryContainer = evt->GetTrajectoryContainer();88 G4int n_trajectories = 0;89 if (trajectoryContainer) n_trajectories = trajectoryContainer->entries();90 for(G4int i=0; i<n_trajectories; i++)91 { G4Trajectory* trj = (G4Trajectory*)92 ((*(evt->GetTrajectoryContainer()))[i]);93 if (drawFlag == "all") trj->DrawTrajectory(1000);94 else if ((drawFlag == "charged")&&(trj->GetCharge() != 0.))95 trj->DrawTrajectory(1000);96 }97 }98 79 } 99 80 -
trunk/examples/extended/electromagnetic/TestEm12/src/EventActionMessenger.cc
r1230 r1337 25 25 // 26 26 // $Id: EventActionMessenger.cc,v 1.2 2006/06/29 16:43: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/TestEm12/src/HistoManager.cc
r1230 r1337 25 25 // 26 26 // $Id: HistoManager.cc,v 1.11 2008/09/23 20:48:12 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/TestEm12/src/HistoMessenger.cc
r1230 r1337 25 25 // 26 26 // $Id: HistoMessenger.cc,v 1.5 2008/01/11 13:11:31 jjacquem 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/TestEm12/src/PhysListEmStandard.cc
r1230 r1337 24 24 // ******************************************************************** 25 25 // 26 // $Id: PhysListEmStandard.cc,v 1. 8 2009/11/16 16:18:27maire Exp $27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $26 // $Id: PhysListEmStandard.cc,v 1.9 2010/05/20 13:13:33 maire Exp $ 27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... … … 39 39 40 40 #include "G4eMultipleScattering.hh" 41 #include "G4UrbanMscModel90.hh" 42 #include "G4UrbanMscModel92.hh" 41 43 #include "G4UrbanMscModel93.hh" 42 44 #include "G4eIonisation.hh" … … 148 150 } 149 151 } 150 152 /* 151 153 // Em options 152 154 // … … 179 181 // 180 182 emOptions.SetSubCutoff(false); //default 183 */ 181 184 } 182 185 -
trunk/examples/extended/electromagnetic/TestEm12/src/PhysicsList.cc
r1230 r1337 24 24 // ******************************************************************** 25 25 // 26 // $Id: PhysicsList.cc,v 1. 8 2009/09/22 15:18:20maire Exp $27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $26 // $Id: PhysicsList.cc,v 1.9 2010/05/20 13:13:33 maire Exp $ 27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... … … 34 34 35 35 #include "PhysListEmStandard.hh" 36 #include "PhysListEmStandardSS.hh" 37 #include "PhysListEmStandardGS.hh" 38 #include "PhysListEmStandardWVI.hh" 36 39 37 40 #include "G4EmStandardPhysics.hh" … … 241 244 delete emPhysicsList; 242 245 emPhysicsList = new G4EmStandardPhysics_option3(); 243 246 247 } else if (name == "standardSS") { 248 249 emName = name; 250 delete emPhysicsList; 251 emPhysicsList = new PhysListEmStandardSS(name); 252 253 } else if (name == "standardGS") { 254 255 emName = name; 256 delete emPhysicsList; 257 emPhysicsList = new PhysListEmStandardGS(name); 258 259 } else if (name == "standardWVI") { 260 261 emName = name; 262 delete emPhysicsList; 263 emPhysicsList = new PhysListEmStandardWVI(name); 264 244 265 } else if (name == "emlivermore") { 245 266 emName = name; -
trunk/examples/extended/electromagnetic/TestEm12/src/PhysicsListMessenger.cc
r1230 r1337 25 25 // 26 26 // $Id: PhysicsListMessenger.cc,v 1.2 2006/06/29 16:43: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/TestEm12/src/PrimaryGeneratorAction.cc
r1230 r1337 25 25 // 26 26 // $Id: PrimaryGeneratorAction.cc,v 1.2 2006/06/29 16:43: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/TestEm12/src/PrimaryGeneratorMessenger.cc
r1230 r1337 25 25 // 26 26 // $Id: PrimaryGeneratorMessenger.cc,v 1.2 2006/06/29 16:43: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/TestEm12/src/RunAction.cc
r1230 r1337 25 25 // 26 26 // $Id: RunAction.cc,v 1.8 2007/08/19 20:57:29 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/TestEm12/src/StepMax.cc
r1230 r1337 25 25 // 26 26 // $Id: StepMax.cc,v 1.3 2006/06/29 16:43: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/TestEm12/src/StepMaxMessenger.cc
r1230 r1337 25 25 // 26 26 // $Id: StepMaxMessenger.cc,v 1.3 2006/06/29 16:43: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/TestEm12/src/SteppingAction.cc
r1230 r1337 25 25 // 26 26 // $Id: SteppingAction.cc,v 1.4 2007/04/27 10:38:11 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/TestEm12/src/SteppingVerbose.cc
r1230 r1337 25 25 // 26 26 // $Id: SteppingVerbose.cc,v 1.2 2006/06/29 16:43:46 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/TestEm12/src/TrackingAction.cc
r1230 r1337 25 25 // 26 26 // $Id: TrackingAction.cc,v 1.2 2006/06/29 16:43:48 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/TestEm12/vis.mac
r807 r1337 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: 39 /vis/viewer/zoom 1.4 40 # 41 # Specify style (surface or wireframe): 23 42 /vis/viewer/set/style surface 24 /vis/viewer/zoom 1.425 /vis/viewer/flush26 43 # 27 # for drawing the tracks 28 # if too many tracks cause core dump => storeTrajectory 0 29 /tracking/storeTrajectory 1 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: 30 72 /vis/scene/endOfEventAction accumulate 31 73 # 32 /testem/event/drawTracks all 33 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.