Changeset 1337 for trunk/examples/extended/electromagnetic/TestEm2
- Timestamp:
- Sep 30, 2010, 2:47:17 PM (14 years ago)
- Location:
- trunk/examples/extended/electromagnetic/TestEm2
- Files:
-
- 44 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/examples/extended/electromagnetic/TestEm2/History
r807 r1337 1 $Id: History,v 1. 72 2007/07/02 14:26:38 vnivanchExp $2 ---------------------------------------------------- ---------------1 $Id: History,v 1.90 2010/06/07 05:40:46 perl Exp $ 2 ---------------------------------------------------- 3 3 4 4 ========================================================= … … 15 15 * Reverse chronological order (last date on top), please * 16 16 ---------------------------------------------------------- 17 18 06-06-10 J.Perl (testem2-V09-03-04) 19 - Remove unused variable in EventAction 20 21 03-06-10 J.Perl (testem2-V09-03-03) 22 - Updated vis usage 23 24 18-05-10 mma (testem2-V09-03-01) 25 - TestEm2.cc : introduction of G4UIExecutive 26 27 22-02-10 mma (testem2-V09-03-00) 28 - Add histos rms on profiles. Histos numbering is changed. see README 29 - idem in geant3 30 - root script GammaFit.C 31 32 13-11-09 mma (testem2-V09-02-02) 33 - PhysListEmStandard.cc (local): eMultipleScattering -> UrbanMscModel93 34 35 16-09-09 mma (testem2-V09-02-01) 36 - PhysicsList.cc : 37 - renamed "standard" -> "local"; "emstandard" -> "emstandard_opt0" 38 - updated README and macro files 39 40 11-07-09 V.Ivant (testem2-V09-02-00) 41 - Substituted obsolete low-energy physics builders by builders from 42 the physics_list library; 43 - Reduced number of hardcoded materials, added a possiblity to use NIST 44 - Macro files are cleaned up 45 46 16-11-08 mma (testem2-V09-01-08) 47 - Em options: 20bins/decade LinLossLimit=default=0.01 48 49 31-10-08 mma (testem2-V09-01-07) 50 - Use G4hMultipleScattering for muons and protons 51 - Modify EM options 52 53 23-10-08 mma (testem2-V09-01-06) 54 - update PhysListEmStandard and README 55 56 13-09-08 mma (testem2-V09-01-05) 57 - RunAction : change default histograms format 58 59 12-06-08 mma (testem2-V09-01-04) 60 - Remove AIDA from GNUmakefile 61 62 05-05-08 mma (testem2-V09-01-03) 63 - PhysListEmStandard : add spline option for physics tables 64 - README : update Aida informations 65 66 04-04-08 mma (testem2-V09-01-02) 67 - PhysicsList : add emstandard_opt3 68 - PhysListEmStandard : add G4eMultipleScattering; complete EmOptions 69 70 09-01-08 mma (testem2-V09-01-00) 71 - new subdirectory egs4, with results from pdg. Replace run04.mac 17 72 18 73 02-07-07 V.Ivant (testem2-V09-00-00) -
trunk/examples/extended/electromagnetic/TestEm2/README
r807 r1337 1 $Id: README,v 1.2 3 2006/05/15 14:38:40maire Exp $1 $Id: README,v 1.28 2010/02/22 15:41:29 maire Exp $ 2 2 ------------------------------------------------------------------- 3 3 … … 36 36 37 37 2- PHYSICS LISTS 38 39 Modular PhysicsList are used. The following modules can be activated: 40 1. "standard" - (alternative) standard EM physics 41 2. "g4v52" - (alternative) standard EM physics version G4 5.2 42 3. "high_energy" - add high energy processes 43 44 To activate a specific module the UI command can be used: 45 "/testem/phys/addPhysics title" 46 By default "standard" module is loaded. 38 39 Physics lists can be local (eg. in this example) or from G4 kernel 40 physics_lists subdirectory. 41 42 Local physics lists: 43 - "local" standard EM physics with current 'best' options setting. 44 these options are explicited in PhysListEmStandard 45 46 From geant4/source/physics_lists/builders: 47 - "emstandard_opt0" recommended standard EM physics for LHC 48 - "emstandard_opt1" best CPU performance standard physics for LHC 49 - "emstandard_opt2" 50 - "emstandard_opt3" best current advanced EM options. 51 analog to "local" above 52 53 Physics lists and options can be (re)set with UI commands 54 55 Please, notice that options set through G4EmProcessOPtions are global, eg 56 for all particle types. In G4 builders, it is shown how to set options per 57 particle type. 47 58 48 59 3- AN EVENT : THE PRIMARY GENERATOR … … 112 123 113 124 4 : longitudinal energy profile 114 5 : cumulated longitudinal energy profile 115 6 : rms of cumulated longitudinal energy profile 125 5 : rms of longitudinal energy profile 126 6 : cumulated longitudinal energy profile 127 7 : rms of cumulated longitudinal energy profile 116 128 117 7 : radial energy profile 118 8 : cumulated radial energy profile 119 9 : rms of cumulated radial energy profile 129 8 : radial energy profile 130 9 : rms of radial energy profile 131 10 : cumulated radial energy profile 132 11 : rms of cumulated radial energy profile 120 133 121 134 Note that, by default, histograms are disabled. To activate them, uncomment … … 127 140 128 141 The following types are available: "hbook", "root", "XML" 129 By default the name is "testem2" and the type " hbook".142 By default the name is "testem2" and the type "root". 130 143 131 144 Before compilation of the example it is optimal to clean up old files: … … 136 149 137 150 To use histograms, at least one of the AIDA implementations should be 138 available (see http://aida.freehep.org).151 available. See InstallAida.txt 139 152 140 8a - PI141 142 A package including AIDA and extended interfaces also using Python is PI,143 available from: http://cern.ch/pi144 145 Once installed PI or PI-Lite in a specified local area $MYPY, it is required146 to add the installation path to $PATH, i.e. for example, for release 1.2.1 of147 PI:148 setenv PATH ${PATH}:$MYPI/1.2.1/app/releases/PI/PI_1_2_1/rh73_gcc32/bin149 150 CERN users can use the PATH to the LCG area on AFS.151 Before running the example the command should be issued:152 eval `aida-config --runtime csh`153 154 8b - OpenScientist155 156 OpenScientist is available at http://OpenScientist.lal.in2p3.fr.157 158 You have to "setup" the OpenScientist AIDA implementation before compiling159 (then with G4ANALYSIS_USE set) and running your Geant4 application.160 161 On UNIX you setup, with a csh flavoured shell :162 csh> source <<OpenScientist install path>/aida-setup.csh163 or with a sh flavoured shell :164 sh> . <<OpenScientist install path>/aida-setup.sh165 On Windows :166 DOS> call <<OpenScientist install path>/aida-setup.bat167 168 You can use various file formats for writing (AIDA-XML, hbook, root).169 These formats are readable by the Lab onx interactive program170 or the OpenPAW application. See the web pages.171 172 173 With OpenPAW, on a run.hbook file, one can view the histograms174 with something like :175 OS> opaw176 opaw> h/file 1 run.hbook ( or opaw> h/file 1 run.aida or run.root)177 opaw> zone 2 2178 opaw> h/plot 1179 opaw> h/plot 2 -
trunk/examples/extended/electromagnetic/TestEm2/TestEm2.cc
r1230 r1337 25 25 // 26 26 // 27 // $Id: TestEm2.cc,v 1.1 4 2007/06/21 17:47:08maire Exp $28 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // $Id: TestEm2.cc,v 1.15 2010/05/18 21:32:33 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" … … 49 43 #include "SteppingAction.hh" 50 44 #include "SteppingVerbose.hh" 45 46 #ifdef G4VIS_USE 47 #include "G4VisExecutive.hh" 48 #endif 49 50 #ifdef G4UI_USE 51 #include "G4UIExecutive.hh" 52 #endif 51 53 52 54 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... … … 95 97 #endif 96 98 97 G4UIsession * session = 0;98 #ifdef G4UI_USE _TCSH99 session = new G4UIterminal(new G4UItcsh);100 #else 101 session = new G4UIterminal();99 100 #ifdef G4UI_USE 101 G4UIExecutive * ui = new G4UIExecutive(argc,argv); 102 ui->SessionStart(); 103 delete ui; 102 104 #endif 103 104 session->SessionStart();105 delete session;106 105 107 106 #ifdef G4VIS_USE -
trunk/examples/extended/electromagnetic/TestEm2/TestEm2.in
r807 r1337 1 # $Id: TestEm2.in,v 1.2 4 2007/06/22 16:35:07 vnivanchExp $1 # $Id: TestEm2.in,v 1.26 2009/09/16 18:07:30 maire Exp $ 2 2 # 3 3 # Macro file for "TestEm2.cc" … … 9 9 /run/verbose 1 10 10 # 11 /testem/det/setMat PbWO411 /testem/det/setMat G4_PbWO4 12 12 /testem/det/setLbin 40 0.5 13 13 /testem/det/setRbin 50 0.1 … … 16 16 /testem/run/acceptance 0.949 0.0082 3.0 17 17 # 18 /testem/phys/addPhysics emstandard 18 /testem/phys/addPhysics emstandard_opt0 19 19 # 20 20 /testem/phys/setCuts 1.0 mm -
trunk/examples/extended/electromagnetic/TestEm2/TestEm2.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 = 10 ***** 11 12 Material: Air density: 1.290 mg/cm3 RadL: 285.161 m Imean: 85.684 eV temperature: 273.15 K pressure: 1.00 atm 13 ---> Element: Nitrogen (N) Z = 7.0 N = 14.0 A = 14.01 g/mole ElmMassFraction: 70.00 % ElmAbundance 72.71 % 14 ---> Element: Oxygen (O) Z = 8.0 N = 16.0 A = 16.00 g/mole ElmMassFraction: 30.00 % ElmAbundance 27.29 % 15 16 Material: Water density: 1.000 g/cm3 RadL: 36.092 cm Imean: 75.000 eV 14 ***** Table : Nb of materials = 9 ***** 15 16 Material: Water density: 1.000 g/cm3 RadL: 36.092 cm Nucl.Int.Length: 75.416 cm Imean: 75.000 eV 17 17 ---> Element: Hydrogen (H) Z = 1.0 N = 1.0 A = 1.01 g/mole ElmMassFraction: 11.21 % ElmAbundance 66.67 % 18 18 ---> Element: Oxygen (O) Z = 8.0 N = 16.0 A = 16.00 g/mole ElmMassFraction: 88.79 % ElmAbundance 33.33 % 19 19 20 Material: liquidArgon density: 1.390 g/cm3 RadL: 14.065 cm Imean: 187.200 eV20 Material: liquidArgon density: 1.390 g/cm3 RadL: 14.065 cm Nucl.Int.Length: 86.078 cm Imean: 188.000 eV 21 21 ---> Element: liquidArgon ( ) Z = 18.0 N = 40.0 A = 39.95 g/mole ElmMassFraction: 100.00 % ElmAbundance 100.00 % 22 22 23 Material: Aluminium density: 2.700 g/cm3 RadL: 8.893 cm Imean: 166.400 eV23 Material: Aluminium density: 2.700 g/cm3 RadL: 8.893 cm Nucl.Int.Length: 38.879 cm Imean: 166.000 eV 24 24 ---> Element: Aluminium ( ) Z = 13.0 N = 27.0 A = 26.98 g/mole ElmMassFraction: 100.00 % ElmAbundance 100.00 % 25 25 26 Material: Iron density: 7.870 g/cm3 RadL: 1.759 cm Imean: 286.000 eV27 ---> Element: Iron ( ) Z = 26.0 N = 55. 9A = 55.85 g/mole ElmMassFraction: 100.00 % ElmAbundance 100.00 %28 29 Material: Copper density: 8.960 g/cm3 RadL: 1.436 cm Imean: 321.900 eV26 Material: Iron density: 7.870 g/cm3 RadL: 1.759 cm Nucl.Int.Length: 16.999 cm Imean: 286.000 eV 27 ---> Element: Iron ( ) Z = 26.0 N = 55.8 A = 55.85 g/mole ElmMassFraction: 100.00 % ElmAbundance 100.00 % 28 29 Material: Copper density: 8.960 g/cm3 RadL: 1.436 cm Nucl.Int.Length: 15.588 cm Imean: 322.000 eV 30 30 ---> Element: Copper ( ) Z = 29.0 N = 63.5 A = 63.55 g/mole ElmMassFraction: 100.00 % ElmAbundance 100.00 % 31 31 32 Material: Lead density: 11.350 g/cm3 RadL: 5.612 mm Imean: 820.000 eV 32 Material: Tungsten density: 19.350 g/cm3 RadL: 3.495 mm Nucl.Int.Length: 10.285 cm Imean: 727.000 eV 33 ---> Element: Tungsten ( ) Z = 74.0 N = 183.8 A = 183.84 g/mole ElmMassFraction: 100.00 % ElmAbundance 100.00 % 34 35 Material: Lead density: 11.350 g/cm3 RadL: 5.612 mm Nucl.Int.Length: 18.247 cm Imean: 823.000 eV 33 36 ---> Element: Lead ( ) Z = 82.0 N = 207.2 A = 207.19 g/mole ElmMassFraction: 100.00 % ElmAbundance 100.00 % 34 37 35 Material: Uranium density: 18.950 g/cm3 RadL: 3.166 mm Imean: 892.400 eV38 Material: Uranium density: 18.950 g/cm3 RadL: 3.166 mm Nucl.Int.Length: 11.446 cm Imean: 890.000 eV 36 39 ---> Element: Uranium ( ) Z = 92.0 N = 238.0 A = 238.03 g/mole ElmMassFraction: 100.00 % ElmAbundance 100.00 % 37 40 38 Material: BGO density: 7.100 g/cm3 RadL: 1.123 cm Imean: 469.142eV41 Material: BGO density: 7.100 g/cm3 RadL: 1.123 cm Nucl.Int.Length: 22.806 cm Imean: 473.785 eV 39 42 ---> Element: Oxygen (O) Z = 8.0 N = 16.0 A = 16.00 g/mole ElmMassFraction: 15.41 % ElmAbundance 63.16 % 40 43 ---> Element: Germanium (Ge) Z = 32.0 N = 72.6 A = 72.59 g/mole ElmMassFraction: 17.48 % ElmAbundance 15.79 % 41 44 ---> Element: Bismuth (Bi) Z = 83.0 N = 209.0 A = 208.98 g/mole ElmMassFraction: 67.10 % ElmAbundance 21.05 % 42 45 43 Material: PbWO4 density: 8.280 g/cm3 RadL: 8.924 mm Imean: 541.543 eV44 ---> Element: Oxygen (O) Z = 8.0 N = 16.0 A = 16.00 g/mole ElmMassFraction: 14.07 % ElmAbundance 66.67 %45 ---> Element: Lead (Pb) Z = 82.0 N = 207.2 A = 207.19 g/mole ElmMassFraction: 45.53 % ElmAbundance 16.67 %46 ---> Element: Tungsten (W) Z = 74.0 N = 183.8 A = 183.84 g/mole ElmMassFraction: 40.40 % ElmAbundance 16.67 %47 48 46 49 47 /run/verbose 1 50 /testem/det/setMat PbWO448 /testem/det/setMat G4_PbWO4 51 49 /testem/det/setLbin 40 0.5 52 50 /testem/det/setRbin 50 0.1 53 51 /testem/run/acceptance 0.949 0.0082 3.0 54 /testem/phys/addPhysics emstandard 55 PhysicsList::AddPhysicsList: <emstandard >52 /testem/phys/addPhysics emstandard_opt0 53 PhysicsList::AddPhysicsList: <emstandard_opt0> 56 54 /testem/phys/setCuts 1.0 mm 57 55 /run/initialize 58 Absorber is 17.848 cm of PbWO4 59 Material: PbWO4 density: 8.280 g/cm3 RadL: 8.924 mm Imean: 541.543 eV 60 ---> Element: Oxygen (O) Z = 8.0 N = 16.0 A = 16.00 g/mole ElmMassFraction: 14.07 % ElmAbundance 66.67 % 61 ---> Element: Lead (Pb) Z = 82.0 N = 207.2 A = 207.19 g/mole ElmMassFraction: 45.53 % ElmAbundance 16.67 % 62 ---> Element: Tungsten (W) Z = 74.0 N = 183.8 A = 183.84 g/mole ElmMassFraction: 40.40 % ElmAbundance 16.67 % 56 Absorber is 17.8491 cm of G4_PbWO4 57 Material: G4_PbWO4 density: 8.280 g/cm3 RadL: 8.925 mm Nucl.Int.Length: 20.737 cm Imean: 542.741 eV 58 ---> Element: O (O) Z = 8.0 N = 16.0 A = 16.00 g/mole 59 ---> Isotope: O16 Z = 8 N = 16 A = 15.99 g/mole abundance: 99.76 % 60 ---> Isotope: O17 Z = 8 N = 17 A = 17.00 g/mole abundance: 0.04 % 61 ---> Isotope: O18 Z = 8 N = 18 A = 18.00 g/mole abundance: 0.20 % ElmMassFraction: 14.06 % ElmAbundance 66.67 % 62 ---> Element: Pb (Pb) Z = 82.0 N = 207.2 A = 207.22 g/mole 63 ---> Isotope: Pb204 Z = 82 N = 204 A = 203.97 g/mole abundance: 1.40 % 64 ---> Isotope: Pb206 Z = 82 N = 206 A = 205.97 g/mole abundance: 24.10 % 65 ---> Isotope: Pb207 Z = 82 N = 207 A = 206.98 g/mole abundance: 22.10 % 66 ---> Isotope: Pb208 Z = 82 N = 208 A = 207.98 g/mole abundance: 52.40 % ElmMassFraction: 45.54 % ElmAbundance 16.67 % 67 ---> Element: W (W) Z = 74.0 N = 183.9 A = 183.84 g/mole 68 ---> Isotope: W180 Z = 74 N = 180 A = 179.95 g/mole abundance: 0.12 % 69 ---> Isotope: W182 Z = 74 N = 182 A = 181.95 g/mole abundance: 26.50 % 70 ---> Isotope: W183 Z = 74 N = 183 A = 182.95 g/mole abundance: 14.31 % 71 ---> Isotope: W184 Z = 74 N = 184 A = 183.95 g/mole abundance: 30.64 % 72 ---> Isotope: W186 Z = 74 N = 186 A = 185.95 g/mole abundance: 28.43 % ElmMassFraction: 40.40 % ElmAbundance 16.67 % 63 73 PhysicsList::SetCuts:CutLength : 1 mm 64 74 /process/eLoss/verbose 1 … … 68 78 /run/beamOn 100 69 79 70 phot: Total cross sections from Sandia parametrisation. 71 Sampling according PhotoElectric model 72 73 compt: Total cross sections has a good parametrisation from 10 KeV to (100/Z) GeV 74 Sampling according Klein-Nishina model 75 tables are built for gamma 76 Lambda tables from 100 eV to 100 GeV in 90 bins. 77 78 conv: Total cross sections has a good parametrisation from 1.5 MeV to 100 GeV for all Z; 79 sampling secondary e+e- according Bethe-Heitler model 80 tables are built for gamma 81 Lambda tables from 1.022 MeV to 100 GeV in 100 bins. 82 83 msc: Model variant of multiple scattering for e- 84 Lambda tables from 100 eV to 100 TeV in 120 bins. 85 LateralDisplacementFlag= 1 Skin= 0 86 Boundary/stepping algorithm is active with RangeFactor= 0.02 Step limit type 1 87 88 eIoni: tables are built for e- 89 dE/dx and range tables from 100 eV to 100 TeV in 120 bins. 90 Lambda tables from threshold to 100 TeV in 120 bins. 91 Delta cross sections and sampling from MollerBhabha model 92 Good description from 1 KeV to 100 GeV. 93 Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1 94 95 eBrem: tables are built for e- 96 dE/dx and range tables from 100 eV to 100 TeV in 120 bins. 97 Lambda tables from threshold to 100 TeV in 120 bins. 98 Total cross sections and sampling from StandBrem model (based on the EEDL data library) 99 Good description from 1 KeV to 100 GeV, log scale extrapolation above 100 GeV. LPM flag 1 100 101 eIoni: tables are built for e+ 102 dE/dx and range tables from 100 eV to 100 TeV in 120 bins. 103 Lambda tables from threshold to 100 TeV in 120 bins. 104 Delta cross sections and sampling from MollerBhabha model 105 Good description from 1 KeV to 100 GeV. 106 Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1 107 108 eBrem: tables are built for e+ 109 dE/dx and range tables from 100 eV to 100 TeV in 120 bins. 110 Lambda tables from threshold to 100 TeV in 120 bins. 111 Total cross sections and sampling from StandBrem model (based on the EEDL data library) 112 Good description from 1 KeV to 100 GeV, log scale extrapolation above 100 GeV. LPM flag 1 113 114 annihil: Sampling according eplus2gg model 115 tables are built for e+ 116 Lambda tables from 100 eV to 100 TeV in 120 bins. 117 118 msc: Model variant of multiple scattering for proton 119 Lambda tables from 100 eV to 100 TeV in 120 bins. 120 LateralDisplacementFlag= 1 Skin= 0 121 Boundary/stepping algorithm is active with RangeFactor= 0.2 Step limit type 0 122 123 hIoni: tables are built for proton 124 dE/dx and range tables from 100 eV to 100 TeV in 120 bins. 125 Lambda tables from threshold to 100 TeV in 120 bins. 126 Scaling relation is used from proton dE/dx and range. 127 Delta cross sections and sampling from BetheBloch model for scaled energy > 2 MeV 128 Parametrisation from Bragg for protons below. NuclearStopping= 1 129 Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1 130 131 msc: Model variant of multiple scattering for GenericIon 132 LateralDisplacementFlag= 0 Skin= 0 133 Boundary/stepping algorithm is active with RangeFactor= 0.2 Step limit type 1 134 135 ionIoni: tables are built for GenericIon 136 dE/dx and range tables from 100 eV to 100 TeV in 120 bins. 137 Lambda tables from threshold to 100 TeV in 120 bins. 138 Scaling relation is used from proton dE/dx and range. 139 Delta cross sections and sampling from BetheBloch model for scaled energy > 2 MeV 140 Parametrisation from BraggIon for protons below. NuclearStopping= 1 141 142 Stopping Power data for 8 ion/material pairs are used. 143 Step function: finalRange(mm)= 0.1, dRoverRange= 0.1, integral: 1, fluct: 1 144 145 hIoni: tables are built for anti_proton 146 dE/dx and range tables from 100 eV to 100 TeV in 120 bins. 147 Lambda tables from threshold to 100 TeV in 120 bins. 148 Scaling relation is used from proton dE/dx and range. 149 Delta cross sections and sampling from BetheBloch model for scaled energy > 2 MeV 150 Parametrisation from Bragg for protons below. NuclearStopping= 1 151 Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1 152 153 msc: Model variant of multiple scattering for mu+ 154 Lambda tables from 100 eV to 100 TeV in 120 bins. 155 LateralDisplacementFlag= 1 Skin= 0 156 Boundary/stepping algorithm is active with RangeFactor= 0.2 Step limit type 0 157 158 muIoni: tables are built for mu+ 159 dE/dx and range tables from 100 eV to 100 TeV in 120 bins. 160 Lambda tables from threshold to 100 TeV in 120 bins. 161 Bether-Bloch model for E > 0.2 MeV, parametrisation of Bragg peak below, 162 radiative corrections for E > 1 GeV 163 Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1 164 165 muBrems: tables are built for mu+ 166 dE/dx and range tables from 100 eV to 100 TeV in 120 bins. 167 Lambda tables from threshold to 100 TeV in 120 bins. 168 Parametrised model 169 170 muPairProd: tables are built for mu+ 171 dE/dx and range tables from 100 eV to 100 TeV in 120 bins. 172 Lambda tables from threshold to 100 TeV in 120 bins. 173 Parametrised model 174 175 muIoni: tables are built for mu- 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 Bether-Bloch model for E > 0.2 MeV, parametrisation of Bragg peak below, 179 radiative corrections for E > 1 GeV 180 Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1 181 182 muBrems: tables are built for mu- 183 dE/dx and range tables from 100 eV to 100 TeV in 120 bins. 184 Lambda tables from threshold to 100 TeV in 120 bins. 185 Parametrised model 186 187 muPairProd: tables are built for mu- 188 dE/dx and range tables from 100 eV to 100 TeV in 120 bins. 189 Lambda tables from threshold to 100 TeV in 120 bins. 190 Parametrised model 191 192 hIoni: tables are built for pi+ 193 dE/dx and range tables from 100 eV to 100 TeV in 120 bins. 194 Lambda tables from threshold to 100 TeV in 120 bins. 195 Scaling relation is used from proton dE/dx and range. 196 Delta cross sections and sampling from BetheBloch model for scaled energy > 0.297504 MeV 197 Parametrisation from Bragg for protons below. NuclearStopping= 1 198 Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1 199 200 msc: Model variant of multiple scattering for pi- 201 Lambda tables from 100 eV to 100 TeV in 120 bins. 202 LateralDisplacementFlag= 1 Skin= 0 203 Boundary/stepping algorithm is active with RangeFactor= 0.2 Step limit type 0 204 205 hIoni: tables are built for pi- 206 dE/dx and range tables from 100 eV to 100 TeV in 120 bins. 207 Lambda tables from threshold to 100 TeV in 120 bins. 208 Scaling relation is used from proton dE/dx and range. 209 Delta cross sections and sampling from BetheBloch model for scaled energy > 0.297504 MeV 210 Parametrisation from Bragg for protons below. NuclearStopping= 1 211 Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1 80 phot: for gamma SubType= 12 81 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 82 PhotoElectric : Emin= 0 eV Emax= 10 TeV 83 84 compt: for gamma SubType= 13 85 Lambda tables from 100 eV to 10 TeV in 77 bins, spline: 1 86 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 87 Klein-Nishina : Emin= 0 eV Emax= 10 TeV 88 89 conv: for gamma SubType= 14 90 Lambda tables from 1.022 MeV to 10 TeV in 77 bins, spline: 1 91 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 92 Bethe-Heitler : Emin= 0 eV Emax= 10 TeV 93 94 msc: for e- SubType= 10 95 Lambda tables from 100 eV to 10 TeV in 77 bins, spline: 1 96 RangeFactor= 0.04, stepLimitType: 1, latDisplacement: 1 97 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 98 UrbanMsc93 : Emin= 0 eV Emax= 10 TeV 99 100 eIoni: for e- SubType= 2 101 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 102 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 103 finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 104 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 105 MollerBhabha : Emin= 0 eV Emax= 10 TeV 106 107 eBrem: for e- SubType= 3 108 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 109 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 110 LPM flag: 1 for E > 1 GeV 111 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 112 eBrem : Emin= 0 eV Emax= 1 GeV 113 eBremRel : Emin= 1 GeV Emax= 10 TeV 114 115 eIoni: for e+ SubType= 2 116 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 117 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 118 finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 119 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 120 MollerBhabha : Emin= 0 eV Emax= 10 TeV 121 122 eBrem: for e+ SubType= 3 123 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 124 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 125 LPM flag: 1 for E > 1 GeV 126 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 127 eBrem : Emin= 0 eV Emax= 1 GeV 128 eBremRel : Emin= 1 GeV Emax= 10 TeV 129 130 annihil: for e+ SubType= 5 131 Lambda tables from 100 eV to 10 TeV in 77 bins, spline: 1 132 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 133 eplus2gg : Emin= 0 eV Emax= 10 TeV 134 135 msc: for proton SubType= 10 136 Lambda tables from 100 eV to 10 TeV in 77 bins, spline: 1 137 RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1 138 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 139 UrbanMsc90 : Emin= 0 eV Emax= 10 TeV 140 141 hIoni: for proton SubType= 2 142 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 143 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 144 finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 145 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 146 Bragg : Emin= 0 eV Emax= 2 MeV 147 BetheBloch : Emin= 2 MeV Emax= 10 TeV 148 149 hBrems: for proton SubType= 3 150 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 151 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 152 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 153 hBrem : Emin= 0 eV Emax= 10 TeV 154 155 hPairProd: for proton SubType= 4 156 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 157 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 158 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 159 hPairProd : Emin= 0 eV Emax= 10 TeV 160 161 msc: for GenericIon SubType= 10 162 RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 0 163 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 164 UrbanMsc90 : Emin= 0 eV Emax= 10 TeV 165 166 ionIoni: for GenericIon SubType= 2 167 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 168 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 169 finalRange(mm)= 0.1, dRoverRange= 0.1, integral: 1, fluct: 1, linLossLimit= 0.02 170 Stopping Power data for 17 ion/material pairs, nuclearStopping: 1 171 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 172 BraggIon : Emin= 0 eV Emax= 2 MeV 173 BetheBloch : Emin= 2 MeV Emax= 10 TeV 174 175 hIoni: for anti_proton SubType= 2 176 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 177 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 178 finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 179 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 180 ICRU73QO : Emin= 0 eV Emax= 2 MeV 181 BetheBloch : Emin= 2 MeV Emax= 10 TeV 182 183 hIoni: for kaon+ SubType= 2 184 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 185 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 186 finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 187 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 188 Bragg : Emin= 0 eV Emax= 1.05231 MeV 189 BetheBloch : Emin= 1.05231 MeV Emax= 10 TeV 190 191 hBrems: for kaon+ SubType= 3 192 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 193 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 194 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 195 hBrem : Emin= 0 eV Emax= 10 TeV 196 197 hPairProd: for kaon+ SubType= 4 198 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 199 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 200 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 201 hPairProd : Emin= 0 eV Emax= 10 TeV 202 203 hIoni: for kaon- SubType= 2 204 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 205 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 206 finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 207 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 208 ICRU73QO : Emin= 0 eV Emax= 1.05231 MeV 209 BetheBloch : Emin= 1.05231 MeV Emax= 10 TeV 210 211 hBrems: for kaon- SubType= 3 212 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 213 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 214 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 215 hBrem : Emin= 0 eV Emax= 10 TeV 216 217 hPairProd: for kaon- SubType= 4 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 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 221 hPairProd : Emin= 0 eV Emax= 10 TeV 222 223 muMsc: for mu+ SubType= 10 224 Lambda tables from 100 eV to 10 TeV in 77 bins, spline: 1 225 RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 1, polarAngleLimit(deg)= 0 226 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 227 UrbanMsc90 : Emin= 0 eV Emax= 10 TeV 228 229 muIoni: for mu+ SubType= 2 230 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 231 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 232 finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 233 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 234 Bragg : Emin= 0 eV Emax= 200 keV 235 BetheBloch : Emin= 200 keV Emax= 1 GeV 236 MuBetheBloch : Emin= 1 GeV Emax= 10 TeV 237 238 muBrems: for mu+ SubType= 3 239 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 240 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 241 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 242 MuBrem : Emin= 0 eV Emax= 10 TeV 243 244 muPairProd: for mu+ SubType= 4 245 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 246 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 247 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 248 muPairProd : Emin= 0 eV Emax= 10 TeV 249 250 muIoni: for mu- SubType= 2 251 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 252 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 253 finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 254 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 255 ICRU73QO : Emin= 0 eV Emax= 200 keV 256 BetheBloch : Emin= 200 keV Emax= 1 GeV 257 MuBetheBloch : Emin= 1 GeV Emax= 10 TeV 258 259 muBrems: for mu- SubType= 3 260 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 261 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 262 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 263 MuBrem : Emin= 0 eV Emax= 10 TeV 264 265 muPairProd: for mu- SubType= 4 266 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 267 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 268 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 269 muPairProd : Emin= 0 eV Emax= 10 TeV 270 271 hIoni: for pi+ SubType= 2 272 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 273 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 274 finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 275 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 276 Bragg : Emin= 0 eV Emax= 297.504 keV 277 BetheBloch : Emin= 297.504 keV Emax= 10 TeV 278 279 hBrems: for pi+ SubType= 3 280 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 281 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 282 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 283 hBrem : Emin= 0 eV Emax= 10 TeV 284 285 hPairProd: for pi+ SubType= 4 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 hPairProd : Emin= 0 eV Emax= 10 TeV 290 291 msc: for pi- SubType= 10 292 Lambda tables from 100 eV to 10 TeV in 77 bins, spline: 1 293 RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1 294 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 295 UrbanMsc90 : Emin= 0 eV Emax= 10 TeV 296 297 hIoni: for pi- SubType= 2 298 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 299 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 300 finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 301 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 302 ICRU73QO : Emin= 0 eV Emax= 297.504 keV 303 BetheBloch : Emin= 297.504 keV Emax= 10 TeV 304 305 hBrems: for pi- SubType= 3 306 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 307 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 308 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 309 hBrem : Emin= 0 eV Emax= 10 TeV 310 311 hPairProd: for pi- SubType= 4 312 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 313 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 314 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 315 hPairProd : Emin= 0 eV Emax= 10 TeV 212 316 213 317 ========= Table of registered couples ============================== 214 318 215 319 Index : 0 used in the geometry : Yes recalculation needed : No 216 Material : PbWO4217 Range cuts : gamma 1 mm e- 1 mm e+ 1 mm218 Energy thresholds : gamma 84.7768 keV e- 1.13176 MeV e+ 1.06419 MeV320 Material : G4_PbWO4 321 Range cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 0 fm 322 Energy thresholds : gamma 89.3347 keV e- 1.12535 MeV e+ 1.05931 MeV proton 0 eV 219 323 Region(s) which use this couple : 220 324 DefaultRegionForTheWorld … … 242 346 Run Summary 243 347 Number of events processed : 100 244 User= 12.69s Real=13.12s Sys=0.05s348 User=7.07s Real=9.12s Sys=0s 245 349 246 350 SUMMARY 247 351 248 energy deposit : 94. 76 % E0 +- 1.04% E0249 charged traklen: 47 8.82 radl +- 5.47radl250 neutral traklen: 44 56.41 radl +- 130.78radl251 252 90.00 % confinement: radius = 3. 04 radl (2.71cm )352 energy deposit : 94.69 % E0 +- 1.11 % E0 353 charged traklen: 479.10 radl +- 5.93 radl 354 neutral traklen: 4445.58 radl +- 130.36 radl 355 356 90.00 % confinement: radius = 3.10 radl (2.76 cm ) 253 357 254 358 --------- Ranecu engine status --------- 255 359 Initial seed (index) = 0 256 Current couple of seeds = 1592281706, 1716432675360 Current couple of seeds = 859713455, 2085840081 257 361 ---------------------------------------- 258 362 259 363 <<<<ACCEPTANCE>>>> 100 events for Total Energy in Absorber 260 Edep: 0.94 759363 delEdep= -0.0014063682 nrms= -1.7150832261 Erms: 0.01 0417074 delErms= 0.002217074 nrms= 2.7037488364 Edep: 0.94689776 delEdep= -0.0021022368 nrms= -2.5637034 365 Erms: 0.01113771 delErms= 0.0029377098 nrms= 3.5825729 262 366 <<<<END>>>> IS ACCEPTED 263 367 264 368 G4 kernel has come to Quit state. 369 -
trunk/examples/extended/electromagnetic/TestEm2/geant3/README
r807 r1337 26 26 27 27 4 : longitudinal energy profile 28 5 : cumulated longitudinal energy profile 29 6 : rms of cumulated longitudinal energy profile 28 5 : rms of longitudinal energy profile 29 6 : cumulated longitudinal energy profile 30 7 : rms of cumulated longitudinal energy profile 30 31 31 7 : radial energy profile 32 8 : cumulated radial energy profile 33 9 : rms of cumulated radial energy profile 32 8 : radial energy profile 33 9 : rms of radial energy profile 34 10 : cumulated radial energy profile 35 11 : rms of cumulated radial energy profile 34 36 35 37 21 : edep distrib as function of kine energy of contributing particle -
trunk/examples/extended/electromagnetic/TestEm2/geant3/run01.dat
r807 r1337 11 11 DEBUG 10 5 50 12 12 SWIT 0 (draw) 0 (print) 13 ERAN 1 0.e-6 (ekmin) 10.e+3 (ekmax)00 (nekbin)14 CUTS 1 0.0e-6 (cutgam) 10.0e-6 (cutele) 3*10.e-03 (cutneu/had/muo)15 2* 84.8e-6 (bcute/m) 2*1.13e-3(dcute/m)13 ERAN 1.e-6 (ekmin) 10.e+3 (ekmax) 100 (nekbin) 14 CUTS 1.0e-6 (cutgam) 1.0e-6 (cutele) 3*10.e-03 (cutneu/had/muo) 15 2*10.0e-6 (bcute/m) 2*10.0e-6 (dcute/m) 16 16 LOSS 1 17 17 HADR 0 -
trunk/examples/extended/electromagnetic/TestEm2/geant3/src/guout.F
r807 r1337 37 37 CALL HFILL(4,BIN,100*DEDL(I)/(DLX0*PKINE(3)),1.) 38 38 BIN = FLOAT(I)*DLX0 39 CALL HFILL( 5,BIN,100*DLC /PKINE(3),1.)39 CALL HFILL(6,BIN,100*DLC /PKINE(3),1.) 40 40 2 CONTINUE 41 41 … … 50 50 51 51 BIN = (FLOAT(I)-0.5)*DRX0 52 CALL HFILL( 7,BIN,100*DEDR(I)/(DRX0*PKINE(3)),1.)52 CALL HFILL(8,BIN,100*DEDR(I)/(DRX0*PKINE(3)),1.) 53 53 BIN = FLOAT(I)*DRX0 54 CALL HFILL( 8,BIN,100*DRC /PKINE(3),1.)54 CALL HFILL(10,BIN,100*DRC /PKINE(3),1.) 55 55 3 CONTINUE 56 56 * -
trunk/examples/extended/electromagnetic/TestEm2/geant3/src/uglast.F
r807 r1337 30 30 XSEL2C(I) = CNORM*SQRT(ABS(XEVENT*SEL2C(I) - SEL1C(I)**2)) 31 31 2 CONTINUE 32 CALL HPAK (6,XSEL2C) 32 CALL HPAK (5,XSEL2) 33 CALL HPAK (7,XSEL2C) 33 34 * 34 35 * *** radial profile … … 39 40 XSER2C(I) = CNORM*SQRT(ABS(XEVENT*SER2C(I) - SER1C(I)**2)) 40 41 3 CONTINUE 41 CALL HPAK (9,XSER2C) 42 CALL HPAK ( 9,XSER2) 43 CALL HPAK (11,XSER2C) 42 44 * 43 45 * *** total track length -
trunk/examples/extended/electromagnetic/TestEm2/geant3/src/uhinit.F
r807 r1337 25 25 ZMAX=NLTOT*DLX0 26 26 27 CALL HBPROF(4,'longit energy profile (in percent of E inc)' 27 CALL HBPROF(4,'longit energy profile (in percent of E inc)' 28 *, NLTOT, 0.,ZMAX, 0., 1000.,' ') 29 CALL HBPROF(5,'rms longit energy profile (in percent of E inc)' 28 30 *, NLTOT, 0.,ZMAX, 0., 1000.,' ') 29 31 * … … 31 33 ZMAX = ZMIN + NLTOT*DLX0 32 34 33 CALL HBPROF( 5,'cumul longit energy dep. (in percent of E inc)'35 CALL HBPROF(6,'cumul longit energy dep. (in percent of E inc)' 34 36 *, NLTOT, ZMIN,ZMAX, 0., 100.,' ') 35 CALL HBOOK1( 6,'resolution: cumul L energy dep. (% of E inc)'37 CALL HBOOK1(7,'resolution: cumul L energy dep. (% of E inc)' 36 38 *, NLTOT, ZMIN,ZMAX, 0.0) 37 39 * … … 39 41 RMAX=NRTOT*DRX0 40 42 41 CALL HBPROF( 7,'radial energy profile (in percent of E inc)'43 CALL HBPROF(8,'radial energy profile (in percent of E inc)' 42 44 *, NRTOT, 0.,RMAX, 0., 1000.,' ') 45 CALL HBPROF(9,'rms radial energy profile (in percent of E inc)' 46 *, NRTOT, 0.,RMAX, 0., 1000.,' ') 43 47 * 44 48 RMIN = 0.5*DRX0 45 49 RMAX = RMIN + NRTOT*DRX0 46 50 47 CALL HBPROF( 8,'cumul radial energy dep. (in percent of E inc)'51 CALL HBPROF(10,'cumul radial energy dep. (in percent of E inc)' 48 52 *, NRTOT, RMIN,RMAX, 0., 100.,' ') 49 CALL HBOOK1( 9,'resolution: cumul R energy dep. (% of E inc)'53 CALL HBOOK1(11,'resolution: cumul R energy dep. (% of E inc)' 50 54 *, NRTOT, RMIN,RMAX, 0.0) 51 55 -
trunk/examples/extended/electromagnetic/TestEm2/include/DetectorConstruction.hh
r1230 r1337 25 25 // 26 26 // $Id: DetectorConstruction.hh,v 1.9 2006/06/29 16:49:29 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/TestEm2/include/DetectorMessenger.hh
r1230 r1337 25 25 // 26 26 // $Id: DetectorMessenger.hh,v 1.6 2006/06/29 16:49: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/TestEm2/include/EmAcceptance.hh
r1230 r1337 25 25 // 26 26 // $Id: EmAcceptance.hh,v 1.3 2006/06/29 16:49:35 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/TestEm2/include/EventAction.hh
r1230 r1337 25 25 // 26 26 // $Id: EventAction.hh,v 1.3 2006/06/29 16:49: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/TestEm2/include/EventActionMessenger.hh
r1230 r1337 25 25 // 26 26 // $Id: EventActionMessenger.hh,v 1.3 2006/06/29 16:49:41 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/TestEm2/include/PhysListEmStandard.hh
r1230 r1337 26 26 // 27 27 // $Id: PhysListEmStandard.hh,v 1.4 2006/06/29 16:49:50 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/TestEm2/include/PhysicsList.hh
r1230 r1337 26 26 // 27 27 // $Id: PhysicsList.hh,v 1.8 2006/06/29 16:49:52 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/TestEm2/include/PhysicsListMessenger.hh
r1230 r1337 25 25 // 26 26 // $Id: PhysicsListMessenger.hh,v 1.5 2006/06/29 16:49:55 gunter Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/electromagnetic/TestEm2/include/PrimaryGeneratorAction.hh
r1230 r1337 25 25 // 26 26 // $Id: PrimaryGeneratorAction.hh,v 1.5 2006/06/29 16:49:57 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/TestEm2/include/RunAction.hh
r1230 r1337 24 24 // ******************************************************************** 25 25 // 26 // $Id: RunAction.hh,v 1. 9 2006/06/29 16:49:59 gunterExp $27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $26 // $Id: RunAction.hh,v 1.10 2010/02/22 15:41:29 maire Exp $ 27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... … … 134 134 AIDA::IAnalysisFactory* af; 135 135 AIDA::ITree* tree; 136 AIDA::IHistogram1D* histo[ 9];136 AIDA::IHistogram1D* histo[11]; 137 137 }; 138 138 -
trunk/examples/extended/electromagnetic/TestEm2/include/RunActionMessenger.hh
r1230 r1337 25 25 // 26 26 // $Id: RunActionMessenger.hh,v 1.4 2006/06/29 16:50: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/TestEm2/include/StepMax.hh
r1230 r1337 25 25 // 26 26 // $Id: StepMax.hh,v 1.2 2006/06/29 16:50:04 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/TestEm2/include/StepMaxMessenger.hh
r1230 r1337 25 25 // 26 26 // $Id: StepMaxMessenger.hh,v 1.2 2006/06/29 16:50: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/TestEm2/include/SteppingAction.hh
r1230 r1337 25 25 // 26 26 // $Id: SteppingAction.hh,v 1.4 2006/06/29 16:50:09 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/TestEm2/include/SteppingVerbose.hh
r1230 r1337 25 25 // 26 26 // $Id: SteppingVerbose.hh,v 1.3 2006/06/29 16:50:11 gunter Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 // This class manages the verbose outputs in G4SteppingManager. -
trunk/examples/extended/electromagnetic/TestEm2/include/TrackingAction.hh
r1230 r1337 25 25 // 26 26 // $Id: TrackingAction.hh,v 1.4 2006/06/29 16:50:14 gunter Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/electromagnetic/TestEm2/run01.mac
r1230 r1337 1 # $Id: run01.mac,v 1.2 7 2009/09/16 18:07:30maire Exp $1 # $Id: run01.mac,v 1.28 2010/02/22 15:41:29 maire Exp $ 2 2 # 3 3 # Macro file for "TestEm2.cc" … … 19 19 # histogram file 20 20 /testem/histo/setFileName run01 21 /testem/histo/setFileType hbook21 /testem/histo/setFileType root 22 22 # 23 23 /run/initialize -
trunk/examples/extended/electromagnetic/TestEm2/src/DetectorConstruction.cc
r1230 r1337 26 26 // 27 27 // $Id: DetectorConstruction.cc,v 1.14 2009/09/16 18:07:30 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/TestEm2/src/DetectorMessenger.cc
r1230 r1337 25 25 // 26 26 // $Id: DetectorMessenger.cc,v 1.8 2006/06/29 16:50:20 gunter Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/electromagnetic/TestEm2/src/EmAcceptance.cc
r1230 r1337 25 25 // 26 26 // $Id: EmAcceptance.cc,v 1.5 2006/06/29 16:50:22 gunter Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/electromagnetic/TestEm2/src/EventAction.cc
r1230 r1337 24 24 // ******************************************************************** 25 25 // 26 // $Id: EventAction.cc,v 1. 3 2006/06/29 16:50:24 gunterExp $27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $26 // $Id: EventAction.cc,v 1.5 2010/06/07 05:40:46 perl Exp $ 27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... … … 35 35 #include "RunAction.hh" 36 36 #include "G4Event.hh" 37 #include "G4TrajectoryContainer.hh"38 #include "G4Trajectory.hh"39 #include "G4VVisManager.hh"40 37 #include "G4UnitsTable.hh" 41 38 … … 71 68 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 72 69 73 void EventAction::EndOfEventAction(const G4Event* evt)70 void EventAction::EndOfEventAction(const G4Event*) 74 71 { 75 72 Run->fillPerEvent(); 76 77 if (G4VVisManager::GetConcreteInstance())78 {79 G4TrajectoryContainer* trajectoryContainer = evt->GetTrajectoryContainer();80 G4int n_trajectories = 0;81 if (trajectoryContainer) n_trajectories = trajectoryContainer->entries();82 for (G4int i=0; i<n_trajectories; i++)83 { G4Trajectory* trj = (G4Trajectory *)84 ((*(evt->GetTrajectoryContainer()))[i]);85 if (drawFlag == "all") trj->DrawTrajectory(50);86 else if ((drawFlag == "charged")&&(trj->GetCharge() != 0.))87 trj->DrawTrajectory(50);88 }89 }90 73 } 91 74 -
trunk/examples/extended/electromagnetic/TestEm2/src/EventActionMessenger.cc
r1230 r1337 26 26 // 27 27 // $Id: EventActionMessenger.cc,v 1.3 2006/06/29 16:50:26 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $28 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 29 29 // 30 30 // -
trunk/examples/extended/electromagnetic/TestEm2/src/PhysListEmStandard.cc
r1230 r1337 26 26 // 27 27 // $Id: PhysListEmStandard.cc,v 1.13 2009/11/13 16:01:10 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/TestEm2/src/PhysicsList.cc
r1230 r1337 25 25 // 26 26 // $Id: PhysicsList.cc,v 1.16 2009/09/16 18:07:30 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/TestEm2/src/PhysicsListMessenger.cc
r1230 r1337 25 25 // 26 26 // $Id: PhysicsListMessenger.cc,v 1.5 2006/06/29 16:50:41 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/TestEm2/src/PrimaryGeneratorAction.cc
r1230 r1337 25 25 // 26 26 // $Id: PrimaryGeneratorAction.cc,v 1.6 2006/06/29 16:50: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/TestEm2/src/RunAction.cc
r1230 r1337 24 24 // ******************************************************************** 25 25 // 26 // $Id: RunAction.cc,v 1.2 4 2009/09/16 18:07:30maire Exp $27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $26 // $Id: RunAction.cc,v 1.25 2010/02/22 15:41:29 maire Exp $ 27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... … … 143 143 histo[3] = hf->createHistogram1D( "4","longit energy profile (% of E inc)", 144 144 nLbin,0.,nLbin*dLradl); 145 146 histo[4] = hf->createHistogram1D( "5","rms on longit Edep (% of E inc)", 147 nLbin,0.,nLbin*dLradl); 145 148 146 149 G4double Zmin=0.5*dLradl, Zmax=Zmin+nLbin*dLradl; 147 histo[ 4] = hf->createHistogram1D( "5","cumul longit energy dep (% of E inc)",150 histo[5] = hf->createHistogram1D( "6","cumul longit energy dep (% of E inc)", 148 151 nLbin,Zmin,Zmax); 149 150 histo[ 5] = hf->createHistogram1D( "6","rms on cumul longit Edep (% of E inc)",152 153 histo[6] = hf->createHistogram1D( "7","rms on cumul longit Edep (% of E inc)", 151 154 nLbin,Zmin,Zmax); 152 155 153 histo[ 6] = hf->createHistogram1D("7","radial energy profile (% of E inc)",156 histo[7] = hf->createHistogram1D( "8","radial energy profile (% of E inc)", 154 157 nRbin,0.,nRbin*dRradl); 158 159 histo[8] = hf->createHistogram1D( "9","rms on radial Edep (% of E inc)", 160 nRbin,0.,nRbin*dRradl); 155 161 156 162 G4double Rmin=0.5*dRradl, Rmax=Rmin+nRbin*dRradl; 157 histo[ 7]= hf->createHistogram1D("8","cumul radial energy dep (% of E inc)",163 histo[9] = hf->createHistogram1D("10","cumul radial energy dep (% of E inc)", 158 164 nRbin,Rmin,Rmax); 159 165 160 histo[ 8]= hf->createHistogram1D("9","rms on cumul radial Edep (% of E inc)",161 nRbin,Rmin,Rmax); 166 histo[10]= hf->createHistogram1D("11","rms on cumul radial Edep (% of E inc)", 167 nRbin,Rmin,Rmax); 162 168 163 169 delete hf; … … 293 299 G4double bin = (i+0.5)*dLradl; 294 300 histo[3]->fill(bin,MeanELongit[i]/dLradl); 301 histo[4]->fill(bin, rmsELongit[i]/dLradl); 295 302 bin = (i+1)*dLradl; 296 histo[ 4]->fill(bin,MeanELongitCumul[i]);297 histo[ 5]->fill(bin, rmsELongitCumul[i]);303 histo[5]->fill(bin,MeanELongitCumul[i]); 304 histo[6]->fill(bin, rmsELongitCumul[i]); 298 305 } 299 306 #endif … … 320 327 if(tree) { 321 328 G4double bin = (i+0.5)*dRradl; 322 histo[6]->fill(bin,MeanERadial[i]/dRradl); 329 histo[7]->fill(bin,MeanERadial[i]/dRradl); 330 histo[8]->fill(bin, rmsERadial[i]/dRradl); 323 331 bin = (i+1)*dRradl; 324 histo[ 7]->fill(bin,MeanERadialCumul[i]);325 histo[ 8]->fill(bin, rmsERadialCumul[i]);332 histo[9] ->fill(bin,MeanERadialCumul[i]); 333 histo[10]->fill(bin, rmsERadialCumul[i]); 326 334 } 327 335 #endif -
trunk/examples/extended/electromagnetic/TestEm2/src/RunActionMessenger.cc
r1230 r1337 25 25 // 26 26 // $Id: RunActionMessenger.cc,v 1.4 2006/06/29 16:50: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/TestEm2/src/StepMax.cc
r1230 r1337 25 25 // 26 26 // $Id: StepMax.cc,v 1.2 2006/06/29 16:50: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/TestEm2/src/StepMaxMessenger.cc
r1230 r1337 25 25 // 26 26 // $Id: StepMaxMessenger.cc,v 1.2 2006/06/29 16:50: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/TestEm2/src/SteppingAction.cc
r1230 r1337 25 25 // 26 26 // $Id: SteppingAction.cc,v 1.6 2006/06/29 16:50:57 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/TestEm2/src/SteppingVerbose.cc
r1230 r1337 25 25 // 26 26 // $Id: SteppingVerbose.cc,v 1.3 2006/06/29 16:50:59 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/TestEm2/src/TrackingAction.cc
r1230 r1337 25 25 // 26 26 // $Id: TrackingAction.cc,v 1.3 2006/06/29 16:51: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/TestEm2/vis.mac
r807 r1337 10 10 /run/initialize 11 11 # 12 # Create empty scene ("world" is default) 12 # Use this open statement to create an OpenGL view: 13 /vis/open OGL 600x600-0+0 13 14 # 14 /vis/scene/create 15 # Use this open statement to create a .prim file suitable for 16 # viewing in DAWN: 17 #/vis/open DAWNFILE 15 18 # 16 # Create a scene handler for a specific graphics system 17 # Edit the next line(s) to choose another graphic system 19 # Use this open statement to create a .heprep file suitable for 20 # viewing in HepRApp: 21 #/vis/open HepRepFile 18 22 # 19 ##/vis/open DAWNFILE 20 /vis/open OGLIX 23 # Use this open statement to create a .wrl file suitable for 24 # viewing in a VRML viewer: 25 #/vis/open VRML2FILE 21 26 # 22 # Draw scene 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 23 31 # 24 /vis/viewer/set/viewpointThetaPhi 90 180 deg 32 # Draw geometry: 33 /vis/drawVolume 34 # 35 # Specify view angle: 36 /vis/viewer/set/viewpointThetaPhi 90. 180. 37 # 38 # Specify zoom value: 39 /vis/viewer/zoom 1.1 40 # 41 # Specify style (surface or wireframe): 25 42 /vis/viewer/set/style surface 26 /vis/viewer/zoom 1.127 /vis/viewer/flush28 43 # 29 # for drawing the tracks 30 # if too many tracks cause core dump => storeTrajectory 0 31 /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: 32 72 /vis/scene/endOfEventAction accumulate 33 73 # 34 /testem/event/drawTracks charged 35 #/testem/event/drawTracks all 36 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.