diff --git a/CMakeLists.txt b/CMakeLists.txt index ec0f74f1fea175845f9c3a48a964d83b13584690..6eafb2ed0863a4b199ce4367d1fa298edf72efb8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -13,7 +13,7 @@ if(DEFINED ENV{G4_NATIVE_VERSION}) endif() find_package(GaudiProject) -gaudi_project(Geant4 v96r4p0g1 +gaudi_project(Geant4 v96r4p2 DATA Geant4Files VERSION v96r*) # FIXME: hack for compatibility with CMT build diff --git a/Geant4/G4config/cmt/copy_examples_source.csh b/Geant4/G4config/cmt/copy_examples_source.csh index 015f7144fc478cfc8143f72dd736f9a93d5184f4..48fb2b5a96d82d359436e8f8c4abc128b17aac29 100755 --- a/Geant4/G4config/cmt/copy_examples_source.csh +++ b/Geant4/G4config/cmt/copy_examples_source.csh @@ -48,7 +48,7 @@ endif cd $here -if( ${pack} == 'TestEm3' ) then +if( (${pack} == 'TestEm3')||(${pack} == 'TestEm5') ) then ./copyPatchedSource.py echo ' executed copyPatchedSource.py ' endif diff --git a/Geant4/G4config/cmt/requirements b/Geant4/G4config/cmt/requirements index 86e2511f37c07ac983a6035639a9b339247fc5de..3f09c43a8298062363b5caf1c7407f9da600b7e8 100755 --- a/Geant4/G4config/cmt/requirements +++ b/Geant4/G4config/cmt/requirements @@ -1,5 +1,5 @@ package G4config -version v96r3p0 +version v96r4p2 branches cmt doc @@ -19,7 +19,7 @@ use Geant4Files v96r* -no_auto_imports #============================================================================== set G4_native_version "9.6.p04" \ override-geant4-version "${G4_NATIVE_VERSION}" -set G4VERS v96r3p0 +set G4VERS v96r4p2 # ============================================================================= # set Geant4 environment variables diff --git a/Geant4/G4config/doc/release.notes b/Geant4/G4config/doc/release.notes index 74e139ef29ac98e99866c7886ce181c4ec1164c3..601bb37a1f994ecaadfc7ad2894709737563581b 100755 --- a/Geant4/G4config/doc/release.notes +++ b/Geant4/G4config/doc/release.notes @@ -3,7 +3,16 @@ ! Responsible : Gloria Corti/ Nigel Watson ! Purpose : Configuration package for Geant4 build !----------------------------------------------------------------------------- + +! ======================= G4config v96r4p2 2015-07-24 ======================== +! 2015-07-24 - Gloria Corti + - Only change local version to match the fact that we use Geant4 9.6.p04 + i.e. v96r4, and we pick some new patch from us i.e. p2 + ! ======================= G4config v96r3p0 2015-05-11 ======================== +! 2015-05-12 - Timothy Williams + - Updated copy_examples_source.csh to copy private sources for TestEm5 + ! 2015-05-11 - Timothy Williams - Added execution of srcnew copying to copy_examples_source.csh diff --git a/Geant4/G4examples/cmt/requirements b/Geant4/G4examples/cmt/requirements index 369912b08c532c0a79b565c518bd01758bc0a136..f48513e4bc2a428b7598fff7ad505ef598799a82 100644 --- a/Geant4/G4examples/cmt/requirements +++ b/Geant4/G4examples/cmt/requirements @@ -3,7 +3,7 @@ # Maintainer : James Mccarthy #============================================================================ package G4examples -version v5r1 +version v6r1 #============================================================================ # Structure, i.e. directories to process. diff --git a/Geant4/G4examples/doc/release.notes b/Geant4/G4examples/doc/release.notes index 8705bc139d891a3b454840862e1bebe6d1f5419c..e58fb913b8107781c18f5aba4204c08145a74b0e 100644 --- a/Geant4/G4examples/doc/release.notes +++ b/Geant4/G4examples/doc/release.notes @@ -1,8 +1,20 @@ !----------------------------------------------------------------------------- ! Package : Geant4/G4examples -! Responsible : James Mccarthy +! Responsible : James McCarthy, Luca Pescatore ! Purpose : Examples packages provided my Geant4, used as standalone tests !----------------------------------------------------------------------------- + +!===================== Geant4/G4examples v6r1 2015-07-23 ===================== +! 2015-07-23- Tim Williams + - Updated scripts to run testEm3 and testEm5 to be compiler independent + +! 2015-06-15- Luca Pescatore + - Hadronic scripts and requirements modified to use python and cmt framework + +!===================== Geant4/G4examples v6r0 2015-05-12 ===================== +! 2015-05-12- Tim Williams + -Added modified version of extended electromagnetic example TestEm5 to use as test of multiple scattering. Used a copypatchsource.py script to copy private source and .hh files into place upoon build. + !===================== Geant4/G4examples v5r1 2015-05-11 ===================== ! 2015-05-11- Tim Williams -Added copy patchedsource script and srcnew to TestEm3 to copy private source files into place upon build. diff --git a/Geant4/G4examples/extended/electromagnetic/G4TestEm3/Test/opt1NoApplyCuts/run.sh b/Geant4/G4examples/extended/electromagnetic/G4TestEm3/Test/opt1NoApplyCuts/run.sh index 5581ca76eb9d45acdf34b54b42bf9952006e6dc6..c7159e2d8c360fb9f12018c86007f5bcaeef4faa 100755 --- a/Geant4/G4examples/extended/electromagnetic/G4TestEm3/Test/opt1NoApplyCuts/run.sh +++ b/Geant4/G4examples/extended/electromagnetic/G4TestEm3/Test/opt1NoApplyCuts/run.sh @@ -2,7 +2,9 @@ if [ "$1" = "sim" ] then - ../../x86_64-slc6-gcc48-opt/testEm3.exe opt1noapplycuts.mac + Binary=$(find ../.. -name "testEm3.exe") + echo $Binary + $Binary opt1noapplycuts.mac fi #There is a bug with ROOT 6 opening Geant4 created histograms, have to use old root for now SetupProject ROOT --version 72a diff --git a/Geant4/G4examples/extended/electromagnetic/G4TestEm5/.README b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/.README new file mode 100644 index 0000000000000000000000000000000000000000..b60e4296d6b69ef4b4088decb89fb1122765bb8a --- /dev/null +++ b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/.README @@ -0,0 +1,200 @@ +//$Id$ + +///\file "electromagnetic/TestEm5/.README" +///\brief Example TestEm5 README page + +/*! \page ExampleTestEm5 Example TestEm5 + + How to study the transmission, absorption and reflexion of particles through + a single, thin or thick, layer of material. + In particular, the effects of the multiple scattering can be ploted. + +\section TestEm5_s1 GEOMETRY DEFINITION + + The "absorber" is a box made of a given material. + + Three parameters define the absorber : + - the material of the absorber, + - the thickness of an absorber, + - the transverse size of the absorber (the input face is a square). + + A volume "World" contains the "absorber". + + In addition a transverse uniform magnetic field can be applied. + + The default geometry is constructed in DetectorConstruction class, but all the + parameters can be changed via commands defined in the DetectorMessenger class. + The parameters of the "World" can be changed, too. However, if World material + is not set to vacuum, the plots 10->43 below may be not pertinent. + +\section TestEm5_s2 PHYSICS LIST + + Physics lists can be local (eg. in this example) or from G4 kernel + physics_lists subdirectory. + + Local physics lists: + - "local" standard EM physics with current 'best' options setting. + these options are explicited in PhysListEmStandard + - "standardSS" standard EM physics with single Coulomb scattering + instead of multiple scattering + + From geant4/source/physics_lists/builders: + - "emstandard_opt0" recommended standard EM physics for LHC + - "emstandard_opt1" best CPU performance standard physics for LHC + - "emstandard_opt2" + - "emstandard_opt3" best standard EM options - analog to "local" above + - "emstandard_opt4" best current advanced EM options standard + lowenergy + - "emlivermore" low-energy EM physics using Livermore data + - "empenelope" low-energy EM physics implementing Penelope models + + Physics lists and options can be (re)set with UI commands + + Please, notice that options set through G4EmProcessOPtions are global, eg + for all particle types. In G4 builders, it is shown how to set options per + particle type. + + +\section TestEm5_s3 AN EVENT : THE PRIMARY GENERATOR + + The primary kinematic consists of a single particle which hits the absorber + perpendicular to the input face. The type of the particle and its energy are + set in the PrimaryGeneratorAction class, and can be changed via the G4 build-in + commands of G4ParticleGun class (see the macros provided with this example). + + In addition one can choose randomly the impact point of the incident particle. + The interactive command is built in PrimaryGeneratorMessenger class. + +\section TestEm5_s4 VISUALIZATION + + The Visualization Manager is set in the main () (see TestEm5.cc). + The initialisation of the drawing is done via the commands in vis.mac + In interactive session: +\verbatim + PreInit or Idle > /control/execute vis.mac +\endverbatim + + The example has a default view which is a longitudinal view of the detector. + + The tracks are drawn at the end of event, and erased at the end of run. + Optionaly one can choose to draw all particles, only the charged, or none. + This command is defined in EventActionMessenger class. + +\section TestEm5_s5 TRACKING + + During the tracking, one can keep or not the secondaries : see StackingAction + class and its Messenger (StackingMessenger). + One can also limit 'by hand' the step lenght of the particle. As an example, + this limitation is implemented as a 'full' process : see StepMax class and its + Messenger. The 'StepMax process' is registered in the Physics List. + +\section TestEm5_s6 DETECTOR RESPONSE + + At the end of a run, from the histogram(s), one can study different + physics quantities such as : + - energy deposit in the absorber, + - energy spectrum of secondaries at creation, + - energy spectrum and angle distribution of particles at exit, + - transmission and backscattering coefficients, + - ... + +\section TestEm5_s7 List of the built-in histograms + + The test contains more than 20 built-in 1D histograms, which are managed by + G4AnalysisManager class and its Messenger. The histos can be individually activated + with the command : +\verbatim +/analysis/h1/set id nbBins valMin valMax unit +\endverbatim + where unit is the desired unit for the histo (MeV or keV, deg or mrad, etc..) + (see the macros xxxx.mac). + + - 1 : "energy deposit in absorber" + - 2 : "energy of charged secondaries at creation" + - 3 : "energy of neutral secondaries at creation" + - 4 : "energy of charged at creation (log10(Ekin))" + - 5 : "energy of neutral at creation (log10(Ekin))" + - 6 : "x_vertex of charged secondaries (all)" + - 7 : "x_vertex of charged secondaries (not absorbed)" + - 10 : "(transmit, charged) : kinetic energy at exit of world" + - 11 : "(transmit, charged) : ener fluence: dE(MeV)/dOmega" + - 12 : "(transmit, charged) : space angle dN/dOmega" + - 13 : "(transmit, charged) : projected angle at exit of world" + - 14 : "(transmit, charged) : projected position at exit of world" + - 15 : "(transmit, charged) : radius at exit of world" + - 20 : "(transmit, neutral) : kinetic energy at exit of world" + - 21 : "(transmit, neutral) : ener fluence: dE(MeV)/dOmega" + - 22 : "(transmit, neutral) : space angle dN/dOmega" + - 23 : "(transmit, neutral) : projected angle at exit of world" + - 30 : "(reflect , charged) : kinetic energy at exit of world" + - 31 : "(reflect , charged) : ener fluence: dE(MeV)/dOmega" + - 32 : "(reflect , charged) : space angle dN/dOmega" + - 33 : "(reflect , charged) : projected angle at exit of world" + - 40 : "(reflect , neutral) : kinetic energy at exit of world" + - 41 : "(reflect , neutral) : ener fluence: dE(MeV)/dOmega" + - 42 : "(reflect , neutral) : space angle dN/dOmega" + - 43 : "(reflect , neutral) : projected angle at exit of world" + + The histograms can be viewed using ROOT or PAW. + + One can control the name of the histograms file with the command: +\verbatim +/analysis/setFileName name (default testem5) +\endverbatim + + It is possible to choose the format of the histogram file : root (default), + hbook, xml, csv, by using namespace in HistoManager.hh + + It is also possible to print selected histograms on an ascii file: +\verbatim +/analysis/h1/setAscii id +\endverbatim + All selected histos will be written on a file name.ascii (default testem5) + +\subsection TestEm5_subs1 Using hbook format + + Need a special treatement : the Cern Library must be installed and the + environment variable CERNLIB correctly set. Then, *before* compiling, + activate G4_USE_HBOOK in GNUmakefile and g4hbook.hh in HistoManager.hh + +\section TestEm5_s8 GEANT4/GEANT3/DATA COMPARISON + + A Geant4/Geant3/exp. data comparison is given here for a few cases. + These cases can be classified as follow: + - e-/e+ incident particles versus protons and others. + - 3 energy regimes: low: < 1MeV; medium: 1MeV -> few 10MeV; high: > 100MeV + + We indicate here the corresponding macros. +<pre> + | low energy | medium energy | high energy + -------------------------------------------------------- + | acosta.mac | | + e-+ | berger.mac | hanson.mac | + | hunger.mac | kulchi.mac | + | tavola.mac | | + -------------------------------------------------------- + others| bichsel.mac | vincour.mac | shen1.mac shen2.mac + | | gottsch.mac | tramu.mac + -------------------------------------------------------- +</pre> + The relevant part of the GEANT3 code is in the subdirectory geant3 together + with the xxxx.dat input files. + +\section TestEm5_s9 HOW TO START ? + + - Execute TestEm5 in 'batch' mode from macro files e.g. +\verbatim +% $(G4INSTALL)/bin/$(G4SYSTEM)/TestEm5 myMacro.mac +\endverbatim + + - Execute TestEm5 in 'interactive' mode with visualization e.g. +\verbatim +% $(G4INSTALL)/bin/$(G4SYSTEM)/TestEm5 +\endverbatim +Then type your commands, for instance : +\verbatim +Idle> control/execute vis.mac +Idle> run/beamOn 5 +.... +\endverbatim + +*/ diff --git a/Geant4/G4examples/extended/electromagnetic/G4TestEm5/Test/opt1NoApplyCuts/Batchrun.sh b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/Test/opt1NoApplyCuts/Batchrun.sh new file mode 100755 index 0000000000000000000000000000000000000000..6b463adf842276a8a2c5560228f41adb62d46857 --- /dev/null +++ b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/Test/opt1NoApplyCuts/Batchrun.sh @@ -0,0 +1,11 @@ +source /afs/cern.ch/lhcb/software/releases/LBSCRIPTS/prod/InstallArea/scripts/LbLogin.sh + +SetupProject Geant4 HEAD --nightly lhcb-gauss-dev --user-area /afs/cern.ch/work/t/tiwillia/private/9.6p04cmtuser/ + +python /afs/cern.ch/work/t/tiwillia/private/9.6p04cmtuser/Geant4_HEAD/Xamples/extended/electromagnetic/G4TestEm5/x86_64-slc6-gcc48-opt/testEm5.exe /afs/cern.ch/work/t/tiwillia/private/9.6p04cmtuser/Geant4_HEAD/Xamples/extended/electromagnetic/G4TestEm5/Test/opt1NoApplyCuts/MacGen.py 1000 + +/afs/cern.ch/work/t/tiwillia/private/9.6p04cmtuser/Geant4_HEAD/Xamples/extended/electromagnetic/G4TestEm5/x86_64-slc6-gcc48-opt/testEm5.exe /afs/cern.ch/work/t/tiwillia/private/9.6p04cmtuser/Geant4_HEAD/Xamples/extended/electromagnetic/G4TestEm5/Test/opt1NoApplyCuts/BruteForce.mac 1000 + +cp RMSResults.root /afs/cern.ch/work/t/tiwillia/private/9.6p04cmtuser/Geant4_HEAD/Xamples/extended/electromagnetic/G4TestEm5/Test/opt1NoApplyCuts/run6RMSResults.root + +cp Output* /afs/cern.ch/work/t/tiwillia/private/9.6p04cmtuser/Geant4_HEAD/Xamples/extended/electromagnetic/G4TestEm5/Test/opt1/run6Outputs/ diff --git a/Geant4/G4examples/extended/electromagnetic/G4TestEm5/Test/opt1NoApplyCuts/BruteForce.mac b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/Test/opt1NoApplyCuts/BruteForce.mac new file mode 100644 index 0000000000000000000000000000000000000000..96ca4281dfdfac1eaee92057ac9842f7ee5b5815 --- /dev/null +++ b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/Test/opt1NoApplyCuts/BruteForce.mac @@ -0,0 +1,1697 @@ +/control/verbose 2 +/run/verbose 2 +/testem/det/setAbsMat Silicon +/testem/det/setAbsThick 300 um +/testem/det/setAbsYZ 42 mm +/testem/phys/addPhysics emstandard_opt1nocuts +/testem/phys/setCuts 5 mm +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 1.00 GeV +/analysis/setFileName Output_1.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 1.00 GeV +/analysis/setFileName Output_1.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 1.00 GeV +/analysis/setFileName Output_1.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 1.00 GeV +/analysis/setFileName Output_1.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 1.00 GeV +/analysis/setFileName Output_1.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 1.00 GeV +/analysis/setFileName Output_1.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 1.00 GeV +/analysis/setFileName Output_1.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 1.00 GeV +/analysis/setFileName Output_1.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 1.00 GeV +/analysis/setFileName Output_1.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 1.00 GeV +/analysis/setFileName Output_1.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 2.00 GeV +/analysis/setFileName Output_2.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 2.00 GeV +/analysis/setFileName Output_2.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 2.00 GeV +/analysis/setFileName Output_2.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 2.00 GeV +/analysis/setFileName Output_2.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 2.00 GeV +/analysis/setFileName Output_2.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 2.00 GeV +/analysis/setFileName Output_2.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 2.00 GeV +/analysis/setFileName Output_2.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 2.00 GeV +/analysis/setFileName Output_2.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 2.00 GeV +/analysis/setFileName Output_2.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 2.00 GeV +/analysis/setFileName Output_2.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 3.00 GeV +/analysis/setFileName Output_3.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 3.00 GeV +/analysis/setFileName Output_3.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 3.00 GeV +/analysis/setFileName Output_3.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 3.00 GeV +/analysis/setFileName Output_3.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 3.00 GeV +/analysis/setFileName Output_3.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 3.00 GeV +/analysis/setFileName Output_3.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 3.00 GeV +/analysis/setFileName Output_3.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 3.00 GeV +/analysis/setFileName Output_3.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 3.00 GeV +/analysis/setFileName Output_3.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 3.00 GeV +/analysis/setFileName Output_3.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 4.00 GeV +/analysis/setFileName Output_4.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 4.00 GeV +/analysis/setFileName Output_4.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 4.00 GeV +/analysis/setFileName Output_4.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 4.00 GeV +/analysis/setFileName Output_4.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 4.00 GeV +/analysis/setFileName Output_4.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 4.00 GeV +/analysis/setFileName Output_4.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 4.00 GeV +/analysis/setFileName Output_4.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 4.00 GeV +/analysis/setFileName Output_4.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 4.00 GeV +/analysis/setFileName Output_4.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 4.00 GeV +/analysis/setFileName Output_4.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 5.00 GeV +/analysis/setFileName Output_5.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 5.00 GeV +/analysis/setFileName Output_5.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 5.00 GeV +/analysis/setFileName Output_5.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 5.00 GeV +/analysis/setFileName Output_5.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 5.00 GeV +/analysis/setFileName Output_5.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 5.00 GeV +/analysis/setFileName Output_5.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 5.00 GeV +/analysis/setFileName Output_5.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 5.00 GeV +/analysis/setFileName Output_5.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 5.00 GeV +/analysis/setFileName Output_5.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 5.00 GeV +/analysis/setFileName Output_5.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 7.00 GeV +/analysis/setFileName Output_7.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 7.00 GeV +/analysis/setFileName Output_7.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 7.00 GeV +/analysis/setFileName Output_7.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 7.00 GeV +/analysis/setFileName Output_7.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 7.00 GeV +/analysis/setFileName Output_7.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 7.00 GeV +/analysis/setFileName Output_7.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 7.00 GeV +/analysis/setFileName Output_7.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 7.00 GeV +/analysis/setFileName Output_7.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 7.00 GeV +/analysis/setFileName Output_7.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 7.00 GeV +/analysis/setFileName Output_7.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 9.00 GeV +/analysis/setFileName Output_9.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 9.00 GeV +/analysis/setFileName Output_9.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 9.00 GeV +/analysis/setFileName Output_9.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 9.00 GeV +/analysis/setFileName Output_9.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 9.00 GeV +/analysis/setFileName Output_9.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 9.00 GeV +/analysis/setFileName Output_9.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 9.00 GeV +/analysis/setFileName Output_9.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 9.00 GeV +/analysis/setFileName Output_9.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 9.00 GeV +/analysis/setFileName Output_9.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 9.00 GeV +/analysis/setFileName Output_9.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 12.00 GeV +/analysis/setFileName Output_12.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 12.00 GeV +/analysis/setFileName Output_12.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 12.00 GeV +/analysis/setFileName Output_12.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 12.00 GeV +/analysis/setFileName Output_12.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 12.00 GeV +/analysis/setFileName Output_12.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 12.00 GeV +/analysis/setFileName Output_12.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 12.00 GeV +/analysis/setFileName Output_12.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 12.00 GeV +/analysis/setFileName Output_12.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 12.00 GeV +/analysis/setFileName Output_12.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 12.00 GeV +/analysis/setFileName Output_12.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 15.00 GeV +/analysis/setFileName Output_15.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 15.00 GeV +/analysis/setFileName Output_15.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 15.00 GeV +/analysis/setFileName Output_15.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 15.00 GeV +/analysis/setFileName Output_15.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 15.00 GeV +/analysis/setFileName Output_15.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 15.00 GeV +/analysis/setFileName Output_15.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 15.00 GeV +/analysis/setFileName Output_15.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 15.00 GeV +/analysis/setFileName Output_15.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 15.00 GeV +/analysis/setFileName Output_15.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 15.00 GeV +/analysis/setFileName Output_15.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 20.00 GeV +/analysis/setFileName Output_20.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 20.00 GeV +/analysis/setFileName Output_20.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 20.00 GeV +/analysis/setFileName Output_20.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 20.00 GeV +/analysis/setFileName Output_20.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 20.00 GeV +/analysis/setFileName Output_20.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 20.00 GeV +/analysis/setFileName Output_20.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 20.00 GeV +/analysis/setFileName Output_20.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 20.00 GeV +/analysis/setFileName Output_20.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 20.00 GeV +/analysis/setFileName Output_20.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 20.00 GeV +/analysis/setFileName Output_20.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 25.00 GeV +/analysis/setFileName Output_25.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 25.00 GeV +/analysis/setFileName Output_25.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 25.00 GeV +/analysis/setFileName Output_25.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 25.00 GeV +/analysis/setFileName Output_25.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 25.00 GeV +/analysis/setFileName Output_25.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 25.00 GeV +/analysis/setFileName Output_25.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 25.00 GeV +/analysis/setFileName Output_25.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 25.00 GeV +/analysis/setFileName Output_25.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 25.00 GeV +/analysis/setFileName Output_25.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 25.00 GeV +/analysis/setFileName Output_25.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 30.00 GeV +/analysis/setFileName Output_30.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 30.00 GeV +/analysis/setFileName Output_30.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 30.00 GeV +/analysis/setFileName Output_30.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 30.00 GeV +/analysis/setFileName Output_30.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 30.00 GeV +/analysis/setFileName Output_30.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 30.00 GeV +/analysis/setFileName Output_30.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 30.00 GeV +/analysis/setFileName Output_30.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 30.00 GeV +/analysis/setFileName Output_30.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 30.00 GeV +/analysis/setFileName Output_30.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 30.00 GeV +/analysis/setFileName Output_30.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 40.00 GeV +/analysis/setFileName Output_40.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 40.00 GeV +/analysis/setFileName Output_40.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 40.00 GeV +/analysis/setFileName Output_40.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 40.00 GeV +/analysis/setFileName Output_40.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 40.00 GeV +/analysis/setFileName Output_40.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 40.00 GeV +/analysis/setFileName Output_40.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 40.00 GeV +/analysis/setFileName Output_40.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 40.00 GeV +/analysis/setFileName Output_40.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 40.00 GeV +/analysis/setFileName Output_40.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 +/run/initialize +/testem/gun/setDefault +/gun/particle e- +/gun/energy 40.00 GeV +/analysis/setFileName Output_40.00 +/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber +/analysis/h1/set 10 100 0 100 keV #K.E at exit of world +/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega +/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega +/analysis/h1/set 13 100 -4.00 4.00 mrad #projected angle at exit of world +/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world +/analysis/h1/set 15 100 0 44 mm #radius at exit of world +/run/beamOn 10000 diff --git a/Geant4/G4examples/extended/electromagnetic/G4TestEm5/Test/opt1NoApplyCuts/MacGen.py b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/Test/opt1NoApplyCuts/MacGen.py new file mode 100644 index 0000000000000000000000000000000000000000..5deb38e21fefd75e99601dec56077ab8d45b0a0a --- /dev/null +++ b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/Test/opt1NoApplyCuts/MacGen.py @@ -0,0 +1,11 @@ +import sys +n=int(sys.argv[1]) +macout=file('BruteForce.mac','w') +macout.write('/control/verbose 2 \n/run/verbose 2 \n/testem/det/setAbsMat Silicon \n/testem/det/setAbsThick 300 um \n/testem/det/setAbsYZ 42 mm \n/testem/phys/addPhysics emstandard_opt1nocuts \n/testem/phys/setCuts 5 mm \n') +Energies=[1,2,3,4,5,7,9,12,15,20,25,30,40] +Limits=[4.0,3.0,2.0,1.5,1.0,0.6,0.5,0.5,0.4,0.2,0.2,0.15,0.15] +for E in Energies: + j=0 + for i in range(0,n): + macout.write('/run/initialize \n/testem/gun/setDefault \n/gun/particle e- \n/gun/energy %.2f GeV \n/analysis/setFileName Output_%.2f \n/analysis/h1/set 1 100 0 100 keV #energy depostied in absorber \n/analysis/h1/set 10 100 0 100 keV #K.E at exit of world \n/analysis/h1/set 11 100 0 100 keV #Energy fluence dE/dOmega \n/analysis/h1/set 12 100 0.0 0.09 mrad #space angle dN/dOmega \n/analysis/h1/set 13 100 -%.2f %.2f mrad #projected angle at exit of world \n/analysis/h1/set 14 100 -14 14 nm #projected positon at exit of world \n/analysis/h1/set 15 100 0 44 mm #radius at exit of world \n/run/beamOn 10000 \n'%(E,E,Limits[j],Limits[j])) + j=j+1 diff --git a/Geant4/G4examples/extended/electromagnetic/G4TestEm5/Test/opt1NoApplyCuts/run.sh b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/Test/opt1NoApplyCuts/run.sh new file mode 100755 index 0000000000000000000000000000000000000000..302fe124b54293d5382a8b16ec1e41305b03348d --- /dev/null +++ b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/Test/opt1NoApplyCuts/run.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +n=$1 + +python MacGen.py $n +Binary=$(find ../.. -name "testEm5.exe") +echo $Binary +$Binary BruteForce.mac $n + + + diff --git a/Geant4/G4examples/extended/electromagnetic/G4TestEm5/cmt/copyPatchedSource.py b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/cmt/copyPatchedSource.py new file mode 100755 index 0000000000000000000000000000000000000000..0b69405f24de2e7534b7925c2e763e3e7c2c8059 --- /dev/null +++ b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/cmt/copyPatchedSource.py @@ -0,0 +1,105 @@ +#!/usr/bin/env python +# +# copyPatchedSource.py +# Author Nigel Watson 14 Feb 2012 +# +# Copy private G4 headers from package to install area +# +import os, sys, fnmatch, shutil + +def main(): +# Dir in which we keep updated source/headers. + # SRCNEW_Dir="../srcnew" + #SRCNEW_cross_sections_Dir = "../srcnew/cross_sections" +#11/2014 SRCNEW_diffraction_Dir="../srcnew/diffraction" +#11/2014 SRCNEW_management_Dir="../srcnew/management" + + +# Dir for original source +#11/2014 SRC_Dir="../hadronic/models/chiral_inv_phase_space/interface/src" +# Dir for original FTF source to be replaced +#11/2014 SRC_diffraction_Dir="../hadronic/models/parton_string/diffraction/src" +#11/2014 SRC_management_Dir="../hadronic/models/parton_string/management/src" + #SRC_cross_sections_Dir="../" +# Can we get cmt macro values in .python? +# Expanded by cmt to be $(GEANT4_home)/$(GEANT4_installarea_prefix)/include +# INSTALLAREA_project=os.environ['GEANT4_install_include'] +# INSTALLAREA_package=os.environ['G4PROCESSESROOT']+'/G4processes' + #INSTALLAREA_project = "../../../InstallArea/include" + #INSTALLAREA_package = "../G4processes" + +#$(G4processes_root)/G4processes + +# Find any files in the srcnew dir (CHIPS cross-section fixes) +#11/2014 for newfile in os.listdir(SRCNEW_Dir): +#11/2014 if fnmatch.fnmatch(newfile, '*.hh'): +#11/2014#Replace old headers in install areas with new. +#11/2014 fname = os.path.join(SRCNEW_Dir, newfile) +#11/2014 shutil.copy2(fname,INSTALLAREA_project) +#11/2014 shutil.copy2(fname,INSTALLAREA_package) +#11/2014# Replace old .cc with new. +#11/2014 if fnmatch.fnmatch(newfile, '*.cc'): +#11/2014 fname = os.path.join(SRCNEW_Dir, newfile) +#11/2014 shutil.copy2(fname,SRC_Dir) + + +#11/2014# Find any files in the srcnew dir (FTF mass problem fixes) +#11/2014 for newfile in os.listdir(SRCNEW_diffraction_Dir): +#11/2014# Only .cc to replace for FTF fix. +#11/2014# if fnmatch.fnmatch(newfile, '*.hh'): +#11/2014#Replace old headers in install areas with new. +#11/2014# fname = os.path.join(SRCNEW_Dir, newfile) +#11/2014# shutil.copy2(fname,INSTALLAREA_project) +#11/2014# shutil.copy2(fname,INSTALLAREA_package) +#11/2014# Replace old .cc with new. +#11/2014 if fnmatch.fnmatch(newfile, '*.cc'): +#11/2014 fname = os.path.join(SRCNEW_diffraction_Dir, newfile) +#11/2014 shutil.copy2(fname,SRC_diffraction_Dir) + +#11/2014# Find any files in the srcnew dir (string max. retries problem fixes) +#11/2014 for newfile in os.listdir(SRCNEW_management_Dir): +#11/2014# Only .cc to replace for max. retries fix. +#11/2014# if fnmatch.fnmatch(newfile, '*.hh'): +#11/2014#Replace old headers in install areas with new. +#11/2014# fname = os.path.join(SRCNEW_Dir, newfile) +#11/2014# shutil.copy2(fname,INSTALLAREA_project) +#11/2014# shutil.copy2(fname,INSTALLAREA_package) +#11/2014# Replace old .cc with new. +#11/2014 if fnmatch.fnmatch(newfile, '*.cc'): +#11/2014 fname = os.path.join(SRCNEW_management_Dir, newfile) +#11/2014 shutil.copy2(fname,SRC_management_Dir) + +# Find any files in the srcnew dir (fixes missing assert in LHCb CLHEP version) + #for newfile in os.listdir(SRCNEW_cross_sections_Dir): +# Only .cc to replace for CLHEP fix. +# if fnmatch.fnmatch(newfile, '*.hh'): +#Replace old headers in install areas with new. +# fname = os.path.join(SRCNEW_Dir, newfile) +# shutil.copy2(fname,INSTALLAREA_project) +# shutil.copy2(fname,INSTALLAREA_package) +# Replace old .cc with new. + # if fnmatch.fnmatch(newfile, '*.cc'): + # fname = os.path.join(SRCNEW_cross_sections_Dir, newfile) + # shutil.copy2(fname,SRC_cross_sections_Dir) + +#========================================TESTEM3 PRIVATE SRC COPYING======================================== + SRCNEW_DIR="../srcnew/src/" + MAINFILE="../srcnew/TestEm5.cc" + MAINDEST="../" + SRC_DIR="../src/" + INCNEW_DIR="../incnew/" + INC_DIR="../include/" + + + for privatesource in os.listdir(SRCNEW_DIR): + if privatesource!='.svn': + fname=os.path.join(SRCNEW_DIR,privatesource) + shutil.copy2(fname,SRC_DIR) + for privateinclude in os.listdir(INCNEW_DIR): + if privateinclude!='.svn': + fname=os.path.join(INCNEW_DIR,privateinclude) + shutil.copy2(fname,INC_DIR) + shutil.copy2(MAINFILE,MAINDEST) + +if __name__ == "__main__": + main() diff --git a/Geant4/G4examples/extended/electromagnetic/G4TestEm5/cmt/requirements b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/cmt/requirements new file mode 100755 index 0000000000000000000000000000000000000000..1df27ba3dfbbce65ae7f5fa25f1ec46fb54eba3e --- /dev/null +++ b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/cmt/requirements @@ -0,0 +1,45 @@ +package G4TestEm5 + +version v5r0 +branches cmt doc scripts + +################################################## +# Package to run extended Geant4 example TestEm5 # +################################################## + +use G4physics_lists v* Geant4 +use G4analysis v* Geant4 +use G4LHCblists v* Geant4 +use ROOT v* LCG_Interfaces + +include_dirs ../include + +#------ Example TestEm5- ------- + +#------ Building the library ------- + +macro_append ROOT_linkopts " -lHist" + +library G4TestEm5 $(G4LibraryFlags) ../src/*.cc +apply_pattern linker_library library=G4TestEm5 + +#------ Building the application --- + +application testEm5 ../TestEm5.cc + +#======================================================================== + +private +apply_pattern G4_copy_examples_source +macro_append testEm5_dependencies " G4TestEm5 " +end_private + + + + + + + + + + diff --git a/Geant4/G4examples/extended/electromagnetic/G4TestEm5/doc/History b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/doc/History new file mode 100644 index 0000000000000000000000000000000000000000..c3076aaa29b3ed6baf65397473cefc26b427c0ec --- /dev/null +++ b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/doc/History @@ -0,0 +1,544 @@ +$Id: History,v 1.129 2011-01-05 19:02:39 vnivanch Exp $ +---------------------------------------------------- + + ========================================================= + Geant4 - an Object-Oriented Toolkit for Simulation in HEP + ========================================================= + + TestEm5 History file + ------------------------ +This file should be used by the G4 example coordinator to briefly +summarize all major modifications introduced in the code and keep +track of all tags. + + ---------------------------------------------------------- + * Reverse chronological order (last date on top), please * + ---------------------------------------------------------- + +15-11-12 I. Hrivnacova (testem5-V09-05-12) +- Synchronized .README with changes in README + +08-11-12 V.Ivant (testem5-V09-05-11) +- Fixed README and pixe.mac + +19-10-12 mma (testem5-V09-05-10) +- PhysListEmStandard: use G4UrbanMsc96 + +12-10-12 V.Ivant (testem5-V09-05-09) +- Migration to the updated analysis tool and explicit units +- RunAction - by default do not save random number for each event + -because it is a serious overhead in CPU performance + +11-10-12 mma (testem5-V09-05-08) +- PhysicsList: add EM option4 + +24-09-12 V.Ivant (testem5-V09-05-07) +- Added code cleanup and protections against division by zero + +23-08-12 mma (testem5-V09-05-06) +- HistoManager functionalities transfered to G4Analysis and its messenger. + - Need analysis-V09-05-09 + - all userAction classes and all macros affected + +20-05-12 SI (testem5-V09-05-05) +- added fluo.mac + +02-04-12 mma (testem5-V09-05-04) +- all classes : apply G4 coding conventions + +04-03-12 mma (testem5-V09-05-03) +- HistoManager.hh and .cc : migrate to new g4tools histogramming system + Do not need aida anymore, nor G4ANALYSIS_USE +- HistoMessenger.hh and .cc : suppress fileType command +- Update Readme and all macros accordingly + +09-02-12 V.Ivant (testem5-V09-05-02) +- PhysListEmStandardSSM - added alternative single scattering models + +09-02-12 V.Ivant (testem5-V09-05-01) +- PhysListEmStandardWVI,PhysListEmStandardSS - more correct process + order and WVI model + +05-02-12 mma (testem5-V09-05-00) +- new histograms --> modify numbering : + 2 "energy of charged secondaries at creation" + 3 "energy of neutral secondaries at creation" + 4 "energy of charged at creation (log10(Ekin/MeV))" + 5 "energy of neutral at creation (log10(Ekin/MeV))" + 6 "x_vertex of charged secondaries (all)" + 7 "x_vertex of charged secondaries (not absorbed)" + +09-11-11 SI (testem5-V09-04-13) +- added Auger production in pixe.mac + +09-11-11 SI (testem5-V09-04-12) +- added atomic dex. UI control per region in pixe.mac + +08-11-11 mma (testem5-V09-04-11) +- modify SteppingVerbose for OutOfWorld + +31-10-11 mma (testem5-V09-04-10) +- PhysListEmStandard : msc95 by default + +03-06-11 mma (testem5-V09-04-09) +- PhysListEmStandard migrated to the new approach based on G4PhysicsListHelper + +30-05-11 mma (testem5-V09-04-08) +- DetectorConstruction : for Water, set I = 78 eV (instead of 75 eV) + +12-05-11 mma (testem5-V09-04-07) +- add pixe.mac and pixe.C + +08-04-11 mma (testem5-V09-04-06) +- PhysicsList : set back default lowest production cut (990 eV) +- update PhysListEmStandard for msc95 and deexcitation (see ref-03) + +22-03-11 V.Ivant (testem5-V09-04-05) +- PhysListEmStandardWVI - fixed memory corruption + +21-03-11 mma (testem5-V09-04-04) +- update PhysListEmStandard for deexcitation +- PhysicsList : set lowest production cut to 100 eV + +15-03-11 mma (testem5-V09-04-03) +- put data for hanson.mac + +20-02-11 mma (testem5-V09-04-02) +- update vis.mac +- update SteppingVerbose + +29-01-11 mma (testem5-V09-04-01) +- Add gammaSpectrum.mac --> fluorescence in emstandard + +05-01-11 V.Ivant (testem5-V09-04-00) +- Minor cleanup of SS physics constructor + +19-11-10 V.Ivant (testem5-V09-03-04) +- Added ion scattering model to SS and WVI Physics constructors + +09-11-10 M.Asai (testem5-V09-03-03) +- Fix AIDA file option. + +06-06-10 J.Perl (testem5-V09-03-02) +- Remove unused variable in EventAction + +03-06-10 J.Perl (testem5-V09-03-01) +- Updated vis usage + +19-05-10 mma (testem5-V09-03-00) +- TestEm5.cc : introduction of G4UIExecutive + +15-11-09 mma (testem5-V09-02-07) +- PhysListEmStandard.cc (local): eMultipleScattering -> UrbanMscModel93 +- new local physics list : PhysListEmStandardGS +- PhysicsList : remove G4EmConfigurator + +18-09-09 mma (testem5-V09-02-06) +- PhysicsList.cc : + renamed "standard" -> "local"; "emstandard" -> "emstandard_opt0" +- updated README and macro files + +26-06-09 V.Ivant (testem5-V09-02-05) +- fixed compillation problem of the previous tag + +25-06-09 V.Ivant (testem5-V09-02-04) +- PhysicsList - removed obsolete low-energy EM builders + +18-06-09 V.Ivant (testem5-V09-02-03) +- RunAction - fixed output of mean scattering angle +- PhysicsList - added "standardGS" option - use GoudsmitSaunderson + msc model; substitute low-energy builders by builders from + physics_list library + +06-03-09 mma (testem5-V09-02-02) +- rm command "/testem/phys/cutLimit" already in /cuts/setLowEdge +- PhysicsList::SetCuts() : rm SetEnergyRange(1*eV,100*GeV) + +22-02-09 mma (testem5-V09-02-01) +- PhysicsList: code cleanup + +22-01-09 V.Ivant (testem5-V09-02-00) +- added command "/testem/phys/cutLimit" allowing to change low limit for + production threshold +- added notification to G4RunManager when geometry or material are + modified between runs +- added PAI models configuration to Physics List +- extended number of runs in TestEm5.in +- use Opt3 Physics List in TestEm5.in + +21-01-09 vi +- PhysicsList::SetCuts() : SetEnergyRange(1*eV,100*GeV) +- add blaha.mac + +16-11-08 mma (testem5-V09-01-13) +- Em options: 20bins/decade LinLossLimit=default=0.01 + +11-11-08 mma (testem5-V09-01-12) +- update PhysListEmStandardSS + +31-10-08 mma (testem5-V09-01-11) +- Use G4hMultipleScattering for muons and protons +- Modify EM options + +23-10-08 mma (testem5-V09-01-10) +- update PhysListEmStandard and README + +16-10-08 V.Ivant (testem5-V09-01-09) +- Removed temporary builder PhysListEmStandardIG + +12-09-08 mma (testem5-V09-01-08) +- HistoManager.cc : change default histo format + +28-08-08 mma (testem5-V09-01-07) +- TrackingAction.cc : reset id=0 between blocks + +23-08-08 mma (testem5-V09-01-06) +- HistoManager.cc : add missing comma in title array. +- TrackingAction.cc : use vertex position to help to define transmit + +12-06-08 mma (testem5-V09-01-05) +- Remove AIDA from GNUmakefile + +06-05-08 mma (testem5-V09-01-04) +- PhysListEmStandard : add spline option for physics tables +- README : update Aida informations + +11-04-08 mma +- HistoManager::Scale() : suppress warning + +07-04-08 mma (testem5-V09-01-03) +- PhysicsList : add emstandard_opt3 +- PhysListEmStandard : replace G4MultipleScattering by G4eMultipleScattering +- HistoManager::saveAscii() : redefinition of binEdge + +17-03-08 mma (testem5-V09-01-02) +- macro TestEm5.in : physics list emstandard_opt2 + +14-01-08 mma (testem5-V09-01-01) +- normalize histo 1 +- new subdirectory berger : berger.kumac, berger.C, 530um.ascii + +19-12-07 mma (testem5-V09-01-00) +- PhysListEmStandard.cc : select G4hMultipleScattering for muon and proton +- subdirectory mumsc : mumsc.kumac, deviation.ascii + +3-12-07 mma (testem5-V09-00-08) +- subdirectory tramu : data mars14.ascii, macros tramu.kumac and tramu.C + +30-11-07 mma +- HistoManager: add function Scale(). + ascii[0] = flag to control creation of .ascii file +- RunAction: normalize histo 10 (--> tramu.mac) +- add subdirectory tramu + +28-11-07 mma (testem5-V09-00-07) +- TrackingAction: new histos (4 and 5) to plot vertex position of secondaries + +21-11-07 mma (testem5-V09-00-06) +- RunAction: compute and print energy leakage and energy balance + +19-11-07 V.Ivant (testem5-V09-00-05) +- Fixed usage of elstic builders + +16-11-07 mma (testem5-V09-00-04) +- PhysListEmStandard : PhysicsTables set with 100 bins per decade (EmOptions) + +13-11-07 V.Ivant (testem5-V09-00-03) +- added PhysListEmStandardIG experimental PhysList + +12-11-07 mma (testem5-V09-00-02) +- HistoManager/HistoMessenger : print selected histos on ascii file + +31-07-07 mma (testem5-V09-00-01) +- new histogram numbering (see README). Change all macros acording to. +- idem in geant3 +- reordering processes in PhysListEmStandardSS + +05-07-07 mma (testem5-V09-00-00) +- histos 17->20 : energy fluence + +22-06-07 mma (testem5-V08-03-01) +- more options in PhysListEmStandard +- cosmetic in TestEm5.cc + +16-05-07 V.Ivant (testem5-V08-03-00) +- Fixed bug in standardSS Physics Lists +- Added EM builders from physics_lists library + +20-03-07 V.Ivant (testem5-V08-02-00) +- Use all default values in default PhysList +- Use hadronic builders from physics_lists library + +06-11-06 mma (testem5-V08-01-02) +- remove PhysicsLists g4v52 and g4v71 + +25-09-06 mma (testem5-V08-01-01) +- StackingAction: more options for killSecondaries + +10-08-06 V.Ivant (testem5-V08-01-00) +- Add NIST materials +- Add "standardSS" physics - single scattering instead of multiple + +29-06-06 mma +- PhysicsList::ConstructProcess() : mv AddDecay() after EmProcess + +02-06-06 mma (testem5-V08-00-04) +- SteppingAction. prePoint->GetTouchableHandle()->GetVolume() + +30-05-06 mma (testem5-V08-00-03) +- SteppingAction. prePoint->GetTouchable()->GetVolume() +- RunAction. Msc proj angle : compute rms of central part only +- new macros for e- backscattering : acosta.mac tavora.mac + +19-05-06 mma (testem5-V08-00-02) +- update README +- count energy of killed secondaries +- print full dEdx + +29-03-06 mma (testem5-V08-00-01) +- TrackingAction: more precise definition of transmit and reflect + +28-03-06 mma (testem5-V08-00-00) +- add livermore physicsList + +20-03-06 mma +- migration mum -> um in many macros +- complete penelope physicsList + +09-12-05 mma +- TestEm5.in : change Si sizes (20mum * 50mum) to better drawing + +06-12-05 Gabriele Cosmo +- Trivial changes for support of CLHEP-2.0.X series. + +02-12-05: V.Ivant (testem5-V07-01-03) +- Fix crash connected with non-static hadrons + +22-11-05 mma (testem5-V07-01-02) +- update README for OpenScientist + +14-11-05 Gabriele Cosmo (testem5-V07-01-01) +- Migration to <sstream> for HistoMessenger. + +07-10-05 mma (testem5-V07-01-00) +- create PhysListEmG4v71 (g4v71) for G4MultipleScattering71 + +01-06-05 mma (testem5-V07-00-02) +- PhysListEmG4v52 : old photon processes marked as 52 (and eplusAnnihilation) +- HistoManager : option "--noErrors" for hbook + +3rd May 2005 John Allison (examples-V07-00-03) +- Replaced vis manager with G4VisExecutive. + +16-03-05 mma(testem5-V07-00-01) +- remove He3 and ionC12 from predefined particles. +- remove IonC12 class +- PhysListEmStandard : treat alpha as GenericIon +- IonBinaryCascade : remove He3 and IonC12 (--> GenericIon) +- add PhysListEmPenelope + +02-03-05 mma (testem5-V07-00-00) +- HistoManager : - put a protection for the creation of analysis factory; + - file extension is fileType; +- HistoMessenger : new command setFileOption + +02 Dec 04: V.Ivant (testem5-V06-02-06) +- Migration to cmath + +22-11-04 mma (testem5-V06-02-05) +- change in call G4EmCalculator. Need utils-V06-02-16 + +24-09-04 mma (testem5-V06-02-04) +- define correctly all UI subdirectories. +- do not delete AnalysisFactory (for Jaida) +- add neutron.mac and hadron.mac + +23-09-04 V.Ivant (testem5-V06-02-03) +- Fix compilation problem for 2.95.2 (include <memory>) + +07-09-04 V.Ivant (testem5-V06-02-02) +- Fix problem of PhysicsList for hadrons +- Remove deletion of histo factories, add auto_ptr + +07-09-04 V.Ivant (testem5-V06-02-01) +- fix a minor problem is energy deposit + +28-07-04 mma (testem5-V06-02-00) +- print stopping power. +- example of use of G4EmCalculator. +- add dedx1.mac and dedx2.mac + +21-06-04 mma (testem5-V06-01-04) +- simplifications in HistoManager. + +16-06-04 mma (testem5-V06-01-03) +- print rms of projected angle at exit if histo=6 selected. + +10-06-04 mma (testem5-V06-01-02) +- modify HistoManager and its Messenger in order to allow a multirun job. + +29-04-04 mma (testem5-V06-01-01) +- add physicsLists: HadronElastic, BinaryCascade, IonBinaryCascade (Ivanch.) +- rm physicsLists: Particles, General + +31-03-04 mma (testem5-V06-01-00) +- identical to V06-00-01 + +17-03-04 mma (testem5-V06-00-01) +- new macro dedx.mac +- sign corrected in ComputeMscHighland() + +19-02-04 mma (testem5-V06-00-00) +- modify histo 7 : projected position at exit +- RunAction: remove UI commands for visualisation +- RunAction: add a function ComputeMscHighland() + +25-11-03 V.Ivanchenko (testem5-V05-02-06) +- Fix geometry (G.Cosmo) + +13-11-03 John Allison +- Removed OPACS from Vis Manager. + +27-10-03 mma (testem5-V05-02-05) +- TestEm5.in : units mum instead of um + +24-10-03 mma (testem5-V05-02-04) +- PhysListEmStandard: AddProcess(Bremsstrahlung,-1,3,3) ..etc.. + +07-10-03 mma (testem5-V05-02-03) +- migration em STD -> em standard + +12-09-03 V.Ivant (testem5-V05-02-02) +- No AIDA histograms by default + +27-08-03 V.Ivant (testem5-V05-02-01) +- Replace obsolete interface to GetRange + +11-08-03 mma (testem5-V05-02-00) + +12-07-03 mma +- suppresion of Em5 in the class names. +- suppresion of sensitive detector and hits. +- EmPhysicsList : SetFacRange in multiple scattering +- new classes HistoManager, TrackingAction, StackingAction in order + to book and fill histograms. +- new UI command setHisto to control the binning of histograms. +- more histos and new numbering scheme : see README +- StackingAction and its messenger : possibility to kill secondaries. +- DetectorConstruction::DefineMaterials() invoked in constructor. + The UI commands /testem/det work in preInit state as well in Idle. +- all macros updated and renamed according to authors of experimental results. +- replace G4NOHIST by G4ANALYSIS_USE +- adapt geant3 + +06-06-03 mma (testem5-V05-01-01) +- new histogram (ID=11) for the projeted angle at exit. + In geant3 as well. Bug corrected in gustep. +- new macros for multiple Scattering tests: run61,71,81,91 +- proper deletion of old geometry when it is updated. +- fix compilation warnings. + +30-04-03 mma (testem5-V05-01-00) +- modular PhysicsList +- class StepCut becomes StepMax (as in TestEm7) + +17-04-03 V.Ivant (testem5-V05-00-06) +- Fix crash out of WorldVolume + +01-04-03 mma (testem5-V05-00-05) +- PVPlacement in logical mother + +06-03-03 mma (testem5-V05-00-03) +- PhysicsList::SetCuts : suppress cutForProton + +20-02-03 V.Ivant (testem5-V05-00-02) +-migration to cut per region + +12-02-03 mma (testem5-V05-00-01) +- add a blank in SteppingVerbose + +16-12-02 mma (testem5-V05-00-00) +-new UI directory /testem/ + +12-12-02 mma (testem5-V04-01-01) +-migration to aida 3.0 + +08-08-02 mma (testem5-V04-01-00) +-in RunAction: bookHisto() only at runID=0 +-in PhysicsList::SetMaxStep() : "Length" + +06-06-02 mma (testem5-V04-00-03) +-old histograming package clhep/hist replaced by AIDA 2.2/anaphe. See README + +08-03-02 mma (testem5-V04-00-01) +- PhysicsList: uniformisation of the setG(E)Cut commands + +06-02-02 mma (testem5-V04-00-00) + +06-12-01 mma +- In PrimaryGeneratorAction, possibility to randomize the beam spot +- command /gun/rndm in PrimaryGeneratorMessenger +- similar functionality in geant3: gukine.F + +28-11-01 mma (testem5-V03-02-02) +- EventAction: DrawTrack "none" +- small change in vis.mac +- suppression of the rndm commands, now managed by G4RunManager: + --> RunAction, RunActionMessenger, EventAction. + +05-11-01 mma (testem5-V03-02-01) +- mods in TestEm3.cc: the initialisation and vis initialisation are + not done by default. --> inserted /run/initialize in all macros. +- To get visualisation: > /control/execute vis.mac + + +19-10-01 Steve O'Neale (examples-V03-02-00) +- Update reference output + +16-10-01 mma (testem5-V03-02-00) +- removal of G4RW header (EventAction.cc) +- new vis commands (init.mac) +- 80 columns everywhere + +27-03-01 mma (testem5-V03-00-04) +- set cppflag G4NOHIST = true in gnumakefile + +21-02-01 mma (testem5-V03-00-03) +- hbook histograms restored + +20-02-01 mma (testem5-V03-00-02) +- verbose stepping adapted for STL +- save rndm at begin of event + +09-01-01 mma +- modified Em5PhysicsList and Em5StepCut in order to make the + command /step/setMaxStep working + +07-12-00 mma (testem5-V02-00-03 & testem-noHist) +- remove hbook histograms: GNUmakefile,runAction + +06-12-00 mma (testem5-V02-00-02 & testem-withHist) +- update of init.mac for new vis commands. +- G4UItcsh in the main() + +25th November 2000 Steve O'Neale (tagset210) +- update test outputs for min.delta energy cut and cut table +- Change in processes below ~ 1 per cent. + +June 17, 2000 John Allison (testem5-V01-00-00) +- Updated TestEm5.out for geant4-01-01-ref-06. + +17-01-00 cppflag G4NOHIST to protect hbook histograms. +- new histo: normalizsed distribution of energy deposit. +- new materials (mainly gas) + +12-10-99 moved to examples/extended/electromagnetic/TestEm5 + +09-08-99 commands for save/read Rndm status + +07-07-99 Michel Maire +- (re)introduce visualisation. +- TestEm5 looks like TestEm1 and TestEm3 + +April 09, 98 G. Cosmo +- Created. diff --git a/Geant4/G4examples/extended/electromagnetic/G4TestEm5/doc/README b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/doc/README new file mode 100644 index 0000000000000000000000000000000000000000..f547cfaed31b6a77b7313e0f12ce6e4f28c04df2 --- /dev/null +++ b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/doc/README @@ -0,0 +1,188 @@ +$Id: README,v 1.26 2009-09-18 14:03:24 maire Exp $ +----------------------------------------------------- + + ========================================================= + Geant4 - an Object-Oriented Toolkit for Simulation in HEP + ========================================================= + + TestEm5 + ------- + How to study the transmission, absorption and reflexion of particles through + a single, thin or thick, layer of material. + In particular, the effects of the multiple scattering can be ploted. + + 1- GEOMETRY DEFINITION + + The "absorber" is a box made of a given material. + + Three parameters define the absorber : + - the material of the absorber, + - the thickness of an absorber, + - the transverse size of the absorber (the input face is a square). + + A volume "World" contains the "absorber". + + In addition a transverse uniform magnetic field can be applied. + + The default geometry is constructed in DetectorConstruction class, but all the + parameters can be changed via commands defined in the DetectorMessenger class. + The parameters of the "World" can be changed, too. However, if World material + is not set to vacuum, the plots 10->43 below may be not pertinent. + + 2- PHYSICS LIST + + Physics lists can be local (eg. in this example) or from G4 kernel + physics_lists subdirectory. + + Local physics lists: + - "local" standard EM physics with current 'best' options setting. + these options are explicited in PhysListEmStandard + - "standardSS" standard EM physics with single Coulomb scattering + instead of multiple scattering + + From geant4/source/physics_lists/builders: + - "emstandard_opt0" recommended standard EM physics for LHC + - "emstandard_opt1" best CPU performance standard physics for LHC + - "emstandard_opt2" + - "emstandard_opt3" best standard EM options - analog to "local" above + - "emstandard_opt4" best current advanced EM options standard + lowenergy + - "emlivermore" low-energy EM physics using Livermore data + - "empenelope" low-energy EM physics implementing Penelope models + + Physics lists and options can be (re)set with UI commands + + Please, notice that options set through G4EmProcessOPtions are global, eg + for all particle types. In G4 builders, it is shown how to set options per + particle type. + + + 3- AN EVENT : THE PRIMARY GENERATOR + + The primary kinematic consists of a single particle which hits the absorber + perpendicular to the input face. The type of the particle and its energy are + set in the PrimaryGeneratorAction class, and can be changed via the G4 build-in + commands of G4ParticleGun class (see the macros provided with this example). + + In addition one can choose randomly the impact point of the incident particle. + The interactive command is built in PrimaryGeneratorMessenger class. + + 4- VISUALIZATION + + The Visualization Manager is set in the main(). + The initialisation of the drawing is done via the commands in vis.mac + In interactive session: + PreInit or Idle > /control/execute vis.mac + + The example has a default view which is a longitudinal view of the detector. + + The tracks are drawn at the end of event, and erased at the end of run. + Optionaly one can choose to draw all particles, only the charged, or none. + This command is defined in EventActionMessenger class. + + 5- TRACKING + + During the tracking, one can keep or not the secondaries : see StackingAction + class and its Messenger (StackingMessenger). + One can also limit 'by hand' the step lenght of the particle. As an example, + this limitation is implemented as a 'full' process : see StepMax class and its + Messenger. The 'StepMax process' is registered in the Physics List. + + 6- DETECTOR RESPONSE + + At the end of a run, from the histogram(s), one can study different + physics quantities such as : + - energy deposit in the absorber, + - energy spectrum of secondaries at creation, + - energy spectrum and angle distribution of particles at exit, + - transmission and backscattering coefficients, + - ... + + 7- List of the built-in histograms + ---------------------------------- + + The test contains more than 20 built-in 1D histograms, which are managed by + G4AnalysisManager class and its Messenger. The histos can be individually activated + with the command : + /analysis/h1/set id nbBins valMin valMax unit + where unit is the desired unit for the histo (MeV or keV, deg or mrad, etc..) + (see the macros xxxx.mac). + + 1 "energy deposit in absorber" + 2 "energy of charged secondaries at creation" + 3 "energy of neutral secondaries at creation" + 4 "energy of charged at creation (log10(Ekin))" + 5 "energy of neutral at creation (log10(Ekin))" + 6 "x_vertex of charged secondaries (all)" + 7 "x_vertex of charged secondaries (not absorbed)" + 10 "(transmit, charged) : kinetic energy at exit of world" + 11 "(transmit, charged) : ener fluence: dE(MeV)/dOmega" + 12 "(transmit, charged) : space angle dN/dOmega" + 13 "(transmit, charged) : projected angle at exit of world" + 14 "(transmit, charged) : projected position at exit of world" + 15 "(transmit, charged) : radius at exit of world" + 20 "(transmit, neutral) : kinetic energy at exit of world" + 21 "(transmit, neutral) : ener fluence: dE(MeV)/dOmega" + 22 "(transmit, neutral) : space angle dN/dOmega" + 23 "(transmit, neutral) : projected angle at exit of world" + 30 "(reflect , charged) : kinetic energy at exit of world" + 31 "(reflect , charged) : ener fluence: dE(MeV)/dOmega" + 32 "(reflect , charged) : space angle dN/dOmega" + 33 "(reflect , charged) : projected angle at exit of world" + 40 "(reflect , neutral) : kinetic energy at exit of world" + 41 "(reflect , neutral) : ener fluence: dE(MeV)/dOmega" + 42 "(reflect , neutral) : space angle dN/dOmega" + 43 "(reflect , neutral) : projected angle at exit of world" + + The histograms can be viewed using ROOT or PAW. + + One can control the name of the histograms file with the command: + /analysis/setFileName name (default testem5) + + It is possible to choose the format of the histogram file : root (default), + hbook, xml, csv, by using namespace in HistoManager.hh + + It is also possible to print selected histograms on an ascii file: + /analysis/h1/setAscii id + All selected histos will be written on a file name.ascii (default testem5) + + Using hbook format + ------------------ + + Need a special treatement : the Cern Library must be installed and the + environment variable CERNLIB correctly set. Then, *before* compiling, + activate G4_USE_HBOOK in GNUmakefile and g4hbook.hh in HistoManager.hh + + 8- GEANT4/GEANT3/DATA COMPARISON + + A Geant4/Geant3/exp. data comparison is given here for a few cases. + These cases can be classified as follow: + - e-/e+ incident particles versus protons and others. + - 3 energy regimes: low: < 1MeV; medium: 1MeV -> few 10MeV; high: > 100MeV + + We indicate here the corresponding macros. + + | low energy | medium energy | high energy + -------------------------------------------------------- + | acosta.mac | | + e-+ | berger.mac | hanson.mac | + | hunger.mac | kulchi.mac | + | tavola.mac | | + -------------------------------------------------------- + others| bichsel.mac | vincour.mac | shen1.mac shen2.mac + | | gottsch.mac | tramu.mac + -------------------------------------------------------- + + The relevant part of the GEANT3 code is in the subdirectory geant3 together + with the xxxx.dat input files. + + 9- HOW TO START ? + + - execute TestEm5 in 'batch' mode from macro files e.g. + % $(G4INSTALL)/bin/$(G4SYSTEM)/TestEm5 myMacro.mac + + - execute TestEm5 in 'interactive' mode with visualization e.g. + % $(G4INSTALL)/bin/$(G4SYSTEM)/TestEm5 + Then type your commands, for instance : + Idle> control/execute vis.mac + Idle> run/beamOn 5 + .... diff --git a/Geant4/G4examples/extended/electromagnetic/G4TestEm5/doc/references.txt b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/doc/references.txt new file mode 100644 index 0000000000000000000000000000000000000000..fa2ee35bb8f341930d312da1ba724b8fcdc3399b --- /dev/null +++ b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/doc/references.txt @@ -0,0 +1,92 @@ + + Angle distribution data + + 1. A.0.Hanson et al. Phys.Rev. 84, 634.(1951) + 15.7 MeV e-, thin Au and Be foils, + angle distribution (with tails!) + 2. L.A.Kulchitsky, G.D.Latyshev Phys.Rev. 61, 254. (1942) + 2.25 MeV e-, different targets + theta0 of the angle distribution, no tails + 3. H.Bichsel Phys.Rev. 112, 182. (1958) + few MeV protons, diff. targets, theta0 + 4. B.Gottschalk et al. NIM B74, 467 (1993) + 158.6 MeV protons, diff. targets and thicknesses + theta0 of the angle distribution + 5. E.V.Hungerford et al. Nucl. Phys. A197, 515 (1972) + 600 MeV protons, diff. targets, angle distributions + (small angle) + 6. J.Vincour and P.Bem, NIM 148, 399 (1978) + 6-12 MeV p and d, silicon, angle distributions + (small angle) + 7. B.W.Mayes et al. Nucl.Phys. A230, 515 (1974) + 200 - 300 MeV/c pi+, different targets, thicknesses + theta0x,y (projected angle, small angles) + 8. S.A. Akimenko et al. NIM A243, 518 (1986) + 7.3 and 11.7 GeV/c muons, Cu target + angle distr. (small angles) + 9. C.Michelet et al. NIM B181, 157 (2001) + 2.5 MeV p and alpha, lateral distr. after mylar foils + + Transmission, backscattering, dose, energy deposit etc. + + 9. S.M. Seltzer and M.J.Berger + NIM 119, 157 (1974) + Monte Carlo + a lot of exp. data with references! + transmission coeff, angle and energy distr. of + transmitted electrons, reflection coeff, + angle distr. of reflected electrons, + energy deposit as a function of depth, + 10. D.H.Rester and J.H. Derrickson + J.Appl.Phys. 12, 714 (1971) + transmission of 1 MeV and 2.5 MeV e-,Al,Au + energy and angle distr. ot transmitted particles + 11. D.H.Rester and J.H. Derrickson + NIM 86, 261 (1970) + 1 MeV e- , backscattering, diff. targets + energy and angular distr. of backscattered particles + 12. J.Jakschik and K.P. Jungst + NIM 79 , 240 (1970) + backscattering of 250/500 keV e- from THIN targets(Al) + backsc.coeff.,energy spectra of backscattered particles, + angle distr. of backscattered particles + 13. H.H.Seliger Phys.Rev. 100, 1029 (1955) + transmission of e-/e+ 159-960 keV, diff. materials/thicknesses + transm. coeff. + 14. H.J.Hunger and L.Kuchler Phys.Stat.Sol.(a) 56, K45 (1979) + e- backscatt. coeffs , 4-40 keV, Z=5-92 (numbers!) + 15. T.Tabata et al. NIM 94, 509 (1971) + empirical formula for e- backscattering, + comparison with data+references + 16. V.A.Kuzminikh et al. NIM 118, 269 (1974) + empirical formula for e+ backscattering , comparison with data + 0.1-20 MeV, arbitrary Z + it claims : tis formula is better than Tabata's + 17. E.H.Darlington J.Phys.D:Appl.Phys. 8, 85 (1975) + backscattering of 10-100keV e- from diff.targets, + backsc.coeff.+energy spectrum + 18. G.Neubert,S.Rogaschewsky Phys.Stat.Sol(a) 59, 35 (1980) + 15-60 keV e- backscattering,diff. angles of incidence + and diff. targets + 19. P.G.Coleman et al. J.Phys: Condens.Matter 4, 10311(1992) + 1 - 50 keV e+ backscattering, diff. angles of incidence, + diff. targets , bs coeffs(numbers!). + 20. G.R.Massoumi et al. Phys.Rev. B 47, 11007(1993) + e-/e+ bs, T < 100 keV,very detailed MC calculation + data + 21. H.Bichsel + Rev.Mod.Phys. 60, 663 (1988) + Energy deposit in Si detectors (e+-,p,pi, diff.energies/ + detector thicknesses) + 22. M.J.Berger et al. NIM 69, 181(1969). + Energy deposit of 250 keV - 1 MeV e- in Si counters, + energy deposit distributions + (sigma noise + en.cut in detectors included!) + 23. S.Kuhn et al. NIM B4 332 (1984) + Multiple scattering of protons in thick gas targets + ( lateral distribution of few MeV protons after 1.5 m gas) + 24. S.M.Seltzer and M.J.Berger + Energy deposition by electron,Bremsstrahlung and 60Co gamma-ray + beams in multi-layer media + Appl.Radiat.Isot. Vol.38 (1987) 349. + 25. R.Shimizu et al. J.Phys.D: Appl.Phys. 9.(1976) 101. + Transmission of 20 keV e- through very thin Al layers + (d = 320 and 1040 nanometer!) diff --git a/Geant4/G4examples/extended/electromagnetic/G4TestEm5/doc/release.notes b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/doc/release.notes new file mode 100644 index 0000000000000000000000000000000000000000..8ae85762037157ae5947d9623c25684926c8123b --- /dev/null +++ b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/doc/release.notes @@ -0,0 +1,8 @@ +!----------------------------------------------------------------------------- +! Package : G4TestEm5 +! Responsible : Timothy Williams +! Purpose : Standalone Geant4 example used to test and validate multiple cattering +!----------------------------------------------------------------------------- + +! 2015-05-12 - Timothy Williams + - First Commit, validation test of multiple scattering. Produces plots of MSc theta_0 parameter as function of energy. diff --git a/Geant4/G4examples/extended/electromagnetic/G4TestEm5/incnew/RMSPlotter.hh b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/incnew/RMSPlotter.hh new file mode 100644 index 0000000000000000000000000000000000000000..6d2155a724267544b451d56b8ca19dba7f3bab53 --- /dev/null +++ b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/incnew/RMSPlotter.hh @@ -0,0 +1,49 @@ +#ifndef INCLUDE_RMSPLOTTER_HH +#define INCLUDE_RMSPLOTTER_HH 1 +#include<vector> +#include"TGraphErrors.h" +#include"TH1D.h" +#include"TF1.h" +#include<map> +#include"TFitResultPtr.h" +struct DataPoint{ + double Energy; + double rms; + double rmsUncert; + TH1D* Distribution; + TH1D* FittedDist; + double Fitrms; + double FitrmsUncert; +}; + +struct FitEnergy{ + double Energy; + double rms; + double rmsUncert; + TH1D* TheHist; +}; + +class RMSPlotter +{ +private: + std::vector<DataPoint> DataPoints; + TGraphErrors* ThePlot=NULL; + TGraphErrors* FittedPlot=NULL; + TGraphErrors* PlotFromFits=NULL; + int counter=0; + int eventsperenergy=0; + std::vector<DataPoint>::iterator i; + std::vector<FitEnergy> Fits; + std::vector<FitEnergy>::iterator FitIt=Fits.begin(); +public: + RMSPlotter(int n); + void AddRun(Double_t _Energy,Double_t _rms); + //int AddForFitting(double _Energy,TH1D* _Hist); + void MakeAngleHist(double _Energy); + void FillAngleHist(double _Angle); + TGraphErrors* MakePlots(); + TGraphErrors* MakeFittedPlots(); + TGraphErrors* MakePlotFromFits(); + std::vector<TH1D*> GetDistributions(); +}; +#endif diff --git a/Geant4/G4examples/extended/electromagnetic/G4TestEm5/incnew/RunAction.hh b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/incnew/RunAction.hh new file mode 100644 index 0000000000000000000000000000000000000000..4f91116af2fbf834e8070a05f86ce4ec4a1fb81c --- /dev/null +++ b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/incnew/RunAction.hh @@ -0,0 +1,129 @@ +// +// ******************************************************************** +// * License and Disclaimer * +// * * +// * The Geant4 software is copyright of the Copyright Holders of * +// * the Geant4 Collaboration. It is provided under the terms and * +// * conditions of the Geant4 Software License, included in the file * +// * LICENSE and available at http://cern.ch/geant4/license . These * +// * include a list of copyright holders. * +// * * +// * Neither the authors of this software system, nor their employing * +// * institutes,nor the agencies providing financial support for this * +// * work make any representation or warranty, express or implied, * +// * regarding this software system or assume any liability for its * +// * use. Please see the license in the file LICENSE and URL above * +// * for the full disclaimer and the limitation of liability. * +// * * +// * This code implementation is the result of the scientific and * +// * technical work of the GEANT4 collaboration. * +// * By using, copying, modifying or distributing the software (or * +// * any work based on the software) you agree to acknowledge its * +// * use in resulting scientific publications, and indicate your * +// * acceptance of all terms of the Geant4 Software license. * +// ******************************************************************** +// +/// \file electromagnetic/TestEm5/include/RunAction.hh +/// \brief Definition of the RunAction class +// +// $Id$ +// +//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... +//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... + +#ifndef RunAction_h +#define RunAction_h 1 + +#include "G4UserRunAction.hh" + +#include "G4Gamma.hh" +#include "G4Electron.hh" +#include "G4Positron.hh" + +#include "globals.hh" +#include "RMSPlotter.hh" + +//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... + +class G4Run; +class DetectorConstruction; +class PrimaryGeneratorAction; +class HistoManager; + +//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... + +class RunAction : public G4UserRunAction +{ + +public: + + RunAction(DetectorConstruction*, PrimaryGeneratorAction*,RMSPlotter*); + ~RunAction(); + + virtual void BeginOfRunAction(const G4Run*); + virtual void EndOfRunAction(const G4Run*); + + void AddEnergy (G4double edep) + {fEnergyDeposit += edep; fEnergyDeposit2 += edep*edep;}; + + void AddTrakLenCharg (G4double length) + {fTrakLenCharged += length; fTrakLenCharged2 += length*length;}; + + void AddTrakLenNeutr (G4double length) + {fTrakLenNeutral += length; fTrakLenNeutral2 += length*length;}; + + void AddMscProjTheta (G4double theta) + {if (std::abs(theta) <= fMscThetaCentral) { fMscEntryCentral++; + fMscProjecTheta += theta; fMscProjecTheta2 += theta*theta;} + }; + + void CountStepsCharg (G4int nSteps) + {fNbStepsCharged += nSteps; fNbStepsCharged2 += nSteps*nSteps;}; + + void CountStepsNeutr (G4int nSteps) + {fNbStepsNeutral += nSteps; fNbStepsNeutral2 += nSteps*nSteps;}; + + void CountParticles (G4ParticleDefinition* part) + { if (part == G4Gamma::Gamma()) fNbGamma++ ; + else if (part == G4Electron::Electron()) fNbElect++ ; + else if (part == G4Positron::Positron()) fNbPosit++ ; }; + + void CountTransmit (G4int flag) + { if (flag == 1) fTransmit[0]++; + else if (flag == 2) {fTransmit[0]++; fTransmit[1]++; }}; + + void CountReflect (G4int flag) + { if (flag == 1) fReflect[0]++; + else if (flag == 2) {fReflect[0]++; fReflect[1]++; }}; + + G4double ComputeMscHighland(); + + void AddEnergyLeak (G4double eleak, G4int index) + { fEnergyLeak[index] += eleak; fEnergyLeak2[index] += eleak*eleak;}; + + private: + G4double fEnergyDeposit, fEnergyDeposit2; + G4double fTrakLenCharged, fTrakLenCharged2; + G4double fTrakLenNeutral, fTrakLenNeutral2; + G4double fNbStepsCharged, fNbStepsCharged2; + G4double fNbStepsNeutral, fNbStepsNeutral2; + G4double fMscProjecTheta, fMscProjecTheta2; + G4double fMscThetaCentral; + + G4int fNbGamma, fNbElect, fNbPosit; + G4int fTransmit[2], fReflect[2]; + G4int fMscEntryCentral; + + G4double fEnergyLeak[2], fEnergyLeak2[2]; + + DetectorConstruction* fDetector; + PrimaryGeneratorAction* fPrimary; + HistoManager* fHistoManager; + RMSPlotter* fRMSPlotter; + +}; + +//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... + +#endif + diff --git a/Geant4/G4examples/extended/electromagnetic/G4TestEm5/incnew/TrackingAction.hh b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/incnew/TrackingAction.hh new file mode 100644 index 0000000000000000000000000000000000000000..97e3d6c471ea0c2ab9656d7f82d47b5bb293bd39 --- /dev/null +++ b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/incnew/TrackingAction.hh @@ -0,0 +1,68 @@ +// +// ******************************************************************** +// * License and Disclaimer * +// * * +// * The Geant4 software is copyright of the Copyright Holders of * +// * the Geant4 Collaboration. It is provided under the terms and * +// * conditions of the Geant4 Software License, included in the file * +// * LICENSE and available at http://cern.ch/geant4/license . These * +// * include a list of copyright holders. * +// * * +// * Neither the authors of this software system, nor their employing * +// * institutes,nor the agencies providing financial support for this * +// * work make any representation or warranty, express or implied, * +// * regarding this software system or assume any liability for its * +// * use. Please see the license in the file LICENSE and URL above * +// * for the full disclaimer and the limitation of liability. * +// * * +// * This code implementation is the result of the scientific and * +// * technical work of the GEANT4 collaboration. * +// * By using, copying, modifying or distributing the software (or * +// * any work based on the software) you agree to acknowledge its * +// * use in resulting scientific publications, and indicate your * +// * acceptance of all terms of the Geant4 Software license. * +// ******************************************************************** +// +/// \file electromagnetic/TestEm5/include/TrackingAction.hh +/// \brief Definition of the TrackingAction class +// +// $Id$ +// +//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... +//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... + +#ifndef TrackingAction_h +#define TrackingAction_h 1 + +#include "G4UserTrackingAction.hh" +#include "globals.hh" +#include "RMSPlotter.hh" + +class DetectorConstruction; +class RunAction; +class EventAction; + + +//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... + +class TrackingAction : public G4UserTrackingAction { + + public: + TrackingAction(DetectorConstruction*,RunAction*,EventAction*,RMSPlotter*); + ~TrackingAction() {}; + + virtual void PreUserTrackingAction(const G4Track*); + virtual void PostUserTrackingAction(const G4Track*); + + private: + DetectorConstruction* fDetector; + RunAction* fRunAction; + EventAction* fEventAction; + RMSPlotter* fRMSPlotter; + G4double fXstartAbs, fXendAbs; + G4double fPrimaryCharge; +}; + +//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... + +#endif diff --git a/Geant4/G4examples/extended/electromagnetic/G4TestEm5/scripts/TestEm5.in b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/scripts/TestEm5.in new file mode 100644 index 0000000000000000000000000000000000000000..40c3bc2ac5cacb6c2febf345bdbf7a71cf8b7985 --- /dev/null +++ b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/scripts/TestEm5.in @@ -0,0 +1,63 @@ +# $Id: TestEm5.in,v 1.23 2009-01-23 13:26:29 maire Exp $ +# +# macro file for TestEm5.cc +# +/control/verbose 2 +/run/verbose 2 +# +/testem/det/setAbsMat Silicon +/testem/det/setAbsThick 20 um +/testem/det/setAbsYZ 50 um +# +/testem/phys/addPhysics emstandard_opt3 +# +/testem/phys/setCuts 7 um +# +/run/initialize +# +/testem/gun/setDefault +/gun/particle pi+ +/gun/energy 5 GeV +# +/run/beamOn 100000 +# +/testem/det/setAbsMat Gold +/testem/det/setAbsThick 9.658 um +/testem/det/setAbsYZ 1 mm +/testem/det/update +/testem/gun/setDefault +/gun/particle e- +/gun/energy 15.7 MeV +/run/beamOn 50000 +# +/testem/phys/setCuts 10 um +# +/testem/det/setAbsMat G4_POLYETHYLENE +/testem/det/setAbsThick 4.74 mm +/testem/det/setAbsYZ 50 mm +/testem/det/update +/testem/gun/setDefault +/gun/particle mu+ +/gun/energy 96.2 MeV +/run/beamOn 50000 +# +/testem/phys/setCuts 1 mm +# +/testem/stack/killSecondaries +# +/testem/det/setAbsMat Aluminium +/testem/det/setAbsThick 8.004 mm +/testem/det/update +/testem/gun/setDefault +/gun/particle proton +/gun/energy 174.664 GeV +/run/beamOn 50000 +# +/testem/det/setAbsMat Iron +/testem/det/setAbsThick 1 m +/testem/det/update +/testem/gun/setDefault +/gun/particle mu+ +/gun/energy 100 GeV +/run/beamOn 50000 +# diff --git a/Geant4/G4examples/extended/electromagnetic/G4TestEm5/scripts/TestEm5.out b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/scripts/TestEm5.out new file mode 100644 index 0000000000000000000000000000000000000000..44346ba12c9f066e48bae53381ada01a055a1984 --- /dev/null +++ b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/scripts/TestEm5.out @@ -0,0 +1,2368 @@ + + ############################################ + !!! WARNING - FPE detection is activated !!! + ############################################ + +************************************************************* + Geant4 version Name: geant4-09-06-patch-04 (30-January-2015) + Copyright : Geant4 Collaboration + Reference : NIM A 506 (2003), 250-303 + WWW : http://cern.ch/geant4 +************************************************************* + +/run/verbose 2 +# +/testem/det/setAbsMat Silicon +/testem/det/setAbsThick 20 um +/testem/det/setAbsYZ 50 um +# +/testem/phys/addPhysics emstandard_opt3 +PhysicsList::AddPhysicsList: <emstandard_opt3> +# +/testem/phys/setCuts 7 um +# +/run/initialize +userDetector->Construct() start. + + Material: Galactic density: 0.000 kg/m3 RadL: 204727512.315 pc Nucl.Int.Length: 114561548.020 pc Imean: 19.200 eV temperature: 2.73 K pressure: 0.00 atm + ---> Element: Galactic ( ) Z = 1.0 N = 1.0 A = 1.01 g/mole + ---> Isotope: 1 Z = 1 N = 1 A = 1.01 g/mole abundance: 99.99 % + ---> Isotope: 2 Z = 1 N = 2 A = 2.01 g/mole abundance: 0.01 % + ElmMassFraction: 100.00 % ElmAbundance 100.00 % + + + Material: Silicon density: 2.330 g/cm3 RadL: 9.368 cm Nucl.Int.Length: 45.761 cm Imean: 173.000 eV + ---> Element: Silicon ( ) Z = 14.0 N = 28.1 A = 28.09 g/mole + ---> Isotope: 28 Z = 14 N = 28 A = 27.98 g/mole abundance: 92.23 % + ---> Isotope: 29 Z = 14 N = 29 A = 28.98 g/mole abundance: 4.68 % + ---> Isotope: 30 Z = 14 N = 30 A = 29.97 g/mole abundance: 3.09 % + ElmMassFraction: 100.00 % ElmAbundance 100.00 % + + + The WORLD is made of 30 um of Galactic. The transverse size (YZ) of the world is 60 um + The ABSORBER is made of 20 um of Silicon. The transverse size (YZ) is 50 um + X position of the middle of the absorber 0 fm +World is registered to the default region. +physicsList->Construct() start. +physicsList->Construct() start. +physicsList->CheckParticleList() start. +physicsList->setCut() start. +PhysicsList::SetCuts:CutLength : 1 mm +# +/testem/gun/setDefault +/gun/particle pi+ +/gun/energy 5 GeV +# +/run/beamOn 100000 + +phot: for gamma SubType= 12 + LambdaPrime table from 200 keV to 10 TeV in 154 bins + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + PhotoElectric : Emin= 0 eV Emax= 10 TeV AngularGenSauterGavrila FluoActive + +compt: for gamma SubType= 13 + Lambda table from 10 eV to 1 MeV in 100 bins, spline: 1 + LambdaPrime table from 1 MeV to 10 TeV in 140 bins + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + KleinNishina : Emin= 0 eV Emax= 10 TeV FluoActive + +conv: for gamma SubType= 14 + Lambda table from 1.022 MeV to 10 TeV in 140 bins, spline: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + BetheHeitler : Emin= 0 eV Emax= 80 GeV + BetheHeitlerLPM : Emin= 80 GeV Emax= 10 TeV + +Rayl: for gamma SubType= 11 + Lambda table from 10 eV to 100 keV in 80 bins, spline: 0 + LambdaPrime table from 100 keV to 10 TeV in 160 bins + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + LivermoreRayleigh : Emin= 0 eV Emax= 10 TeV CullenGenerator + +msc: for e- SubType= 10 + RangeFactor= 0.01, stepLimitType: 2, latDisplacement: 1, skin= 1, geomFactor= 2.5 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + UrbanMsc95 : Emin= 0 eV Emax= 10 TeV Table with 220 bins Emin= 100 eV Emax= 10 TeV + +### === Deexcitation model UAtomDeexcitation is activated for 1 region: + DefaultRegionForTheWorld + +eIoni: for e- SubType= 2 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + finalRange(mm)= 0.1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + MollerBhabha : Emin= 0 eV Emax= 10 TeV + +eBrem: for e- SubType= 3 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + LPM flag: 1 for E > 1 GeV + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + eBremSB : Emin= 0 eV Emax= 1 GeV DipBustGen + eBremLPM : Emin= 1 GeV Emax= 10 TeV DipBustGen + +msc: for e+ SubType= 10 + RangeFactor= 0.01, stepLimitType: 2, latDisplacement: 1, skin= 1, geomFactor= 2.5 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + UrbanMsc95 : Emin= 0 eV Emax= 10 TeV Table with 220 bins Emin= 100 eV Emax= 10 TeV + +eIoni: for e+ SubType= 2 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + finalRange(mm)= 0.1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + MollerBhabha : Emin= 0 eV Emax= 10 TeV + +eBrem: for e+ SubType= 3 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + LPM flag: 1 for E > 1 GeV + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + eBremSB : Emin= 0 eV Emax= 1 GeV DipBustGen + eBremLPM : Emin= 1 GeV Emax= 10 TeV DipBustGen + +annihil: for e+ SubType= 5 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + eplus2gg : Emin= 0 eV Emax= 10 TeV + +msc: for proton SubType= 10 + RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + UrbanMsc95 : Emin= 0 eV Emax= 10 TeV Table with 220 bins Emin= 100 eV Emax= 10 TeV + +hIoni: for proton SubType= 2 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + finalRange(mm)= 0.05, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + Bragg : Emin= 0 eV Emax= 2 MeV + BetheBloch : Emin= 2 MeV Emax= 10 TeV + +hBrems: for proton SubType= 3 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + hBrem : Emin= 0 eV Emax= 10 TeV + +hPairProd: for proton SubType= 4 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + hPairProd : Emin= 0 eV Emax= 10 TeV + +nuclearStopping: for proton SubType= 8 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + ICRU49NucStopping : Emin= 0 eV Emax= 1 MeV + +msc: for GenericIon SubType= 10 + RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 0 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + UrbanMsc95 : Emin= 0 eV Emax= 10 TeV + +ionIoni: for GenericIon SubType= 2 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + finalRange(mm)= 0.001, dRoverRange= 0.1, integral: 1, fluct: 1, linLossLimit= 0.02 + Stopping Power data for 17 ion/material pairs + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + ParamICRU73 : Emin= 0 eV Emax= 10 TeV + +nuclearStopping: for GenericIon SubType= 8 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + ICRU49NucStopping : Emin= 0 eV Emax= 10 TeV + +msc: for alpha SubType= 10 + RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 0 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + UrbanMsc95 : Emin= 0 eV Emax= 10 TeV Table with 220 bins Emin= 100 eV Emax= 10 TeV + +ionIoni: for alpha SubType= 2 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + finalRange(mm)= 0.01, dRoverRange= 0.1, integral: 1, fluct: 1, linLossLimit= 0.02 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + BraggIon : Emin= 0 eV Emax= 7.9452 MeV + BetheBloch : Emin= 7.9452 MeV Emax= 10 TeV + +nuclearStopping: for alpha SubType= 8 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + ICRU49NucStopping : Emin= 0 eV Emax= 10 TeV + +msc: for anti_proton SubType= 10 + RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + UrbanMsc95 : Emin= 0 eV Emax= 10 TeV Table with 220 bins Emin= 100 eV Emax= 10 TeV + +hIoni: for anti_proton SubType= 2 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + finalRange(mm)= 0.05, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + ICRU73QO : Emin= 0 eV Emax= 2 MeV + BetheBloch : Emin= 2 MeV Emax= 10 TeV + +hBrems: for anti_proton SubType= 3 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + hBrem : Emin= 0 eV Emax= 10 TeV + +hPairProd: for anti_proton SubType= 4 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + hPairProd : Emin= 0 eV Emax= 10 TeV + +nuclearStopping: for anti_proton SubType= 8 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + ICRU49NucStopping : Emin= 0 eV Emax= 1 MeV + +msc: for kaon+ SubType= 10 + RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + UrbanMsc95 : Emin= 0 eV Emax= 10 TeV Table with 220 bins Emin= 100 eV Emax= 10 TeV + +hIoni: for kaon+ SubType= 2 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + finalRange(mm)= 0.05, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + Bragg : Emin= 0 eV Emax= 1.05231 MeV + BetheBloch : Emin= 1.05231 MeV Emax= 10 TeV + +hBrems: for kaon+ SubType= 3 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + hBrem : Emin= 0 eV Emax= 10 TeV + +hPairProd: for kaon+ SubType= 4 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + hPairProd : Emin= 0 eV Emax= 10 TeV + +msc: for kaon- SubType= 10 + RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + UrbanMsc95 : Emin= 0 eV Emax= 10 TeV Table with 220 bins Emin= 100 eV Emax= 10 TeV + +hIoni: for kaon- SubType= 2 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + finalRange(mm)= 0.05, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + ICRU73QO : Emin= 0 eV Emax= 1.05231 MeV + BetheBloch : Emin= 1.05231 MeV Emax= 10 TeV + +hBrems: for kaon- SubType= 3 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + hBrem : Emin= 0 eV Emax= 10 TeV + +hPairProd: for kaon- SubType= 4 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + hPairProd : Emin= 0 eV Emax= 10 TeV + +msc: for mu+ SubType= 10 + RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 1, polarAngleLimit(deg)= 180 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + WentzelVIUni : Emin= 0 eV Emax= 10 TeV Table with 220 bins Emin= 100 eV Emax= 10 TeV + +muIoni: for mu+ SubType= 2 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + finalRange(mm)= 0.05, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + Bragg : Emin= 0 eV Emax= 200 keV + BetheBloch : Emin= 200 keV Emax= 1 GeV + MuBetheBloch : Emin= 1 GeV Emax= 10 TeV + +muBrems: for mu+ SubType= 3 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + MuBrem : Emin= 0 eV Emax= 10 TeV + +muPairProd: for mu+ SubType= 4 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + muPairProd : Emin= 0 eV Emax= 10 TeV + +CoulombScat: for mu+ SubType= 1 + Lambda table from 10 eV to 10 TeV in 108 bins, spline: 1 + 180 < Theta(degree) < 180 pLimit(GeV^1)= 0.139531 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + eCoulombScattering : Emin= 0 eV Emax= 10 TeV + +msc: for mu- SubType= 10 + RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 1, polarAngleLimit(deg)= 180 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + WentzelVIUni : Emin= 0 eV Emax= 10 TeV Table with 220 bins Emin= 100 eV Emax= 10 TeV + +muIoni: for mu- SubType= 2 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + finalRange(mm)= 0.05, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + ICRU73QO : Emin= 0 eV Emax= 200 keV + BetheBloch : Emin= 200 keV Emax= 1 GeV + MuBetheBloch : Emin= 1 GeV Emax= 10 TeV + +muBrems: for mu- SubType= 3 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + MuBrem : Emin= 0 eV Emax= 10 TeV + +muPairProd: for mu- SubType= 4 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + muPairProd : Emin= 0 eV Emax= 10 TeV + +CoulombScat: for mu- SubType= 1 + Lambda table from 10 eV to 10 TeV in 108 bins, spline: 1 + 180 < Theta(degree) < 180 pLimit(GeV^1)= 0.139531 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + eCoulombScattering : Emin= 0 eV Emax= 10 TeV + +msc: for pi+ SubType= 10 + RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + UrbanMsc95 : Emin= 0 eV Emax= 10 TeV Table with 220 bins Emin= 100 eV Emax= 10 TeV + +hIoni: for pi+ SubType= 2 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + finalRange(mm)= 0.05, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + Bragg : Emin= 0 eV Emax= 297.505 keV + BetheBloch : Emin= 297.505 keV Emax= 10 TeV + +hBrems: for pi+ SubType= 3 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + hBrem : Emin= 0 eV Emax= 10 TeV + +hPairProd: for pi+ SubType= 4 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + hPairProd : Emin= 0 eV Emax= 10 TeV + +msc: for pi- SubType= 10 + RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + UrbanMsc95 : Emin= 0 eV Emax= 10 TeV Table with 220 bins Emin= 100 eV Emax= 10 TeV + +hIoni: for pi- SubType= 2 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + finalRange(mm)= 0.05, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + ICRU73QO : Emin= 0 eV Emax= 297.505 keV + BetheBloch : Emin= 297.505 keV Emax= 10 TeV + +hBrems: for pi- SubType= 3 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + hBrem : Emin= 0 eV Emax= 10 TeV + +hPairProd: for pi- SubType= 4 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + hPairProd : Emin= 0 eV Emax= 10 TeV + +Region <DefaultRegionForTheWorld> -- -- appears in <World> world volume + This region is in the mass world. + Root logical volume(s) : World + Pointers : G4VUserRegionInformation[0], G4UserLimits[0], G4FastSimulationManager[0], G4UserSteppingAction[0] + Materials : Galactic Silicon + Production cuts : gamma 7 um e- 7 um e+ 7 um proton 1 mm + +Region <DefaultRegionForParallelWorld> -- -- is not associated to any world. + Root logical volume(s) : + Pointers : G4VUserRegionInformation[0], G4UserLimits[0], G4FastSimulationManager[0], G4UserSteppingAction[0] + Materials : + Production cuts : gamma 7 um e- 7 um e+ 7 um proton 1 mm + +========= Table of registered couples ============================== + +Index : 0 used in the geometry : Yes recalculation needed : No + Material : Galactic + Range cuts : gamma 7 um e- 7 um e+ 7 um proton 1 mm + Energy thresholds : gamma 990 eV e- 990 eV e+ 990 eV proton 100 keV + Region(s) which use this couple : + DefaultRegionForTheWorld + +Index : 1 used in the geometry : Yes recalculation needed : No + Material : Silicon + Range cuts : gamma 7 um e- 7 um e+ 7 um proton 1 mm + Energy thresholds : gamma 990 eV e- 21.4886 keV e+ 20.8954 keV proton 100 keV + Region(s) which use this couple : + DefaultRegionForTheWorld + +==================================================================== + +Start closing geometry. +G4GeometryManager::ReportVoxelStats -- Voxel Statistics + + Total memory consumed for geometry optimisation: 0 kByte + Total CPU time elapsed for geometry optimisation: 0 seconds +### Run 0 start. + +--------- Ranecu engine status --------- + Initial seed (index) = 0 + Current couple of seeds = 9876, 54321 +---------------------------------------- +Start Run processing. + +---> Begin of Event: 0 + +---> Begin of Event: 10000 + +---> Begin of Event: 20000 + +---> Begin of Event: 30000 + +---> Begin of Event: 40000 + +---> Begin of Event: 50000 + +---> Begin of Event: 60000 + +---> Begin of Event: 70000 + +---> Begin of Event: 80000 + +---> Begin of Event: 90000 +Run terminated. +Run Summary + Number of events processed : 100000 + User=2.6s Real=6.47s Sys=0.06s + + ======================== run summary ====================== + + The run was 100000 pi+ of 5 GeV through 20 um of Silicon (density: 2.33 g/cm3 ) + + Total energy deposit in absorber per event = 6.321 keV +- 16.01 eV + + -----> Mean dE/dx = 3.16 MeV/cm (1.356 MeV*cm2/g) + + From formulas : + restricted dEdx = 2.963 MeV/cm (1.272 MeV*cm2/g) + full dEdx = 4.725 MeV/cm (2.028 MeV*cm2/g) + + Leakage : primary = 5 GeV +- 303.7 eV secondaries = 2.098 keV +- 299.2 eV + Energy balance : edep + eleak = 5 GeV + + Total track length (charged) in absorber per event = 20.25 um +- 7.542 nm + Total track length (neutral) in absorber per event = 4.992 Ang +- 3.311 Ang + + Number of steps (charged) in absorber per event = 1.584 +- 8.684e-06 + Number of steps (neutral) in absorber per event = 4e-05 +- 8.684e-06 + + Number of secondaries per event : Gammas = 4e-05 electrons = 0.0164 positrons = 1e-05 + + Number of events with the primary particle transmitted = 100 % + Number of events with at least 1 particle transmitted (same charge as primary) = 100 % + + Number of events with the primary particle reflected = 0 % + Number of events with at least 1 particle reflected (same charge as primary) = 0 % + + MultipleScattering: + rms proj angle of transmit primary particle = 0.02527 mrad (central part only) + computed theta0 (Highland formula) = 0.02627 mrad + central part defined as +- 0.0788 mrad Tail ratio = 2.96 % + +--------- Ranecu engine status --------- + Initial seed (index) = 0 + Current couple of seeds = 1107637770, 1688293817 +---------------------------------------- +# +/testem/det/setAbsMat Gold +/testem/det/setAbsThick 9.658 um +/testem/det/setAbsYZ 1 mm +/testem/det/update + + Material: Galactic density: 0.000 kg/m3 RadL: 204727512.315 pc Nucl.Int.Length: 114561548.020 pc Imean: 19.200 eV temperature: 2.73 K pressure: 0.00 atm + ---> Element: Galactic ( ) Z = 1.0 N = 1.0 A = 1.01 g/mole + ---> Isotope: 1 Z = 1 N = 1 A = 1.01 g/mole abundance: 99.99 % + ---> Isotope: 2 Z = 1 N = 2 A = 2.01 g/mole abundance: 0.01 % + ElmMassFraction: 100.00 % ElmAbundance 100.00 % + + + Material: Gold density: 19.320 g/cm3 RadL: 3.344 mm Nucl.Int.Length: 10.539 cm Imean: 790.000 eV + ---> Element: Gold ( ) Z = 79.0 N = 197.0 A = 196.97 g/mole + ---> Isotope: 197 Z = 79 N = 197 A = 196.97 g/mole abundance: 100.00 % + ElmMassFraction: 100.00 % ElmAbundance 100.00 % + + + The WORLD is made of 14.487 um of Galactic. The transverse size (YZ) of the world is 1.2 mm + The ABSORBER is made of 9.658 um of Gold. The transverse size (YZ) is 1 mm + X position of the middle of the absorber 0 fm +Obsolete world logical volume is removed from the default region. +World is registered to the default region. +/testem/gun/setDefault +/gun/particle e- +/gun/energy 15.7 MeV +/run/beamOn 50000 + +phot: for gamma SubType= 12 + LambdaPrime table from 200 keV to 10 TeV in 154 bins + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + PhotoElectric : Emin= 0 eV Emax= 10 TeV AngularGenSauterGavrila FluoActive + +compt: for gamma SubType= 13 + Lambda table from 10 eV to 1 MeV in 100 bins, spline: 1 + LambdaPrime table from 1 MeV to 10 TeV in 140 bins + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + KleinNishina : Emin= 0 eV Emax= 10 TeV FluoActive + +conv: for gamma SubType= 14 + Lambda table from 1.022 MeV to 10 TeV in 140 bins, spline: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + BetheHeitler : Emin= 0 eV Emax= 80 GeV + BetheHeitlerLPM : Emin= 80 GeV Emax= 10 TeV + +Rayl: for gamma SubType= 11 + Lambda table from 10 eV to 100 keV in 80 bins, spline: 0 + LambdaPrime table from 100 keV to 10 TeV in 160 bins + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + LivermoreRayleigh : Emin= 0 eV Emax= 10 TeV CullenGenerator + +msc: for e- SubType= 10 + RangeFactor= 0.01, stepLimitType: 2, latDisplacement: 1, skin= 1, geomFactor= 2.5 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + UrbanMsc95 : Emin= 0 eV Emax= 10 TeV Table with 220 bins Emin= 100 eV Emax= 10 TeV + +### === Deexcitation model UAtomDeexcitation is activated for 1 region: + DefaultRegionForTheWorld + +eIoni: for e- SubType= 2 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + finalRange(mm)= 0.1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + MollerBhabha : Emin= 0 eV Emax= 10 TeV + +eBrem: for e- SubType= 3 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + LPM flag: 1 for E > 1 GeV + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + eBremSB : Emin= 0 eV Emax= 1 GeV DipBustGen + eBremLPM : Emin= 1 GeV Emax= 10 TeV DipBustGen + +msc: for e+ SubType= 10 + RangeFactor= 0.01, stepLimitType: 2, latDisplacement: 1, skin= 1, geomFactor= 2.5 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + UrbanMsc95 : Emin= 0 eV Emax= 10 TeV Table with 220 bins Emin= 100 eV Emax= 10 TeV + +eIoni: for e+ SubType= 2 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + finalRange(mm)= 0.1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + MollerBhabha : Emin= 0 eV Emax= 10 TeV + +eBrem: for e+ SubType= 3 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + LPM flag: 1 for E > 1 GeV + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + eBremSB : Emin= 0 eV Emax= 1 GeV DipBustGen + eBremLPM : Emin= 1 GeV Emax= 10 TeV DipBustGen + +annihil: for e+ SubType= 5 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + eplus2gg : Emin= 0 eV Emax= 10 TeV + +msc: for proton SubType= 10 + RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + UrbanMsc95 : Emin= 0 eV Emax= 10 TeV Table with 220 bins Emin= 100 eV Emax= 10 TeV + +hIoni: for proton SubType= 2 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + finalRange(mm)= 0.05, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + Bragg : Emin= 0 eV Emax= 2 MeV + BetheBloch : Emin= 2 MeV Emax= 10 TeV + +hBrems: for proton SubType= 3 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + hBrem : Emin= 0 eV Emax= 10 TeV + +hPairProd: for proton SubType= 4 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + hPairProd : Emin= 0 eV Emax= 10 TeV + +nuclearStopping: for proton SubType= 8 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + ICRU49NucStopping : Emin= 0 eV Emax= 1 MeV + +msc: for GenericIon SubType= 10 + RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 0 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + UrbanMsc95 : Emin= 0 eV Emax= 10 TeV + +ionIoni: for GenericIon SubType= 2 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + finalRange(mm)= 0.001, dRoverRange= 0.1, integral: 1, fluct: 1, linLossLimit= 0.02 + Stopping Power data for 17 ion/material pairs + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + ParamICRU73 : Emin= 0 eV Emax= 10 TeV + +nuclearStopping: for GenericIon SubType= 8 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + ICRU49NucStopping : Emin= 0 eV Emax= 10 TeV + +msc: for alpha SubType= 10 + RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 0 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + UrbanMsc95 : Emin= 0 eV Emax= 10 TeV Table with 220 bins Emin= 100 eV Emax= 10 TeV + +ionIoni: for alpha SubType= 2 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + finalRange(mm)= 0.01, dRoverRange= 0.1, integral: 1, fluct: 1, linLossLimit= 0.02 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + BraggIon : Emin= 0 eV Emax= 7.9452 MeV + BetheBloch : Emin= 7.9452 MeV Emax= 10 TeV + +nuclearStopping: for alpha SubType= 8 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + ICRU49NucStopping : Emin= 0 eV Emax= 10 TeV + +msc: for anti_proton SubType= 10 + RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + UrbanMsc95 : Emin= 0 eV Emax= 10 TeV Table with 220 bins Emin= 100 eV Emax= 10 TeV + +hIoni: for anti_proton SubType= 2 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + finalRange(mm)= 0.05, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + ICRU73QO : Emin= 0 eV Emax= 2 MeV + BetheBloch : Emin= 2 MeV Emax= 10 TeV + +hBrems: for anti_proton SubType= 3 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + hBrem : Emin= 0 eV Emax= 10 TeV + +hPairProd: for anti_proton SubType= 4 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + hPairProd : Emin= 0 eV Emax= 10 TeV + +nuclearStopping: for anti_proton SubType= 8 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + ICRU49NucStopping : Emin= 0 eV Emax= 1 MeV + +msc: for kaon+ SubType= 10 + RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + UrbanMsc95 : Emin= 0 eV Emax= 10 TeV Table with 220 bins Emin= 100 eV Emax= 10 TeV + +hIoni: for kaon+ SubType= 2 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + finalRange(mm)= 0.05, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + Bragg : Emin= 0 eV Emax= 1.05231 MeV + BetheBloch : Emin= 1.05231 MeV Emax= 10 TeV + +hBrems: for kaon+ SubType= 3 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + hBrem : Emin= 0 eV Emax= 10 TeV + +hPairProd: for kaon+ SubType= 4 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + hPairProd : Emin= 0 eV Emax= 10 TeV + +msc: for kaon- SubType= 10 + RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + UrbanMsc95 : Emin= 0 eV Emax= 10 TeV Table with 220 bins Emin= 100 eV Emax= 10 TeV + +hIoni: for kaon- SubType= 2 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + finalRange(mm)= 0.05, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + ICRU73QO : Emin= 0 eV Emax= 1.05231 MeV + BetheBloch : Emin= 1.05231 MeV Emax= 10 TeV + +hBrems: for kaon- SubType= 3 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + hBrem : Emin= 0 eV Emax= 10 TeV + +hPairProd: for kaon- SubType= 4 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + hPairProd : Emin= 0 eV Emax= 10 TeV + +msc: for mu+ SubType= 10 + RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 1, polarAngleLimit(deg)= 180 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + WentzelVIUni : Emin= 0 eV Emax= 10 TeV Table with 220 bins Emin= 100 eV Emax= 10 TeV + +muIoni: for mu+ SubType= 2 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + finalRange(mm)= 0.05, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + Bragg : Emin= 0 eV Emax= 200 keV + BetheBloch : Emin= 200 keV Emax= 1 GeV + MuBetheBloch : Emin= 1 GeV Emax= 10 TeV + +muBrems: for mu+ SubType= 3 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + MuBrem : Emin= 0 eV Emax= 10 TeV + +muPairProd: for mu+ SubType= 4 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + muPairProd : Emin= 0 eV Emax= 10 TeV + +CoulombScat: for mu+ SubType= 1 + Lambda table from 10 eV to 10 TeV in 108 bins, spline: 1 + 180 < Theta(degree) < 180 pLimit(GeV^1)= 0.139531 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + eCoulombScattering : Emin= 0 eV Emax= 10 TeV + +msc: for mu- SubType= 10 + RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 1, polarAngleLimit(deg)= 180 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + WentzelVIUni : Emin= 0 eV Emax= 10 TeV Table with 220 bins Emin= 100 eV Emax= 10 TeV + +muIoni: for mu- SubType= 2 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + finalRange(mm)= 0.05, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + ICRU73QO : Emin= 0 eV Emax= 200 keV + BetheBloch : Emin= 200 keV Emax= 1 GeV + MuBetheBloch : Emin= 1 GeV Emax= 10 TeV + +muBrems: for mu- SubType= 3 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + MuBrem : Emin= 0 eV Emax= 10 TeV + +muPairProd: for mu- SubType= 4 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + muPairProd : Emin= 0 eV Emax= 10 TeV + +CoulombScat: for mu- SubType= 1 + Lambda table from 10 eV to 10 TeV in 108 bins, spline: 1 + 180 < Theta(degree) < 180 pLimit(GeV^1)= 0.139531 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + eCoulombScattering : Emin= 0 eV Emax= 10 TeV + +msc: for pi+ SubType= 10 + RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + UrbanMsc95 : Emin= 0 eV Emax= 10 TeV Table with 220 bins Emin= 100 eV Emax= 10 TeV + +hIoni: for pi+ SubType= 2 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + finalRange(mm)= 0.05, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + Bragg : Emin= 0 eV Emax= 297.505 keV + BetheBloch : Emin= 297.505 keV Emax= 10 TeV + +hBrems: for pi+ SubType= 3 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + hBrem : Emin= 0 eV Emax= 10 TeV + +hPairProd: for pi+ SubType= 4 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + hPairProd : Emin= 0 eV Emax= 10 TeV + +msc: for pi- SubType= 10 + RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + UrbanMsc95 : Emin= 0 eV Emax= 10 TeV Table with 220 bins Emin= 100 eV Emax= 10 TeV + +hIoni: for pi- SubType= 2 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + finalRange(mm)= 0.05, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + ICRU73QO : Emin= 0 eV Emax= 297.505 keV + BetheBloch : Emin= 297.505 keV Emax= 10 TeV + +hBrems: for pi- SubType= 3 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + hBrem : Emin= 0 eV Emax= 10 TeV + +hPairProd: for pi- SubType= 4 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + hPairProd : Emin= 0 eV Emax= 10 TeV + +Region <DefaultRegionForTheWorld> -- -- appears in <World> world volume + This region is in the mass world. + Root logical volume(s) : World + Pointers : G4VUserRegionInformation[0], G4UserLimits[0], G4FastSimulationManager[0], G4UserSteppingAction[0] + Materials : Galactic Gold + Production cuts : gamma 7 um e- 7 um e+ 7 um proton 1 mm + +Region <DefaultRegionForParallelWorld> -- -- is not associated to any world. + Root logical volume(s) : + Pointers : G4VUserRegionInformation[0], G4UserLimits[0], G4FastSimulationManager[0], G4UserSteppingAction[0] + Materials : + Production cuts : gamma 7 um e- 7 um e+ 7 um proton 1 mm + +========= Table of registered couples ============================== + +Index : 0 used in the geometry : Yes recalculation needed : No + Material : Galactic + Range cuts : gamma 7 um e- 7 um e+ 7 um proton 1 mm + Energy thresholds : gamma 990 eV e- 990 eV e+ 990 eV proton 100 keV + Region(s) which use this couple : + DefaultRegionForTheWorld + +Index : 1 used in the geometry : No recalculation needed : No + Material : Silicon + Range cuts : gamma 7 um e- 7 um e+ 7 um proton 1 mm + Energy thresholds : gamma 990 eV e- 21.4886 keV e+ 20.8954 keV proton 100 keV + +Index : 2 used in the geometry : Yes recalculation needed : No + Material : Gold + Range cuts : gamma 7 um e- 7 um e+ 7 um proton 1 mm + Energy thresholds : gamma 6.54229 keV e- 65.1406 keV e+ 63.8405 keV proton 100 keV + Region(s) which use this couple : + DefaultRegionForTheWorld + +==================================================================== + +Start closing geometry. +G4GeometryManager::ReportVoxelStats -- Voxel Statistics + + Total memory consumed for geometry optimisation: 0 kByte + Total CPU time elapsed for geometry optimisation: 0 seconds +### Run 1 start. + +--------- Ranecu engine status --------- + Initial seed (index) = 0 + Current couple of seeds = 1107637770, 1688293817 +---------------------------------------- +Start Run processing. + +---> Begin of Event: 0 + +---> Begin of Event: 10000 + +---> Begin of Event: 20000 + +---> Begin of Event: 30000 + +---> Begin of Event: 40000 +Run terminated. +Run Summary + Number of events processed : 50000 + User=2.64s Real=9.21s Sys=0.11s + + ======================== run summary ====================== + + The run was 50000 e- of 15.7 MeV through 9.66 um of Gold (density: 19.3 g/cm3 ) + + Total energy deposit in absorber per event = 18.41 keV +- 60.7 eV + + -----> Mean dE/dx = 19.06 MeV/cm (0.9865 MeV*cm2/g) + + From formulas : + restricted dEdx = 17.91 MeV/cm (0.9269 MeV*cm2/g) + full dEdx = 61.41 MeV/cm (3.179 MeV*cm2/g) + + Leakage : primary = 15.64 MeV +- 2.102 keV secondaries = 39.42 keV +- 2.099 keV + Energy balance : edep + eleak = 15.7 MeV + + Total track length (charged) in absorber per event = 9.905 um +- 10.26 nm + Total track length (neutral) in absorber per event = 120.7 nm +- 4.013 nm + + Number of steps (charged) in absorber per event = 6.69 +- 1.433e-05 + Number of steps (neutral) in absorber per event = 0.02738 +- 1.433e-05 + + Number of secondaries per event : Gammas = 0.02728 electrons = 0.02166 positrons = 0 + + Number of events with the primary particle transmitted = 99.98 % + Number of events with at least 1 particle transmitted (same charge as primary) = 99.98 % + + Number of events with the primary particle reflected = 0.022 % + Number of events with at least 1 particle reflected (same charge as primary) = 0.332 % + + MultipleScattering: + rms proj angle of transmit primary particle = 34.66 mrad (central part only) + computed theta0 (Highland formula) = 35.1 mrad + central part defined as +- 105.3 mrad Tail ratio = 2.608 % + +--------- Ranecu engine status --------- + Initial seed (index) = 0 + Current couple of seeds = 500007974, 1226617912 +---------------------------------------- +# +/testem/phys/setCuts 10 um +# +/testem/det/setAbsMat G4_POLYETHYLENE +/testem/det/setAbsThick 4.74 mm +/testem/det/setAbsYZ 50 mm +/testem/det/update + + Material: Galactic density: 0.000 kg/m3 RadL: 204727512.315 pc Nucl.Int.Length: 114561548.020 pc Imean: 19.200 eV temperature: 2.73 K pressure: 0.00 atm + ---> Element: Galactic ( ) Z = 1.0 N = 1.0 A = 1.01 g/mole + ---> Isotope: 1 Z = 1 N = 1 A = 1.01 g/mole abundance: 99.99 % + ---> Isotope: 2 Z = 1 N = 2 A = 2.01 g/mole abundance: 0.01 % + ElmMassFraction: 100.00 % ElmAbundance 100.00 % + + + Material: G4_POLYETHYLENE (C_2H_4)_N-Polyethylene density: 940.000 mg/cm3 RadL: 47.632 cm Nucl.Int.Length: 72.122 cm Imean: 57.400 eV + ---> Element: H (H) Z = 1.0 N = 1.0 A = 1.01 g/mole + ---> Isotope: H1 Z = 1 N = 1 A = 1.01 g/mole abundance: 99.99 % + ---> Isotope: H2 Z = 1 N = 2 A = 2.01 g/mole abundance: 0.01 % + ElmMassFraction: 14.37 % ElmAbundance 66.67 % + + ---> Element: C (C) Z = 6.0 N = 12.0 A = 12.01 g/mole + ---> Isotope: C12 Z = 6 N = 12 A = 12.00 g/mole abundance: 98.93 % + ---> Isotope: C13 Z = 6 N = 13 A = 13.00 g/mole abundance: 1.07 % + ElmMassFraction: 85.63 % ElmAbundance 33.33 % + + + The WORLD is made of 7.11 mm of Galactic. The transverse size (YZ) of the world is 6 cm + The ABSORBER is made of 4.74 mm of G4_POLYETHYLENE. The transverse size (YZ) is 5 cm + X position of the middle of the absorber 0 fm +Obsolete world logical volume is removed from the default region. +World is registered to the default region. +/testem/gun/setDefault +/gun/particle mu+ +/gun/energy 96.2 MeV +/run/beamOn 50000 + +phot: for gamma SubType= 12 + LambdaPrime table from 200 keV to 10 TeV in 154 bins + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + PhotoElectric : Emin= 0 eV Emax= 10 TeV AngularGenSauterGavrila FluoActive + +compt: for gamma SubType= 13 + Lambda table from 10 eV to 1 MeV in 100 bins, spline: 1 + LambdaPrime table from 1 MeV to 10 TeV in 140 bins + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + KleinNishina : Emin= 0 eV Emax= 10 TeV FluoActive + +conv: for gamma SubType= 14 + Lambda table from 1.022 MeV to 10 TeV in 140 bins, spline: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + BetheHeitler : Emin= 0 eV Emax= 80 GeV + BetheHeitlerLPM : Emin= 80 GeV Emax= 10 TeV + +Rayl: for gamma SubType= 11 + Lambda table from 10 eV to 100 keV in 80 bins, spline: 0 + LambdaPrime table from 100 keV to 10 TeV in 160 bins + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + LivermoreRayleigh : Emin= 0 eV Emax= 10 TeV CullenGenerator + +msc: for e- SubType= 10 + RangeFactor= 0.01, stepLimitType: 2, latDisplacement: 1, skin= 1, geomFactor= 2.5 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + UrbanMsc95 : Emin= 0 eV Emax= 10 TeV Table with 220 bins Emin= 100 eV Emax= 10 TeV + +### === Deexcitation model UAtomDeexcitation is activated for 1 region: + DefaultRegionForTheWorld + +eIoni: for e- SubType= 2 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + finalRange(mm)= 0.1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + MollerBhabha : Emin= 0 eV Emax= 10 TeV + +eBrem: for e- SubType= 3 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + LPM flag: 1 for E > 1 GeV + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + eBremSB : Emin= 0 eV Emax= 1 GeV DipBustGen + eBremLPM : Emin= 1 GeV Emax= 10 TeV DipBustGen + +msc: for e+ SubType= 10 + RangeFactor= 0.01, stepLimitType: 2, latDisplacement: 1, skin= 1, geomFactor= 2.5 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + UrbanMsc95 : Emin= 0 eV Emax= 10 TeV Table with 220 bins Emin= 100 eV Emax= 10 TeV + +eIoni: for e+ SubType= 2 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + finalRange(mm)= 0.1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + MollerBhabha : Emin= 0 eV Emax= 10 TeV + +eBrem: for e+ SubType= 3 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + LPM flag: 1 for E > 1 GeV + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + eBremSB : Emin= 0 eV Emax= 1 GeV DipBustGen + eBremLPM : Emin= 1 GeV Emax= 10 TeV DipBustGen + +annihil: for e+ SubType= 5 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + eplus2gg : Emin= 0 eV Emax= 10 TeV + +msc: for proton SubType= 10 + RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + UrbanMsc95 : Emin= 0 eV Emax= 10 TeV Table with 220 bins Emin= 100 eV Emax= 10 TeV + +hIoni: for proton SubType= 2 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + finalRange(mm)= 0.05, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + Bragg : Emin= 0 eV Emax= 2 MeV + BetheBloch : Emin= 2 MeV Emax= 10 TeV + +hBrems: for proton SubType= 3 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + hBrem : Emin= 0 eV Emax= 10 TeV + +hPairProd: for proton SubType= 4 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + hPairProd : Emin= 0 eV Emax= 10 TeV + +nuclearStopping: for proton SubType= 8 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + ICRU49NucStopping : Emin= 0 eV Emax= 1 MeV + +msc: for GenericIon SubType= 10 + RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 0 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + UrbanMsc95 : Emin= 0 eV Emax= 10 TeV + +ionIoni: for GenericIon SubType= 2 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + finalRange(mm)= 0.001, dRoverRange= 0.1, integral: 1, fluct: 1, linLossLimit= 0.02 + Stopping Power data for 17 ion/material pairs + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + ParamICRU73 : Emin= 0 eV Emax= 10 TeV + +nuclearStopping: for GenericIon SubType= 8 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + ICRU49NucStopping : Emin= 0 eV Emax= 10 TeV + +msc: for alpha SubType= 10 + RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 0 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + UrbanMsc95 : Emin= 0 eV Emax= 10 TeV Table with 220 bins Emin= 100 eV Emax= 10 TeV + +ionIoni: for alpha SubType= 2 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + finalRange(mm)= 0.01, dRoverRange= 0.1, integral: 1, fluct: 1, linLossLimit= 0.02 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + BraggIon : Emin= 0 eV Emax= 7.9452 MeV + BetheBloch : Emin= 7.9452 MeV Emax= 10 TeV + +nuclearStopping: for alpha SubType= 8 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + ICRU49NucStopping : Emin= 0 eV Emax= 10 TeV + +msc: for anti_proton SubType= 10 + RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + UrbanMsc95 : Emin= 0 eV Emax= 10 TeV Table with 220 bins Emin= 100 eV Emax= 10 TeV + +hIoni: for anti_proton SubType= 2 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + finalRange(mm)= 0.05, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + ICRU73QO : Emin= 0 eV Emax= 2 MeV + BetheBloch : Emin= 2 MeV Emax= 10 TeV + +hBrems: for anti_proton SubType= 3 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + hBrem : Emin= 0 eV Emax= 10 TeV + +hPairProd: for anti_proton SubType= 4 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + hPairProd : Emin= 0 eV Emax= 10 TeV + +nuclearStopping: for anti_proton SubType= 8 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + ICRU49NucStopping : Emin= 0 eV Emax= 1 MeV + +msc: for kaon+ SubType= 10 + RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + UrbanMsc95 : Emin= 0 eV Emax= 10 TeV Table with 220 bins Emin= 100 eV Emax= 10 TeV + +hIoni: for kaon+ SubType= 2 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + finalRange(mm)= 0.05, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + Bragg : Emin= 0 eV Emax= 1.05231 MeV + BetheBloch : Emin= 1.05231 MeV Emax= 10 TeV + +hBrems: for kaon+ SubType= 3 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + hBrem : Emin= 0 eV Emax= 10 TeV + +hPairProd: for kaon+ SubType= 4 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + hPairProd : Emin= 0 eV Emax= 10 TeV + +msc: for kaon- SubType= 10 + RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + UrbanMsc95 : Emin= 0 eV Emax= 10 TeV Table with 220 bins Emin= 100 eV Emax= 10 TeV + +hIoni: for kaon- SubType= 2 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + finalRange(mm)= 0.05, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + ICRU73QO : Emin= 0 eV Emax= 1.05231 MeV + BetheBloch : Emin= 1.05231 MeV Emax= 10 TeV + +hBrems: for kaon- SubType= 3 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + hBrem : Emin= 0 eV Emax= 10 TeV + +hPairProd: for kaon- SubType= 4 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + hPairProd : Emin= 0 eV Emax= 10 TeV + +msc: for mu+ SubType= 10 + RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 1, polarAngleLimit(deg)= 180 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + WentzelVIUni : Emin= 0 eV Emax= 10 TeV Table with 220 bins Emin= 100 eV Emax= 10 TeV + +muIoni: for mu+ SubType= 2 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + finalRange(mm)= 0.05, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + Bragg : Emin= 0 eV Emax= 200 keV + BetheBloch : Emin= 200 keV Emax= 1 GeV + MuBetheBloch : Emin= 1 GeV Emax= 10 TeV + +muBrems: for mu+ SubType= 3 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + MuBrem : Emin= 0 eV Emax= 10 TeV + +muPairProd: for mu+ SubType= 4 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + muPairProd : Emin= 0 eV Emax= 10 TeV + +CoulombScat: for mu+ SubType= 1 + Lambda table from 10 eV to 10 TeV in 108 bins, spline: 1 + 180 < Theta(degree) < 180 pLimit(GeV^1)= 0.139531 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + eCoulombScattering : Emin= 0 eV Emax= 10 TeV + +msc: for mu- SubType= 10 + RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 1, polarAngleLimit(deg)= 180 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + WentzelVIUni : Emin= 0 eV Emax= 10 TeV Table with 220 bins Emin= 100 eV Emax= 10 TeV + +muIoni: for mu- SubType= 2 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + finalRange(mm)= 0.05, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + ICRU73QO : Emin= 0 eV Emax= 200 keV + BetheBloch : Emin= 200 keV Emax= 1 GeV + MuBetheBloch : Emin= 1 GeV Emax= 10 TeV + +muBrems: for mu- SubType= 3 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + MuBrem : Emin= 0 eV Emax= 10 TeV + +muPairProd: for mu- SubType= 4 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + muPairProd : Emin= 0 eV Emax= 10 TeV + +CoulombScat: for mu- SubType= 1 + Lambda table from 10 eV to 10 TeV in 108 bins, spline: 1 + 180 < Theta(degree) < 180 pLimit(GeV^1)= 0.139531 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + eCoulombScattering : Emin= 0 eV Emax= 10 TeV + +msc: for pi+ SubType= 10 + RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + UrbanMsc95 : Emin= 0 eV Emax= 10 TeV Table with 220 bins Emin= 100 eV Emax= 10 TeV + +hIoni: for pi+ SubType= 2 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + finalRange(mm)= 0.05, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + Bragg : Emin= 0 eV Emax= 297.505 keV + BetheBloch : Emin= 297.505 keV Emax= 10 TeV + +hBrems: for pi+ SubType= 3 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + hBrem : Emin= 0 eV Emax= 10 TeV + +hPairProd: for pi+ SubType= 4 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + hPairProd : Emin= 0 eV Emax= 10 TeV + +msc: for pi- SubType= 10 + RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + UrbanMsc95 : Emin= 0 eV Emax= 10 TeV Table with 220 bins Emin= 100 eV Emax= 10 TeV + +hIoni: for pi- SubType= 2 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + finalRange(mm)= 0.05, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + ICRU73QO : Emin= 0 eV Emax= 297.505 keV + BetheBloch : Emin= 297.505 keV Emax= 10 TeV + +hBrems: for pi- SubType= 3 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + hBrem : Emin= 0 eV Emax= 10 TeV + +hPairProd: for pi- SubType= 4 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + hPairProd : Emin= 0 eV Emax= 10 TeV + +Region <DefaultRegionForTheWorld> -- -- appears in <World> world volume + This region is in the mass world. + Root logical volume(s) : World + Pointers : G4VUserRegionInformation[0], G4UserLimits[0], G4FastSimulationManager[0], G4UserSteppingAction[0] + Materials : Galactic G4_POLYETHYLENE + Production cuts : gamma 10 um e- 10 um e+ 10 um proton 1 mm + +Region <DefaultRegionForParallelWorld> -- -- is not associated to any world. + Root logical volume(s) : + Pointers : G4VUserRegionInformation[0], G4UserLimits[0], G4FastSimulationManager[0], G4UserSteppingAction[0] + Materials : + Production cuts : gamma 10 um e- 10 um e+ 10 um proton 1 mm + +========= Table of registered couples ============================== + +Index : 0 used in the geometry : Yes recalculation needed : No + Material : Galactic + Range cuts : gamma 10 um e- 10 um e+ 10 um proton 1 mm + Energy thresholds : gamma 990 eV e- 990 eV e+ 990 eV proton 100 keV + Region(s) which use this couple : + DefaultRegionForTheWorld + +Index : 1 used in the geometry : No recalculation needed : No + Material : Silicon + Range cuts : gamma 10 um e- 10 um e+ 10 um proton 1 mm + Energy thresholds : gamma 990 eV e- 31.9516 keV e+ 31.7376 keV proton 100 keV + +Index : 2 used in the geometry : No recalculation needed : No + Material : Gold + Range cuts : gamma 10 um e- 10 um e+ 10 um proton 1 mm + Energy thresholds : gamma 8.27707 keV e- 80.7687 keV e+ 79.1567 keV proton 100 keV + +Index : 3 used in the geometry : Yes recalculation needed : No + Material : G4_POLYETHYLENE + Range cuts : gamma 10 um e- 10 um e+ 10 um proton 1 mm + Energy thresholds : gamma 990 eV e- 14.1748 keV e+ 13.7548 keV proton 100 keV + Region(s) which use this couple : + DefaultRegionForTheWorld + +==================================================================== + +Start closing geometry. +G4GeometryManager::ReportVoxelStats -- Voxel Statistics + + Total memory consumed for geometry optimisation: 0 kByte + Total CPU time elapsed for geometry optimisation: 0 seconds +### Run 2 start. + +--------- Ranecu engine status --------- + Initial seed (index) = 0 + Current couple of seeds = 500007974, 1226617912 +---------------------------------------- +Start Run processing. + +---> Begin of Event: 0 + +---> Begin of Event: 10000 + +---> Begin of Event: 20000 + +---> Begin of Event: 30000 + +---> Begin of Event: 40000 +Run terminated. +Run Summary + Number of events processed : 50000 + User=5.83s Real=15.19s Sys=0.22s + + ======================== run summary ====================== + + The run was 50000 mu+ of 96.2 MeV through 4.74 mm of G4_POLYETHYLENE (density: 940 mg/cm3) + + Total energy deposit in absorber per event = 1.05 MeV +- 1.005 keV + + -----> Mean dE/dx = 2.216 MeV/cm (2.357 MeV*cm2/g) + + From formulas : + restricted dEdx = 1.754 MeV/cm (1.866 MeV*cm2/g) + full dEdx = 2.266 MeV/cm (2.41 MeV*cm2/g) + + Leakage : primary = 95.12 MeV +- 1.344 keV secondaries = 25.79 keV +- 696.5 eV + Energy balance : edep + eleak = 96.2 MeV + + Total track length (charged) in absorber per event = 5.176 mm +- 3.805 um + Total track length (neutral) in absorber per event = 23.46 um +- 2.722 um + + Number of steps (charged) in absorber per event = 16.98 +- 0.0002759 + Number of steps (neutral) in absorber per event = 0.00896 +- 0.0002759 + + Number of secondaries per event : Gammas = 0.00856 electrons = 4.057 positrons = 0 + + Number of events with the primary particle transmitted = 100 % + Number of events with at least 1 particle transmitted (same charge as primary) = 100 % + + Number of events with the primary particle reflected = 0 % + Number of events with at least 1 particle reflected (same charge as primary) = 0 % + + MultipleScattering: + rms proj angle of transmit primary particle = 7.31 mrad (central part only) + computed theta0 (Highland formula) = 7.636 mrad + central part defined as +- 22.91 mrad Tail ratio = 1.256 % + +--------- Ranecu engine status --------- + Initial seed (index) = 0 + Current couple of seeds = 1071691336, 1171911329 +---------------------------------------- +# +/testem/phys/setCuts 1 mm +# +/testem/stack/killSecondaries +# +/testem/det/setAbsMat Aluminium +/testem/det/setAbsThick 8.004 mm +/testem/det/update + + Material: Galactic density: 0.000 kg/m3 RadL: 204727512.315 pc Nucl.Int.Length: 114561548.020 pc Imean: 19.200 eV temperature: 2.73 K pressure: 0.00 atm + ---> Element: Galactic ( ) Z = 1.0 N = 1.0 A = 1.01 g/mole + ---> Isotope: 1 Z = 1 N = 1 A = 1.01 g/mole abundance: 99.99 % + ---> Isotope: 2 Z = 1 N = 2 A = 2.01 g/mole abundance: 0.01 % + ElmMassFraction: 100.00 % ElmAbundance 100.00 % + + + Material: Aluminium density: 2.700 g/cm3 RadL: 8.893 cm Nucl.Int.Length: 38.860 cm Imean: 166.000 eV + ---> Element: Aluminium ( ) Z = 13.0 N = 27.0 A = 26.98 g/mole + ---> Isotope: 27 Z = 13 N = 27 A = 26.98 g/mole abundance: 100.00 % + ElmMassFraction: 100.00 % ElmAbundance 100.00 % + + + The WORLD is made of 1.2006 cm of Galactic. The transverse size (YZ) of the world is 6 cm + The ABSORBER is made of 8.004 mm of Aluminium. The transverse size (YZ) is 5 cm + X position of the middle of the absorber 0 fm +Obsolete world logical volume is removed from the default region. +World is registered to the default region. +/testem/gun/setDefault +/gun/particle proton +/gun/energy 174.664 GeV +/run/beamOn 50000 + +phot: for gamma SubType= 12 + LambdaPrime table from 200 keV to 10 TeV in 154 bins + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + PhotoElectric : Emin= 0 eV Emax= 10 TeV AngularGenSauterGavrila FluoActive + +compt: for gamma SubType= 13 + Lambda table from 10 eV to 1 MeV in 100 bins, spline: 1 + LambdaPrime table from 1 MeV to 10 TeV in 140 bins + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + KleinNishina : Emin= 0 eV Emax= 10 TeV FluoActive + +conv: for gamma SubType= 14 + Lambda table from 1.022 MeV to 10 TeV in 140 bins, spline: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + BetheHeitler : Emin= 0 eV Emax= 80 GeV + BetheHeitlerLPM : Emin= 80 GeV Emax= 10 TeV + +Rayl: for gamma SubType= 11 + Lambda table from 10 eV to 100 keV in 80 bins, spline: 0 + LambdaPrime table from 100 keV to 10 TeV in 160 bins + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + LivermoreRayleigh : Emin= 0 eV Emax= 10 TeV CullenGenerator + +msc: for e- SubType= 10 + RangeFactor= 0.01, stepLimitType: 2, latDisplacement: 1, skin= 1, geomFactor= 2.5 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + UrbanMsc95 : Emin= 0 eV Emax= 10 TeV Table with 220 bins Emin= 100 eV Emax= 10 TeV + +### === Deexcitation model UAtomDeexcitation is activated for 1 region: + DefaultRegionForTheWorld + +eIoni: for e- SubType= 2 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + finalRange(mm)= 0.1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + MollerBhabha : Emin= 0 eV Emax= 10 TeV + +eBrem: for e- SubType= 3 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + LPM flag: 1 for E > 1 GeV + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + eBremSB : Emin= 0 eV Emax= 1 GeV DipBustGen + eBremLPM : Emin= 1 GeV Emax= 10 TeV DipBustGen + +msc: for e+ SubType= 10 + RangeFactor= 0.01, stepLimitType: 2, latDisplacement: 1, skin= 1, geomFactor= 2.5 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + UrbanMsc95 : Emin= 0 eV Emax= 10 TeV Table with 220 bins Emin= 100 eV Emax= 10 TeV + +eIoni: for e+ SubType= 2 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + finalRange(mm)= 0.1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + MollerBhabha : Emin= 0 eV Emax= 10 TeV + +eBrem: for e+ SubType= 3 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + LPM flag: 1 for E > 1 GeV + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + eBremSB : Emin= 0 eV Emax= 1 GeV DipBustGen + eBremLPM : Emin= 1 GeV Emax= 10 TeV DipBustGen + +annihil: for e+ SubType= 5 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + eplus2gg : Emin= 0 eV Emax= 10 TeV + +msc: for proton SubType= 10 + RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + UrbanMsc95 : Emin= 0 eV Emax= 10 TeV Table with 220 bins Emin= 100 eV Emax= 10 TeV + +hIoni: for proton SubType= 2 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + finalRange(mm)= 0.05, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + Bragg : Emin= 0 eV Emax= 2 MeV + BetheBloch : Emin= 2 MeV Emax= 10 TeV + +hBrems: for proton SubType= 3 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + hBrem : Emin= 0 eV Emax= 10 TeV + +hPairProd: for proton SubType= 4 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + hPairProd : Emin= 0 eV Emax= 10 TeV + +nuclearStopping: for proton SubType= 8 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + ICRU49NucStopping : Emin= 0 eV Emax= 1 MeV + +msc: for GenericIon SubType= 10 + RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 0 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + UrbanMsc95 : Emin= 0 eV Emax= 10 TeV + +ionIoni: for GenericIon SubType= 2 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + finalRange(mm)= 0.001, dRoverRange= 0.1, integral: 1, fluct: 1, linLossLimit= 0.02 + Stopping Power data for 17 ion/material pairs + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + ParamICRU73 : Emin= 0 eV Emax= 10 TeV + +nuclearStopping: for GenericIon SubType= 8 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + ICRU49NucStopping : Emin= 0 eV Emax= 10 TeV + +msc: for alpha SubType= 10 + RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 0 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + UrbanMsc95 : Emin= 0 eV Emax= 10 TeV Table with 220 bins Emin= 100 eV Emax= 10 TeV + +ionIoni: for alpha SubType= 2 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + finalRange(mm)= 0.01, dRoverRange= 0.1, integral: 1, fluct: 1, linLossLimit= 0.02 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + BraggIon : Emin= 0 eV Emax= 7.9452 MeV + BetheBloch : Emin= 7.9452 MeV Emax= 10 TeV + +nuclearStopping: for alpha SubType= 8 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + ICRU49NucStopping : Emin= 0 eV Emax= 10 TeV + +msc: for anti_proton SubType= 10 + RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + UrbanMsc95 : Emin= 0 eV Emax= 10 TeV Table with 220 bins Emin= 100 eV Emax= 10 TeV + +hIoni: for anti_proton SubType= 2 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + finalRange(mm)= 0.05, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + ICRU73QO : Emin= 0 eV Emax= 2 MeV + BetheBloch : Emin= 2 MeV Emax= 10 TeV + +hBrems: for anti_proton SubType= 3 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + hBrem : Emin= 0 eV Emax= 10 TeV + +hPairProd: for anti_proton SubType= 4 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + hPairProd : Emin= 0 eV Emax= 10 TeV + +nuclearStopping: for anti_proton SubType= 8 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + ICRU49NucStopping : Emin= 0 eV Emax= 1 MeV + +msc: for kaon+ SubType= 10 + RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + UrbanMsc95 : Emin= 0 eV Emax= 10 TeV Table with 220 bins Emin= 100 eV Emax= 10 TeV + +hIoni: for kaon+ SubType= 2 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + finalRange(mm)= 0.05, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + Bragg : Emin= 0 eV Emax= 1.05231 MeV + BetheBloch : Emin= 1.05231 MeV Emax= 10 TeV + +hBrems: for kaon+ SubType= 3 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + hBrem : Emin= 0 eV Emax= 10 TeV + +hPairProd: for kaon+ SubType= 4 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + hPairProd : Emin= 0 eV Emax= 10 TeV + +msc: for kaon- SubType= 10 + RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + UrbanMsc95 : Emin= 0 eV Emax= 10 TeV Table with 220 bins Emin= 100 eV Emax= 10 TeV + +hIoni: for kaon- SubType= 2 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + finalRange(mm)= 0.05, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + ICRU73QO : Emin= 0 eV Emax= 1.05231 MeV + BetheBloch : Emin= 1.05231 MeV Emax= 10 TeV + +hBrems: for kaon- SubType= 3 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + hBrem : Emin= 0 eV Emax= 10 TeV + +hPairProd: for kaon- SubType= 4 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + hPairProd : Emin= 0 eV Emax= 10 TeV + +msc: for mu+ SubType= 10 + RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 1, polarAngleLimit(deg)= 180 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + WentzelVIUni : Emin= 0 eV Emax= 10 TeV Table with 220 bins Emin= 100 eV Emax= 10 TeV + +muIoni: for mu+ SubType= 2 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + finalRange(mm)= 0.05, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + Bragg : Emin= 0 eV Emax= 200 keV + BetheBloch : Emin= 200 keV Emax= 1 GeV + MuBetheBloch : Emin= 1 GeV Emax= 10 TeV + +muBrems: for mu+ SubType= 3 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + MuBrem : Emin= 0 eV Emax= 10 TeV + +muPairProd: for mu+ SubType= 4 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + muPairProd : Emin= 0 eV Emax= 10 TeV + +CoulombScat: for mu+ SubType= 1 + Lambda table from 10 eV to 10 TeV in 108 bins, spline: 1 + 180 < Theta(degree) < 180 pLimit(GeV^1)= 0.139531 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + eCoulombScattering : Emin= 0 eV Emax= 10 TeV + +msc: for mu- SubType= 10 + RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 1, polarAngleLimit(deg)= 180 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + WentzelVIUni : Emin= 0 eV Emax= 10 TeV Table with 220 bins Emin= 100 eV Emax= 10 TeV + +muIoni: for mu- SubType= 2 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + finalRange(mm)= 0.05, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + ICRU73QO : Emin= 0 eV Emax= 200 keV + BetheBloch : Emin= 200 keV Emax= 1 GeV + MuBetheBloch : Emin= 1 GeV Emax= 10 TeV + +muBrems: for mu- SubType= 3 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + MuBrem : Emin= 0 eV Emax= 10 TeV + +muPairProd: for mu- SubType= 4 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + muPairProd : Emin= 0 eV Emax= 10 TeV + +CoulombScat: for mu- SubType= 1 + Lambda table from 10 eV to 10 TeV in 108 bins, spline: 1 + 180 < Theta(degree) < 180 pLimit(GeV^1)= 0.139531 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + eCoulombScattering : Emin= 0 eV Emax= 10 TeV + +msc: for pi+ SubType= 10 + RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + UrbanMsc95 : Emin= 0 eV Emax= 10 TeV Table with 220 bins Emin= 100 eV Emax= 10 TeV + +hIoni: for pi+ SubType= 2 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + finalRange(mm)= 0.05, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + Bragg : Emin= 0 eV Emax= 297.505 keV + BetheBloch : Emin= 297.505 keV Emax= 10 TeV + +hBrems: for pi+ SubType= 3 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + hBrem : Emin= 0 eV Emax= 10 TeV + +hPairProd: for pi+ SubType= 4 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + hPairProd : Emin= 0 eV Emax= 10 TeV + +msc: for pi- SubType= 10 + RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + UrbanMsc95 : Emin= 0 eV Emax= 10 TeV Table with 220 bins Emin= 100 eV Emax= 10 TeV + +hIoni: for pi- SubType= 2 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + finalRange(mm)= 0.05, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + ICRU73QO : Emin= 0 eV Emax= 297.505 keV + BetheBloch : Emin= 297.505 keV Emax= 10 TeV + +hBrems: for pi- SubType= 3 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + hBrem : Emin= 0 eV Emax= 10 TeV + +hPairProd: for pi- SubType= 4 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + hPairProd : Emin= 0 eV Emax= 10 TeV + +Region <DefaultRegionForTheWorld> -- -- appears in <World> world volume + This region is in the mass world. + Root logical volume(s) : World + Pointers : G4VUserRegionInformation[0], G4UserLimits[0], G4FastSimulationManager[0], G4UserSteppingAction[0] + Materials : Galactic Aluminium + Production cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm + +Region <DefaultRegionForParallelWorld> -- -- is not associated to any world. + Root logical volume(s) : + Pointers : G4VUserRegionInformation[0], G4UserLimits[0], G4FastSimulationManager[0], G4UserSteppingAction[0] + Materials : + Production cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm + +========= Table of registered couples ============================== + +Index : 0 used in the geometry : Yes recalculation needed : No + Material : Galactic + Range cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm + Energy thresholds : gamma 990 eV e- 990 eV e+ 990 eV proton 100 keV + Region(s) which use this couple : + DefaultRegionForTheWorld + +Index : 1 used in the geometry : No recalculation needed : No + Material : Silicon + Range cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm + Energy thresholds : gamma 6.95018 keV e- 548.291 keV e+ 526.624 keV proton 100 keV + +Index : 2 used in the geometry : No recalculation needed : No + Material : Gold + Range cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm + Energy thresholds : gamma 112.644 keV e- 2.30976 MeV e+ 2.13081 MeV proton 100 keV + +Index : 3 used in the geometry : No recalculation needed : No + Material : G4_POLYETHYLENE + Range cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm + Energy thresholds : gamma 2.26261 keV e- 351.877 keV e+ 342.545 keV proton 100 keV + +Index : 4 used in the geometry : Yes recalculation needed : No + Material : Aluminium + Range cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm + Energy thresholds : gamma 6.90363 keV e- 598.345 keV e+ 570.85 keV proton 100 keV + Region(s) which use this couple : + DefaultRegionForTheWorld + +==================================================================== + +Start closing geometry. +G4GeometryManager::ReportVoxelStats -- Voxel Statistics + + Total memory consumed for geometry optimisation: 0 kByte + Total CPU time elapsed for geometry optimisation: 0 seconds +### Run 3 start. + +--------- Ranecu engine status --------- + Initial seed (index) = 0 + Current couple of seeds = 1071691336, 1171911329 +---------------------------------------- +Start Run processing. + +---> Begin of Event: 0 + +---> Begin of Event: 10000 + +---> Begin of Event: 20000 + +---> Begin of Event: 30000 + +---> Begin of Event: 40000 +Run terminated. +Run Summary + Number of events processed : 50000 + User=1.27s Real=2.87s Sys=0s + + ======================== run summary ====================== + + The run was 50000 proton of 175 GeV through 8 mm of Aluminium (density: 2.7 g/cm3 ) + + Total energy deposit in absorber per event = 4.794 MeV +- 188 keV + + -----> Mean dE/dx = 5.99 MeV/cm (2.219 MeV*cm2/g) + + From formulas : + restricted dEdx = 4.024 MeV/cm (1.49 MeV*cm2/g) + full dEdx = 6.049 MeV/cm (2.24 MeV*cm2/g) + + Leakage : primary = 174.7 GeV +- 188 keV secondaries = 0 eV +- 0 eV + Energy balance : edep + eleak = 174.7 GeV + + Total track length (charged) in absorber per event = 8.004 mm +- 0 fm + Total track length (neutral) in absorber per event = 0 fm +- 0 fm + + Number of steps (charged) in absorber per event = 1.269 +- 0 + Number of steps (neutral) in absorber per event = 0 +- 0 + + Number of secondaries per event : Gammas = 0 electrons = 0.269 positrons = 0.00078 + + Number of events with the primary particle transmitted = 100 % + Number of events with at least 1 particle transmitted (same charge as primary) = 100 % + + Number of events with the primary particle reflected = 0 % + Number of events with at least 1 particle reflected (same charge as primary) = 0 % + + MultipleScattering: + rms proj angle of transmit primary particle = 0.02072 mrad (central part only) + computed theta0 (Highland formula) = 0.02111 mrad + central part defined as +- 0.06333 mrad Tail ratio = 1.915 % + +--------- Ranecu engine status --------- + Initial seed (index) = 0 + Current couple of seeds = 855224844, 1534153149 +---------------------------------------- +# +/testem/det/setAbsMat Iron +/testem/det/setAbsThick 1 m +/testem/det/update + + Material: Galactic density: 0.000 kg/m3 RadL: 204727512.315 pc Nucl.Int.Length: 114561548.020 pc Imean: 19.200 eV temperature: 2.73 K pressure: 0.00 atm + ---> Element: Galactic ( ) Z = 1.0 N = 1.0 A = 1.01 g/mole + ---> Isotope: 1 Z = 1 N = 1 A = 1.01 g/mole abundance: 99.99 % + ---> Isotope: 2 Z = 1 N = 2 A = 2.01 g/mole abundance: 0.01 % + ElmMassFraction: 100.00 % ElmAbundance 100.00 % + + + Material: Iron density: 7.870 g/cm3 RadL: 1.759 cm Nucl.Int.Length: 16.969 cm Imean: 286.000 eV + ---> Element: Iron ( ) Z = 26.0 N = 55.8 A = 55.85 g/mole + ---> Isotope: 54 Z = 26 N = 54 A = 53.94 g/mole abundance: 5.84 % + ---> Isotope: 56 Z = 26 N = 56 A = 55.93 g/mole abundance: 91.75 % + ---> Isotope: 57 Z = 26 N = 57 A = 56.94 g/mole abundance: 2.12 % + ---> Isotope: 58 Z = 26 N = 58 A = 57.93 g/mole abundance: 0.28 % + ElmMassFraction: 100.00 % ElmAbundance 100.00 % + + + The WORLD is made of 1.5 m of Galactic. The transverse size (YZ) of the world is 6 cm + The ABSORBER is made of 1 m of Iron. The transverse size (YZ) is 5 cm + X position of the middle of the absorber 0 fm +Obsolete world logical volume is removed from the default region. +World is registered to the default region. +/testem/gun/setDefault +/gun/particle mu+ +/gun/energy 100 GeV +/run/beamOn 50000 + +phot: for gamma SubType= 12 + LambdaPrime table from 200 keV to 10 TeV in 154 bins + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + PhotoElectric : Emin= 0 eV Emax= 10 TeV AngularGenSauterGavrila FluoActive + +compt: for gamma SubType= 13 + Lambda table from 10 eV to 1 MeV in 100 bins, spline: 1 + LambdaPrime table from 1 MeV to 10 TeV in 140 bins + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + KleinNishina : Emin= 0 eV Emax= 10 TeV FluoActive + +conv: for gamma SubType= 14 + Lambda table from 1.022 MeV to 10 TeV in 140 bins, spline: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + BetheHeitler : Emin= 0 eV Emax= 80 GeV + BetheHeitlerLPM : Emin= 80 GeV Emax= 10 TeV + +Rayl: for gamma SubType= 11 + Lambda table from 10 eV to 100 keV in 80 bins, spline: 0 + LambdaPrime table from 100 keV to 10 TeV in 160 bins + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + LivermoreRayleigh : Emin= 0 eV Emax= 10 TeV CullenGenerator + +msc: for e- SubType= 10 + RangeFactor= 0.01, stepLimitType: 2, latDisplacement: 1, skin= 1, geomFactor= 2.5 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + UrbanMsc95 : Emin= 0 eV Emax= 10 TeV Table with 220 bins Emin= 100 eV Emax= 10 TeV + +### === Deexcitation model UAtomDeexcitation is activated for 1 region: + DefaultRegionForTheWorld + +eIoni: for e- SubType= 2 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + finalRange(mm)= 0.1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + MollerBhabha : Emin= 0 eV Emax= 10 TeV + +eBrem: for e- SubType= 3 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + LPM flag: 1 for E > 1 GeV + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + eBremSB : Emin= 0 eV Emax= 1 GeV DipBustGen + eBremLPM : Emin= 1 GeV Emax= 10 TeV DipBustGen + +msc: for e+ SubType= 10 + RangeFactor= 0.01, stepLimitType: 2, latDisplacement: 1, skin= 1, geomFactor= 2.5 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + UrbanMsc95 : Emin= 0 eV Emax= 10 TeV Table with 220 bins Emin= 100 eV Emax= 10 TeV + +eIoni: for e+ SubType= 2 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + finalRange(mm)= 0.1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + MollerBhabha : Emin= 0 eV Emax= 10 TeV + +eBrem: for e+ SubType= 3 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + LPM flag: 1 for E > 1 GeV + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + eBremSB : Emin= 0 eV Emax= 1 GeV DipBustGen + eBremLPM : Emin= 1 GeV Emax= 10 TeV DipBustGen + +annihil: for e+ SubType= 5 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + eplus2gg : Emin= 0 eV Emax= 10 TeV + +msc: for proton SubType= 10 + RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + UrbanMsc95 : Emin= 0 eV Emax= 10 TeV Table with 220 bins Emin= 100 eV Emax= 10 TeV + +hIoni: for proton SubType= 2 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + finalRange(mm)= 0.05, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + Bragg : Emin= 0 eV Emax= 2 MeV + BetheBloch : Emin= 2 MeV Emax= 10 TeV + +hBrems: for proton SubType= 3 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + hBrem : Emin= 0 eV Emax= 10 TeV + +hPairProd: for proton SubType= 4 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + hPairProd : Emin= 0 eV Emax= 10 TeV + +nuclearStopping: for proton SubType= 8 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + ICRU49NucStopping : Emin= 0 eV Emax= 1 MeV + +msc: for GenericIon SubType= 10 + RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 0 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + UrbanMsc95 : Emin= 0 eV Emax= 10 TeV + +ionIoni: for GenericIon SubType= 2 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + finalRange(mm)= 0.001, dRoverRange= 0.1, integral: 1, fluct: 1, linLossLimit= 0.02 + Stopping Power data for 17 ion/material pairs + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + ParamICRU73 : Emin= 0 eV Emax= 10 TeV + +nuclearStopping: for GenericIon SubType= 8 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + ICRU49NucStopping : Emin= 0 eV Emax= 10 TeV + +msc: for alpha SubType= 10 + RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 0 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + UrbanMsc95 : Emin= 0 eV Emax= 10 TeV Table with 220 bins Emin= 100 eV Emax= 10 TeV + +ionIoni: for alpha SubType= 2 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + finalRange(mm)= 0.01, dRoverRange= 0.1, integral: 1, fluct: 1, linLossLimit= 0.02 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + BraggIon : Emin= 0 eV Emax= 7.9452 MeV + BetheBloch : Emin= 7.9452 MeV Emax= 10 TeV + +nuclearStopping: for alpha SubType= 8 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + ICRU49NucStopping : Emin= 0 eV Emax= 10 TeV + +msc: for anti_proton SubType= 10 + RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + UrbanMsc95 : Emin= 0 eV Emax= 10 TeV Table with 220 bins Emin= 100 eV Emax= 10 TeV + +hIoni: for anti_proton SubType= 2 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + finalRange(mm)= 0.05, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + ICRU73QO : Emin= 0 eV Emax= 2 MeV + BetheBloch : Emin= 2 MeV Emax= 10 TeV + +hBrems: for anti_proton SubType= 3 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + hBrem : Emin= 0 eV Emax= 10 TeV + +hPairProd: for anti_proton SubType= 4 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + hPairProd : Emin= 0 eV Emax= 10 TeV + +nuclearStopping: for anti_proton SubType= 8 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + ICRU49NucStopping : Emin= 0 eV Emax= 1 MeV + +msc: for kaon+ SubType= 10 + RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + UrbanMsc95 : Emin= 0 eV Emax= 10 TeV Table with 220 bins Emin= 100 eV Emax= 10 TeV + +hIoni: for kaon+ SubType= 2 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + finalRange(mm)= 0.05, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + Bragg : Emin= 0 eV Emax= 1.05231 MeV + BetheBloch : Emin= 1.05231 MeV Emax= 10 TeV + +hBrems: for kaon+ SubType= 3 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + hBrem : Emin= 0 eV Emax= 10 TeV + +hPairProd: for kaon+ SubType= 4 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + hPairProd : Emin= 0 eV Emax= 10 TeV + +msc: for kaon- SubType= 10 + RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + UrbanMsc95 : Emin= 0 eV Emax= 10 TeV Table with 220 bins Emin= 100 eV Emax= 10 TeV + +hIoni: for kaon- SubType= 2 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + finalRange(mm)= 0.05, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + ICRU73QO : Emin= 0 eV Emax= 1.05231 MeV + BetheBloch : Emin= 1.05231 MeV Emax= 10 TeV + +hBrems: for kaon- SubType= 3 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + hBrem : Emin= 0 eV Emax= 10 TeV + +hPairProd: for kaon- SubType= 4 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + hPairProd : Emin= 0 eV Emax= 10 TeV + +msc: for mu+ SubType= 10 + RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 1, polarAngleLimit(deg)= 180 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + WentzelVIUni : Emin= 0 eV Emax= 10 TeV Table with 220 bins Emin= 100 eV Emax= 10 TeV + +muIoni: for mu+ SubType= 2 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + finalRange(mm)= 0.05, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + Bragg : Emin= 0 eV Emax= 200 keV + BetheBloch : Emin= 200 keV Emax= 1 GeV + MuBetheBloch : Emin= 1 GeV Emax= 10 TeV + +muBrems: for mu+ SubType= 3 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + MuBrem : Emin= 0 eV Emax= 10 TeV + +muPairProd: for mu+ SubType= 4 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + muPairProd : Emin= 0 eV Emax= 10 TeV + +CoulombScat: for mu+ SubType= 1 + Lambda table from 10 eV to 10 TeV in 108 bins, spline: 1 + 180 < Theta(degree) < 180 pLimit(GeV^1)= 0.139531 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + eCoulombScattering : Emin= 0 eV Emax= 10 TeV + +msc: for mu- SubType= 10 + RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 1, polarAngleLimit(deg)= 180 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + WentzelVIUni : Emin= 0 eV Emax= 10 TeV Table with 220 bins Emin= 100 eV Emax= 10 TeV + +muIoni: for mu- SubType= 2 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + finalRange(mm)= 0.05, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + ICRU73QO : Emin= 0 eV Emax= 200 keV + BetheBloch : Emin= 200 keV Emax= 1 GeV + MuBetheBloch : Emin= 1 GeV Emax= 10 TeV + +muBrems: for mu- SubType= 3 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + MuBrem : Emin= 0 eV Emax= 10 TeV + +muPairProd: for mu- SubType= 4 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + muPairProd : Emin= 0 eV Emax= 10 TeV + +CoulombScat: for mu- SubType= 1 + Lambda table from 10 eV to 10 TeV in 108 bins, spline: 1 + 180 < Theta(degree) < 180 pLimit(GeV^1)= 0.139531 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + eCoulombScattering : Emin= 0 eV Emax= 10 TeV + +msc: for pi+ SubType= 10 + RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + UrbanMsc95 : Emin= 0 eV Emax= 10 TeV Table with 220 bins Emin= 100 eV Emax= 10 TeV + +hIoni: for pi+ SubType= 2 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + finalRange(mm)= 0.05, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + Bragg : Emin= 0 eV Emax= 297.505 keV + BetheBloch : Emin= 297.505 keV Emax= 10 TeV + +hBrems: for pi+ SubType= 3 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + hBrem : Emin= 0 eV Emax= 10 TeV + +hPairProd: for pi+ SubType= 4 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + hPairProd : Emin= 0 eV Emax= 10 TeV + +msc: for pi- SubType= 10 + RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + UrbanMsc95 : Emin= 0 eV Emax= 10 TeV Table with 220 bins Emin= 100 eV Emax= 10 TeV + +hIoni: for pi- SubType= 2 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + finalRange(mm)= 0.05, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + ICRU73QO : Emin= 0 eV Emax= 297.505 keV + BetheBloch : Emin= 297.505 keV Emax= 10 TeV + +hBrems: for pi- SubType= 3 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + hBrem : Emin= 0 eV Emax= 10 TeV + +hPairProd: for pi- SubType= 4 + dE/dx and range tables from 10 eV to 10 TeV in 240 bins + Lambda tables from threshold to 10 TeV in 240 bins, spline: 1 + ===== EM models for the G4Region DefaultRegionForTheWorld ====== + hPairProd : Emin= 0 eV Emax= 10 TeV + +Region <DefaultRegionForTheWorld> -- -- appears in <World> world volume + This region is in the mass world. + Root logical volume(s) : World + Pointers : G4VUserRegionInformation[0], G4UserLimits[0], G4FastSimulationManager[0], G4UserSteppingAction[0] + Materials : Galactic Iron + Production cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm + +Region <DefaultRegionForParallelWorld> -- -- is not associated to any world. + Root logical volume(s) : + Pointers : G4VUserRegionInformation[0], G4UserLimits[0], G4FastSimulationManager[0], G4UserSteppingAction[0] + Materials : + Production cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm + +========= Table of registered couples ============================== + +Index : 0 used in the geometry : Yes recalculation needed : No + Material : Galactic + Range cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm + Energy thresholds : gamma 990 eV e- 990 eV e+ 990 eV proton 100 keV + Region(s) which use this couple : + DefaultRegionForTheWorld + +Index : 1 used in the geometry : No recalculation needed : No + Material : Silicon + Range cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm + Energy thresholds : gamma 6.95018 keV e- 548.291 keV e+ 526.624 keV proton 100 keV + +Index : 2 used in the geometry : No recalculation needed : No + Material : Gold + Range cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm + Energy thresholds : gamma 112.644 keV e- 2.30976 MeV e+ 2.13081 MeV proton 100 keV + +Index : 3 used in the geometry : No recalculation needed : No + Material : G4_POLYETHYLENE + Range cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm + Energy thresholds : gamma 2.26261 keV e- 351.877 keV e+ 342.545 keV proton 100 keV + +Index : 4 used in the geometry : No recalculation needed : No + Material : Aluminium + Range cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm + Energy thresholds : gamma 6.90363 keV e- 598.345 keV e+ 570.85 keV proton 100 keV + +Index : 5 used in the geometry : Yes recalculation needed : No + Material : Iron + Range cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm + Energy thresholds : gamma 20.6438 keV e- 1.29592 MeV e+ 1.21169 MeV proton 100 keV + Region(s) which use this couple : + DefaultRegionForTheWorld + +==================================================================== + +Start closing geometry. +G4GeometryManager::ReportVoxelStats -- Voxel Statistics + + Total memory consumed for geometry optimisation: 0 kByte + Total CPU time elapsed for geometry optimisation: 0 seconds +### Run 4 start. + +--------- Ranecu engine status --------- + Initial seed (index) = 0 + Current couple of seeds = 855224844, 1534153149 +---------------------------------------- +Start Run processing. + +---> Begin of Event: 0 + +---> Begin of Event: 10000 + +---> Begin of Event: 20000 + +---> Begin of Event: 30000 + +---> Begin of Event: 40000 +Run terminated. +Run Summary + Number of events processed : 50000 + User=16.36s Real=50.59s Sys=0.01s + + ======================== run summary ====================== + + The run was 50000 mu+ of 100 GeV through 1 m of Iron (density: 7.87 g/cm3 ) + + Total energy deposit in absorber per event = 2.153 GeV +- 15.31 MeV + + -----> Mean dE/dx = 21.53 MeV/cm (2.735 MeV*cm2/g) + + From formulas : + restricted dEdx = 11.22 MeV/cm (1.425 MeV*cm2/g) + full dEdx = 21.6 MeV/cm (2.745 MeV*cm2/g) + + Leakage : primary = 97.85 GeV +- 15.31 MeV secondaries = 0 eV +- 0 eV + Energy balance : edep + eleak = 100 GeV + + Total track length (charged) in absorber per event = 100 cm +- 6.052 um + Total track length (neutral) in absorber per event = 0 fm +- 0 fm + + Number of steps (charged) in absorber per event = 47.93 +- 0.0003479 + Number of steps (neutral) in absorber per event = 0 +- 0 + + Number of secondaries per event : Gammas = 0.04914 electrons = 46.33 positrons = 1.256 + + Number of events with the primary particle transmitted = 100 % + Number of events with at least 1 particle transmitted (same charge as primary) = 100 % + + Number of events with the primary particle reflected = 0 % + Number of events with at least 1 particle reflected (same charge as primary) = 0 % + + MultipleScattering: + rms proj angle of transmit primary particle = 1.127 mrad (central part only) + computed theta0 (Highland formula) = 1.182 mrad + central part defined as +- 3.545 mrad Tail ratio = 0.312 % + +--------- Ranecu engine status --------- + Initial seed (index) = 0 + Current couple of seeds = 2037953065, 756024662 +---------------------------------------- +# +G4 kernel has come to Quit state. +UserDetectorConstruction deleted. +UserPhysicsList deleted. +UserRunAction deleted. +UserPrimaryGenerator deleted. +EventManager deleted. +UImanager deleted. +Units table cleared. +StateManager deleted. +RunManagerKernel is deleted. +RunManager is deleted. diff --git a/Geant4/G4examples/extended/electromagnetic/G4TestEm5/scripts/_CMakeLists.txt b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/scripts/_CMakeLists.txt new file mode 100644 index 0000000000000000000000000000000000000000..a22b19ab517fbd87d31ce59607d623a340e6bc89 --- /dev/null +++ b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/scripts/_CMakeLists.txt @@ -0,0 +1,29 @@ +# $Id: GNUmakefile,v 1.15 2008-06-11 22:15:20 maire Exp $ +# -------------------------------------------------------------- +# GNUmakefile for examples module. Gabriele Cosmo, 06/04/98. +# -------------------------------------------------------------- + +name := TestEm5 +G4TARGET := $(name) +G4EXLIB := true + +ifndef G4INSTALL + G4INSTALL = ../../../.. +endif + +.PHONY: all +all: hbook lib bin + +#### G4_USE_HBOOK := true +include GNUmakefile.tools_hbook + +include $(G4INSTALL)/config/architecture.gmk + +include $(G4INSTALL)/config/binmake.gmk + +histclean: + rm -f $(G4WORKDIR)/tmp/$(G4SYSTEM)/$(G4TARGET)/HistoManager.o + +visclean: + rm -f g4*.prim g4*.eps g4*.wrl + rm -f .DAWN_* diff --git a/Geant4/G4examples/extended/electromagnetic/G4TestEm5/scripts/acosta.mac b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/scripts/acosta.mac new file mode 100644 index 0000000000000000000000000000000000000000..8bcb9f885ee8cafebd8f406deda6c3bcc0cb40f7 --- /dev/null +++ b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/scripts/acosta.mac @@ -0,0 +1,29 @@ +# $Id: acosta.mac,v 1.2 2007-07-31 16:51:29 maire Exp $ +# +# macro file for TestEm5.cc +# +# Back x-ray emission by 20 keV electrons in Silver. +# E. Acosta et al. Journal of Applied Physics 83(11) 1998 page 6038 +# Fig. 4-5-6 +# +/control/verbose 2 +/run/verbose 2 +# +/testem/det/setAbsMat Silver +/testem/det/setAbsThick 1 cm +/testem/det/setAbsYZ 1 cm +# +/run/initialize +# +/testem/gun/setDefault +/gun/particle e- +/gun/energy 20 keV +# +/analysis/setFileName acosta +/analysis/h1/set 40 40 0 20 keV #energy at exit. (reflect,neutral) +# +/testem/phys/setGCut 1 um +# +/testem/event/printModulo 100000 +# +/run/beamOn 5000000 diff --git a/Geant4/G4examples/extended/electromagnetic/G4TestEm5/scripts/anthony.mac b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/scripts/anthony.mac new file mode 100644 index 0000000000000000000000000000000000000000..90f61a842889c470af1a3645d5d13a27c1630854 --- /dev/null +++ b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/scripts/anthony.mac @@ -0,0 +1,31 @@ +# $Id: anthony.mac,v 1.4 2007-07-31 16:51:29 maire Exp $ +# +# macro file for TestEm5.cc +# +# LPM and dielectric effect measurement: +# 25 GeV electrons through thin foils. +# P.L. Anthony et al. Phys.Rev. D 56 (1997) page 1373. +# +/control/verbose 2 +/run/verbose 2 +# +/testem/det/setAbsMat Aluminium +/testem/det/setAbsThick 5.30 mm +###/testem/det/setAbsMat Lead +###/testem/det/setAbsThick 0.15 mm +/testem/det/setAbsYZ 10 cm +# +/testem/phys/setGCut 1 mm +/testem/phys/setECut 5 um +/testem/phys/setPCut 5 um +# +/run/initialize +# +/testem/gun/setDefault +/gun/particle e- +/gun/energy 25 GeV +# +/analysis/setFileName anthony +/analysis/h1/set 20 80 1.e-4 1. GeV #gamma energy at exit +# +/run/beamOn 100000 diff --git a/Geant4/G4examples/extended/electromagnetic/G4TestEm5/scripts/berger.mac b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/scripts/berger.mac new file mode 100644 index 0000000000000000000000000000000000000000..390408a537806de6f254d75eb581763714437f7b --- /dev/null +++ b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/scripts/berger.mac @@ -0,0 +1,36 @@ +# $Id: berger.mac,v 1.8 2010-05-19 09:35:37 maire Exp $ +# +# macro file for TestEm5.cc +# +# energy deposit by 1 MeV electrons in silicon counters. +# M.J.Berger et al. NIM 69 (1969) page 181 +# +/control/verbose 2 +/run/verbose 2 +# +/testem/det/setAbsMat Silicon +###/testem/det/setAbsThick 61 um +###/testem/det/setAbsThick 105 um +###/testem/det/setAbsThick 191 um +/testem/det/setAbsThick 530 um +###/testem/det/setAbsThick 1 mm +###/testem/det/setAbsThick 3 mm +/testem/det/setAbsYZ 1 cm +# +###/testem/phys/addPhysics emstandard_opt0 +/testem/phys/addPhysics local +# +/testem/phys/setCuts 10 um +# +/run/initialize +# +/testem/gun/setDefault +/gun/particle e- +/gun/energy 1 MeV +# +/analysis/setFileName berger/local +/analysis/h1/set 1 105 0 1.05 MeV #energy deposit +# +/testem/event/printModulo 100000 +# +/run/beamOn 1000000 diff --git a/Geant4/G4examples/extended/electromagnetic/G4TestEm5/scripts/bichsel.mac b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/scripts/bichsel.mac new file mode 100644 index 0000000000000000000000000000000000000000..d23e38e1d164debc4be07ec200311bd9e5c1b4c5 --- /dev/null +++ b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/scripts/bichsel.mac @@ -0,0 +1,31 @@ +# $Id: bichsel.mac,v 1.4 2007-07-31 16:51:29 maire Exp $ +# +# macro file for TestEm5.cc +# +# 0.766 MeV protons, transmitted through 1.37 mg/cm2 Al +# H.Bichsel Phys.Rev. 112 (1958) page 182. +# +# proj. angle distr. exp(-(th/th0)**2) th0 = 4.44+- 0.20 deg +# +/control/verbose 2 +/run/verbose 2 +# +/testem/det/setAbsMat Aluminium +/testem/det/setAbsThick 5.0741 um +/testem/det/setAbsYZ 1 cm +# +/testem/phys/setCuts 1 mm +# +/run/initialize +# +/testem/gun/setDefault +/gun/particle proton +/gun/energy 766 keV +# +/analysis/setFileName bichsel +/analysis/h1/set 12 100 0 9 deg #space angle +/analysis/h1/set 13 100 -9 +9 deg #projected angle +# +/testem/stack/killSecondaries +# +/run/beamOn 100000 diff --git a/Geant4/G4examples/extended/electromagnetic/G4TestEm5/scripts/dedx1.mac b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/scripts/dedx1.mac new file mode 100644 index 0000000000000000000000000000000000000000..a4547bdade50851f2ef01eafca9b0d2e41a59be1 --- /dev/null +++ b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/scripts/dedx1.mac @@ -0,0 +1,29 @@ +# $Id: dedx1.mac,v 1.6 2009-09-18 14:03:24 maire Exp $ +# +# macro file for TestEm5.cc +# +# to control dE/dx calculation +# +/control/verbose 2 +/run/verbose 2 +# +/testem/det/setAbsMat Air +/testem/det/setAbsThick 1 cm +/testem/det/setAbsYZ 1 cm +# +/testem/phys/addPhysics local +# +/testem/phys/setCuts 1 km +# +/run/initialize +# +/process/inactivate msc +/process/eLoss/fluct false +# +/testem/gun/setDefault +/gun/particle proton +/gun/energy 10 MeV +# +/tracking/verbose 1 +# +/run/beamOn 5 diff --git a/Geant4/G4examples/extended/electromagnetic/G4TestEm5/scripts/dedx2.mac b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/scripts/dedx2.mac new file mode 100644 index 0000000000000000000000000000000000000000..813f51681e395464f8a8e295f16b505d9e9ca65a --- /dev/null +++ b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/scripts/dedx2.mac @@ -0,0 +1,29 @@ +# $Id: dedx2.mac,v 1.6 2009-09-18 14:03:24 maire Exp $ +# +# macro file for TestEm5.cc +# +# to control dE/dx calculation +# +/control/verbose 2 +/run/verbose 2 +# +/testem/det/setAbsMat Graphite +/testem/det/setAbsThick 10 um +/testem/det/setAbsYZ 10 um +# +/testem/phys/addPhysics local +###/testem/phys/addPhysics emlivermore +###/testem/phys/addPhysics empenelope +# +/testem/phys/setCuts 1 km +# +/run/initialize +# +/testem/gun/setDefault +/gun/particle e- +/gun/energy 1 MeV +# +/analysis/setFileName dedx2 +/analysis/h1/set 1 100 0. 10. keV #energy in absorber +# +/run/beamOn 10000 diff --git a/Geant4/G4examples/extended/electromagnetic/G4TestEm5/scripts/fluo.mac b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/scripts/fluo.mac new file mode 100644 index 0000000000000000000000000000000000000000..719e812fce9f5bdf2fd704ca0d1d920099618f2a --- /dev/null +++ b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/scripts/fluo.mac @@ -0,0 +1,35 @@ +# macro file for TestEm5.cc +# +/control/verbose 2 +/run/verbose 2 +# +/testem/det/setAbsMat Gold +/testem/det/setAbsThick 50 um +/testem/det/setAbsYZ 50 um +# +/testem/phys/addPhysics emlivermore +# +/testem/phys/setGCut 10 nm +/testem/phys/setECut 10 nm +/testem/phys/setPCut 10 nm +# +/cuts/setLowEdge 250 eV +# +/run/initialize +# +/process/em/deexcitation World true true true +/process/em/fluo true +/process/em/auger true +/process/em/pixe true +# +/testem/gun/setDefault +/gun/particle gamma +/gun/energy 1 MeV +# +/analysis/setFileName fluo +/analysis/h1/set 2 100 0 1000 keV #e-: energy at vertex +/analysis/h1/set 3 100 1 1000 keV #gamma: energy at vertex +# +/testem/event/printModulo 10000 +# +/run/beamOn 100000 diff --git a/Geant4/G4examples/extended/electromagnetic/G4TestEm5/scripts/gammaSpectrum.mac b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/scripts/gammaSpectrum.mac new file mode 100644 index 0000000000000000000000000000000000000000..06ced36f8c0362e0b04fc8660c9b913d618e7145 --- /dev/null +++ b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/scripts/gammaSpectrum.mac @@ -0,0 +1,31 @@ +# macro file for TestEm5.cc +# +/control/verbose 2 +/run/verbose 2 +# +/testem/det/setAbsMat Tungsten +/testem/det/setAbsThick 3 mm +/testem/det/setAbsYZ 10 mm +# +/testem/phys/addPhysics local +###/testem/phys/addPhysics emstandard_opt3 +/testem/phys/setCuts 100 um +###/run/setCut 100 um +# +/run/initialize +# +###/process/em/fluo true +# +/testem/gun/setDefault +/gun/particle e- +/gun/energy 6 MeV +# +/analysis/setFileName gammaSpectrum +/analysis/h1/set 3 200 0.01 10 MeV #gamma: energy at vertex +/analysis/h1/set 5 200 0.01 10 MeV log10 #gamma: energy at vertex (log10) +/analysis/h1/set 20 200 0 6 MeV #gamma: energy at exit +/analysis/h1/set 40 200 0 6 MeV #gamma: energy at back +# +/testem/event/printModulo 10000 +# +/run/beamOn 100000 diff --git a/Geant4/G4examples/extended/electromagnetic/G4TestEm5/scripts/gottsch.mac b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/scripts/gottsch.mac new file mode 100644 index 0000000000000000000000000000000000000000..27fcab2f346453a1a01b3a397d52e847742427b9 --- /dev/null +++ b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/scripts/gottsch.mac @@ -0,0 +1,31 @@ +# $Id: gottsch.mac,v 1.3 2007-07-31 16:51:29 maire Exp $ +# +# macro file for TestEm5.cc +# +# 158.6 MeV protons, transmitted through 0.2160 g/cm2 Al +# B.Gottschalk et al. NIM B74 (1993) page 467. +# +# proj. angle distr. exp(-0.5*(th/th0)**2) th0 = 3.534 +- 0.491 mrad +# +/control/verbose 2 +/run/verbose 2 +# +/testem/det/setAbsMat Aluminium +/testem/det/setAbsThick 0.8 mm +/testem/det/setAbsYZ 1 cm +# +/testem/phys/setCuts 1 mm +# +/run/initialize +# +/testem/gun/setDefault +/gun/particle proton +/gun/energy 158.6 MeV +# +/analysis/setFileName gottsch +/analysis/h1/set 12 100 0.0 0.6 deg #space angle +/analysis/h1/set 13 100 -0.6 +0.6 deg #projected angle +# +/testem/stack/killSecondaries +# +/run/beamOn 100000 diff --git a/Geant4/G4examples/extended/electromagnetic/G4TestEm5/scripts/hanson.mac b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/scripts/hanson.mac new file mode 100644 index 0000000000000000000000000000000000000000..c96ad57a796805ee01f686d00f55b601b977b88f --- /dev/null +++ b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/scripts/hanson.mac @@ -0,0 +1,35 @@ +# $Id: hanson.mac,v 1.5 2009-06-19 12:42:04 vnivanch Exp $ +# +# macro file for TestEm5.cc +# +# angle distribution of 15.7 MeV electrons +# transmitted through thin gold foils. +# A.O.Hanson et al. Phys.Rev.84 (1951) page 634. +# +/control/verbose 2 +/run/verbose 2 +# +/testem/det/setAbsMat Gold +###/testem/det/setAbsThick 9.658 um +/testem/det/setAbsThick 19.296 um +/testem/det/setAbsYZ 1 cm +# +/testem/phys/setGCut 13.0 um +/testem/phys/setECut 1.12 um +/testem/phys/setPCut 1.12 um +# +###/testem/phys/addPhysics emstandard_opt0 +/testem/phys/addPhysics local +# +/run/initialize +# +/testem/gun/setDefault +/gun/particle e- +/gun/energy 15.7 MeV +# +/analysis/setFileName hanson/19um.local +/anlysis/h1/set 12 120 0 30 deg #space angle +# +/testem/event/printModulo 100000 +# +/run/beamOn 1000000 diff --git a/Geant4/G4examples/extended/electromagnetic/G4TestEm5/scripts/hunger.mac b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/scripts/hunger.mac new file mode 100644 index 0000000000000000000000000000000000000000..c44d2e4452f22612fafde8a98fb17e1e6f031589 --- /dev/null +++ b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/scripts/hunger.mac @@ -0,0 +1,30 @@ +# $Id: hunger.mac,v 1.3 2007-07-31 16:51:29 maire Exp $ +# +# macro file for TestEm5.cc +# +# Back scattering of 41 keV electrons. +# H.J. Hunger and L. Kuchler Phys. Stat. Sol.(a) 56, K45 (1979) +# +/control/verbose 2 +/run/verbose 2 +# +/testem/det/setAbsMat Silver +/testem/det/setAbsThick 50 um +/testem/det/setAbsYZ 60 um +# +/run/initialize +# +/testem/phys/setCuts 1 mm +# +/testem/gun/setDefault +/gun/particle e- +/gun/energy 41 keV +# +/analysis/setFileName hunger +/analysis/h1/set 30 50 0.0 50 keV #energy reflected_charged +# +###/testem/stepMax 1 um +# +/testem/event/printModulo 10000 +# +/run/beamOn 100000 diff --git a/Geant4/G4examples/extended/electromagnetic/G4TestEm5/scripts/ion.mac b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/scripts/ion.mac new file mode 100644 index 0000000000000000000000000000000000000000..1ff3aad168728ee3c7c287cd57677d18d132cdbc --- /dev/null +++ b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/scripts/ion.mac @@ -0,0 +1,26 @@ +# $Id: ion.mac,v 1.1 2009-06-18 19:08:27 vnivanch Exp $ +# +# macro file for TestEm5.cc +# +/control/verbose 2 +/run/verbose 2 +# +/testem/det/setAbsMat G4_Fe +# +/testem/det/setAbsThick 0.1 mm +/testem/det/setAbsYZ 1 m +# +/testem/phys/addPhysics emstandard +# +/testem/phys/setCuts 1 km +# +/run/initialize +# +#/testem/gun/setDefault +/gun/particle ion +/gun/ion 6 12 +/gun/energy 1200 MeV +# +/tracking/verbose 0 +# +/run/beamOn 1000 diff --git a/Geant4/G4examples/extended/electromagnetic/G4TestEm5/scripts/kulchi.mac b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/scripts/kulchi.mac new file mode 100644 index 0000000000000000000000000000000000000000..23b8c754c18e2a76755a78d3904bd16e4d9736e7 --- /dev/null +++ b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/scripts/kulchi.mac @@ -0,0 +1,31 @@ +# $Id: kulchi.mac,v 1.4 2007-07-31 16:51:29 maire Exp $ +# +# macro file for TestEm5.cc +# +# 2.25 MeV e-, transmitted through 26.60 mg/cm2 Al +# L.Kulchitsky Phys.Rev. 61 (1941) page 254. +# +# Gaussian th1/e = 9.50 +- 0.40 deg +# proj. distr. fit: exp(-0.5*(th/th0)**2) ====> th0 = th1/e/sqrt(2) +# +/control/verbose 2 +/run/verbose 2 +# +/testem/det/setAbsMat Aluminium +/testem/det/setAbsThick 98.5185 um +/testem/det/setAbsYZ 1 cm +# +/testem/phys/setCuts 1 mm +###/run/setCut 1 mm +# +/run/initialize +# +/testem/gun/setDefault +/gun/particle e- +/gun/energy 2.25 MeV +# +/analysis/setFileName kulchi +/analysis/h1/set 12 100 0. 25. deg #space angle +/analysis/h1/set 13 100 -25. +25. deg #projected angle +# +/run/beamOn 100000 diff --git a/Geant4/G4examples/extended/electromagnetic/G4TestEm5/scripts/mumsc.mac b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/scripts/mumsc.mac new file mode 100644 index 0000000000000000000000000000000000000000..fd8ab7d94c687e1baa08d09ab1d2244b8a48e752 --- /dev/null +++ b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/scripts/mumsc.mac @@ -0,0 +1,34 @@ +# $Id: mumsc.mac,v 1.21 2010-05-19 09:35:37 maire Exp $ +# +# macro file for TestEm5.cc +# +# mu+, transmitted through 1 m of iron +# +/control/verbose 2 +/run/verbose 2 +# +/testem/det/setAbsMat Iron +/testem/det/setAbsThick 1 m +/testem/det/setAbsYZ 1 m +/testem/det/setWorldX 1 m +/testem/det/setWorldYZ 1 m +# +/testem/phys/addPhysics local +###/testem/phys/addPhysics emstandard_opt0 +# +/testem/phys/setCuts 1 mm +# +/run/initialize +# +/testem/gun/setDefault +/gun/particle mu+ +/gun/energy 100 GeV +# +/analysis/setFileName mumsc/local +/analysis/h1/set 14 100 -5.0 +5.0 mm #x-position at exit +/analysis/h1/set 15 100 0. +10.0 mm #radius at exit +# +/testem/stack/killSecondaries +# +/testem/event/printModulo 4000 +/run/beamOn 40000 diff --git a/Geant4/G4examples/extended/electromagnetic/G4TestEm5/scripts/mutev.mac b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/scripts/mutev.mac new file mode 100644 index 0000000000000000000000000000000000000000..15018936745f724db0a28342ae5cb21ebb09cfc2 --- /dev/null +++ b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/scripts/mutev.mac @@ -0,0 +1,39 @@ +# $Id: mumsc.mac,v 1.21 2010-05-19 09:35:37 maire Exp $ +# +# macro file for TestEm5.cc +# +# mu+, transmitted through 1 m of iron +# +/control/verbose 2 +/run/verbose 2 +#/tracking/verbose 1 +# +/testem/det/setAbsMat Iron +/testem/det/setAbsMat G4_WATER +/testem/det/setAbsThick 10 m +/testem/det/setAbsYZ 10 m +/testem/det/setWorldX 10 m +/testem/det/setWorldYZ 10 m +# +/testem/phys/addPhysics local +###/testem/phys/addPhysics emstandard_opt0 +# +/testem/phys/setCuts 1 km +# +/run/initialize +# +#/process/msc/ThetaLimit 0. rad +#/process/msc/LateralDisplacement false +# +/testem/gun/setDefault +/gun/particle mu+ +/gun/energy 1000 GeV +# +#/analysis/setFileName mumsc/local +/analysis/h1/set 14 100 -5.0 +5.0 mm #x-position at exit +/analysis/h1/set 15 100 0. +10.0 mm #radius at exit +# +/testem/stack/killSecondaries 2 +# +/testem/event/printModulo 100 +/run/beamOn 1000 diff --git a/Geant4/G4examples/extended/electromagnetic/G4TestEm5/scripts/pixe.C b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/scripts/pixe.C new file mode 100644 index 0000000000000000000000000000000000000000..ba2edb9eddbce863209d4f2c4cdcf414234ca56b --- /dev/null +++ b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/scripts/pixe.C @@ -0,0 +1,23 @@ +{ + gROOT->Reset(); + + // Draw histos filled by Geant4 simulation + // + TFile f = TFile("pixe.root"); + TCanvas* c1 = new TCanvas("c1", " "); + c1->SetLogy(1); + c1->cd(); + c1->Update(); + + TH1D* hist1 = (TH1D*)f.Get("3"); + hist1->Draw("HIST"); + + TH1D* hist2 = (TH1D*)f.Get("5"); + hist2->Draw("HIST"); + + TH1D* hist3 = (TH1D*)f.Get("20"); + hist3->Draw("HIST"); + + TH1D* hist4 = (TH1D*)f.Get("40"); + hist4->Draw("HIST"); +} diff --git a/Geant4/G4examples/extended/electromagnetic/G4TestEm5/scripts/pixe.mac b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/scripts/pixe.mac new file mode 100644 index 0000000000000000000000000000000000000000..5651eff567516f043b7d6475eb3b03d6dca53b13 --- /dev/null +++ b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/scripts/pixe.mac @@ -0,0 +1,40 @@ +# macro file for TestEm5.cc +# +/control/verbose 2 +/run/verbose 2 +# +#/testem/det/setAbsMat Gold +/testem/det/setAbsMat G4_Au +/testem/det/setAbsThick 50 um +/testem/det/setAbsYZ 50 um +# +#/testem/phys/addPhysics local +#/testem/phys/addPhysics emstandard_opt0 +/testem/phys/addPhysics emlivermore +#/testem/phys/addPhysics empenelope +###/testem/phys/addPhysics emstandard_opt3 +/testem/phys/setGCut 0.5 um +/testem/phys/setECut 1 mm +/testem/phys/setPCut 1 mm +# +/run/initialize +# +#/process/em/deexcitation world true false true +/process/em/fluo true +/process/em/pixe true +/process/em/auger false +# +/testem/gun/setDefault +/gun/particle e- +#/gun/particle proton +/gun/energy 20 MeV +# +/analysis/setFileName pixe +/analysis/h1/set 3 100 0 100 keV #gamma: energy at vertex +/analysis/h1/set 5 100 1 100 keV log10 #gamma: energy at vertex (log scale) +/analysis/h1/set 20 100 0 100 keV #gamma: energy at exit +/analysis/h1/set 40 100 0 100 keV #gamma: energy at back +# +/testem/event/printModulo 10000 +# +/run/beamOn 10000 diff --git a/Geant4/G4examples/extended/electromagnetic/G4TestEm5/scripts/plotHisto.C b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/scripts/plotHisto.C new file mode 100644 index 0000000000000000000000000000000000000000..22f82b4de565127f54d164aadbe0d8f4a053ebe9 --- /dev/null +++ b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/scripts/plotHisto.C @@ -0,0 +1,14 @@ +{ + gROOT->Reset(); + + // Draw histos filled by Geant4 simulation + // + TFile f = TFile("kulchi.root"); + TCanvas* c1 = new TCanvas("c1", " "); + + TH1D* hist12 = (TH1D*)f.Get("12"); + hist12->Draw("HIST"); + + TH1D* hist13 = (TH1D*)f.Get("13"); + hist13->Draw("HIST"); +} diff --git a/Geant4/G4examples/extended/electromagnetic/G4TestEm5/scripts/plotHisto.kumac b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/scripts/plotHisto.kumac new file mode 100644 index 0000000000000000000000000000000000000000..4174307504c274404ced536ee882574461ff33f0 --- /dev/null +++ b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/scripts/plotHisto.kumac @@ -0,0 +1,14 @@ +macro plotHisto.kumac +* +h/file 1 testem5.hbook +* +h/list +* +opt grid +opt stat +h/pl 13 +* +opt logy +h/pl 13 +* +return diff --git a/Geant4/G4examples/extended/electromagnetic/G4TestEm5/scripts/shen1.mac b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/scripts/shen1.mac new file mode 100644 index 0000000000000000000000000000000000000000..75027edd026001ac7f20820258cb823dd8f37eb3 --- /dev/null +++ b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/scripts/shen1.mac @@ -0,0 +1,31 @@ +# $Id: shen1.mac,v 1.4 2007-07-31 16:51:29 maire Exp $ +# +# macro file for TestEm5.cc +# +# angle distribution of high energy (50-200 GeV/c) protons +# transmitted through different targets. +# G. Shen et al. Phys.Rev. D20 (1979) page 1584. +# +/control/verbose 2 +/run/verbose 2 +# +/testem/det/setAbsMat Aluminium +/testem/det/setAbsThick 4.005 mm +/testem/det/setAbsYZ 1 cm +# +/testem/phys/setGCut 2.25 mm +/testem/phys/setECut 6.05 um +/testem/phys/setPCut 6.05 um +# +/run/initialize +# +/testem/gun/setDefault +/gun/particle proton +/gun/energy 69.068 GeV #momentum 70 GeV/c +# +/analysis/setFileName shen1 +/analysis/h1/set 12 100 0.00 0.01 deg #space angle +# +/testem/stack/killSecondaries +# +/run/beamOn 100000 diff --git a/Geant4/G4examples/extended/electromagnetic/G4TestEm5/scripts/shen2.mac b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/scripts/shen2.mac new file mode 100644 index 0000000000000000000000000000000000000000..76dea7232ba57dcc5bae014c3655b13a3fc70114 --- /dev/null +++ b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/scripts/shen2.mac @@ -0,0 +1,32 @@ +# $Id: shen2.mac,v 1.3 2007-07-31 16:51:29 maire Exp $ +# +# macro file for TestEm5.cc +# +# proton 175 GeV/c, transmitted through 8.004 mm Al +# G. Shen et al. Phys.Rev. D20 (1979) page 1584. +# +# data theta0 = (1.93+-0.39)*e-5 rad ??? +# proj. distr. exp(-0.5*(th/th0)**2) +# +/control/verbose 2 +/run/verbose 2 +# +/testem/det/setAbsMat Aluminium +/testem/det/setAbsThick 8.004 mm +/testem/det/setAbsYZ 1 cm +# +/testem/phys/setCuts 1 mm +# +/run/initialize +# +/testem/gun/setDefault +/gun/particle proton +/gun/energy 174.664 GeV #momentum 175 GeV/c +# +/analysis/setFileName shen2 +/analysis/h1/set 12 100 0.00 0.004 deg #space angle +/analysis/h1/set 13 100 -0.004 +0.004 deg #projected angle +# +/testem/stack/killSecondaries +# +/run/beamOn 100000 diff --git a/Geant4/G4examples/extended/electromagnetic/G4TestEm5/scripts/tavora.mac b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/scripts/tavora.mac new file mode 100644 index 0000000000000000000000000000000000000000..49d8b66983ade9b91e38f2dd62e09102dc92ecb1 --- /dev/null +++ b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/scripts/tavora.mac @@ -0,0 +1,29 @@ +# $Id: tavora.mac,v 1.2 2007-07-31 16:51:29 maire Exp $ +# +# macro file for TestEm5.cc +# +# Back scattering of 35 keV electrons in Silver. +# L.M. Tavora et al. J.Phys.D: Appl. Phys. 33 (2000) page 2497 +# Fig. 7 +# +/control/verbose 2 +/run/verbose 2 +# +/testem/det/setAbsMat Silver +/testem/det/setAbsThick 50 um +/testem/det/setAbsYZ 60 um +# +/run/initialize +# +/testem/gun/setDefault +/gun/particle e- +/gun/energy 35 keV +# +/analysis/setFileName tavora +/analysis/h1/set 30 40 0.0 40 keV #energy reflected_charged +# +/testem/stepMax 50 nm +# +/testem/event/printModulo 10000 +# +/run/beamOn 100000 diff --git a/Geant4/G4examples/extended/electromagnetic/G4TestEm5/scripts/tramu.mac b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/scripts/tramu.mac new file mode 100644 index 0000000000000000000000000000000000000000..6079aef04b5710355c58bc3578a49d5585875862 --- /dev/null +++ b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/scripts/tramu.mac @@ -0,0 +1,34 @@ +# $Id: tramu.mac,v 1.14 2010-05-19 09:35:37 maire Exp $ +# +# macro file for TestEm5.cc +# +# 1 TeV mu+, transmitted through 3 m of iron +# Rev. of Particle Physics Eur. Phys. Jour. C (2000) page 172. +# Rev. of Particle Physics Letters B 592 (2004) page 251. +# +/control/verbose 2 +/run/verbose 2 +# +/testem/det/setAbsMat Iron +/testem/det/setAbsThick 3 m +/testem/det/setAbsYZ 3 m +# +###/testem/phys/addPhysics emstandard_opt0 +/testem/phys/addPhysics local +# +/testem/phys/setCuts 1 mm +# +/run/initialize +# +/testem/gun/setDefault +/gun/particle mu+ +/gun/energy 1 TeV +# +/analysis/setFileName tramu/local +/analysis/h1/set 10 100 950 1000 GeV #energy at exit +# +/testem/stack/killSecondaries +# +/testem/event/printModulo 10000 +# +/run/beamOn 100000 diff --git a/Geant4/G4examples/extended/electromagnetic/G4TestEm5/scripts/vincour.mac b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/scripts/vincour.mac new file mode 100644 index 0000000000000000000000000000000000000000..49b7183762c9806a5db73b0d20d685f6572fe920 --- /dev/null +++ b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/scripts/vincour.mac @@ -0,0 +1,31 @@ +# $Id: vincour.mac,v 1.4 2007-07-31 16:51:29 maire Exp $ +# +# macro file for TestEm5.cc +# +# angle distribution of 6.56 MeV protons +# transmitted through thin silicon targets. +# J.Vincour,P.Bem NIM 148 (1978) page 396. +# +/control/verbose 2 +/run/verbose 2 +# +/testem/det/setAbsMat Silicon +/testem/det/setAbsThick 50 um +###/testem/det/setAbsThick 92.6 um +/testem/det/setAbsYZ 1 cm +# +/testem/phys/setGCut 2.13 mm +/testem/phys/setECut 7 um +/testem/phys/setPCut 7 um +/run/initialize +# +/testem/gun/setDefault +/gun/particle proton +/gun/energy 6.56 MeV +# +/analysis/setFileName vincour +/analysis/h1/set 12 60 0. 6. deg #space angle +# +/testem/stack/killSecondaries +# +/run/beamOn 100000 diff --git a/Geant4/G4examples/extended/electromagnetic/G4TestEm5/scripts/vis.mac b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/scripts/vis.mac new file mode 100644 index 0000000000000000000000000000000000000000..a6968d98ee21f44ba235733616c84ed9cfcc454b --- /dev/null +++ b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/scripts/vis.mac @@ -0,0 +1,77 @@ +# +# Macro file for the initialization phase of "TestEm5.cc" +# Sets some default verbose +# and initializes the graphic. +# +/control/verbose 2 +/run/verbose 2 +/run/initialize +# +# Use this open statement to create an OpenGL view: +#/vis/open OGL +# +# Use this open statement to create a .prim file suitable for +# viewing in DAWN: +/vis/open DAWNFILE +# +# Use this open statement to create a .heprep file suitable for +# viewing in HepRApp: +#/vis/open HepRepFile +# +# Use this open statement to create a .wrl file suitable for +# viewing in a VRML viewer: +#/vis/open VRML2FILE +# +# Disable auto refresh and quieten vis messages whilst scene and +# trajectories are established: +/vis/viewer/set/autoRefresh false +/vis/verbose errors +# +# Draw geometry: +/vis/drawVolume +# +# Specify view angle: +#/vis/viewer/set/viewpointThetaPhi 90. 0. +# +# Specify zoom value: +/vis/viewer/zoom 1.4 +# +# Specify style (surface or wireframe): +#/vis/viewer/set/style wireframe +# +# Draw coordinate axes: +#/vis/scene/add/axes 0 0 0 1 m +# +# Draw smooth trajectories at end of event, showing trajectory points +# as markers 2 pixels wide: +/vis/scene/add/trajectories smooth +/vis/modeling/trajectories/create/drawByCharge +/vis/modeling/trajectories/drawByCharge-0/default/setDrawStepPts true +/vis/modeling/trajectories/drawByCharge-0/default/setStepPtsSize 1 +# (if too many tracks cause core dump => /tracking/storeTrajectory 0) +# +# Draw hits at end of event: +#/vis/scene/add/hits +# +# To draw only gammas: +#/vis/filtering/trajectories/create/particleFilter +#/vis/filtering/trajectories/particleFilter-0/add gamma +# +# To invert the above, drawing all particles except gammas, +# keep the above two lines but also add: +#/vis/filtering/trajectories/particleFilter-0/invert true +# +# Many other options are available with /vis/modeling and /vis/filtering. +# For example, to select colour by particle ID: +#/vis/modeling/trajectories/create/drawByParticleID +#/vis/modeling/trajectories/drawByParticleID-0/set e- blue +# +# To superimpose all of the events from a given run: +/vis/scene/endOfEventAction accumulate +# +# Re-establish auto refreshing and verbosity: +/vis/viewer/set/autoRefresh true +/vis/verbose warnings +# +# For file-based drivers, use this to create an empty detector view: +#/vis/viewer/flush diff --git a/Geant4/G4examples/extended/electromagnetic/G4TestEm5/srcnew/TestEm5.cc b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/srcnew/TestEm5.cc new file mode 100644 index 0000000000000000000000000000000000000000..f848fe7551ea7e5f13692d5ce39b2b2f93948025 --- /dev/null +++ b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/srcnew/TestEm5.cc @@ -0,0 +1,163 @@ +// +// ******************************************************************** +// * License and Disclaimer * +// * * +// * The Geant4 software is copyright of the Copyright Holders of * +// * the Geant4 Collaboration. It is provided under the terms and * +// * conditions of the Geant4 Software License, included in the file * +// * LICENSE and available at http://cern.ch/geant4/license . These * +// * include a list of copyright holders. * +// * * +// * Neither the authors of this software system, nor their employing * +// * institutes,nor the agencies providing financial support for this * +// * work make any representation or warranty, express or implied, * +// * regarding this software system or assume any liability for its * +// * use. Please see the license in the file LICENSE and URL above * +// * for the full disclaimer and the limitation of liability. * +// * * +// * This code implementation is the result of the scientific and * +// * technical work of the GEANT4 collaboration. * +// * By using, copying, modifying or distributing the software (or * +// * any work based on the software) you agree to acknowledge its * +// * use in resulting scientific publications, and indicate your * +// * acceptance of all terms of the Geant4 Software license. * +// ******************************************************************** +// +/// \file electromagnetic/TestEm5/TestEm5.cc +/// \brief Main program of the electromagnetic/TestEm5 example +// +// +// $Id$ +// +//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... +//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... + +#include "G4RunManager.hh" +#include "G4UImanager.hh" +#include "Randomize.hh" + +#include "DetectorConstruction.hh" +#include "PhysicsList.hh" +#include "PrimaryGeneratorAction.hh" +#include "RunAction.hh" +#include "EventAction.hh" +#include "TrackingAction.hh" +#include "SteppingAction.hh" +#include "SteppingVerbose.hh" +#include "StackingAction.hh" +#include "RMSPlotter.hh" + +#include"TGraphErrors.h" +#include"TH1D.h" +#include"TFile.h" + +#ifdef G4VIS_USE +#include "G4VisExecutive.hh" +#endif + +#ifdef G4UI_USE +#include "G4UIExecutive.hh" +#endif + +//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... + +int main(int argc,char** argv) { + + //choose the Random engine + CLHEP::HepRandom::setTheEngine(new CLHEP::RanecuEngine); + + //my Verbose output class + G4VSteppingVerbose::SetInstance(new SteppingVerbose); + + // Construct the default run manager + G4RunManager * runManager = new G4RunManager; + + // set mandatory initialization classes + DetectorConstruction* detector; + detector = new DetectorConstruction; + runManager->SetUserInitialization(detector); + runManager->SetUserInitialization(new PhysicsList()); + + // set user action classes + // + //primaryGenerator + PrimaryGeneratorAction* primary = new PrimaryGeneratorAction(detector); + runManager->SetUserAction(primary); + //RMSPlotter added by Tim Williams + int n=1; + if(argc==3) n=std::atoi(argv[2]); + RMSPlotter *rmsplotter = new RMSPlotter(n); + + //runAction + RunAction* runaction = new RunAction(detector,primary,rmsplotter); + runManager->SetUserAction(runaction); + + //eventAction + EventAction* eventaction = new EventAction(runaction); + runManager->SetUserAction(eventaction); + + //trackAction + TrackingAction* trackingaction = new TrackingAction(detector, runaction, + eventaction,rmsplotter); + runManager->SetUserAction(trackingaction); + + //stepAction + SteppingAction* steppingaction = new SteppingAction(detector, runaction, + eventaction); + runManager->SetUserAction(steppingaction); + + //stackAction + StackingAction* stackingaction = new StackingAction(runaction, eventaction); + runManager->SetUserAction(stackingaction); + + // get the pointer to the User Interface manager + G4UImanager* UI = G4UImanager::GetUIpointer(); + + if (argc!=1) // batch mode + { + G4String command = "/control/execute "; + G4String fileName = argv[1]; + UI->ApplyCommand(command+fileName); + TGraphErrors* rmsplot=rmsplotter->MakePlots(); + std::cout<< "Made ToyMC Style Plots"<<std::endl; + TGraphErrors* rmsfittedplot=rmsplotter->MakeFittedPlots(); + std::cout<< "Made Fitted Brute Force Plot"<<std::endl; + std::vector<TH1D*> V=rmsplotter->GetDistributions(); + TFile* Out= new TFile("RMSResults.root","RECREATE"); + rmsplot->Write(); + rmsfittedplot->Write(); + std::vector<TH1D*>::iterator Vi=V.begin(); + for(;Vi!=V.end();++Vi) + { + (*Vi)->Write(); + } + Out->Close(); + } + + else //define visualization and UI terminal for interactive mode + { +#ifdef G4VIS_USE + G4VisManager* visManager = new G4VisExecutive; + visManager->Initialize(); +#endif + +#ifdef G4UI_USE + G4UIExecutive * ui = new G4UIExecutive(argc,argv); + ui->SessionStart(); + delete ui; +#endif + +#ifdef G4VIS_USE + delete visManager; +#endif + } + + // job termination + // + delete runManager; + + return 0; +} + +//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... + diff --git a/Geant4/G4examples/extended/electromagnetic/G4TestEm5/srcnew/src/PhysicsList.cc b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/srcnew/src/PhysicsList.cc new file mode 100644 index 0000000000000000000000000000000000000000..e57a952e52d4ea71d4d264d567d3c214c22a61a3 --- /dev/null +++ b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/srcnew/src/PhysicsList.cc @@ -0,0 +1,335 @@ +// +// ******************************************************************** +// * License and Disclaimer * +// * * +// * The Geant4 software is copyright of the Copyright Holders of * +// * the Geant4 Collaboration. It is provided under the terms and * +// * conditions of the Geant4 Software License, included in the file * +// * LICENSE and available at http://cern.ch/geant4/license . These * +// * include a list of copyright holders. * +// * * +// * Neither the authors of this software system, nor their employing * +// * institutes,nor the agencies providing financial support for this * +// * work make any representation or warranty, express or implied, * +// * regarding this software system or assume any liability for its * +// * use. Please see the license in the file LICENSE and URL above * +// * for the full disclaimer and the limitation of liability. * +// * * +// * This code implementation is the result of the scientific and * +// * technical work of the GEANT4 collaboration. * +// * By using, copying, modifying or distributing the software (or * +// * any work based on the software) you agree to acknowledge its * +// * use in resulting scientific publications, and indicate your * +// * acceptance of all terms of the Geant4 Software license. * +// ******************************************************************** +// +/// \file electromagnetic/TestEm5/src/PhysicsList.cc +/// \brief Implementation of the PhysicsList class +// +// $Id$ +// +//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... +//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... + +#include "PhysicsList.hh" +#include "PhysicsListMessenger.hh" + +#include "PhysListEmStandard.hh" +#include "PhysListEmStandardSS.hh" +#include "PhysListEmStandardSSM.hh" +#include "PhysListEmStandardGS.hh" +#include "PhysListEmStandardWVI.hh" + +#include "G4EmStandardPhysics.hh" +#include "G4EmStandardPhysics_option1.hh" +#include "G4EmStandardPhysics_option2.hh" +#include "G4EmStandardPhysics_option3.hh" +#include "G4EmStandardPhysics_option4.hh" +#include "G4EmStandardPhysics_option1NoApplyCuts.hh" +#include "G4EmLivermorePhysics.hh" +#include "G4EmPenelopePhysics.hh" + +#include "G4Decay.hh" +#include "StepMax.hh" + +#include "G4UnitsTable.hh" +#include "G4SystemOfUnits.hh" + +#include "G4ParticleDefinition.hh" +#include "G4ProcessManager.hh" + +// Bosons +#include "G4ChargedGeantino.hh" +#include "G4Geantino.hh" +#include "G4Gamma.hh" +#include "G4OpticalPhoton.hh" + +// leptons +#include "G4MuonPlus.hh" +#include "G4MuonMinus.hh" +#include "G4NeutrinoMu.hh" +#include "G4AntiNeutrinoMu.hh" + +#include "G4Electron.hh" +#include "G4Positron.hh" +#include "G4NeutrinoE.hh" +#include "G4AntiNeutrinoE.hh" + +// Hadrons +#include "G4MesonConstructor.hh" +#include "G4BaryonConstructor.hh" +#include "G4IonConstructor.hh" + +//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... + +PhysicsList::PhysicsList() : G4VModularPhysicsList() +{ + fMessenger = new PhysicsListMessenger(this); + + // EM physics + fEmName = G4String("local"); + fEmPhysicsList = new PhysListEmStandard(fEmName); + + defaultCutValue = 1.*mm; + + fCutForGamma = defaultCutValue; + fCutForElectron = defaultCutValue; + fCutForPositron = defaultCutValue; + + SetVerboseLevel(1); +} + +//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... + +PhysicsList::~PhysicsList() +{ + delete fEmPhysicsList; + delete fMessenger; +} + +//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... + +void PhysicsList::ConstructParticle() +{ + // pseudo-particles + G4Geantino::GeantinoDefinition(); + G4ChargedGeantino::ChargedGeantinoDefinition(); + + // gamma + G4Gamma::GammaDefinition(); + + // leptons + G4Electron::ElectronDefinition(); + G4Positron::PositronDefinition(); + G4MuonPlus::MuonPlusDefinition(); + G4MuonMinus::MuonMinusDefinition(); + + G4NeutrinoE::NeutrinoEDefinition(); + G4AntiNeutrinoE::AntiNeutrinoEDefinition(); + G4NeutrinoMu::NeutrinoMuDefinition(); + G4AntiNeutrinoMu::AntiNeutrinoMuDefinition(); + + // mesons + G4MesonConstructor mConstructor; + mConstructor.ConstructParticle(); + + // barions + G4BaryonConstructor bConstructor; + bConstructor.ConstructParticle(); + + // ions + G4IonConstructor iConstructor; + iConstructor.ConstructParticle(); +} + +//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... + +void PhysicsList::ConstructProcess() +{ + AddTransportation(); + fEmPhysicsList->ConstructProcess(); + AddDecay(); + AddStepMax(); +} + +//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... + +void PhysicsList::AddDecay() +{ + // Add Decay Process + + G4Decay* fDecayProcess = new G4Decay(); + + theParticleIterator->reset(); + while( (*theParticleIterator)() ){ + G4ParticleDefinition* particle = theParticleIterator->value(); + G4ProcessManager* pmanager = particle->GetProcessManager(); + + if (fDecayProcess->IsApplicable(*particle) && !particle->IsShortLived()) { + + pmanager ->AddProcess(fDecayProcess); + + // set ordering for PostStepDoIt and AtRestDoIt + pmanager ->SetProcessOrdering(fDecayProcess, idxPostStep); + pmanager ->SetProcessOrdering(fDecayProcess, idxAtRest); + + } + } +} + +//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... + +void PhysicsList::AddStepMax() +{ + // Step limitation seen as a process + StepMax* stepMaxProcess = new StepMax(); + + theParticleIterator->reset(); + while ((*theParticleIterator)()){ + G4ParticleDefinition* particle = theParticleIterator->value(); + G4ProcessManager* pmanager = particle->GetProcessManager(); + + if (stepMaxProcess->IsApplicable(*particle) && !particle->IsShortLived()) + { + pmanager ->AddDiscreteProcess(stepMaxProcess); + } + } +} + +//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... + +void PhysicsList::AddPhysicsList(const G4String& name) +{ + if (verboseLevel>-1) { + G4cout << "PhysicsList::AddPhysicsList: <" << name << ">" << G4endl; + } + + if (name == fEmName) return; + + if (name == "local") { + + fEmName = name; + delete fEmPhysicsList; + fEmPhysicsList = new PhysListEmStandard(name); + + } else if (name == "emstandard_opt0") { + + fEmName = name; + delete fEmPhysicsList; + fEmPhysicsList = new G4EmStandardPhysics(); + + } else if (name == "emstandard_opt1") { + + fEmName = name; + delete fEmPhysicsList; + fEmPhysicsList = new G4EmStandardPhysics_option1(); + + } else if (name == "emstandard_opt2") { + + fEmName = name; + delete fEmPhysicsList; + fEmPhysicsList = new G4EmStandardPhysics_option2(); + + } else if (name == "emstandard_opt3") { + + fEmName = name; + delete fEmPhysicsList; + fEmPhysicsList = new G4EmStandardPhysics_option3(); + + } else if (name == "emstandard_opt4") { + + fEmName = name; + delete fEmPhysicsList; + fEmPhysicsList = new G4EmStandardPhysics_option4(); + + }else if (name == "emstandard_opt1nocuts") { + fEmName = name; + std::cout<<"Passed if statement in Physicslist.cc"<<std::endl; + delete fEmPhysicsList; + fEmPhysicsList = new G4EmStandardPhysics_option1NoApplyCuts(); + + }else if (name == "standardSS") { + + fEmName = name; + delete fEmPhysicsList; + fEmPhysicsList = new PhysListEmStandardSS(name); + + } else if (name == "standardSSM") { + + fEmName = name; + delete fEmPhysicsList; + fEmPhysicsList = new PhysListEmStandardSSM(name); + + } else if (name == "standardWVI") { + + fEmName = name; + delete fEmPhysicsList; + fEmPhysicsList = new PhysListEmStandardWVI(name); + + } else if (name == "standardGS") { + + fEmName = name; + delete fEmPhysicsList; + fEmPhysicsList = new PhysListEmStandardGS(name); + + } else if (name == "empenelope"){ + fEmName = name; + delete fEmPhysicsList; + fEmPhysicsList = new G4EmPenelopePhysics(); + + } else if (name == "emlivermore"){ + fEmName = name; + delete fEmPhysicsList; + fEmPhysicsList = new G4EmLivermorePhysics(); + + } else { + + G4cout << "PhysicsList::AddPhysicsList: <" << name << ">" + << " is not defined" + << G4endl; + } +} + +//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... + +void PhysicsList::SetCuts() +{ + if (verboseLevel >0) { + G4cout << "PhysicsList::SetCuts:"; + G4cout << "CutLength : " << G4BestUnit(defaultCutValue,"Length") << G4endl; + } + + // set cut values for gamma at first and for e- second and next for e+, + // because some processes for e+/e- need cut values for gamma + SetCutValue(fCutForGamma, "gamma"); + SetCutValue(fCutForElectron, "e-"); + SetCutValue(fCutForPositron, "e+"); + + if (verboseLevel>0) DumpCutValuesTable(); +} + +//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... + +void PhysicsList::SetCutForGamma(G4double cut) +{ + fCutForGamma = cut; + SetParticleCuts(fCutForGamma, G4Gamma::Gamma()); +} + +//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... + +void PhysicsList::SetCutForElectron(G4double cut) +{ + fCutForElectron = cut; + SetParticleCuts(fCutForElectron, G4Electron::Electron()); +} + +//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... + +void PhysicsList::SetCutForPositron(G4double cut) +{ + fCutForPositron = cut; + SetParticleCuts(fCutForPositron, G4Positron::Positron()); +} + +//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... diff --git a/Geant4/G4examples/extended/electromagnetic/G4TestEm5/srcnew/src/RMSPlotter.cc b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/srcnew/src/RMSPlotter.cc new file mode 100644 index 0000000000000000000000000000000000000000..6aa4896cca6530c4fcf01a2afbca32784a35bc47 --- /dev/null +++ b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/srcnew/src/RMSPlotter.cc @@ -0,0 +1,170 @@ +#include"RMSPlotter.hh" +#include<iostream> +RMSPlotter::RMSPlotter(int n){ + //ThePlot=NULL; + eventsperenergy=n; +} + +void RMSPlotter::AddRun(Double_t _Energy, Double_t _rms){ + if((counter==0)||(counter%eventsperenergy==0)){ + DataPoint tmpDP; + tmpDP.Energy=_Energy; + double Lower=_rms-(0.03*_rms); + double Higher=_rms+(0.03*_rms); + Char_t histname[50]; + std::sprintf(histname,"Distribution for Energy %5.0f",_Energy); + tmpDP.Distribution=new TH1D(histname,histname,100,Lower,Higher); + tmpDP.Distribution->Fill(_rms); + Char_t fittedhistname[50]; + std::sprintf(fittedhistname,"Fitted Distribution for Energy %5.0f",_Energy); + tmpDP.FittedDist=new TH1D(fittedhistname,fittedhistname,100,Lower,Higher); + tmpDP.FittedDist->Fill(_rms); + DataPoints.push_back(tmpDP); + + if(counter==0){ + i=DataPoints.begin(); + std::cout<<"counter = 0"<<std::endl; + } + else{ + ++i; + std::cout<<"iterator iterated"<<std::endl; + } + } + else{ + std::cout<<"Filling with rms= "<<_rms<<std::endl; + DataPoint TheStruct=DataPoints.back(); + std::cout<<TheStruct.Energy<<std::endl; + TheStruct.Distribution->Fill(_rms); + TheStruct.FittedDist->Fill(_rms); + DataPoints.back()=TheStruct; + std::cout<<"done second else fine"<<std::endl; + } + counter++; +} + +TGraphErrors* RMSPlotter::MakePlots(){ + int D= DataPoints.size(); + Double_t* E=new Double_t[D]; + Double_t* R=new Double_t[D]; + Double_t* RU=new Double_t[D]; + Double_t* EU=new Double_t[D]; + std::vector<DataPoint>::iterator Di=DataPoints.begin(); + int a=0; + for(;Di!=DataPoints.end();++Di,++a){ + E[a]=(*Di).Energy; + R[a]=(*Di).rms=(*Di).Distribution->GetMean(); + RU[a]=(*Di).rmsUncert=(*Di).Distribution->GetRMS(); + EU[a]=0; + } + ThePlot= new TGraphErrors(D,E,R,EU,RU); + ThePlot->SetTitle("Plot from taking RMS of RMS Distribution;Energy/MeV;RMS/mrad"); + delete[] E; + delete[] R; + delete[] RU; + delete[] EU; + return ThePlot; +} + +TGraphErrors* RMSPlotter::MakeFittedPlots(){ + int D= DataPoints.size(); + Double_t* E=new Double_t[D]; + Double_t* R=new Double_t[D]; + Double_t* RU=new Double_t[D]; + Double_t* EU=new Double_t[D]; + std::vector<DataPoint>::iterator Di=DataPoints.begin(); + int a=0; + for(;Di!=DataPoints.end();++Di,++a){ + (*Di).FittedDist->Fit("gaus"); + TF1* fit=(*Di).FittedDist->GetFunction("gaus"); + (*Di).Fitrms=fit->GetParameter(1); + (*Di).FitrmsUncert=fit->GetParameter(2); + E[a]=(*Di).Energy; + R[a]=(*Di).Fitrms; + RU[a]=(*Di).FitrmsUncert; + EU[a]=0; + } + FittedPlot= new TGraphErrors(D,E,R,EU,RU); + FittedPlot->SetTitle("Plot From Fitting Distribution of RMS results;Energy/MeV;RMS/mrad"); + delete[] E; + delete[] R; + delete[] RU; + delete[] EU; + return FittedPlot; +} + +std::vector<TH1D*> RMSPlotter::GetDistributions(){ + std::vector<TH1D*> tmpV; + std::vector<DataPoint>::iterator k=DataPoints.begin(); + for(;k!=DataPoints.end();++k){ + tmpV.push_back((*k).Distribution); + tmpV.push_back((*k).FittedDist); + } + /* std::vector<FitEnergy>::iterator i=Fits.begin(); + for(;i!=Fits.end();++i){ + tmpV.push_back((*i).TheHist); + }*/ + return tmpV; +} + +/*int RMSPlotter::AddForFitting(double _Energy,TH1D* _Hist){ + if((counter==0)||(counter%eventsperenergy==0)){ + + FitEnergy FitStruct; + FitStruct.Energy=_Energy; + FitStruct.rms=F->GetParameter(2); + FitStruct.rmsUncert=F->GetParError(2); + FitStruct.TheHist=_Hist; + Fits.push_back(FitStruct); + return 1; + } + else{ + return 0; + } + }*/ + +TGraphErrors* RMSPlotter::MakePlotFromFits(){ + int D= Fits.size(); + Double_t* E=new Double_t[D]; + Double_t* R=new Double_t[D]; + Double_t* RU=new Double_t[D]; + Double_t* EU=new Double_t[D]; + std::vector<FitEnergy>::iterator Di=Fits.begin(); + int a=0; + for(;Di!=Fits.end();++Di,++a){ + double Xmin=((*Di).TheHist->GetMean()-(2.5*(*Di).TheHist->GetRMS())); + double Xmax=((*Di).TheHist->GetMean()+(2.5*(*Di).TheHist->GetRMS())); + (*Di).TheHist->Fit("gaus","E","",Xmin,Xmax); + std::cout<<"Done Fit for E= "<<(*Di).Energy<<std::endl; + TF1* F=(*Di).TheHist->GetFunction("gaus"); + (*Di).rms=F->GetParameter(2); + (*Di).rmsUncert=F->GetParError(2); + E[a]=(*Di).Energy; + R[a]=(*Di).rms; + RU[a]=(*Di).rmsUncert; + EU[a]=0; + } + PlotFromFits= new TGraphErrors(D,E,R,EU,RU); + PlotFromFits->SetTitle("PlotFromFits;Energy/MeV;RMS/mrad"); + delete[] E; + delete[] R; + delete[] RU; + delete[] EU; + return PlotFromFits; +} + +void RMSPlotter::MakeAngleHist(double _Energy){ + if((counter==0)||(counter%eventsperenergy==0)){ + Char_t histname[50]; + std::sprintf(histname,"Angle projection at E = %5.0f MeV",_Energy); + FitEnergy EnergyStruct; + EnergyStruct.Energy=_Energy; + EnergyStruct.TheHist=new TH1D(histname,histname,1000,-0.01,0.01); + Fits.push_back(EnergyStruct); + FitIt=Fits.end()-1; + } +} + +void RMSPlotter::FillAngleHist(double _Angle){ + (*FitIt).TheHist->Fill(_Angle); +} + diff --git a/Geant4/G4examples/extended/electromagnetic/G4TestEm5/srcnew/src/RunAction.cc b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/srcnew/src/RunAction.cc new file mode 100644 index 0000000000000000000000000000000000000000..da9cea67d5b8acb5de1f2e14363121ee9d989bb9 --- /dev/null +++ b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/srcnew/src/RunAction.cc @@ -0,0 +1,343 @@ +// +// ******************************************************************** +// * License and Disclaimer * +// * * +// * The Geant4 software is copyright of the Copyright Holders of * +// * the Geant4 Collaboration. It is provided under the terms and * +// * conditions of the Geant4 Software License, included in the file * +// * LICENSE and available at http://cern.ch/geant4/license . These * +// * include a list of copyright holders. * +// * * +// * Neither the authors of this software system, nor their employing * +// * institutes,nor the agencies providing financial support for this * +// * work make any representation or warranty, express or implied, * +// * regarding this software system or assume any liability for its * +// * use. Please see the license in the file LICENSE and URL above * +// * for the full disclaimer and the limitation of liability. * +// * * +// * This code implementation is the result of the scientific and * +// * technical work of the GEANT4 collaboration. * +// * By using, copying, modifying or distributing the software (or * +// * any work based on the software) you agree to acknowledge its * +// * use in resulting scientific publications, and indicate your * +// * acceptance of all terms of the Geant4 Software license. * +// ******************************************************************** +// +/// \file electromagnetic/TestEm5/src/RunAction.cc +/// \brief Implementation of the RunAction class +// +// $Id$ +// +//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... +//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... + +#include "RunAction.hh" +#include "DetectorConstruction.hh" +#include "PrimaryGeneratorAction.hh" +#include "HistoManager.hh" + +#include "G4Run.hh" +#include "G4RunManager.hh" +#include "G4UnitsTable.hh" +#include "G4EmCalculator.hh" + +#include "Randomize.hh" +#include "G4SystemOfUnits.hh" +#include <iomanip> + +#include "TFile.h" +#include "TTree.h" +//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... + +RunAction::RunAction(DetectorConstruction* det, PrimaryGeneratorAction* kin,RMSPlotter* _RMSPlotter) + :fDetector(det), fPrimary(kin), fHistoManager(0),fRMSPlotter(_RMSPlotter) +{ + // Book predefined histograms + fHistoManager = new HistoManager(); +} + +//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... + +RunAction::~RunAction() +{ + delete fHistoManager; +} + +//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... + +void RunAction::BeginOfRunAction(const G4Run* aRun) +{ + G4cout << "### Run " << aRun->GetRunID() << " start." << G4endl; + + //initialisation + fEnergyDeposit = fEnergyDeposit2 = 0.; + fTrakLenCharged = fTrakLenCharged2 = 0.; + fTrakLenNeutral = fTrakLenNeutral2 = 0.; + fNbStepsCharged = fNbStepsCharged2 = 0.; + fNbStepsNeutral = fNbStepsNeutral2 = 0.; + fMscProjecTheta = fMscProjecTheta2 = 0.; + fMscThetaCentral = 3*ComputeMscHighland(); + + fNbGamma = fNbElect = fNbPosit = 0; + + fTransmit[0] = fTransmit[1] = fReflect[0] = fReflect[1] = 0; + + fMscEntryCentral = 0; + + fEnergyLeak[0] = fEnergyLeak[1] = fEnergyLeak2[0] = fEnergyLeak2[1] = 0.; + + G4AnalysisManager* analysisManager = G4AnalysisManager::Instance(); + if ( analysisManager->IsActive() ) { + analysisManager->OpenFile(); + } + + // save Rndm status + //// G4RunManager::GetRunManager()->SetRandomNumberStore(true); + CLHEP::HepRandom::showEngineStatus(); + + //Used to fit scattering angle distributions rather than take calculated values. + //fRMSPlotter->MakeAngleHist(fPrimary->GetParticleGun()->GetParticleEnergy()); +} + +//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... + +void RunAction::EndOfRunAction(const G4Run* aRun) +{ + // compute mean and rms + // + + G4int TotNbofEvents = aRun->GetNumberOfEvent(); + if (TotNbofEvents == 0) return; + + G4double EnergyBalance = fEnergyDeposit + fEnergyLeak[0] + fEnergyLeak[1]; + EnergyBalance /= TotNbofEvents; + + fEnergyDeposit /= TotNbofEvents; fEnergyDeposit2 /= TotNbofEvents; + G4double rmsEdep = fEnergyDeposit2 - fEnergyDeposit*fEnergyDeposit; + if (rmsEdep>0.) rmsEdep = std::sqrt(rmsEdep/TotNbofEvents); + else rmsEdep = 0.; + + fTrakLenCharged /= TotNbofEvents; fTrakLenCharged2 /= TotNbofEvents; + G4double rmsTLCh = fTrakLenCharged2 - fTrakLenCharged*fTrakLenCharged; + if (rmsTLCh>0.) rmsTLCh = std::sqrt(rmsTLCh/TotNbofEvents); + else rmsTLCh = 0.; + + fTrakLenNeutral /= TotNbofEvents; fTrakLenNeutral2 /= TotNbofEvents; + G4double rmsTLNe = fTrakLenNeutral2 - fTrakLenNeutral*fTrakLenNeutral; + if (rmsTLNe>0.) rmsTLNe = std::sqrt(rmsTLNe/TotNbofEvents); + else rmsTLNe = 0.; + + fNbStepsCharged /= TotNbofEvents; fNbStepsCharged2 /= TotNbofEvents; + G4double rmsStCh = fNbStepsCharged2 - fNbStepsCharged*fNbStepsCharged; + if (rmsStCh>0.) rmsStCh = std::sqrt(rmsTLCh/TotNbofEvents); + else rmsStCh = 0.; + + fNbStepsNeutral /= TotNbofEvents; fNbStepsNeutral2 /= TotNbofEvents; + G4double rmsStNe = fNbStepsNeutral2 - fNbStepsNeutral*fNbStepsNeutral; + if (rmsStNe>0.) rmsStNe = std::sqrt(rmsTLCh/TotNbofEvents); + else rmsStNe = 0.; + + G4double Gamma = (G4double)fNbGamma/TotNbofEvents; + G4double Elect = (G4double)fNbElect/TotNbofEvents; + G4double Posit = (G4double)fNbPosit/TotNbofEvents; + + G4double transmit[2]; + transmit[0] = 100.*fTransmit[0]/TotNbofEvents; + transmit[1] = 100.*fTransmit[1]/TotNbofEvents; + + G4double reflect[2]; + reflect[0] = 100.*fReflect[0]/TotNbofEvents; + reflect[1] = 100.*fReflect[1]/TotNbofEvents; + + G4double rmsMsc = 0., tailMsc = 0.; + if (fMscEntryCentral > 0) { + fMscProjecTheta /= fMscEntryCentral; fMscProjecTheta2 /= fMscEntryCentral; + rmsMsc = fMscProjecTheta2 - fMscProjecTheta*fMscProjecTheta; + if (rmsMsc > 0.) { rmsMsc = std::sqrt(rmsMsc); } + if(fTransmit[1] > 0.0) { + tailMsc = 100.- (100.*fMscEntryCentral)/(2*fTransmit[1]); + } + } + + fEnergyLeak[0] /= TotNbofEvents; fEnergyLeak2[0] /= TotNbofEvents; + G4double rmsEl0 = fEnergyLeak2[0] - fEnergyLeak[0]*fEnergyLeak[0]; + if (rmsEl0>0.) rmsEl0 = std::sqrt(rmsEl0/TotNbofEvents); + else rmsEl0 = 0.; + + fEnergyLeak[1] /= TotNbofEvents; fEnergyLeak2[1] /= TotNbofEvents; + G4double rmsEl1 = fEnergyLeak2[1] - fEnergyLeak[1]*fEnergyLeak[1]; + if (rmsEl1>0.) rmsEl1 = std::sqrt(rmsEl1/TotNbofEvents); + else rmsEl1 = 0.; + + + //Stopping Power from input Table. + // + G4Material* material = fDetector->GetAbsorberMaterial(); + G4double length = fDetector->GetAbsorberThickness(); + G4double density = material->GetDensity(); + + G4ParticleDefinition* particle = fPrimary->GetParticleGun() + ->GetParticleDefinition(); + G4String partName = particle->GetParticleName(); + G4double energy = fPrimary->GetParticleGun()->GetParticleEnergy(); + + + G4EmCalculator emCalculator; + G4double dEdxTable = 0., dEdxFull = 0.; + if (particle->GetPDGCharge()!= 0.) { + dEdxTable = emCalculator.GetDEDX(energy,particle,material); + dEdxFull = emCalculator.ComputeTotalDEDX(energy,particle,material); + } + G4double stopTable = dEdxTable/density; + G4double stopFull = dEdxFull /density; + + //Stopping Power from simulation. + // + G4double meandEdx = fEnergyDeposit/length; + G4double stopPower = meandEdx/density; + + G4cout << "\n ======================== run summary ======================\n"; + + G4int prec = G4cout.precision(3); + + G4cout << "\n The run was " << TotNbofEvents << " " << partName << " of " + << G4BestUnit(energy,"Energy") << " through " + << G4BestUnit(length,"Length") << " of " + << material->GetName() << " (density: " + << G4BestUnit(density,"Volumic Mass") << ")" << G4endl; + + G4cout.precision(4); + + G4cout << "\n Total energy deposit in absorber per event = " + << G4BestUnit(fEnergyDeposit,"Energy") << " +- " + << G4BestUnit(rmsEdep, "Energy") + << G4endl; + + G4cout << "\n -----> Mean dE/dx = " << meandEdx/(MeV/cm) << " MeV/cm" + << "\t(" << stopPower/(MeV*cm2/g) << " MeV*cm2/g)" + << G4endl; + + G4cout << "\n From formulas :" << G4endl; + G4cout << " restricted dEdx = " << dEdxTable/(MeV/cm) << " MeV/cm" + << "\t(" << stopTable/(MeV*cm2/g) << " MeV*cm2/g)" + << G4endl; + + G4cout << " full dEdx = " << dEdxFull/(MeV/cm) << " MeV/cm" + << "\t(" << stopFull/(MeV*cm2/g) << " MeV*cm2/g)" + << G4endl; + + G4cout << "\n Leakage : primary = " + << G4BestUnit(fEnergyLeak[0],"Energy") << " +- " + << G4BestUnit(rmsEl0, "Energy") + << " secondaries = " + << G4BestUnit(fEnergyLeak[1],"Energy") << " +- " + << G4BestUnit(rmsEl1, "Energy") + << G4endl; + + G4cout << " Energy balance : edep + eleak = " + << G4BestUnit(EnergyBalance,"Energy") + << G4endl; + + G4cout << "\n Total track length (charged) in absorber per event = " + << G4BestUnit(fTrakLenCharged,"Length") << " +- " + << G4BestUnit(rmsTLCh, "Length") << G4endl; + + G4cout << " Total track length (neutral) in absorber per event = " + << G4BestUnit(fTrakLenNeutral,"Length") << " +- " + << G4BestUnit(rmsTLNe, "Length") << G4endl; + + G4cout << "\n Number of steps (charged) in absorber per event = " + << fNbStepsCharged << " +- " << rmsStCh << G4endl; + + G4cout << " Number of steps (neutral) in absorber per event = " + << fNbStepsNeutral << " +- " << rmsStNe << G4endl; + + G4cout << "\n Number of secondaries per event : Gammas = " << Gamma + << "; electrons = " << Elect + << "; positrons = " << Posit << G4endl; + + G4cout << "\n Number of events with the primary particle transmitted = " + << transmit[1] << " %" << G4endl; + + G4cout << " Number of events with at least 1 particle transmitted " + << "(same charge as primary) = " << transmit[0] << " %" << G4endl; + + G4cout << "\n Number of events with the primary particle reflected = " + << reflect[1] << " %" << G4endl; + + G4cout << " Number of events with at least 1 particle reflected " + << "(same charge as primary) = " << reflect[0] << " %" << G4endl; + + // compute width of the Gaussian central part of the MultipleScattering + // + G4cout << "\n MultipleScattering:" + << "\n rms proj angle of transmit primary particle = " + << rmsMsc/mrad << " mrad (central part only)" << G4endl; + + G4cout << " computed theta0 (Highland formula) = " + << ComputeMscHighland()/mrad << " mrad" << G4endl; + + G4cout << " central part defined as +- " + << fMscThetaCentral/mrad << " mrad; " + << " Tail ratio = " << tailMsc << " %" << G4endl; + + G4cout.precision(prec); + + // normalize histograms + // + G4AnalysisManager* analysisManager = G4AnalysisManager::Instance(); + + G4int ih = 1; + G4double binWidth = analysisManager->GetH1Width(ih); + G4double unit = analysisManager->GetH1Unit(ih); + G4double fac = unit/(TotNbofEvents*binWidth); + analysisManager->ScaleH1(ih,fac); + + ih = 10; + binWidth = analysisManager->GetH1Width(ih); + unit = analysisManager->GetH1Unit(ih); + fac = unit/(TotNbofEvents*binWidth); + analysisManager->ScaleH1(ih,fac); + + ih = 12; + analysisManager->ScaleH1(ih,1./TotNbofEvents); + + // save histograms + if ( analysisManager->IsActive() ) { + analysisManager->Write(); + analysisManager->CloseFile(); + } + + // show Rndm status + CLHEP::HepRandom::showEngineStatus(); + + fRMSPlotter->AddRun(energy,(rmsMsc/mrad)); + // fRMSPlotter->AddForFitting(energy,analysisManager->GetH1(13)); + + + +} + +//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... + +G4double RunAction::ComputeMscHighland() +{ + //compute the width of the Gaussian central part of the MultipleScattering + //projected angular distribution. + //Eur. Phys. Jour. C15 (2000) page 166, formule 23.9 + + G4double t = (fDetector->GetAbsorberThickness()) + /(fDetector->GetAbsorberMaterial()->GetRadlen()); + if (t < DBL_MIN) return 0.; + + G4ParticleGun* particle = fPrimary->GetParticleGun(); + G4double T = particle->GetParticleEnergy(); + G4double M = particle->GetParticleDefinition()->GetPDGMass(); + G4double z = std::abs(particle->GetParticleDefinition()->GetPDGCharge()/eplus); + + G4double bpc = T*(T+2*M)/(T+M); + G4double teta0 = 13.6*MeV*z*std::sqrt(t)*(1.+0.038*std::log(t))/bpc; + return teta0; +} + +//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... diff --git a/Geant4/G4examples/extended/electromagnetic/G4TestEm5/srcnew/src/TrackingAction.cc b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/srcnew/src/TrackingAction.cc new file mode 100644 index 0000000000000000000000000000000000000000..fb1db8a9784ecfcfe0420ad4c7c1702bea7cfcfe --- /dev/null +++ b/Geant4/G4examples/extended/electromagnetic/G4TestEm5/srcnew/src/TrackingAction.cc @@ -0,0 +1,208 @@ +// +// ******************************************************************** +// * License and Disclaimer * +// * * +// * The Geant4 software is copyright of the Copyright Holders of * +// * the Geant4 Collaboration. It is provided under the terms and * +// * conditions of the Geant4 Software License, included in the file * +// * LICENSE and available at http://cern.ch/geant4/license . These * +// * include a list of copyright holders. * +// * * +// * Neither the authors of this software system, nor their employing * +// * institutes,nor the agencies providing financial support for this * +// * work make any representation or warranty, express or implied, * +// * regarding this software system or assume any liability for its * +// * use. Please see the license in the file LICENSE and URL above * +// * for the full disclaimer and the limitation of liability. * +// * * +// * This code implementation is the result of the scientific and * +// * technical work of the GEANT4 collaboration. * +// * By using, copying, modifying or distributing the software (or * +// * any work based on the software) you agree to acknowledge its * +// * use in resulting scientific publications, and indicate your * +// * acceptance of all terms of the Geant4 Software license. * +// ******************************************************************** +// +/// \file electromagnetic/TestEm5/src/TrackingAction.cc +/// \brief Implementation of the TrackingAction class +// +// +// $Id$ +// +//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... +//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... + +#include "TrackingAction.hh" + +#include "DetectorConstruction.hh" +#include "RunAction.hh" +#include "EventAction.hh" +#include "HistoManager.hh" + +#include "G4Track.hh" +#include "G4PhysicalConstants.hh" +#include "G4SystemOfUnits.hh" + +//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... + +TrackingAction::TrackingAction(DetectorConstruction* DET,RunAction* RA, + EventAction* EA,RMSPlotter* FPRMS) + :fDetector(DET), fRunAction(RA), fEventAction(EA),fRMSPlotter(FPRMS) +{ } + +//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... + +void TrackingAction::PreUserTrackingAction(const G4Track* aTrack ) +{ + // few initialisations + // + if (aTrack->GetTrackID() == 1) { + fXstartAbs = fDetector->GetxstartAbs(); + fXendAbs = fDetector->GetxendAbs(); + fPrimaryCharge = aTrack->GetDefinition()->GetPDGCharge(); + } +} + +//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... + +void TrackingAction::PostUserTrackingAction(const G4Track* aTrack) +{ + G4AnalysisManager* analysisManager = G4AnalysisManager::Instance(); + + G4ThreeVector position = aTrack->GetPosition(); + G4ThreeVector vertex = aTrack->GetVertexPosition(); + G4double charge = aTrack->GetDefinition()->GetPDGCharge(); + + G4bool transmit = ((position.x() >= fXendAbs) && (vertex.x() < fXendAbs)); + G4bool reflect = (position.x() <= fXstartAbs); + G4bool notabsor = (transmit || reflect); + + //transmitted + reflected particles counter + // + G4int flag = 0; + if (charge == fPrimaryCharge) flag = 1; + if (aTrack->GetTrackID() == 1) flag = 2; + if (transmit) fEventAction->SetTransmitFlag(flag); + if (reflect) fEventAction->SetReflectFlag(flag); + + // + //histograms + // + G4bool charged = (charge != 0.); + G4bool neutral = !charged; + + //energy spectrum at exit + // + G4int id = 0; + if (transmit && charged) id = 10; + else if (transmit && neutral) id = 20; + else if (reflect && charged) id = 30; + else if (reflect && neutral) id = 40; + + if (id>0) + analysisManager->FillH1(id, aTrack->GetKineticEnergy()); + + //energy leakage + // + if (notabsor) { + G4int trackID = aTrack->GetTrackID(); + G4int index = 0; if (trackID > 1) index = 1; //primary=0, secondaries=1 + G4double eleak = aTrack->GetKineticEnergy(); + if ((aTrack->GetDefinition() == G4Positron::Positron()) && (trackID > 1)) + eleak += 2*electron_mass_c2; + fRunAction->AddEnergyLeak(eleak,index); + } + + //space angle distribution at exit : dN/dOmega + // + G4ThreeVector direction = aTrack->GetMomentumDirection(); + id = 0; + if (transmit && charged) id = 12; + else if (transmit && neutral) id = 22; + else if (reflect && charged) id = 32; + else if (reflect && neutral) id = 42; + + if (id>0) { + G4double theta = std::acos(direction.x()); + if (theta > 0.0) { + G4double dteta = analysisManager->GetH1Width(id); + G4double unit = analysisManager->GetH1Unit(id); + G4double weight = (unit*unit)/(twopi*std::sin(theta)*dteta); + /* + G4cout << "theta, dteta, unit, weight: " + << theta << " " + << dteta << " " + << unit << " " + << weight << G4endl; + */ + analysisManager->FillH1(id,theta,weight); + + } + } + + //energy fluence at exit : dE(MeV)/dOmega + // + id = 0; + if (transmit && charged) id = 11; + else if (transmit && neutral) id = 21; + else if (reflect && charged) id = 31; + else if (reflect && neutral) id = 41; + + if (id>0) { + G4double theta = std::acos(direction.x()); + if (theta > 0.0) { + G4double dteta = analysisManager->GetH1Width(id); + G4double unit = analysisManager->GetH1Unit(id); + G4double weight = (unit*unit)/(twopi*std::sin(theta)*dteta); + weight *= (aTrack->GetKineticEnergy()/MeV); + analysisManager->FillH1(id,theta,weight); + } + } + + //projected angles distribution at exit + // + id = 0; + if (transmit && charged) id = 13; + else if (transmit && neutral) id = 23; + else if (reflect && charged) id = 33; + else if (reflect && neutral) id = 43; + + if (id>0) { + if (direction.x() != 0.0) { + G4double tet = std::atan(direction.y()/std::fabs(direction.x())); + analysisManager->FillH1(id,tet); + /*if(id==13){ + fRMSPlotter->FillAngleHist(tet); + }*/ + if (transmit && (flag == 2)) fRunAction->AddMscProjTheta(tet); + + tet = std::atan(direction.z()/std::fabs(direction.x())); + //analysisManager->FillH1(id,tet); + if (transmit && (flag == 2)) fRunAction->AddMscProjTheta(tet); + } + } + + //projected position and radius at exit + // + id = 0; + if (transmit && charged) id = 14; + + if (id>0) { + G4double y = position.y(), z = position.z(); + G4double r = std::sqrt(y*y + z*z); + analysisManager->FillH1(id, y); + analysisManager->FillH1(id, z); + analysisManager->FillH1(id+1, r); + } + + //x-vertex of charged secondaries + // + if ((aTrack->GetParentID() == 1) && charged) { + G4double xVertex = (aTrack->GetVertexPosition()).x(); + analysisManager->FillH1(6, xVertex); + if (notabsor) analysisManager->FillH1(7, xVertex); + } +} + +//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... + diff --git a/Geant4/G4examples/extended/hadronic/G4Hadr00/cmt/requirements b/Geant4/G4examples/extended/hadronic/G4Hadr00/cmt/requirements index 609d77e6f00d16ff8e39263deda39376c16eb27c..1104b9ffdb9d1a8914b99ded9d9cf9cbe6c0c09a 100755 --- a/Geant4/G4examples/extended/hadronic/G4Hadr00/cmt/requirements +++ b/Geant4/G4examples/extended/hadronic/G4Hadr00/cmt/requirements @@ -25,6 +25,11 @@ application hadr00 ../Hadr00.cc #======================================================================== +#------- Install scripts ---- +apply_pattern install_scripts +alias 'hadronic_tests' 'run_hadronic_tests.py' + + private apply_pattern G4_copy_examples_source macro_append hadr00_dependencies " G4Hadr00 " diff --git a/Geant4/G4examples/extended/hadronic/G4Hadr00/doc/release.notes b/Geant4/G4examples/extended/hadronic/G4Hadr00/doc/release.notes index 25adeba3eb748b7d75a9c85bbc7193a1c8cf5c49..aeae65e8cdacaa82090b7ded7120b9c25acec308 100644 --- a/Geant4/G4examples/extended/hadronic/G4Hadr00/doc/release.notes +++ b/Geant4/G4examples/extended/hadronic/G4Hadr00/doc/release.notes @@ -3,6 +3,11 @@ ! Responsible : James Mccarthy ! Purpose : Examples packages provided my Geant4, used as standalone tests !----------------------------------------------------------------------------- +! 2015-07-01 - Luca Pescatore + - Modified hadronic tests script to also dump results in text form + +! 2015-06-25 - Luca Pescatore + - Modified requirement to install scripts ! 2014-07-24 - Gloria Corti - Modify requirements to remove src and include directory diff --git a/Geant4/G4examples/extended/hadronic/G4Hadr00/scripts/createHisto.C b/Geant4/G4examples/extended/hadronic/G4Hadr00/scripts/createHisto.C deleted file mode 100644 index 6254de291c0d2755bfe253307e834af60a8b9ac6..0000000000000000000000000000000000000000 --- a/Geant4/G4examples/extended/hadronic/G4Hadr00/scripts/createHisto.C +++ /dev/null @@ -1,106 +0,0 @@ -void createHisto(string fileName) -{ - - ifstream infile( (fileName+".out").c_str()); - - if(!infile) - { - cout<<"Error opening inputfile: "<<fileName<<endl; - return; - } - - char line[256]; - - string search_end="HistoManager: End of run actions are started"; - string search_nbins="/testhadr/nBinsE "; - - int nLines=0; - int maxLines=10000; - - int nBins(0); - - while(true) - { - infile.getline(line,256); - - string str_line(line); - - if(str_line.find(search_end)!=std::string::npos) - { - cout<<line<<endl; - break; - } - - if(str_line.find(search_nbins)!=std::string::npos) - { - string str_bins=str_line.replace(str_line.find(search_nbins), search_nbins.length(), ""); - nBins=atoi(str_bins.c_str()); - } - - - nLines++; - if(nLines>maxLines){ - cout<<"Manually breaking the loop"<<endl; - break; - } - - } - - cout<<"nBins= "<<nBins<<endl; - - string dummy, particle, target; - infile>>dummy>>dummy>>dummy>>dummy>>dummy>>particle>>dummy>>target; - - cout<<"Creating histogram for "<<particle<<" interacting with "<<target<<endl; - - for(int i=0; i<4; i++) - { - infile.getline(line,256); - } - - int* N = new int[nBins]; - double* energy = new double[nBins]; - double* elastic = new double[nBins]; - double* inelastic = new double[nBins]; - double* total = new double[nBins]; - - int N_2; - double energy_2, elastic_2, inelastic_2, total_2; - - for(int i=0; i<nBins; i++) - { - infile>>N[i]>>energy[i]>>elastic[i]>>inelastic[i]>>total[i]; - } - - /*TCanvas* c1= new TCanvas("c1","c1",0,0,800,500); - c1->SetLogx(); - c1->SetGridx(); - */ - TFile* output = new TFile( (fileName+".root").c_str() , "RECREATE"); - - TGraph* gr_elastic=new TGraph(nBins, energy, elastic); - gr_elastic->SetName("Elastic"); - gr_elastic->SetTitle( ("Elastic cross section for "+particle+" interacting with "+target).c_str() ); - gr_elastic->GetXaxis()->SetTitle("Energy (MeV)"); - gr_elastic->GetYaxis()->SetTitle("Elastic cross section (b)"); - gr_elastic->SetLineWidth(2); - gr_elastic->Write(); - - TGraph* gr_inelastic=new TGraph(nBins, energy, inelastic); - gr_inelastic->SetName("Inelastic"); - gr_inelastic->SetTitle( ("Inelastic cross section for "+particle+" interacting with "+target).c_str() ); - gr_inelastic->GetXaxis()->SetTitle("Energy (MeV)"); - gr_inelastic->GetYaxis()->SetTitle("Inelastic cross section (b)"); - gr_inelastic->SetLineWidth(2); - gr_inelastic->Write(); - - TGraph* gr_total=new TGraph(nBins, energy, total); - gr_total->SetName("Total"); - gr_total->SetTitle( ("Total cross section for "+particle+" interacting with "+target).c_str() ); - gr_total->GetXaxis()->SetTitle("Energy (MeV)"); - gr_total->GetYaxis()->SetTitle("Total cross section (b)"); - gr_total->SetLineWidth(2); - gr_total->Write(); - - -} diff --git a/Geant4/G4examples/extended/hadronic/G4Hadr00/scripts/hadr00_template b/Geant4/G4examples/extended/hadronic/G4Hadr00/scripts/hadr00_template deleted file mode 100644 index c6dae37a49f3189abc424270fe0aa46308120152..0000000000000000000000000000000000000000 --- a/Geant4/G4examples/extended/hadronic/G4Hadr00/scripts/hadr00_template +++ /dev/null @@ -1,35 +0,0 @@ -#================================================ -# Macro file for hadr00 -# 06.06.2008 V.Ivanchneko -#================================================ -/control/verbose 1 -/run/verbose 1 -/tracking/verbose 0 -# -/testhadr/TargetMat G4_Al -/testhadr/TargetRadius 2 cm -/testhadr/TargetLength 50 cm -/testhadr/PrintModulo 10 -# -/testhadr/particle _particleZ -/testhadr/targetElm _targetZ -/testhadr/verbose 1 -/testhadr/nBinsE 900 -/testhadr/nBinsP 700 -/testhadr/minEnergy 1 keV -/testhadr/maxEnergy 1 TeV -/testhadr/minMomentum 1 MeV -/testhadr/maxMomentum 10 TeV -# -/testhadr/HistoType root -/testhadr/HistoName test -/testhadr/verbose 1 -/testhadr/HistoPrint 1 -/run/initialize -# -#/run/setCut 1 km -#/gun/particle proton -#/gun/energy 20. GeV -# -/run/beamOn 0 -# diff --git a/Geant4/G4examples/extended/hadronic/G4Hadr00/scripts/run.sh b/Geant4/G4examples/extended/hadronic/G4Hadr00/scripts/run.sh deleted file mode 100755 index a4f34b85f3ca4ade5a2d4737e300210bf7f04b6f..0000000000000000000000000000000000000000 --- a/Geant4/G4examples/extended/hadronic/G4Hadr00/scripts/run.sh +++ /dev/null @@ -1,19 +0,0 @@ -phys_lists=('FTFP' 'FTFP_BERT' 'QGSP_BERT' 'QGSP_FTFP_BERT') -particles=('pi+' 'pi-' 'kaon+' 'kaon-' 'proton' 'anti_proton') -targets=('Al' 'Be' 'Si') - -#phys_lists=('FTFP') -#particles=('pi+') -#targets=('Al') - -for phys_list in "${phys_lists[@]}" -do - for particle in "${particles[@]}" - do - for target in "${targets[@]}" - do - cat hadr00_template | sed "s|_particleZ|${particle}|g" | sed "s|_targetZ|${target}|g" > hadr00.in - source run_single.csh ${phys_list} hadr00 ${phys_list}_${particle}_${target} - done - done -done \ No newline at end of file diff --git a/Geant4/G4examples/extended/hadronic/G4Hadr00/scripts/run_hadronic_tests.py b/Geant4/G4examples/extended/hadronic/G4Hadr00/scripts/run_hadronic_tests.py new file mode 100755 index 0000000000000000000000000000000000000000..8928521f7743feb0dcd45b50d7ff0c27b343c6e7 --- /dev/null +++ b/Geant4/G4examples/extended/hadronic/G4Hadr00/scripts/run_hadronic_tests.py @@ -0,0 +1,180 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- + +############################################################### +# Autor : Luca Pescatore +# Mail : luca.pescatore@cern.ch +# Purpose : Run iteratively the had00.exe program to get +# cross sections as a function of energy in Geant4 +# different particles and target pmaterials. +################################################################ + + +import sys +import os +from subprocess import Popen, PIPE +import re +from array import array +from ROOT import * +from tempfile import NamedTemporaryFile + + +phys_lists = ['FTFP', 'FTFP_BERT', 'QGSP_BERT'] +particles = ['pi+', 'pi-', 'kaon+', 'kaon-', 'proton', 'anti_proton'] +targets = ['Al', 'Be', 'Si'] + +template = '''#================================================ +# Macro file for hadr00 +# 06.06.2008 V.Ivanchneko +#================================================ +/control/verbose 1 +/run/verbose 1 +/tracking/verbose 0 +# +/testhadr/TargetMat G4_Al +/testhadr/TargetRadius 2 cm +/testhadr/TargetLength 50 cm +/testhadr/PrintModulo 10 +# +/testhadr/particle {particle} +/testhadr/targetElm {target} +/testhadr/verbose 1 +/testhadr/nBinsE 900 +/testhadr/nBinsP 700 +/testhadr/minEnergy 1 keV +/testhadr/maxEnergy 1 TeV +/testhadr/minMomentum 1 MeV +/testhadr/maxMomentum 10 TeV +# +#/testhadr/HistoType root +#/testhadr/HistoName test +/testhadr/verbose 1 +#/testhadr/HistoPrint 1 +/run/initialize +# +#/run/setCut 1 km +#/gun/particle proton +#/gun/energy 20. GeV +# +/run/beamOn 0 +# +''' + +def process(particle, target, phys_list): + print "Producing: ", phys_list, particle, target + + with NamedTemporaryFile() as tmp: + tmp.write(template.format(particle=particle, target=target)) + tmp.flush() + + if not os.path.exists("tables"): + os.makedirs("tables") + tables = open(os.path.join('tables', '{0}_{1}_{2}.txt'.format(phys_list, particle, target)),"w") + tables.write("Energy Elastic Inelastic Total\n") + + job = Popen(['hadr00.exe', tmp.name, phys_list], stdout=PIPE) + + regex = re.compile(r'^\s*\d+\s+([0-9.]+)\s+([0-9.]+)\s+([0-9.]+)\s+([0-9.]+)') + found = False + energy = array('d') + elastic = array('d') + inelastic = array('d') + total = array('d') + for line in job.stdout: + if found: + m = regex.match(line) + if m: + en, el, inel, tot = map(float, m.groups()) + energy.append(en) + elastic.append(el) + inelastic.append(inel) + total.append(tot) + tables.write("{} {} {} {}\n".format(en, el, inel, tot)) + else: + found = '### Fill Cross Sections' in line + + tables.close() + nbins = len(energy) + + if not os.path.exists("root"): + os.makedirs("root") + output = TFile(os.path.join('root', + '{0}_{1}_{2}.root'.format(phys_list, particle, target)), + "RECREATE") + + data = {'Elastic': elastic, 'Inelastic': inelastic, 'Total': total} + for key, value in data.iteritems(): + gr = TGraph(nbins, energy, value) + gr.SetName(key) + gr.SetTitle("%s cross section for %s interacting with %s" % (key, particle, target)) + gr.GetXaxis().SetTitle("Energy (MeV)") + gr.GetYaxis().SetTitle("%s cross section (b)" % key) + gr.SetLineWidth(2) + gr.Write() + output.Close() + + +############# Main: producing graphs + +for phys_list in phys_lists : + for particle in particles : + for target in targets : + process(particle, target, phys_list) + + +############# Plotting graphs on pdf + +c1 = TCanvas() + +part = ['pi-', 'kaon-', 'proton'] +apart = ['pi+', 'kaon+', 'anti_proton'] + +for p,ap in zip(part,apart) : + _file = TFile("root/FTFP_BERT_"+p+"_Al.root"); + gr0 = _file.Get("Total"); + _file1 = TFile("root/FTFP_BERT_"+ap+"_Al.root"); + gr1 = _file1.Get("Total"); + _file2 = TFile("root/QGSP_BERT_"+p+"_Al.root"); + gr2 = _file2.Get("Total"); + _file3 = TFile("root/QGSP_BERT_"+ap+"_Al.root"); + gr3 = _file3.Get("Total"); + + gr0.SetTitle("Comparison of physics lists in Geant4 9.6"); + gr0.GetXaxis().SetTitle("Energy (MeV)"); + gr0.GetYaxis().SetTitle("Total cross section (b)"); + gr0.SetLineWidth(2) + gr0.SetLineColor(1) + gr0.SetLineStyle(1) + if "kaon" in p : + gr0.SetMaximum(1.5) + gr0.Draw("AL") + + gr1.SetLineWidth(2) + gr1.SetLineColor(1) + gr1.SetLineStyle(2) + gr1.Draw("samesL") + + gr2.SetLineWidth(2); + gr2.SetLineStyle(1) + gr2.SetLineColor(4); + gr2.Draw("samesL"); + + gr3.SetLineWidth(2); + gr3.SetLineColor(4); + gr3.SetLineStyle(2); + gr3.Draw("samesL"); + + legend = TLegend(0.13,0.55,0.36,0.85); + legend.AddEntry(gr0,"FTFP_BERT "+p, "l"); + legend.AddEntry(gr1,"FTFP_BERT "+ap, "l"); + legend.AddEntry(gr2,"QGSP_BERT "+p, "l"); + legend.AddEntry(gr3,"QGSP_BERT "+ap, "l"); + legend.SetFillStyle(0); + legend.Draw(); + + c1.SetLogx(); + c1.SetGridx(); + c1.Print("phys_list_comparison_"+p.replace("-","")+".pdf") + c1.Print("phys_list_comparison_"+p.replace("-","")+".C") + + diff --git a/Geant4/G4examples/extended/hadronic/G4Hadr00/scripts/run_single.csh b/Geant4/G4examples/extended/hadronic/G4Hadr00/scripts/run_single.csh deleted file mode 100644 index 8d43da9aae5c5475d0fffecdcc6b58d9f7145386..0000000000000000000000000000000000000000 --- a/Geant4/G4examples/extended/hadronic/G4Hadr00/scripts/run_single.csh +++ /dev/null @@ -1,11 +0,0 @@ -#/bin/csh -#================================================ -# Macro file for hadr00 run over all Physics Lists -# 26.06.2009 V.Ivanchneko -#================================================ - -rm -f $3.out -$G4CONFIGROOT/../G4examples/extended/hadronic/G4Hadr00/$CMTCONFIG/hadr00.exe $2.in $1 >& $3.out -#cat $3.out -root -l -q createHisto.C\(\"$3\"\) -# diff --git a/Geant4/G4physics_lists/cmt/copyPatchedSource.py b/Geant4/G4physics_lists/cmt/copyPatchedSource.py new file mode 100755 index 0000000000000000000000000000000000000000..a766c4e407588727adba4b3f9ed9a90de196128d --- /dev/null +++ b/Geant4/G4physics_lists/cmt/copyPatchedSource.py @@ -0,0 +1,75 @@ +#!/usr/bin/env python +# +# copyPatchedSource.py +# Author Nigel Watson 14 Feb 2012 +# +# Copy private G4 headers from package to install area +# +import os, sys, fnmatch, shutil + +def main(): +# Dir in which we keep updated source/headers. + SRCNEW_Dir="../srcnew" + SRCNEW_plists_Dir = "../srcnew/lists" + +# Dir for original source + SRC_plists_Dir="../lists/src" +# Can we get cmt macro values in .python? +# INSTALLAREA_project = "../../../InstallArea/" + os.environ['CMTCONFIG'] + "/include" +# INSTALLAREA_package = "../G4processes" + +#$(G4processes_root)/G4processes +# Find any files in the srcnew dir (CHIPS cross-section fixes) +#11/2014 for newfile in os.listdir(SRCNEW_Dir): +#11/2014 if fnmatch.fnmatch(newfile, '*.hh'): +#11/2014#Replace old headers in install areas with new. +#11/2014 fname = os.path.join(SRCNEW_Dir, newfile) +#11/2014 shutil.copy2(fname,INSTALLAREA_project) +#11/2014 shutil.copy2(fname,INSTALLAREA_package) +#11/2014# Replace old .cc with new. +#11/2014 if fnmatch.fnmatch(newfile, '*.cc'): +#11/2014 fname = os.path.join(SRCNEW_Dir, newfile) +#11/2014 shutil.copy2(fname,SRC_Dir) + + +#11/2014# Find any files in the srcnew dir (FTF mass problem fixes) +#11/2014 for newfile in os.listdir(SRCNEW_diffraction_Dir): +#11/2014# Only .cc to replace for FTF fix. +#11/2014# if fnmatch.fnmatch(newfile, '*.hh'): +#11/2014#Replace old headers in install areas with new. +#11/2014# fname = os.path.join(SRCNEW_Dir, newfile) +#11/2014# shutil.copy2(fname,INSTALLAREA_project) +#11/2014# shutil.copy2(fname,INSTALLAREA_package) +#11/2014# Replace old .cc with new. +#11/2014 if fnmatch.fnmatch(newfile, '*.cc'): +#11/2014 fname = os.path.join(SRCNEW_diffraction_Dir, newfile) +#11/2014 shutil.copy2(fname,SRC_diffraction_Dir) + +#11/2014# Find any files in the srcnew dir (string max. retries problem fixes) +#11/2014 for newfile in os.listdir(SRCNEW_management_Dir): +#11/2014# Only .cc to replace for max. retries fix. +#11/2014# if fnmatch.fnmatch(newfile, '*.hh'): +#11/2014#Replace old headers in install areas with new. +#11/2014# fname = os.path.join(SRCNEW_Dir, newfile) +#11/2014# shutil.copy2(fname,INSTALLAREA_project) +#11/2014# shutil.copy2(fname,INSTALLAREA_package) +#11/2014# Replace old .cc with new. +#11/2014 if fnmatch.fnmatch(newfile, '*.cc'): +#11/2014 fname = os.path.join(SRCNEW_management_Dir, newfile) +#11/2014 shutil.copy2(fname,SRC_management_Dir) + +# Find any files in the srcnew dir (fixes missing assert in LHCb CLHEP version) + for newfile in os.listdir(SRCNEW_plists_Dir): +# Only .cc to replace for CLHEP fix. +# if fnmatch.fnmatch(newfile, '*.hh'): +#Replace old headers in install areas with new. +# fname = os.path.join(SRCNEW_cross_sections_Dir, newfile) #TW changed SRCNEW_Dir for SRCNEW_cross_sections_Dir +# shutil.copy2(fname,INSTALLAREA_project) +# shutil.copy2(fname,INSTALLAREA_package) +# Replace old .cc with new. + if fnmatch.fnmatch(newfile, '*.cc'): + fname = os.path.join(SRCNEW_plists_Dir, newfile) + shutil.copy2(fname,SRC_plists_Dir) + +if __name__ == "__main__": + main() diff --git a/Geant4/G4physics_lists/cmt/requirements b/Geant4/G4physics_lists/cmt/requirements index 7b6daf190b096c37a0d597a06865b2112db73ae4..dbe2218c6ac7d4c1a0b082a5039d696cd9a13cfe 100755 --- a/Geant4/G4physics_lists/cmt/requirements +++ b/Geant4/G4physics_lists/cmt/requirements @@ -3,7 +3,7 @@ # Maintainer : Gloria CORTI #============================================================================ package G4physics_lists -version v1r3 +version v1r4 # Structure, i.e. directories to process. #============================================================================ diff --git a/Geant4/G4physics_lists/doc/release.notes b/Geant4/G4physics_lists/doc/release.notes index 7764deff9fd0d3ca84e06e8ddf189525ffb569ce..cfcb2127e364c70cc294aa2c001a208546c0928f 100755 --- a/Geant4/G4physics_lists/doc/release.notes +++ b/Geant4/G4physics_lists/doc/release.notes @@ -4,6 +4,11 @@ ! Purpose : !----------------------------------------------------------------------------- +!===================== G4physics_lists v1r4 2015-04-23 ===================== +! 2015-04-23 - Nigel Watson/Tim Williams + - Introduce srcnew copying a la G4processes to allow updated version of HadronPhysicsFTFP_BERT.cc + - for new CHIPS cross-sections for kaons to be used. + !===================== G4physics_lists v1r3 2012-11-23 ===================== ! 2012-11-23 - Nigel Watson - Tagged version for G4 9.5.p02 release. diff --git a/Geant4/G4physics_lists/srcnew/lists/HadronPhysicsFTFP_BERT.cc b/Geant4/G4physics_lists/srcnew/lists/HadronPhysicsFTFP_BERT.cc new file mode 100644 index 0000000000000000000000000000000000000000..b339287258ff3dcce37c33654e78ba0d3610b0af --- /dev/null +++ b/Geant4/G4physics_lists/srcnew/lists/HadronPhysicsFTFP_BERT.cc @@ -0,0 +1,197 @@ + // +// ******************************************************************** +// * License and Disclaimer * +// * * +// * The Geant4 software is copyright of the Copyright Holders of * +// * the Geant4 Collaboration. It is provided under the terms and * +// * conditions of the Geant4 Software License, included in the file * +// * LICENSE and available at http://cern.ch/geant4/license . These * +// * include a list of copyright holders. * +// * * +// * Neither the authors of this software system, nor their employing * +// * institutes,nor the agencies providing financial support for this * +// * work make any representation or warranty, express or implied, * +// * regarding this software system or assume any liability for its * +// * use. Please see the license in the file LICENSE and URL above * +// * for the full disclaimer and the limitation of liability. * +// * * +// * This code implementation is the result of the scientific and * +// * technical work of the GEANT4 collaboration. * +// * By using, copying, modifying or distributing the software (or * +// * any work based on the software) you agree to acknowledge its * +// * use in resulting scientific publications, and indicate your * +// * acceptance of all terms of the Geant4 Software license. * +// ******************************************************************** +// +// $Id$ +// +//--------------------------------------------------------------------------- +// +// ClassName: +//ChipsKaonMinus +// Author: 2007 Gunter Folger +// created from HadronPhysicsFTFP +// +// Modified: +// +//---------------------------------------------------------------------------- +// +#include <iomanip> + +#include "HadronPhysicsFTFP_BERT.hh" + +#include "globals.hh" +#include "G4ios.hh" +#include "G4SystemOfUnits.hh" +#include "G4ParticleDefinition.hh" +#include "G4ParticleTable.hh" + +#include "G4MesonConstructor.hh" +#include "G4BaryonConstructor.hh" +#include "G4ShortLivedConstructor.hh" + +#include "G4ChipsKaonMinusInelasticXS.hh" +#include "G4ChipsKaonPlusInelasticXS.hh" +#include "G4ChipsKaonZeroInelasticXS.hh" +#include "G4CrossSectionDataSetRegistry.hh" +#include "G4HadronNucleonXsc.hh" +#include "G4ComponentGGHadronNucleusXsc.hh" +#include "G4CrossSectionInelastic.hh" + +#include "G4PhysListUtil.hh" + +// factory +#include "G4PhysicsConstructorFactory.hh" +// +G4_DECLARE_PHYSCONSTR_FACTORY(HadronPhysicsFTFP_BERT); + +HadronPhysicsFTFP_BERT::HadronPhysicsFTFP_BERT(G4int) + : G4VPhysicsConstructor("hInelastic FTFP_BERT") + , theNeutrons(0) + , theBertiniNeutron(0) + , theFTFPNeutron(0) + , theLEPNeutron(0) + , thePiK(0) + , theBertiniPiK(0) + , theFTFPPiK(0) + , thePro(0) + , theBertiniPro(0) + , theFTFPPro(0) + , theHyperon(0) + , theAntiBaryon(0) + , theFTFPAntiBaryon(0) + , QuasiElastic(false) + , ChipsKaonMinus(0) + , ChipsKaonPlus(0) + , ChipsKaonZero(0) +{} + +HadronPhysicsFTFP_BERT::HadronPhysicsFTFP_BERT(const G4String& name, G4bool quasiElastic) + : G4VPhysicsConstructor(name) + , theNeutrons(0) + , theBertiniNeutron(0) + , theFTFPNeutron(0) + , theLEPNeutron(0) + , thePiK(0) + , theBertiniPiK(0) + , theFTFPPiK(0) + , thePro(0) + , theBertiniPro(0) + , theFTFPPro(0) + , theHyperon(0) + , theAntiBaryon(0) + , theFTFPAntiBaryon(0) + , QuasiElastic(quasiElastic) + , ChipsKaonMinus(0) + , ChipsKaonPlus(0) + , ChipsKaonZero(0) +{} + +void HadronPhysicsFTFP_BERT::CreateModels() +{ + + theNeutrons=new G4NeutronBuilder; + theFTFPNeutron=new G4FTFPNeutronBuilder(QuasiElastic); + theNeutrons->RegisterMe(theFTFPNeutron); + theNeutrons->RegisterMe(theBertiniNeutron=new G4BertiniNeutronBuilder); + theBertiniNeutron->SetMinEnergy(0.0*GeV); + theBertiniNeutron->SetMaxEnergy(5*GeV); + theNeutrons->RegisterMe(theLEPNeutron=new G4LEPNeutronBuilder); + theLEPNeutron->SetMinInelasticEnergy(0.0*eV); // no inelastic from LEP + theLEPNeutron->SetMaxInelasticEnergy(0.0*eV); + + thePro=new G4ProtonBuilder; + theFTFPPro=new G4FTFPProtonBuilder(QuasiElastic); + thePro->RegisterMe(theFTFPPro); + thePro->RegisterMe(theBertiniPro=new G4BertiniProtonBuilder); + theBertiniPro->SetMaxEnergy(5*GeV); + + thePiK=new G4PiKBuilder; + theFTFPPiK=new G4FTFPPiKBuilder(QuasiElastic); + thePiK->RegisterMe(theFTFPPiK); + thePiK->RegisterMe(theBertiniPiK=new G4BertiniPiKBuilder); + theBertiniPiK->SetMaxEnergy(5*GeV); + + theHyperon=new G4HyperonFTFPBuilder; + + theAntiBaryon=new G4AntiBarionBuilder; + theAntiBaryon->RegisterMe(theFTFPAntiBaryon=new G4FTFPAntiBarionBuilder(QuasiElastic)); +} + +HadronPhysicsFTFP_BERT::~HadronPhysicsFTFP_BERT() +{ + delete theNeutrons; + delete theBertiniNeutron; + delete theFTFPNeutron; + delete theLEPNeutron; + + delete thePiK; + delete theBertiniPiK; + delete theFTFPPiK; + + delete thePro; + delete theBertiniPro; + delete theFTFPPro; + + delete theHyperon; + delete theAntiBaryon; + delete theFTFPAntiBaryon; +} + +void HadronPhysicsFTFP_BERT::ConstructParticle() +{ + G4MesonConstructor pMesonConstructor; + pMesonConstructor.ConstructParticle(); + + G4BaryonConstructor pBaryonConstructor; + pBaryonConstructor.ConstructParticle(); + + G4ShortLivedConstructor pShortLivedConstructor; + pShortLivedConstructor.ConstructParticle(); +} + +#include "G4ProcessManager.hh" +void HadronPhysicsFTFP_BERT::ConstructProcess() +{ + CreateModels(); + theNeutrons->Build(); + thePro->Build(); + thePiK->Build(); + + // use CHIPS cross sections also for Kaons + /*ChipsKaonMinus = G4CrossSectionDataSetRegistry::Instance()->GetCrossSectionDataSet(G4ChipsKaonMinusInelasticXS::Default_Name()); + ChipsKaonPlus = G4CrossSectionDataSetRegistry::Instance()->GetCrossSectionDataSet(G4ChipsKaonPlusInelasticXS::Default_Name()); + ChipsKaonZero = G4CrossSectionDataSetRegistry::Instance()->GetCrossSectionDataSet(G4ChipsKaonZeroInelasticXS::Default_Name());*/ + // + + ChipsKaonMinus = ChipsKaonPlus = ChipsKaonZero = new G4CrossSectionInelastic(new G4ComponentGGHadronNucleusXsc()); + + G4PhysListUtil::FindInelasticProcess(G4KaonMinus::KaonMinus())->AddDataSet(ChipsKaonMinus); + G4PhysListUtil::FindInelasticProcess(G4KaonPlus::KaonPlus())->AddDataSet(ChipsKaonPlus); + G4PhysListUtil::FindInelasticProcess(G4KaonZeroShort::KaonZeroShort())->AddDataSet(ChipsKaonZero ); + G4PhysListUtil::FindInelasticProcess(G4KaonZeroLong::KaonZeroLong())->AddDataSet(ChipsKaonZero ); + + theHyperon->Build(); + theAntiBaryon->Build(); +} + diff --git a/Geant4/G4processes/cmt/copyPatchedSource.py b/Geant4/G4processes/cmt/copyPatchedSource.py index 464a6b549c04799c589fd042b4e9d523bd4ea645..c47c0961414f7aa831f339e65cb3cb5df558118b 100755 --- a/Geant4/G4processes/cmt/copyPatchedSource.py +++ b/Geant4/G4processes/cmt/copyPatchedSource.py @@ -11,6 +11,7 @@ def main(): # Dir in which we keep updated source/headers. SRCNEW_Dir="../srcnew" SRCNEW_cross_sections_Dir = "../srcnew/cross_sections" + SRCNEW_models_Dir="../srcnew/models" #11/2014 SRCNEW_diffraction_Dir="../srcnew/diffraction" #11/2014 SRCNEW_management_Dir="../srcnew/management" @@ -21,6 +22,7 @@ def main(): #11/2014 SRC_diffraction_Dir="../hadronic/models/parton_string/diffraction/src" #11/2014 SRC_management_Dir="../hadronic/models/parton_string/management/src" SRC_cross_sections_Dir="../hadronic/cross_sections/src" + SRC_models_Dir="../hadronic/models/im_r_matrix/src" # Can we get cmt macro values in .python? # Expanded by cmt to be $(GEANT4_home)/$(GEANT4_installarea_prefix)/include # INSTALLAREA_project=os.environ['GEANT4_install_include'] @@ -80,6 +82,11 @@ def main(): if fnmatch.fnmatch(newfile, '*.cc'): fname = os.path.join(SRCNEW_cross_sections_Dir, newfile) shutil.copy2(fname,SRC_cross_sections_Dir) +# Copy G4CollisionInitialstate patched for GCC4.9 + for newfile in os.listdir(SRCNEW_models_Dir): + if fnmatch.fnmatch(newfile,'*.cc'): + fname = os.path.join(SRCNEW_models_Dir,newfile) + shutil.copy2(fname,SRC_models_Dir) if __name__ == "__main__": main() diff --git a/Geant4/G4processes/cmt/requirements b/Geant4/G4processes/cmt/requirements index eaabf906508aeca1823246ca0e7a7a171d06e6f7..076b756d223718e7a734bb021ecb99e69b501d1a 100755 --- a/Geant4/G4processes/cmt/requirements +++ b/Geant4/G4processes/cmt/requirements @@ -3,7 +3,7 @@ # Maintainer : Gloria CORTI #============================================================================ package G4processes -version v9r1 +version v9r2 # Structure, i.e. directories to process. #============================================================================ diff --git a/Geant4/G4processes/doc/release.notes b/Geant4/G4processes/doc/release.notes index 5b1eadf273dc3bfbe49cd1c231a5fab54da8ea8e..e901db7106fb0be347711e8836aae84a1c221057 100755 --- a/Geant4/G4processes/doc/release.notes +++ b/Geant4/G4processes/doc/release.notes @@ -4,6 +4,13 @@ ! Purpose : !----------------------------------------------------------------------------- +! ======================= G4processes v9r2 2015-07-24 ======================== +! 2015-07-23 Tim Williams + - Created patch of G4CollisionInitialState.cc to enable building with GCC4.9 + compiler, located in srcnew/models directory. + Updated copyPatchedsource.py to copy patched G4CollisionInitialState.cc + into place. + ! ======================= G4processes v9r1 2015-04-24 ======================== ! 2015-04-24 Nigel Watson - Include new alternative sources from Witek for kaon cross-sections diff --git a/Geant4/G4processes/srcnew/models/G4CollisionInitialState.cc b/Geant4/G4processes/srcnew/models/G4CollisionInitialState.cc new file mode 100644 index 0000000000000000000000000000000000000000..f823933bdf017a6c43aea1bb0bf419e0156b4c95 --- /dev/null +++ b/Geant4/G4processes/srcnew/models/G4CollisionInitialState.cc @@ -0,0 +1,130 @@ +// +// ******************************************************************** +// * License and Disclaimer * +// * * +// * The Geant4 software is copyright of the Copyright Holders of * +// * the Geant4 Collaboration. It is provided under the terms and * +// * conditions of the Geant4 Software License, included in the file * +// * LICENSE and available at http://cern.ch/geant4/license . These * +// * include a list of copyright holders. * +// * * +// * Neither the authors of this software system, nor their employing * +// * institutes,nor the agencies providing financial support for this * +// * work make any representation or warranty, express or implied, * +// * regarding this software system or assume any liability for its * +// * use. Please see the license in the file LICENSE and URL above * +// * for the full disclaimer and the limitation of liability. * +// * * +// * This code implementation is the result of the scientific and * +// * technical work of the GEANT4 collaboration. * +// * By using, copying, modifying or distributing the software (or * +// * any work based on the software) you agree to acknowledge its * +// * use in resulting scientific publications, and indicate your * +// * acceptance of all terms of the Geant4 Software license. * +// ******************************************************************** +// +// +// ----------------------------------------------------------------------------- +// GEANT 4 class implementation file +// +// History: first implementation, A. Feliciello, 30th June 1998 +// ----------------------------------------------------------------------------- + +#include "G4CollisionInitialState.hh" +#include "G4SystemOfUnits.hh" +#include "G4BCAction.hh" +// Class G4CollisionInitialState + +G4CollisionInitialState::G4CollisionInitialState() : + theCollisionTime(DBL_MAX), thePrimary(0), theTarget(0), theFSGenerator(0) +{ +} + + +G4CollisionInitialState::G4CollisionInitialState(G4double time, + G4KineticTrack * aPrimary, G4KineticTrack * aTarget) +{ + theCollisionTime = time; + thePrimary = aPrimary; + theTarget = aTarget; + theTs.clear(); + theFSGenerator = 0; +} + +// +new interface post pion: +G4CollisionInitialState::G4CollisionInitialState(G4double time, + G4KineticTrack * aPrimary, const G4KineticTrackVector & aTarget, + G4BCAction * aFSGenerator) +{ + theCollisionTime = time; + thePrimary = aPrimary; + theTarget = 0; + for (size_t i=0; i<aTarget.size(); i++) theTs.push_back(aTarget[i]); + theFSGenerator = aFSGenerator; +} +// -new interface post pion: + + +G4CollisionInitialState::G4CollisionInitialState(const G4CollisionInitialState & right) +{ + theCollisionTime = right.theCollisionTime; + thePrimary = right.thePrimary; + theTarget = right.theTarget; + for (size_t i=0; i<right.theTs.size(); i++) theTs.push_back(right.theTs[i]); + theFSGenerator = right.theFSGenerator; +} + +G4CollisionInitialState & G4CollisionInitialState::operator=(const G4CollisionInitialState& right) +{ + if (this != &right) + { + theCollisionTime = right.theCollisionTime; + thePrimary = right.thePrimary; + theTarget = right.theTarget; + for (size_t i=0; i<right.theTs.size(); i++) + theTs.push_back(right.theTs[i]); + theFSGenerator = right.theFSGenerator; + } + + return *this; +} + +#include <typeinfo> + + G4KineticTrackVector * G4CollisionInitialState:: + GetFinalState() + { +// G4cerr << "what is the FS generator? " +// << typeid(*theFSGenerator).name() +// <<G4endl; + return theFSGenerator->GetFinalState(thePrimary, theTs); + } + +//#include <typeinfo> + +void G4CollisionInitialState::Print() const +{ + G4int tgtPdg=theTarget ? + theTarget->GetDefinition()->GetPDGEncoding() : 0; + G4cout << " collision " << this << " time: " + << theCollisionTime/second << " proj: " + << thePrimary << "/pdg=" << thePrimary->GetDefinition()->GetPDGEncoding() + << " tgt: " << theTarget << "/pdg=" << tgtPdg + << " Collision type: "<< typeid(*theFSGenerator).name(); + +} + + /* +std::ostream& G4CollisionInitialState::operator<<(std::ostream& out, const G4CollisionInitialState & collision) +{ + G4int tgtPdg=collision.GetTarget() ? + collision.GetTarget()->GetDefinition()->GetPDGEncoding() : 0; + out << " collision " << collision << " time: " + << collision.GetCollisionTime()/second << " proj: " + << collision.GetPrimary() << "/pdg=" << collision.GetPrimary()->GetDefinition()->GetPDGEncoding() + << " tgt: " << collision.GetTarget() << "/pdg=" << tgtPdg + << " Collision type: "<< typeid(*collision.GetGenerator()).name(); + + return out; +} +*/ diff --git a/Geant4Sys/cmt/requirements b/Geant4Sys/cmt/requirements index 21a973b7febe924653216ba4ba92de490733ebbb..3ade4c1255d8b71fb144c11a7a35d7478c64fc1b 100755 --- a/Geant4Sys/cmt/requirements +++ b/Geant4Sys/cmt/requirements @@ -1,9 +1,9 @@ package Geant4Sys -version v96r4p1 +version v96r4p2 branches cmt doc -use G4config v96r3p0 Geant4 +use G4config v96r4p2 Geant4 # ============================================================================= # =========== global libraries ================================================ @@ -13,8 +13,8 @@ use G4intercoms v4r1p1 Geant4 use G4particles v6r2p1 Geant4 use G4track v5r1p1 Geant4 use G4geometry v6r2p1 Geant4 -use G4processes v9r1 Geant4 -use G4physics_lists v1r3 Geant4 +use G4processes v9r2 Geant4 +use G4physics_lists v1r4 Geant4 use G4tracking v6r1p1 Geant4 use G4global v5r1p1 Geant4 use G4materials v5r0p1 Geant4 @@ -50,7 +50,7 @@ use G4LHCblists v3r2 Geant4 # G4 examples package - for checks use G4analysis v1r0 Geant4 -use G4examples v5r1 Geant4 +use G4examples v6r1 Geant4 #============================================================================= # ======== the end ============================================================ diff --git a/Geant4Sys/doc/release.notes b/Geant4Sys/doc/release.notes index 5e9bf2bcced2954b0722791ffaf2868e7f9fce1d..f87e1175fe077761713c36ac8e92090cfa21fe5f 100755 --- a/Geant4Sys/doc/release.notes +++ b/Geant4Sys/doc/release.notes @@ -4,7 +4,44 @@ Package manager(s) : Gloria Corti, Hubert DeGaudenzi, Nigel Watson Purpose : LHCb build using cmt of Geant4 !============================================================================= -!</PRE><H1><A NAME=v96r5>2015-05-11 Geant4Sys v96r5</A></H1><PRE> +!</PRE><H1><A NAME=v96r4p2>2015-07-28 Geant4Sys v96r4p2</A></H1><PRE> + + - Based on Geant4 9.6.p04 with patches for LHCb and examples for validation + +! ======================= G4config v96r4p2 2015-07-24 ======================== +! 2015-07-24 - Gloria Corti + - Only change local version to match the fact that we use Geant4 9.6.p04 + i.e. v96r4, and we pick some new patch from us i.e. p2 + +! ======================= G4processes v9r2 2015-07-24 ======================== +! 2015-07-23 Tim Williams + - Created patch of G4CollisionInitialState.cc to enable building with GCC4.9 + compiler, located in srcnew/models directory. + Updated copyPatchedsource.py to copy patched G4CollisionInitialState.cc + into place. + +!===================== G4physics_lists v1r4 2015-04-23 ===================== +! 2015-04-23 - Nigel Watson/Tim Williams + - Introduce srcnew copying a la G4processes to allow updated version of + HadronPhysicsFTFP_BERT.cc + - for new CHIPS cross-sections for kaons to be used. + +!===================== Geant4/G4examples v6r1 2015-07-23 ===================== +! 2015-07-23- Tim Williams + - Updated scripts to run testEm3 and testEm5 to be compiler independent + +! 2015-06-15- Luca Pescatore + - Hadronic scripts and requirements modified to use python and cmt frame + work + +!===================== Geant4/G4examples v6r0 2015-05-12 ===================== +! 2015-05-12- Tim Williams + -Added modified version of extended electromagnetic example TestEm5 to + use as test of multiple scattering. Used a copypatchsource.py script to + copy private source and .hh files into place upoon build. + +!============================================================================= +!</PRE><H1><A NAME=v96r4p1>2015-05-11 Geant4Sys v96r4p1</A></H1><PRE> ! ======================= G4config v96r4p1 2015-05-11 ======================== - Updates include: diff --git a/cmt/project.cmt b/cmt/project.cmt index ee0340997679be1e30528d341ed31a175ee78be6..0ffbddcdbec98d8302e8cb7e58e602133f8397dd 100755 --- a/cmt/project.cmt +++ b/cmt/project.cmt @@ -1,6 +1,6 @@ project GEANT4 -use GAUDI GAUDI_v26r1 +use GAUDI GAUDI_v26r2 use PARAM build_strategy with_installarea diff --git a/toolchain.cmake b/toolchain.cmake index eb33c3b9aa89ac4df8701192042533f804716e80..5d6a2eb0093396c30467d9b908d10e1e43ed37e6 100644 --- a/toolchain.cmake +++ b/toolchain.cmake @@ -1,5 +1,5 @@ # Special wrapper to load the declared version of the heptools toolchain. -set(heptools_version 74root6) +set(heptools_version 76root6) find_file(use_heptools_module UseHEPTools.cmake HINTS ${CMAKE_CURRENT_SOURCE_DIR}/cmake)