Changeset 1337 for trunk/examples/extended/electromagnetic/TestEm5/README
- Timestamp:
- Sep 30, 2010, 2:47:17 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/examples/extended/electromagnetic/TestEm5/README
r807 r1337 1 $Id: README,v 1.2 1 2007/11/28 12:37:56maire Exp $1 $Id: README,v 1.26 2009/09/18 14:03:24 maire Exp $ 2 2 ----------------------------------------------------- 3 3 … … 27 27 The default geometry is constructed in DetectorConstruction class, but all the 28 28 parameters can be changed via commands defined in the DetectorMessenger class. 29 The parameters of the "World" can be changed, too. 29 The parameters of the "World" can be changed, too. However, if World material 30 is not set to vacuum, the plots 10->43 below may be not pertinent. 30 31 31 32 2- PHYSICS LIST 33 34 Physics lists can be local (eg. in this example) or from G4 kernel 35 physics_lists subdirectory. 36 37 Local physics lists: 38 - "local" standard EM physics with current 'best' options setting. 39 these options are explicited in PhysListEmStandard 40 - "standardSS" standard EM physics with single Coulomb scattering 41 instead of multiple scattering 42 43 From geant4/source/physics_lists/builders: 44 - "emstandard_opt0" recommended standard EM physics for LHC 45 - "emstandard_opt1" best CPU performance standard physics for LHC 46 - "emstandard_opt2" 47 - "emstandard_opt3" best current advanced EM options. 48 analog to "local" above 49 - "emlivermore" low-energy EM physics using Livermore data 50 - "empenelope" low-energy EM physics implementing Penelope models 51 52 Physics lists and options can be (re)set with UI commands 53 54 Please, notice that options set through G4EmProcessOPtions are global, eg 55 for all particle types. In G4 builders, it is shown how to set options per 56 particle type. 32 57 33 The following EM physics lists are available in this example:34 - "standard" standard EM physics (default)35 - "livermore" low-energy EM physics using Livermore data36 - "penelope" low-energy EM physics implementing Penelope models37 - "standardSS" standard EM physics with single Coulomb scattering38 instead of multiple scattering39 40 Alternatively, the user may use predefined Geant4 builders:41 - "emstandard" G4EmStandardPhysics builder42 - "emstandard_opt1" G4EmStandardPhysics_option1 builder43 - "emstandard_opt2" G4EmStandardPhysics_option2 builder44 See geant4/source/physics_lists/History for details45 58 46 59 3- AN EVENT : THE PRIMARY GENERATOR … … 100 113 4 "x_vertex of charged secondaries (all)" 101 114 5 "x_vertex of charged secondaries (not absorbed)" 102 10 "(transmit, charged) : kinetic energy at exit "115 10 "(transmit, charged) : kinetic energy at exit of world" 103 116 11 "(transmit, charged) : ener fluence: dE(MeV)/dOmega" 104 117 12 "(transmit, charged) : space angle dN/dOmega" 105 13 "(transmit, charged) : projected angle at exit "106 14 "(transmit, charged) : projected position at exit "107 15 "(transmit, charged) : radius at exit "108 20 "(transmit, neutral) : kinetic energy at exit "118 13 "(transmit, charged) : projected angle at exit of world" 119 14 "(transmit, charged) : projected position at exit of world" 120 15 "(transmit, charged) : radius at exit of world" 121 20 "(transmit, neutral) : kinetic energy at exit of world" 109 122 21 "(transmit, neutral) : ener fluence: dE(MeV)/dOmega" 110 123 22 "(transmit, neutral) : space angle dN/dOmega" 111 23 "(transmit, neutral) : projected angle at exit "112 30 "(reflect , charged) : kinetic energy at exit "124 23 "(transmit, neutral) : projected angle at exit of world" 125 30 "(reflect , charged) : kinetic energy at exit of world" 113 126 31 "(reflect , charged) : ener fluence: dE(MeV)/dOmega" 114 127 32 "(reflect , charged) : space angle dN/dOmega" 115 33 "(reflect , charged) : projected angle at exit "116 40 "(reflect , neutral) : kinetic energy at exit "128 33 "(reflect , charged) : projected angle at exit of world" 129 40 "(reflect , neutral) : kinetic energy at exit of world" 117 130 41 "(reflect , neutral) : ener fluence: dE(MeV)/dOmega" 118 131 42 "(reflect , neutral) : space angle dN/dOmega" 119 43 "(reflect , neutral) : projected angle at exit "132 43 "(reflect , neutral) : projected angle at exit of world" 120 133 121 The histograms can be viewed using PAW. See below the note on ANAPHE+AIDA.134 The histograms can be viewed using ROOT or PAW. See below the note on AIDA. 122 135 123 One can control the name of the histograms file with the command: 124 /testem/histo/setFileName name (default testem5.hbook) 136 One can control the name and format of the histograms file with the command: 137 /testem/histo/setFileName name (default testem5) 138 /testem/histo/setFileType type (choice: hbook, root(default), XML) 125 139 126 140 It is also possible to print selected histograms on an ascii file: … … 177 191 Before compilation of the example it is optimal to clean up old files: 178 192 gmake histclean 179 gmake 193 gmake 194 180 195 To use histograms, at least one of the AIDA implementations should be 181 available (see http://aida.freehep.org).196 available. See InstallAida.txt 182 197 183 8a - PI184 185 A package including AIDA and extended interfaces also using Python is PI,186 available from: http://cern.ch/pi187 188 Once installed PI or PI-Lite in a specified local area $MYPY, it is required189 to add the installation path to $PATH, i.e. for example, for release 1.2.1 of190 PI:191 setenv PATH ${PATH}:$MYPI/1.2.1/app/releases/PI/PI_1_2_1/rh73_gcc32/bin192 193 CERN users can use the PATH to the LCG area on AFS.194 Before running the example the command should be issued:195 eval `aida-config --runtime csh`196 197 8b - OpenScientist198 199 OpenScientist is available at http://OpenScientist.lal.in2p3.fr.200 201 You have to "setup" the OpenScientist AIDA implementation before compiling202 (then with G4ANALYSIS_USE set) and running your Geant4 application.203 204 On UNIX you setup, with a csh flavoured shell :205 csh> source <<OpenScientist install path>/aida-setup.csh206 or with a sh flavoured shell :207 sh> . <<OpenScientist install path>/aida-setup.sh208 On Windows :209 DOS> call <<OpenScientist install path>/aida-setup.bat210 211 You can use various file formats for writing (AIDA-XML, hbook, root).212 These formats are readable by the Lab onx interactive program213 or the OpenPAW application. See the web pages.214 215 216 With OpenPAW, on a run.hbook file, one can view the histograms217 with something like :218 OS> opaw219 opaw> h/file 1 run.hbook ( or opaw> h/file 1 run.aida or run.root)220 opaw> zone 2 2221 opaw> h/plot 1222 opaw> h/plot 2
Note:
See TracChangeset
for help on using the changeset viewer.
