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.p3 ] [ 10.7 ] [ 10.7.p1 ] [ 10.7.p2 ] [ 10.7.p3 ] [ 10.7.p4 ] [ 11.0 ] [ 11.0.p1 ] [ 11.0.p2 ] [ 11.0.p3, ] [ 11.0.p4 ] [ 11.1 ] [ 11.1.1 ] [ 11.1.2 ] [ 11.1.3 ] [ 11.2 ] [ 11.2.1 ] [ 11.2.2 ] [ 11.3.0 ]
1 In this example, the particle fluence is evaluated for a set-up made
2 of one target solid sphere, at the center of which a particle is shot
3 (by default along the z-axis), followed by two outer, target solid sphere
4 shells, with space in between filled up with G4_Galactic material - i.e.
5 very low density gas.
6 The three targets mimic a very simplified collider detector, with the
7 first (inner) target as a proxy for a Tracker, the second (middle) target
8 as a proxy for an electromagnetic (homogeneous) calorimeter, and the
9 third and last (outer) target as a proxy for a hadronic (homogeneous)
10 calorimeter.
11
12 The particle fluence is computed in six places: immediately outside
13 each of the three targets (inner, middle and outer targets), and for
14 each of them, in the "forward" and "backward" hemispheres (i.e. immediately
15 after and before, respectively, of the target with respect to the direction
16 of the primary particle).
17
18 The particle fluence is estimated by summing the track length in a
19 "scoring volume" - i.e. a thin hemisphere shell filled up with G4_Galactic
20 (very low density gas) material, immediately outside one of the targets -
21 and then dividing for the cubic volume of such scoring volume.
22
23 Complementary information on average multiplicity, average kinetic energy,
24 and average total energy flow (i.e. sum of kinetic energies) for the
25 particles produced in the three targets are also computed.
26
27 The particle fluence is evaluated for the following 11 particle types:
28 - all
29 - electron + positron
30 - gamma
31 - muon- + muon+
32 - neutrino (any flavour and including anti-neutrino)
33 - charged pions
34 - neutron + anti_neutron
35 - proton + anti_proton
36 - ion (and anti-ions)
37 - otherMeson (e.g. kaons, etc.)
38 - otherBaryon (e.g. hyperons, etc.)
39
40 The particle fluence is evaluated for the following 3 kinematical ranges:
41 - any kinetic energy
42 - kinetic energy < 20 MeV
43 - kinetic energy > 20 MeV
44
45 Look for the string "***LOOKHERE***" for those parameters/options that
46 are either hardwired in the code (i.e. not available via UI command),
47 or default values of UI commands.
48
49 This example uses the physics list factory, therefore you can specify
50 the reference physics list you want to use via the PHYSLIST
51 environmental variable (by default, if you don't set it, the FTFP_BERT
52 physics list is used).
53
54 To build this example:
55
56 mkdir Build; cd Build
57 cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo \
58 -DGeant4_DIR=/path-to-geant4-libraries ../.
59 make
60
61 To run it:
62
63 ./ConcentricSpheres all_together.in
64
65 which shoots 50 GeV pion- on three different configurations
66 (Scintillator-PbWO4-Copper, LiquidArgon-Lead-Iron, Silicon-Tungsten-Tungsten),
67 with 100 events in each run, and print out some information on the
68 particle fluence at the end of each run.
69 Other macros exist for each of these specific configurations:
70 lar_pb_fe.in, sci_pbwo4_cu.in, si_w_w.in .