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10.5.p1 ] [ 10.6 ] [ 10.6.p1 ] [ 10.6.p2 ] [ 10.6.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 ]

Name Size       Last modified (GMT) Description
Back Parent directory       2024-12-05 15:16:16
Folder include/       2024-12-05 15:16:16
Folder src/       2024-12-05 15:16:16
File CMakeLists.txt 1885 bytes       2024-12-05 15:16:16
File History 1348 bytes       2024-12-05 15:16:16
File README 2246 bytes       2024-12-05 15:16:16
C++ file exampleRE07.cc 3184 bytes       2024-12-05 15:16:16
File processes.mac 76 bytes       2024-12-05 15:16:16
File processes.out 3707 bytes       2024-12-05 15:16:16
File specialized.mac 78 bytes       2024-12-05 15:16:16
File specialized.out 3709 bytes       2024-12-05 15:16:16
File tracking.mac 75 bytes       2024-12-05 15:16:16
File tracking.out 3706 bytes       2024-12-05 15:16:16

  1 -------------------------------------------------------------------
  2 
  3      =========================================================
  4      Geant4 - an Object-Oriented Toolkit for Simulation in HEP
  5      =========================================================
  6 
  7                             ExampleRE07
  8                             -----------
  9 
 10 This example is based on extended/electromagnetic/TestEm3 and
 11 demonstrates how to register specialized tracking managers for
 12 a particle or a set of particles.
 13 
 14 1- Geometry definition
 15 
 16    The geometry of a simplified sampling calorimeter is used as
 17    in TestEm3, please refer to its documentation for more details.
 18    The same UI commands exist for modifying the geometry (number
 19    of layers and absorbers, material and its thickness), without
 20    the /testem/ prefix.
 21 
 22    In addition to the definition of the volumes, this example adds
 23    two regions, "Front" and "Back", which contain the front and
 24    rear half of the calorimeter.
 25 
 26 2- Physics lists
 27 
 28    By default, the example uses G4EmStandardPhysics and registers
 29    processes to the G4ProcessManager. This can be changed with the
 30    /setMode UI command. Possible values are:
 31 
 32    processes:   use G4EmStandardPhysics, the default
 33    tracking:    use the same physics as G4EmStandardPhysics, but
 34                 implemented as a specialized tracking manager for
 35                 electrons, positrons, and gammas; see the file
 36                 EmStandardPhysicsTrackingManager.cc for details.
 37    specialized: use a specialized tracking manager for gammas; for
 38                 the purpose of demonstration,
 39                 - it uses G4EmStandardPhysics as the basis,
 40                 - defers processing of gammas with a kinetic energy
 41                   of more than 100 MeV,
 42                 - implement a specialized stepping loop for the
 43                   "Back" region of the detector.
 44                 See the file SpecializedTrackingManager.cc for more
 45                 details on the exact implementation.
 46 
 47 3- How to start?
 48 
 49    This example comes with one macro file for each of the described
 50    modes that can be passed as a parameter to the executable:
 51 
 52     % exampleRE07 processes.mac
 53     % exampleRE07 specialized.mac
 54     % exampleRE07 tracking.mac