Changeset 1337 for trunk/examples/extended/electromagnetic/TestEm18
- Timestamp:
- Sep 30, 2010, 2:47:17 PM (14 years ago)
- Location:
- trunk/examples/extended/electromagnetic/TestEm18
- Files:
-
- 42 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/examples/extended/electromagnetic/TestEm18/History
r807 r1337 1 $Id: History,v 1. 4 2007/11/20 14:15:18 maireExp $1 $Id: History,v 1.16 2010/06/07 05:40:46 perl Exp $ 2 2 ---------------------------------------------------- 3 3 … … 16 16 ---------------------------------------------------------- 17 17 18 06-06-10 J.Perl (testem18-V09-03-02) 19 - Remove unused variable in EventAction 20 21 03-06-10 J.Perl (testem18-V09-03-01) 22 - Updated vis usage 23 24 21-05-10 mma (testem18-V09-03-00) 25 - TestEm18.cc : introduction of G4UIExecutive 26 27 19-11-09 mma (testem18-V09-02-04) 28 - cosmetics in low-energy physics lists 29 30 12-10-09 mma (testem18-V09-02-03) 31 - Substituted obsolete low-energy physics builders by builders from 32 the physics_list library; 33 34 06-03-09 mma (testem18-V09-02-01) 35 - PhysicsList::SetCuts() : remove SetEnergyRange(1*keV,100*GeV) 36 - remove command "/testem/phys/cutLimit" already in /cuts/setLowEdge 37 38 22-02-09 mma (testem18-V09-02-00) 39 - PhysicsList. EmOptions : 12*20 bins; lll=1.e-2 40 - PhysicsList::SetCuts() : SetEnergyRange(1*keV,100*GeV) 41 - added command "/testem/phys/cutLimit" allowing to change low limit for 42 production threshold 43 44 24-09-08 mma (testem18-V09-01-04) 45 - HistoManager : root as default format 46 47 12-06-08 mma (testem18-V09-01-03) 48 - Remove AIDA from GNUmakefile 49 50 07-05-08 mma (testem18-V09-01-02) 51 - PhysicsList : add spline option for physics tables 52 - README : update Aida informations 53 54 07-04-08 mma (testem18-V09-01-01) 55 - HistoManager::saveAscii() : redefinition of binEdge 56 57 08-01-08 mma (testem18-V09-01-00) 58 - HistoManager : ascii[0] = flag to control creation of .ascii file 59 18 60 20-nov-07 mma (testem18-V09-00-01) 19 61 - PhysicsList : more EmOptions -
trunk/examples/extended/electromagnetic/TestEm18/README
r807 r1337 1 $Id: README,v 1. 2 2007/11/13 16:43:59maire Exp $1 $Id: README,v 1.4 2008/09/26 20:26:01 maire Exp $ 2 2 ------------------------------------------------------------------- 3 3 … … 66 66 the commands: 67 67 /testem/histo/setFileName name (default testem18) 68 /testem/histo/setFileType name (default hbook)68 /testem/histo/setFileType name (default root) 69 69 70 70 It is also possible to print selected histograms on an ascii file: … … 113 113 114 114 To use histograms, at least one of the AIDA implementations should be 115 available (see http://aida.freehep.org).115 available. See InstallAida.txt 116 116 117 8a - PI118 119 A package including AIDA and extended interfaces also using Python is PI,120 available from: http://cern.ch/pi121 122 Once installed PI or PI-Lite in a specified local area $MYPY, it is required123 to add the installation path to $PATH, i.e. for example, for release 1.2.1 of124 PI:125 setenv PATH ${PATH}:$MYPI/1.2.1/app/releases/PI/PI_1_2_1/rh73_gcc32/bin126 127 CERN users can use the PATH to the LCG area on AFS.128 Before running the example the command should be issued:129 eval `aida-config --runtime csh`130 131 8b - OpenScientist132 133 OpenScientist is available at http://OpenScientist.lal.in2p3.fr.134 135 You have to "setup" the OpenScientist AIDA implementation before compiling136 (then with G4ANALYSIS_USE set) and running your Geant4 application.137 138 On UNIX you setup, with a csh flavoured shell :139 csh> source <<OpenScientist install path>/aida-setup.csh140 or with a sh flavoured shell :141 sh> . <<OpenScientist install path>/aida-setup.sh142 On Windows :143 DOS> call <<OpenScientist install path>/aida-setup.bat144 145 You can use various file formats for writing (AIDA-XML, hbook, root).146 These formats are readable by the Lab onx interactive program147 or the OpenPAW application. See the web pages.148 149 150 With OpenPAW, on a run.hbook file, one can view the histograms151 with something like :152 OS> opaw153 opaw> h/file 1 run.hbook ( or opaw> h/file 1 run.aida or run.root)154 opaw> zone 2 2155 opaw> h/plot 1156 opaw> h/plot 2 -
trunk/examples/extended/electromagnetic/TestEm18/TestEm18.cc
r1230 r1337 25 25 // 26 26 // 27 // $Id: TestEm18.cc,v 1. 1 2007/02/13 17:57:19maire Exp $28 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // $Id: TestEm18.cc,v 1.2 2010/05/21 08:41:18 maire Exp $ 28 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 29 29 // 30 30 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... … … 33 33 #include "G4RunManager.hh" 34 34 #include "G4UImanager.hh" 35 #include "G4UIterminal.hh"36 #include "G4UItcsh.hh"37 35 #include "Randomize.hh" 38 39 #ifdef G4VIS_USE40 #include "G4VisExecutive.hh"41 #endif42 36 43 37 #include "DetectorConstruction.hh" … … 50 44 #include "StackingAction.hh" 51 45 #include "HistoManager.hh" 46 47 #ifdef G4VIS_USE 48 #include "G4VisExecutive.hh" 49 #endif 50 51 #ifdef G4UI_USE 52 #include "G4UIExecutive.hh" 53 #endif 52 54 53 55 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... … … 69 71 runManager->SetUserInitialization(detector); 70 72 runManager->SetUserInitialization(new PhysicsList()); 71 72 G4VisManager* visManager = 0;73 73 74 74 HistoManager* histo = new HistoManager(); … … 100 100 // get the pointer to the User Interface manager 101 101 G4UImanager* UI = G4UImanager::GetUIpointer(); 102 103 if (argc==1) // Define UI terminal for interactive mode 102 103 if (argc!=1) // batch mode 104 { 105 G4String command = "/control/execute "; 106 G4String fileName = argv[1]; 107 UI->ApplyCommand(command+fileName); 108 } 109 110 else //define visualization and UI terminal for interactive mode 104 111 { 105 106 112 #ifdef G4VIS_USE 107 // visualization manager 108 visManager = new G4VisExecutive; 109 visManager->Initialize(); 113 G4VisManager* visManager = new G4VisExecutive; 114 visManager->Initialize(); 115 #endif 116 117 #ifdef G4UI_USE 118 G4UIExecutive * ui = new G4UIExecutive(argc,argv); 119 ui->SessionStart(); 120 delete ui; 110 121 #endif 111 G4UIsession * session = 0; 112 #ifdef G4UI_USE_TCSH 113 session = new G4UIterminal(new G4UItcsh); 114 #else 115 session = new G4UIterminal(); 116 #endif 117 session->SessionStart(); 118 delete session; 119 } 120 else // Batch mode 121 { 122 G4String command = "/control/execute "; 123 G4String fileName = argv[1]; 124 UI->ApplyCommand(command+fileName); 122 123 #ifdef G4VIS_USE 124 delete visManager; 125 #endif 125 126 } 126 127 127 128 // job termination 128 129 #ifdef G4VIS_USE 130 delete visManager; 131 #endif 132 129 // 133 130 delete histo; 134 131 delete runManager; -
trunk/examples/extended/electromagnetic/TestEm18/TestEm18.in
r807 r1337 1 # $Id: TestEm18.in,v 1. 1 2007/02/13 17:57:19maire Exp $1 # $Id: TestEm18.in,v 1.2 2009/10/12 21:47:57 maire Exp $ 2 2 # 3 3 # macro file for TestEm18.cc … … 9 9 /testem/det/setSize 1 cm 10 10 # 11 /testem/phys/addPhysics standard 12 # 11 13 /testem/phys/setCuts 1 mm 12 14 # -
trunk/examples/extended/electromagnetic/TestEm18/TestEm18.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 … … 8 12 9 13 10 ***** Table : Nb of materials = 1 1*****11 12 Material: Air density: 1.290 mg/cm3 RadL: 285.161 m Imean: 85.684eV temperature: 273.15 K pressure: 1.00 atm14 ***** Table : Nb of materials = 12 ***** 15 16 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: Water density: 1.000 g/cm3 RadL: 36.092 cm Imean: 75.000 eV20 Material: Water density: 1.000 g/cm3 RadL: 36.092 cm Nucl.Int.Length: 75.416 cm Imean: 75.000 eV 17 21 ---> Element: Hydrogen (H) Z = 1.0 N = 1.0 A = 1.01 g/mole ElmMassFraction: 11.21 % ElmAbundance 66.67 % 18 22 ---> Element: Oxygen (O) Z = 8.0 N = 16.0 A = 16.00 g/mole ElmMassFraction: 88.79 % ElmAbundance 33.33 % 19 23 20 Material: Water_vapor density: 1.000 mg/cm3 RadL: 360.92 5m Imean: 75.000 eV temperature: 273.15 K pressure: 1.00 atm24 Material: Water_vapor density: 1.000 mg/cm3 RadL: 360.924 m Nucl.Int.Length: 754.163 m Imean: 75.000 eV temperature: 273.15 K pressure: 1.00 atm 21 25 ---> Element: Hydrogen (H) Z = 1.0 N = 1.0 A = 1.01 g/mole ElmMassFraction: 11.21 % ElmAbundance 66.67 % 22 26 ---> Element: Oxygen (O) Z = 8.0 N = 16.0 A = 16.00 g/mole ElmMassFraction: 88.79 % ElmAbundance 33.33 % 23 27 24 Material: Carbon density: 2.267 g/cm3 RadL: 18.833 cm Imean: 78.000 eV28 Material: Carbon density: 2.267 g/cm3 RadL: 18.833 cm Nucl.Int.Length: 35.356 cm Imean: 81.000 eV 25 29 ---> Element: Carbon ( ) Z = 6.0 N = 12.0 A = 12.01 g/mole ElmMassFraction: 100.00 % ElmAbundance 100.00 % 26 30 27 Material: Aluminium density: 2.700 g/cm3 RadL: 8.893 cm Imean: 166.400 eV31 Material: Aluminium density: 2.700 g/cm3 RadL: 8.893 cm Nucl.Int.Length: 38.879 cm Imean: 166.000 eV 28 32 ---> Element: Aluminium ( ) Z = 13.0 N = 27.0 A = 26.98 g/mole ElmMassFraction: 100.00 % ElmAbundance 100.00 % 29 33 30 Material: Silicon density: 2.330 g/cm3 RadL: 9.368 cm Imean: 173.600 eV34 Material: Silicon density: 2.330 g/cm3 RadL: 9.368 cm Nucl.Int.Length: 45.663 cm Imean: 173.000 eV 31 35 ---> Element: Silicon ( ) Z = 14.0 N = 28.1 A = 28.09 g/mole ElmMassFraction: 100.00 % ElmAbundance 100.00 % 32 36 33 Material: liquidArgon density: 1.390 g/cm3 RadL: 14.065 cm Imean: 187.200 eV37 Material: liquidArgon density: 1.390 g/cm3 RadL: 14.065 cm Nucl.Int.Length: 86.078 cm Imean: 188.000 eV 34 38 ---> Element: liquidArgon ( ) Z = 18.0 N = 40.0 A = 39.95 g/mole ElmMassFraction: 100.00 % ElmAbundance 100.00 % 35 39 36 Material: Iron density: 7.870 g/cm3 RadL: 1.759 cm Imean: 286.000 eV37 ---> Element: Iron ( ) Z = 26.0 N = 55. 9A = 55.85 g/mole ElmMassFraction: 100.00 % ElmAbundance 100.00 %38 39 Material: Germanium density: 5.323 g/cm3 RadL: 2.301 cm Imean: 332.800 eV40 Material: Iron density: 7.870 g/cm3 RadL: 1.759 cm Nucl.Int.Length: 16.999 cm Imean: 286.000 eV 41 ---> Element: Iron ( ) Z = 26.0 N = 55.8 A = 55.85 g/mole ElmMassFraction: 100.00 % ElmAbundance 100.00 % 42 43 Material: Germanium density: 5.323 g/cm3 RadL: 2.301 cm Nucl.Int.Length: 27.431 cm Imean: 350.000 eV 40 44 ---> Element: Germanium ( ) Z = 32.0 N = 72.6 A = 72.61 g/mole ElmMassFraction: 100.00 % ElmAbundance 100.00 % 41 45 42 Material: Tungsten density: 19.300 g/cm3 RadL: 3.504 mm Imean: 725.200 eV46 Material: Tungsten density: 19.300 g/cm3 RadL: 3.504 mm Nucl.Int.Length: 10.312 cm Imean: 727.000 eV 43 47 ---> Element: Tungsten ( ) Z = 74.0 N = 183.8 A = 183.85 g/mole ElmMassFraction: 100.00 % ElmAbundance 100.00 % 44 48 45 Material: Lead density: 11.350 g/cm3 RadL: 5.612 mm Imean: 820.000 eV49 Material: Lead density: 11.350 g/cm3 RadL: 5.612 mm Nucl.Int.Length: 18.247 cm Imean: 823.000 eV 46 50 ---> Element: Lead ( ) Z = 82.0 N = 207.2 A = 207.19 g/mole ElmMassFraction: 100.00 % ElmAbundance 100.00 % 51 52 Material: ArgonGas density: 1.782 mg/cm3 RadL: 109.702 m Nucl.Int.Length: 671.416 m Imean: 188.000 eV temperature: 273.15 K pressure: 1.00 atm 53 ---> Element: ArgonGas ( ) Z = 18.0 N = 39.9 A = 39.95 g/mole ElmMassFraction: 100.00 % ElmAbundance 100.00 % 47 54 48 55 … … 51 58 /testem/det/setMat Water 52 59 /testem/det/setSize 1 cm 60 # 61 /testem/phys/addPhysics standard 53 62 # 54 63 /testem/phys/setCuts 1 mm … … 61 70 physicsList->Construct() start. 62 71 physicsList->Construct() start. 72 physicsList->CheckParticleList() start. 63 73 physicsList->setCut() start. 64 74 PhysicsList::SetCuts:CutLength : 1 mm … … 69 79 /run/beamOn 100000 70 80 71 phot: Total cross sections from Sandia parametrisation. 72 Sampling according PhotoElectric model 73 74 compt: Total cross sections has a good parametrisation from 10 KeV to (100/Z) GeV 75 Sampling according Klein-Nishina model 76 tables are built for gamma 77 Lambda tables from 100 eV to 100 TeV in 1200 bins. 78 79 conv: Total cross sections has a good parametrisation from 1.5 MeV to 100 GeV for all Z; 80 sampling secondary e+e- according Bethe-Heitler model 81 tables are built for gamma 82 Lambda tables from 1.022 MeV to 100 TeV in 1200 bins. 83 84 eIoni: tables are built for e- 85 dE/dx and range tables from 100 eV to 100 TeV in 1200 bins. 86 Lambda tables from threshold to 100 TeV in 1200 bins. 87 Delta cross sections and sampling from MollerBhabha model 88 Good description from 1 KeV to 100 GeV. 89 Step function: finalRange(mm)= 0.01, dRoverRange= 0.2, integral: 1, fluct: 1 90 CSDA range table up to 100 TeV in 1200 bins. 91 92 eBrem: tables are built for e- 93 dE/dx and range tables from 100 eV to 100 TeV in 1200 bins. 94 Lambda tables from threshold to 100 TeV in 1200 bins. 95 Total cross sections and sampling from StandBrem model (based on the EEDL data library) 96 Good description from 1 KeV to 100 GeV, log scale extrapolation above 100 GeV. LPM flag 1 97 98 eIoni: tables are built for e+ 99 dE/dx and range tables from 100 eV to 100 TeV in 1200 bins. 100 Lambda tables from threshold to 100 TeV in 1200 bins. 101 Delta cross sections and sampling from MollerBhabha model 102 Good description from 1 KeV to 100 GeV. 103 Step function: finalRange(mm)= 0.01, dRoverRange= 0.2, integral: 1, fluct: 1 104 CSDA range table up to 100 TeV in 1200 bins. 105 106 eBrem: tables are built for e+ 107 dE/dx and range tables from 100 eV to 100 TeV in 1200 bins. 108 Lambda tables from threshold to 100 TeV in 1200 bins. 109 Total cross sections and sampling from StandBrem model (based on the EEDL data library) 110 Good description from 1 KeV to 100 GeV, log scale extrapolation above 100 GeV. LPM flag 1 111 112 annihil: Sampling according eplus2gg model 113 tables are built for e+ 114 Lambda tables from 100 eV to 100 TeV in 120 bins. 115 116 hIoni: tables are built for proton 117 dE/dx and range tables from 100 eV to 100 TeV in 1200 bins. 118 Lambda tables from threshold to 100 TeV in 1200 bins. 119 Scaling relation is used from proton dE/dx and range. 120 Delta cross sections and sampling from BetheBloch model for scaled energy > 2 MeV 121 Parametrisation from Bragg for protons below. NuclearStopping= 1 122 Step function: finalRange(mm)= 0.01, dRoverRange= 0.2, integral: 1, fluct: 1 123 CSDA range table up to 100 TeV in 1200 bins. 124 125 ionIoni: tables are built for GenericIon 126 dE/dx and range tables from 100 eV to 100 TeV in 1200 bins. 127 Lambda tables from threshold to 100 TeV in 1200 bins. 128 Scaling relation is used from proton dE/dx and range. 129 Delta cross sections and sampling from BetheBloch model for scaled energy > 2 MeV 130 Parametrisation from BraggIon for protons below. NuclearStopping= 1 131 132 Stopping Power data for 8 ion/material pairs are used. 133 Step function: finalRange(mm)= 0.01, dRoverRange= 0.2, integral: 1, fluct: 1 134 CSDA range table up to 100 TeV in 1200 bins. 135 136 hIoni: tables are built for anti_proton 137 dE/dx and range tables from 100 eV to 100 TeV in 1200 bins. 138 Lambda tables from threshold to 100 TeV in 1200 bins. 139 Scaling relation is used from proton dE/dx and range. 140 Delta cross sections and sampling from BetheBloch model for scaled energy > 2 MeV 141 Parametrisation from Bragg for protons below. NuclearStopping= 1 142 Step function: finalRange(mm)= 0.01, dRoverRange= 0.2, integral: 1, fluct: 1 143 CSDA range table up to 100 TeV in 1200 bins. 144 145 muIoni: tables are built for mu+ 146 dE/dx and range tables from 100 eV to 100 TeV in 1200 bins. 147 Lambda tables from threshold to 100 TeV in 1200 bins. 148 Bether-Bloch model for E > 0.2 MeV, parametrisation of Bragg peak below, 149 radiative corrections for E > 1 GeV 150 Step function: finalRange(mm)= 0.01, dRoverRange= 0.2, integral: 1, fluct: 1 151 CSDA range table up to 100 TeV in 1200 bins. 152 153 muBrems: tables are built for mu+ 154 dE/dx and range tables from 100 eV to 100 TeV in 1200 bins. 155 Lambda tables from threshold to 100 TeV in 1200 bins. 156 Parametrised model 157 158 muPairProd: tables are built for mu+ 159 dE/dx and range tables from 100 eV to 100 TeV in 1200 bins. 160 Lambda tables from threshold to 100 TeV in 1200 bins. 161 Parametrised model 162 163 muIoni: tables are built for mu- 164 dE/dx and range tables from 100 eV to 100 TeV in 1200 bins. 165 Lambda tables from threshold to 100 TeV in 1200 bins. 166 Bether-Bloch model for E > 0.2 MeV, parametrisation of Bragg peak below, 167 radiative corrections for E > 1 GeV 168 Step function: finalRange(mm)= 0.01, dRoverRange= 0.2, integral: 1, fluct: 1 169 CSDA range table up to 100 TeV in 1200 bins. 170 171 muBrems: tables are built for mu- 172 dE/dx and range tables from 100 eV to 100 TeV in 1200 bins. 173 Lambda tables from threshold to 100 TeV in 1200 bins. 174 Parametrised model 175 176 muPairProd: tables are built for mu- 177 dE/dx and range tables from 100 eV to 100 TeV in 1200 bins. 178 Lambda tables from threshold to 100 TeV in 1200 bins. 179 Parametrised model 180 181 hIoni: tables are built for pi+ 182 dE/dx and range tables from 100 eV to 100 TeV in 1200 bins. 183 Lambda tables from threshold to 100 TeV in 1200 bins. 184 Scaling relation is used from proton dE/dx and range. 185 Delta cross sections and sampling from BetheBloch model for scaled energy > 0.297504 MeV 186 Parametrisation from Bragg for protons below. NuclearStopping= 1 187 Step function: finalRange(mm)= 0.01, dRoverRange= 0.2, integral: 1, fluct: 1 188 CSDA range table up to 100 TeV in 1200 bins. 189 190 hIoni: tables are built for pi- 191 dE/dx and range tables from 100 eV to 100 TeV in 1200 bins. 192 Lambda tables from threshold to 100 TeV in 1200 bins. 193 Scaling relation is used from proton dE/dx and range. 194 Delta cross sections and sampling from BetheBloch model for scaled energy > 0.297504 MeV 195 Parametrisation from Bragg for protons below. NuclearStopping= 1 196 Step function: finalRange(mm)= 0.01, dRoverRange= 0.2, integral: 1, fluct: 1 197 CSDA range table up to 100 TeV in 1200 bins. 81 phot: for gamma SubType= 12 82 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 83 PhotoElectric : Emin= 0 eV Emax= 100 TeV 84 85 compt: for gamma SubType= 13 86 Lambda tables from 100 eV to 100 TeV in 240 bins, spline: 1 87 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 88 Klein-Nishina : Emin= 0 eV Emax= 100 TeV 89 90 conv: for gamma SubType= 14 91 Lambda tables from 1.022 MeV to 100 TeV in 240 bins, spline: 1 92 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 93 Bethe-Heitler : Emin= 0 eV Emax= 100 TeV 94 95 eIoni: for e- SubType= 2 96 dE/dx and range tables from 100 eV to 100 TeV in 240 bins 97 Lambda tables from threshold to 100 TeV in 240 bins, spline: 1 98 finalRange(mm)= 0.01, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 99 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 100 MollerBhabha : Emin= 0 eV Emax= 100 TeV 101 CSDA range table up to 100 TeV in 240 bins 102 103 eBrem: for e- SubType= 3 104 dE/dx and range tables from 100 eV to 100 TeV in 240 bins 105 Lambda tables from threshold to 100 TeV in 240 bins, spline: 1 106 LPM flag: 1 for E > 1 GeV 107 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 108 eBrem : Emin= 0 eV Emax= 1 GeV 109 eBremRel : Emin= 1 GeV Emax= 100 TeV 110 111 eIoni: for e+ SubType= 2 112 dE/dx and range tables from 100 eV to 100 TeV in 240 bins 113 Lambda tables from threshold to 100 TeV in 240 bins, spline: 1 114 finalRange(mm)= 0.01, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 115 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 116 MollerBhabha : Emin= 0 eV Emax= 100 TeV 117 CSDA range table up to 100 TeV in 240 bins 118 119 eBrem: for e+ SubType= 3 120 dE/dx and range tables from 100 eV to 100 TeV in 240 bins 121 Lambda tables from threshold to 100 TeV in 240 bins, spline: 1 122 LPM flag: 1 for E > 1 GeV 123 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 124 eBrem : Emin= 0 eV Emax= 1 GeV 125 eBremRel : Emin= 1 GeV Emax= 100 TeV 126 127 annihil: for e+ SubType= 5 128 Lambda tables from 100 eV to 100 TeV in 240 bins, spline: 1 129 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 130 eplus2gg : Emin= 0 eV Emax= 100 TeV 131 132 hIoni: for proton SubType= 2 133 dE/dx and range tables from 100 eV to 100 TeV in 240 bins 134 Lambda tables from threshold to 100 TeV in 240 bins, spline: 1 135 finalRange(mm)= 0.01, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 136 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 137 Bragg : Emin= 0 eV Emax= 2 MeV 138 BetheBloch : Emin= 2 MeV Emax= 100 TeV 139 CSDA range table up to 100 TeV in 240 bins 140 141 ionIoni: for GenericIon SubType= 2 142 dE/dx and range tables from 100 eV to 100 TeV in 240 bins 143 Lambda tables from threshold to 100 TeV in 240 bins, spline: 1 144 finalRange(mm)= 0.01, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 145 Stopping Power data for 17 ion/material pairs, nuclearStopping: 1 146 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 147 BraggIon : Emin= 0 eV Emax= 2 MeV 148 BetheBloch : Emin= 2 MeV Emax= 100 TeV 149 CSDA range table up to 100 TeV in 240 bins 150 151 hIoni: for anti_proton SubType= 2 152 dE/dx and range tables from 100 eV to 100 TeV in 240 bins 153 Lambda tables from threshold to 100 TeV in 240 bins, spline: 1 154 finalRange(mm)= 0.01, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 155 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 156 ICRU73QO : Emin= 0 eV Emax= 2 MeV 157 BetheBloch : Emin= 2 MeV Emax= 100 TeV 158 CSDA range table up to 100 TeV in 240 bins 159 160 hIoni: for kaon+ SubType= 2 161 dE/dx and range tables from 100 eV to 100 TeV in 240 bins 162 Lambda tables from threshold to 100 TeV in 240 bins, spline: 1 163 finalRange(mm)= 0.01, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 164 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 165 Bragg : Emin= 0 eV Emax= 1.05231 MeV 166 BetheBloch : Emin= 1.05231 MeV Emax= 100 TeV 167 CSDA range table up to 100 TeV in 240 bins 168 169 hIoni: for kaon- SubType= 2 170 dE/dx and range tables from 100 eV to 100 TeV in 240 bins 171 Lambda tables from threshold to 100 TeV in 240 bins, spline: 1 172 finalRange(mm)= 0.01, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 173 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 174 ICRU73QO : Emin= 0 eV Emax= 1.05231 MeV 175 BetheBloch : Emin= 1.05231 MeV Emax= 100 TeV 176 CSDA range table up to 100 TeV in 240 bins 177 178 muIoni: for mu+ SubType= 2 179 dE/dx and range tables from 100 eV to 100 TeV in 240 bins 180 Lambda tables from threshold to 100 TeV in 240 bins, spline: 1 181 finalRange(mm)= 0.01, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 182 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 183 Bragg : Emin= 0 eV Emax= 200 keV 184 BetheBloch : Emin= 200 keV Emax= 1 GeV 185 MuBetheBloch : Emin= 1 GeV Emax= 100 TeV 186 CSDA range table up to 100 TeV in 240 bins 187 188 muBrems: for mu+ SubType= 3 189 dE/dx and range tables from 100 eV to 100 TeV in 240 bins 190 Lambda tables from threshold to 100 TeV in 240 bins, spline: 1 191 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 192 MuBrem : Emin= 0 eV Emax= 100 TeV 193 194 muPairProd: for mu+ SubType= 4 195 dE/dx and range tables from 100 eV to 100 TeV in 240 bins 196 Lambda tables from threshold to 100 TeV in 240 bins, spline: 1 197 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 198 muPairProd : Emin= 0 eV Emax= 100 TeV 199 200 muIoni: for mu- SubType= 2 201 dE/dx and range tables from 100 eV to 100 TeV in 240 bins 202 Lambda tables from threshold to 100 TeV in 240 bins, spline: 1 203 finalRange(mm)= 0.01, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 204 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 205 ICRU73QO : Emin= 0 eV Emax= 200 keV 206 BetheBloch : Emin= 200 keV Emax= 1 GeV 207 MuBetheBloch : Emin= 1 GeV Emax= 100 TeV 208 CSDA range table up to 100 TeV in 240 bins 209 210 muBrems: for mu- SubType= 3 211 dE/dx and range tables from 100 eV to 100 TeV in 240 bins 212 Lambda tables from threshold to 100 TeV in 240 bins, spline: 1 213 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 214 MuBrem : Emin= 0 eV Emax= 100 TeV 215 216 muPairProd: for mu- SubType= 4 217 dE/dx and range tables from 100 eV to 100 TeV in 240 bins 218 Lambda tables from threshold to 100 TeV in 240 bins, spline: 1 219 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 220 muPairProd : Emin= 0 eV Emax= 100 TeV 221 222 hIoni: for pi+ SubType= 2 223 dE/dx and range tables from 100 eV to 100 TeV in 240 bins 224 Lambda tables from threshold to 100 TeV in 240 bins, spline: 1 225 finalRange(mm)= 0.01, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 226 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 227 Bragg : Emin= 0 eV Emax= 297.504 keV 228 BetheBloch : Emin= 297.504 keV Emax= 100 TeV 229 CSDA range table up to 100 TeV in 240 bins 230 231 hIoni: for pi- SubType= 2 232 dE/dx and range tables from 100 eV to 100 TeV in 240 bins 233 Lambda tables from threshold to 100 TeV in 240 bins, spline: 1 234 finalRange(mm)= 0.01, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 235 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 236 ICRU73QO : Emin= 0 eV Emax= 297.504 keV 237 BetheBloch : Emin= 297.504 keV Emax= 100 TeV 238 CSDA range table up to 100 TeV in 240 bins 198 239 199 240 Region <DefaultRegionForTheWorld> -- appears in <Water> world volume … … 201 242 Pointers : G4VUserRegionInformation[0], G4UserLimits[0], G4FastSimulationManager[0], G4UserSteppingAction[0] 202 243 Materials : Water 203 Production cuts : gamma 1 mm e- 1 mm e+ 1 mm244 Production cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 0 fm 204 245 205 246 ========= Table of registered couples ============================== … … 207 248 Index : 0 used in the geometry : Yes recalculation needed : No 208 249 Material : Water 209 Range cuts : gamma 1 mm e- 1 mm e+ 1 mm210 Energy thresholds : gamma 2.90186 keV e- 347.138 keV e+ 338.695 keV250 Range cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 0 fm 251 Energy thresholds : gamma 2.94056 keV e- 351.877 keV e+ 342.545 keV proton 0 eV 211 252 Region(s) which use this couple : 212 253 DefaultRegionForTheWorld … … 249 290 Run Summary 250 291 Number of events processed : 100000 251 User= 2.72s Real=2.76s Sys=0s292 User=1.92s Real=1.93s Sys=0s 252 293 253 294 ======================== run summary ====================== … … 257 298 258 299 259 trackLength= 1.000 5 cm nb of steps= 1.5836 stepSize= 6.3178mm260 261 d-rays : eLoss/primary= 24 7.88 keV nb of d-rays= 0.2368 <Tkin>= 1.0468 MeV Tmin= 347.15 keV Tmax= 4.9503MeV262 263 brems : eLoss/primary= 17 7.14 keV nb of gammas= 0.3051 <Tkin>= 580.59 keV Tmin= 2.9021 keV Tmax= 9.6977MeV264 265 deposit : eLoss/primary= 1.73 36 MeV <dEcut > table= 1.7348 MeV ---> simul/reference= 0.99932266 267 total : eLoss/primary= 2.15 86 MeV <dEfull> table= 2.1627 MeV ---> simul/reference= 0.9981300 trackLength= 1.0004 cm nb of steps= 1.5793 stepSize= 6.3345 mm 301 302 d-rays : eLoss/primary= 244.71 keV nb of d-rays= 0.23138 <Tkin>= 1.0576 MeV Tmin= 351.89 keV Tmax= 4.9635 MeV 303 304 brems : eLoss/primary= 174.25 keV nb of gammas= 0.30571 <Tkin>= 569.99 keV Tmin= 2.9419 keV Tmax= 9.6093 MeV 305 306 deposit : eLoss/primary= 1.7345 MeV <dEcut > table= 1.7358 MeV ---> simul/reference= 0.99926 307 308 total : eLoss/primary= 2.1535 MeV <dEfull> table= 2.1628 MeV ---> simul/reference= 0.99569 268 309 269 310 --------- Ranecu engine status --------- 270 311 Initial seed (index) = 0 271 Current couple of seeds = 539777958, 476209442312 Current couple of seeds = 1745407570, 996125143 272 313 ---------------------------------------- 273 314 UserDetectorConstruction deleted. … … 277 318 G4 kernel has come to Quit state. 278 319 EventManager deleted. 279 Default detector region deleted.280 320 UImanager deleted. 281 321 Units table cleared. … … 283 323 RunManagerKernel is deleted. 284 324 RunManager is deleting. 325 -
trunk/examples/extended/electromagnetic/TestEm18/include/DetectorConstruction.hh
r1230 r1337 25 25 // 26 26 // $Id: DetectorConstruction.hh,v 1.1 2007/02/13 17:57:20 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/TestEm18/include/DetectorMessenger.hh
r1230 r1337 25 25 // 26 26 // $Id: DetectorMessenger.hh,v 1.1 2007/02/13 17:57:20 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/TestEm18/include/EventAction.hh
r1230 r1337 25 25 // 26 26 // $Id: EventAction.hh,v 1.1 2007/02/13 17:57:20 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/TestEm18/include/EventMessenger.hh
r1230 r1337 25 25 // 26 26 // $Id: EventMessenger.hh,v 1.1 2007/02/13 17:57:20 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/TestEm18/include/HistoManager.hh
r1230 r1337 25 25 // 26 26 // $Id: HistoManager.hh,v 1.2 2007/11/13 16:43:59 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/TestEm18/include/HistoMessenger.hh
r1230 r1337 25 25 // 26 26 // $Id: HistoMessenger.hh,v 1.2 2007/11/13 16:43:59 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/TestEm18/include/PhysListEmLivermore.hh
r1230 r1337 26 26 // 27 27 // $Id: PhysListEmLivermore.hh,v 1.2 2009/10/12 21:47:57 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 #ifndef PhysListEmLivermore_h -
trunk/examples/extended/electromagnetic/TestEm18/include/PhysListEmPenelope.hh
r1230 r1337 26 26 // 27 27 // $Id: PhysListEmPenelope.hh,v 1.2 2009/10/12 21:47:57 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 #ifndef PhysListEmPenelope_h -
trunk/examples/extended/electromagnetic/TestEm18/include/PhysListEmStandard.hh
r1230 r1337 25 25 // 26 26 // $Id: PhysListEmStandard.hh,v 1.1 2007/02/13 17:57:20 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/TestEm18/include/PhysicsList.hh
r1230 r1337 25 25 // 26 26 // $Id: PhysicsList.hh,v 1.3 2009/03/06 18:24:07 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/TestEm18/include/PhysicsListMessenger.hh
r1230 r1337 25 25 // 26 26 // $Id: PhysicsListMessenger.hh,v 1.3 2009/03/06 18:24:07 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/TestEm18/include/PrimaryGeneratorAction.hh
r1230 r1337 25 25 // 26 26 // $Id: PrimaryGeneratorAction.hh,v 1.1 2007/02/13 17:57:20 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/TestEm18/include/RunAction.hh
r1230 r1337 25 25 // 26 26 // $Id: RunAction.hh,v 1.1 2007/02/13 17:57:20 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/TestEm18/include/StackingAction.hh
r1230 r1337 25 25 // 26 26 // $Id: StackingAction.hh,v 1.1 2007/02/13 17:57:20 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/TestEm18/include/StepMax.hh
r1230 r1337 25 25 // 26 26 // $Id: StepMax.hh,v 1.1 2007/02/13 17:57:20 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/TestEm18/include/StepMaxMessenger.hh
r1230 r1337 25 25 // 26 26 // $Id: StepMaxMessenger.hh,v 1.1 2007/02/13 17:57:20 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/TestEm18/include/SteppingAction.hh
r1230 r1337 25 25 // 26 26 // $Id: SteppingAction.hh,v 1.1 2007/02/13 17:57:20 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/TestEm18/include/SteppingVerbose.hh
r1230 r1337 25 25 // 26 26 // $Id: SteppingVerbose.hh,v 1.1 2007/02/13 17:57:20 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 // This class manages the verbose outputs in G4SteppingManager. -
trunk/examples/extended/electromagnetic/TestEm18/src/DetectorConstruction.cc
r1230 r1337 25 25 // 26 26 // $Id: DetectorConstruction.cc,v 1.3 2009/03/06 18:24:07 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/TestEm18/src/DetectorMessenger.cc
r1230 r1337 25 25 // 26 26 // $Id: DetectorMessenger.cc,v 1.1 2007/02/13 17:57:20 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/TestEm18/src/EventAction.cc
r1230 r1337 24 24 // ******************************************************************** 25 25 // 26 // $Id: EventAction.cc,v 1. 1 2007/02/13 17:57:20 maireExp $27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $26 // $Id: EventAction.cc,v 1.3 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...... … … 73 70 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 74 71 75 void EventAction::EndOfEventAction(const G4Event* evt)72 void EventAction::EndOfEventAction(const G4Event*) 76 73 { 77 74 runaction->AddEnergyDeposit(EnergyDeposit); … … 79 76 histoManager->FillHisto(2, EnergySecondary); 80 77 histoManager->FillHisto(3, EnergyDeposit+EnergySecondary); 81 82 if (G4VVisManager::GetConcreteInstance())83 {84 G4TrajectoryContainer* trajectoryContainer = evt->GetTrajectoryContainer();85 G4int n_trajectories = 0;86 if (trajectoryContainer) n_trajectories = trajectoryContainer->entries();87 for (G4int i=0; i<n_trajectories; i++)88 { G4Trajectory* trj = (G4Trajectory*)89 ((*(evt->GetTrajectoryContainer()))[i]);90 if (drawFlag == "all") trj->DrawTrajectory(1000);91 else if ((drawFlag == "charged")&&(trj->GetCharge() != 0.))92 trj->DrawTrajectory(1000);93 else if ((drawFlag == "neutral")&&(trj->GetCharge() == 0.))94 trj->DrawTrajectory(1000);95 96 }97 }98 78 } 99 79 -
trunk/examples/extended/electromagnetic/TestEm18/src/EventMessenger.cc
r1230 r1337 25 25 // 26 26 // $Id: EventMessenger.cc,v 1.1 2007/02/13 17:57:20 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/TestEm18/src/HistoManager.cc
r1230 r1337 25 25 // 26 26 // $Id: HistoManager.cc,v 1.5 2008/09/26 20:26:01 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/TestEm18/src/HistoMessenger.cc
r1230 r1337 25 25 // 26 26 // $Id: HistoMessenger.cc,v 1.2 2007/11/13 16:43:59 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/TestEm18/src/PhysListEmLivermore.cc
r1230 r1337 26 26 // 27 27 // $Id: PhysListEmLivermore.cc,v 1.3 2009/11/19 18:46:04 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/TestEm18/src/PhysListEmPenelope.cc
r1230 r1337 26 26 // 27 27 // $Id: PhysListEmPenelope.cc,v 1.3 2009/11/19 18:46:04 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/TestEm18/src/PhysListEmStandard.cc
r1230 r1337 25 25 // 26 26 // $Id: PhysListEmStandard.cc,v 1.2 2009/11/19 18:46:04 maire Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/electromagnetic/TestEm18/src/PhysicsList.cc
r1230 r1337 25 25 // 26 26 // $Id: PhysicsList.cc,v 1.5 2009/03/06 18:24:07 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/TestEm18/src/PhysicsListMessenger.cc
r1230 r1337 25 25 // 26 26 // $Id: PhysicsListMessenger.cc,v 1.3 2009/03/06 18:24:07 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/TestEm18/src/PrimaryGeneratorAction.cc
r1230 r1337 25 25 // 26 26 // $Id: PrimaryGeneratorAction.cc,v 1.1 2007/02/13 17:57:20 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/TestEm18/src/RunAction.cc
r1230 r1337 25 25 // 26 26 // $Id: RunAction.cc,v 1.2 2007/02/16 11:59:47 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/TestEm18/src/StackingAction.cc
r1230 r1337 25 25 // 26 26 // $Id: StackingAction.cc,v 1.1 2007/02/13 17:57:20 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/TestEm18/src/StepMax.cc
r1230 r1337 25 25 // 26 26 // $Id: StepMax.cc,v 1.1 2007/02/13 17:57:20 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/TestEm18/src/StepMaxMessenger.cc
r1230 r1337 25 25 // 26 26 // $Id: StepMaxMessenger.cc,v 1.1 2007/02/13 17:57:20 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/TestEm18/src/SteppingAction.cc
r1230 r1337 25 25 // 26 26 // $Id: SteppingAction.cc,v 1.1 2007/02/13 17:57:20 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/TestEm18/src/SteppingVerbose.cc
r1230 r1337 25 25 // 26 26 // $Id: SteppingVerbose.cc,v 1.1 2007/02/13 17:57:20 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/TestEm18/vis.mac
r807 r1337 1 1 # 2 # Macro file for the initialization phase of "TestEm5.cc" 2 # Macro file for the initialization phase of "TestEm6.cc" 3 # 3 4 # Sets some default verbose 4 5 # and initializes the graphic. … … 6 7 /control/verbose 2 7 8 /run/verbose 2 9 # 8 10 /run/initialize 9 11 # 10 # Create empty scene ("world" is default)11 /vis/ scene/create12 # Use this open statement to create an OpenGL view: 13 /vis/open OGL 600x600-0+0 12 14 # 13 # Create a scene handler for a specific graphics system 14 # Edit the next line(s) to choose another graphic system 15 # Use this open statement to create a .prim file suitable for 16 # viewing in DAWN: 17 #/vis/open DAWNFILE 15 18 # 16 /vis/open DAWNFILE 17 /vis/open OGLIX 19 # Use this open statement to create a .heprep file suitable for 20 # viewing in HepRApp: 21 #/vis/open HepRepFile 18 22 # 19 # Draw scene 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: 20 39 /vis/viewer/zoom 1.4 21 /vis/viewer/flush22 40 # 23 # for drawing the tracks 24 # if too many tracks cause core dump => storeTrajectory 0 25 /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: 26 72 /vis/scene/endOfEventAction accumulate 27 73 # 28 /testem/event/drawTracks 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.