Warning, /geant4/examples/extended/runAndEvent/RE07/README.md is written in an unsupported language. File is not indexed.
0001 \page ExampleRE07 Example RE07
0002
0003 This example is based on extended/electromagnetic/TestEm3 and
0004 demonstrates how to register specialized tracking managers for
0005 a particle or a set of particles.
0006
0007 ## Geometry definition
0008
0009 The geometry of a simplified sampling calorimeter is used as
0010 in [TestEm3](../../html_TestEm3/html/ExampleTestEm3.html), please refer to its
0011 documentation for more details.
0012 The same UI commands exist for modifying the geometry (number
0013 of layers and absorbers, material and its thickness), without
0014 the /testem/ prefix.
0015
0016 In addition to the definition of the volumes, this example adds
0017 two regions, "Front" and "Back", which contain the front and
0018 rear half of the calorimeter.
0019
0020 ## Physics lists
0021
0022 By default, the example uses G4EmStandardPhysics and registers
0023 processes to the G4ProcessManager. This can be changed with the
0024 `/setMode` UI command. Possible values are:
0025
0026 - processes: use G4EmStandardPhysics, the default
0027 - tracking: use the same physics as G4EmStandardPhysics, but
0028 implemented as a specialized tracking manager for
0029 electrons, positrons, and gammas; see the file
0030 EmStandardPhysicsTrackingManager.cc for details.
0031 - specialized: use a specialized tracking manager for gammas; for
0032 the purpose of demonstration,
0033 - it uses G4EmStandardPhysics as the basis,
0034 - defers processing of gammas with a kinetic energy
0035 of more than 100 MeV,
0036 - implement a specialized stepping loop for the
0037 "Back" region of the detector.
0038 See the file SpecializedTrackingManager.cc for more
0039 details on the exact implementation.
0040
0041 ## How to start?
0042
0043 This example comes with one macro file for each of the described
0044 modes (processes.mac, specialized.mac, tracking.mac)
0045 that can be passed as a parameter to the executable:
0046
0047 ```
0048 % ./exampleRE07 processes.mac
0049 % ./exampleRE07 specialized.mac
0050 % ./exampleRE07 tracking.mac
0051 ```