Warning, /geant4/examples/extended/hadronic/ParticleFluence/Layer/README.md is written in an unsupported language. File is not indexed.
0001 \page ExampleLayer Example Layer
0002
0003 In this example, the particle fluence is evaluated for a simple set-up,
0004 consisting of one target solid cylinder, with axis along the z-direction,
0005 and a beam particle shot before the target along the axis of the target.
0006
0007 The particle fluence is computed in three places: "upstream", "downstream"
0008 and "side", defined as the positions immediately after, before and aside,
0009 respectively, of the target with respect to the direction of the primary
0010 particle.
0011
0012 The particle fluence is estimated by summing the track length in a
0013 "scoring volume" - i.e. a thin cylinder (for "upstream" and "downstream"
0014 cases) or a thin hemisphere shell (for the "side" case) filled up with
0015 G4_Galactic (very low density gas) material, immediately outside the
0016 target - and then dividing for the cubic volume of such scoring volume.
0017
0018 Complementary information on average multiplicity, average kinetic energy,
0019 and average total energy flow (i.e. sum of kinetic energies) for the
0020 particles produced in the target are also computed.
0021
0022 The particle fluence is evaluated for the following 11 particle types:
0023 - all
0024 - electron + positron
0025 - gamma
0026 - muon- + muon+
0027 - neutrino (any flavour and including anti-neutrino)
0028 - charged pions
0029 - neutron + anti_neutron
0030 - proton + anti_proton
0031 - ion (and anti-ions)
0032 - otherMeson (e.g. kaons, etc.)
0033 - otherBaryon (e.g. hyperons, etc.)
0034
0035 The particle fluence is evaluated for the following 3 kinematical ranges:
0036 - any kinetic energy
0037 - kinetic energy < 20 MeV
0038 - kinetic energy > 20 MeV
0039
0040 Look for the string "***LOOKHERE***" for those parameters/options that
0041 are either hardwired in the code (i.e. not available via UI command),
0042 or default values of UI commands.
0043
0044 This example uses the physics list factory, therefore you can specify
0045 the reference physics list you want to use via the PHYSLIST
0046 environmental variable (by default, if you don't set it, the FTFP_BERT
0047 physics list is used).
0048
0049 To build this example:
0050
0051 ```
0052 mkdir Build; cd Build
0053 cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo \
0054 -DGeant4_DIR=/path-to-geant4-libraries ../.
0055 make
0056 ```
0057
0058 To run it:
0059
0060 ```
0061 ./Layer all_together.in
0062 ```
0063
0064 which shoots 50 GeV pion- on different target materials, 100 events
0065 in each run, and print out some information on the particle fluence
0066 at the end of each run.
0067 Other macros exist for specific materials:
0068 cu.in, fe.in, graphite.in, lar.in, pb.in, pbwo4.in, polystyrene.in, si.in, w.in .