Back to home page

EIC code displayed by LXR

 
 

    


Warning, /geant4/examples/extended/hadronic/ParticleFluence/ConcentricSpheres/README.md is written in an unsupported language. File is not indexed.

0001 \page ExampleConcentricSpheres Example ConcentricSpheres
0002 
0003 In this example, the particle fluence is evaluated for a set-up made
0004 of one target solid sphere, at the center of which a particle is shot
0005 (by default along the z-axis), followed by two outer, target solid sphere
0006 shells, with space in between filled up with G4_Galactic material - i.e.
0007 very low density gas.
0008 The three targets mimic a very simplified collider detector, with the
0009 first (inner) target as a proxy for a Tracker, the second (middle) target
0010 as a proxy for an electromagnetic (homogeneous) calorimeter, and the
0011 third and last (outer) target as a proxy for a hadronic (homogeneous)
0012 calorimeter.
0013 
0014 The particle fluence is computed in six places: immediately outside
0015 each of the three targets (inner, middle and outer targets), and for
0016 each of them, in the "forward" and "backward" hemispheres (i.e. immediately
0017 after and before, respectively, of the target with respect to the direction
0018 of the primary particle).
0019 
0020 The particle fluence is estimated by summing the track length in a
0021 "scoring volume" - i.e. a thin hemisphere shell filled up with G4_Galactic
0022 (very low density gas) material, immediately outside one of the targets -
0023 and then dividing for the cubic volume of such scoring volume.
0024 
0025 Complementary information on average multiplicity, average kinetic energy,
0026 and average total energy flow (i.e. sum of kinetic energies) for the
0027 particles produced in the three targets are also computed.
0028 
0029 The particle fluence is evaluated for the following 11 particle types:
0030 -  all
0031 -  electron + positron 
0032 -  gamma
0033 -  muon- + muon+
0034 -  neutrino (any flavour and including anti-neutrino)
0035 -  charged pions
0036 -  neutron + anti_neutron
0037 -  proton + anti_proton
0038 -  ion (and anti-ions)
0039 -  otherMeson (e.g. kaons, etc.)
0040 -  otherBaryon (e.g. hyperons, etc.)
0041 
0042 The particle fluence is evaluated for the following 3 kinematical ranges:
0043 -  any kinetic energy
0044 -  kinetic energy < 20 MeV
0045 -  kinetic energy > 20 MeV
0046 
0047 Look for the string "***LOOKHERE***" for those parameters/options that
0048 are either hardwired in the code (i.e. not available via UI command),
0049 or default values of UI commands.
0050 
0051 This example uses the physics list factory, therefore you can specify
0052 the reference physics list you want to use via the PHYSLIST
0053 environmental variable (by default, if you don't set it, the FTFP_BERT
0054 physics list is used).
0055 
0056 To build this example:
0057 
0058 ```
0059 mkdir Build; cd Build
0060 cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo \
0061       -DGeant4_DIR=/path-to-geant4-libraries ../.
0062 make
0063 ```
0064 
0065 To run it:
0066 
0067 ```
0068 ./ConcentricSpheres all_together.in
0069 ```
0070 
0071 which shoots 50 GeV pion- on three different configurations
0072 (Scintillator-PbWO4-Copper, LiquidArgon-Lead-Iron, Silicon-Tungsten-Tungsten),
0073 with 100 events in each run, and print out some information on the
0074 particle fluence at the end of each run.
0075 Other macros exist for each of these specific configurations:
0076 lar_pb_fe.in, sci_pbwo4_cu.in, si_w_w.in .