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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 2095 bytes       2024-12-05 15:16:16
File GNUmakefile 467 bytes       2024-12-05 15:16:16
File History 7718 bytes       2024-12-05 15:16:16
File README 4007 bytes       2024-12-05 15:16:16
File charge.csh 306 bytes       2024-12-05 15:16:16
File init_vis.mac 462 bytes       2024-12-05 15:16:16
C++ file monopole.cc 5324 bytes       2024-12-05 15:16:16
File monopole.in 562 bytes       2024-12-05 15:16:16
File monopole.out 118650 bytes       2024-12-05 15:16:16
File vis.mac 1872 bytes       2024-12-05 15:16:16

  1 -------------------------------------------------------------------
  2 
  3      =========================================================
  4      Geant4 - an Object-Oriented Toolkit for Simulation in HEP
  5      =========================================================
  6 
  7                             monopole
  8                             --------
  9                   V.Ivanchenko, M.Vladymyrov
 10                   CERN,  Geneva, Switzerland
 11           Lebedev Physical Institute, Moscow, Russia
 12 
 13 
 14 This example is devoted to the energy deposited by classical magnetic
 15 monopole.
 16 
 17 
 18 
 19  1- GEOMETRY DEFINITION
 20 
 21      The geometry consists of a single block of a homogenous material,
 22      placed in a world.
 23 
 24      Four parameters define the geometry :
 25   - the material of the box 
 26   - the thickness of the box 
 27   - the tranverse dimension of the box 
 28   - the maximal step size in target
 29 
 30      The default is 10 cm of alumunium, step is limited by 5mm.
 31      Equivalent UI commands are following:
 32         /testex/det/setMat G4_Al
 33         /testex/det/sizeX  10 cm
 34         /testex/det/sizeYZ 5 cm
 35         /testex/det/setStepSize 5 mm
 36 
 37      The default geometry is constructed in DetectorConstruction class,
 38      but all of the above parameters can be changed interactively via
 39      the commands defined in the DetectorMessenger class. 
 40 
 41      In addition, a global, uniform, and transverse magnetic field can be applied
 42      via G4MonopoleFieldSetup class, with the default z-value 0.2 tesla.
 43      This value can be changed via UI command:
 44         /testex/fld/setField 0.2 tesla
 45 
 46  2- PHYSICS LIST
 47 
 48     The physics list includes standard FTFP_BERT physics and the additional builder
 49     or monopole physics.
 50     To define monopole parameters an extra string should be provided via 
 51     the program arguments:
 52          ./monopole -s '2 0 200 GeV'              # in the interactive mode
 53          ./monopole -m file.mac -s '2 0 200 GeV'  # in the batch mode
 54 
 55  3- AN EVENT : THE PRIMARY GENERATOR
 56 
 57      The primary kinematic consists of a single particle which hits the
 58      block perpendicular to the input face. The type of the particle
 59      and its energy are set in the PrimaryGeneratorAction class, and can
 60      changed via the G4 build-in commands of ParticleGun class (see
 61      the macros provided with this example).
 62      The default is monopole 100 GeV.
 63 
 64  4- VISUALIZATION
 65 
 66      The Visualization Manager is set in the main() for interactive session,
 67      the initial parameters of the program are defined in the init_vis.mac macro
 68      which then executes the visualisation macro, vis.mac.
 69 
 70      The detector has a default view which is a longitudinal view of the box.
 71      
 72      The tracks are drawn at the end of event, and erased at the end of run.
 73 
 74 
 75  5- HOW TO RUN ?
 76 
 77     This example handles the program arguments in a similar way as the basic 
 78     B4 example.
 79     It can be run with the following optional arguments:
 80     % ./monopole [-m macro ] [-s setupMonopole] [-t nThreads]
 81     
 82     The -s option was already explained in the Physics list section. 
 83     The -t option is available only in multi-threading mode
 84     and it allows the user to override the Geant4 default number of 
 85     threads. The number of threads can be also set via G4FORCENUMBEROFTHREADS
 86     environment variable which has the top priority.
 87  
 88      - Execute program  in the 'batch' mode from macro files
 89   % ./monopole  -m monopole.in [-s setupMonopole]
 90 
 91      - Execute program  in the 'interactive mode' with visualization
 92   % ./monopole [-s setupMonopole]
 93     ....
 94   Idle> type your commands
 95     ....
 96   Idle> exit
 97 
 98 
 99  6- HISTOGRAMS
100 
101      The result is five histograms:
102         - Monopole eneregy deposition in current material
103         - dedx for proton
104         - dedx for monopole
105         - range for proton in current material
106         - range for monopole in current material
107 
108      The histogram is saved in Root file.
109      Limit of bin size can be set with testex/run/binSize (default 5mm). Real size
110      is chosen as a minimal between this and step limit (see Geometry section)
111