source: trunk/examples/extended/exoticphysics/monopole/README @ 1358

Last change on this file since 1358 was 1337, checked in by garnier, 14 years ago

tag geant4.9.4 beta 1 + modifs locales

File size: 4.8 KB
Line 
1$Id: README,v 1.2 2009/07/15 10:19:47 vnivanch Exp $
2-------------------------------------------------------------------
3
4     =========================================================
5     Geant4 - an Object-Oriented Toolkit for Simulation in HEP
6     =========================================================
7
8                            monopole
9                            --------
10                  V.Ivanchenko, M.Vladymyrov
11                  CERN,  Geneva, Switzerland
12          Lebedev Physical Institute, Moscow, Russia
13
14
15This example is devoted to the energy deposited by classical magnetic
16monopole.
17
18
19
20 1- GEOMETRY DEFINITION
21
22     The geometry consists of a single block of a homogenous material,
23     placed in a world.
24
25     Four parameters define the geometry :
26        - the material of the box
27        - the thickness of the box
28        - the tranverse dimension of the box
29        - the maximal step size in target
30
31     The default is 10 cm of alumunium, step is limited by 5mm.
32     Equivalent UI commands are following:
33        /testex/det/setMat G4_Al
34        /testex/det/sizeX  10 cm
35        /testex/det/sizeYZ 5 cm
36        /testex/det/setStepSize 5 mm
37
38     The default geometry is constructed in DetectorConstruction class,
39     but all of the above parameters can be changed interactively via
40     the commands defined in the DetectorMessenger class. After changing
41     material and/or dimentions one must update the detector construction:
42        /testex/det/update
43
44 2- PHYSICS LIST
45
46    Physics Lists include standard QGSP physics and additional builder
47                for monopole physics.
48    To define monopole parameters an extra string should be provided
49      a) interactive mode by UI command:
50         /monopole/setup 2 0 200 GeV (magnetic number, electric number, mass)
51      b) batch mode:
52         $G4BIN/$G4SYSTEM/monopole file.mac '2 0 200 GeV' 
53
54 3- AN EVENT : THE PRIMARY GENERATOR
55
56     The primary kinematic consists of a single particle which hits the
57     block perpendicular to the input face. The type of the particle
58     and its energy are set in the PrimaryGeneratorAction class, and can
59     changed via the G4 build-in commands of ParticleGun class (see
60     the macros provided with this example).
61     The default is monopole 100 GeV
62
63     In addition one can define randomly the impact point of the incident
64     particle. The corresponding interactive command is built in
65     PrimaryGeneratorMessenger class.
66
67     A RUN is a set of events.
68
69
70 4- VISUALIZATION
71
72     The Visualization Manager is set in the main() for interactive session.
73     The initialisation of the drawing is done via the command
74       /control/execute vis.mac
75
76     The detector has a default view which is a longitudinal view of the box.
77
78     The tracks are drawn at the end of event, and erased at the end of run.
79     Optionaly one can choose to draw all particles, only the charged one,
80     or none. This command is defined in EventActionMessenger class.
81
82
83 5- HOW TO START ?
84
85     - compile and link to generate an executable
86        % cd monopole
87        % gmake
88
89     - execute Test  in 'batch' mode from macro files
90        % monopole  monopole.in
91
92     - execute Test  in 'interactive mode' with visualization
93        % monopole
94                ....
95        Idle> type your commands
96                ....
97        Idle> exit
98
99
100 6- HISTOGRAMS
101
102     The result is five histograms:
103                                - Monopole eneregy deposition in current material
104                                - dedx for proton
105                                - dedx for monopole
106                                - range for proton in current material
107                                - range for monopole in current material
108
109     The histogram is saved in hbook (default monopole.hbook, but can be changed
110                 using    testex/run/HistoName   and    testex/run/HistoType   comands)
111                 Limit of bin size can be set with testex/run/binSize (default 5mm). Real size
112                 is chosen as a minimal between this and step limit (see Geometry section)
113
114     Note that, by default, histograms are disabled. To activate them, uncomment
115     G4ANALYSIS_USE in GNUmakefile.
116
117 7- Using histograms
118 -------------------
119
120     By default the histograms are not activated. To activate histograms
121     the environment variable G4ANALYSIS_USE should be defined. For instance
122     uncomment the flag G4ANALYSIS_USE in GNUmakefile.
123
124     To use histograms any of implementations of AIDA interfaces should
125     be available (see http://aida.freehep.org).
126
127     A package including AIDA and extended interfaces also using Python
128     is PI, available from: http://cern.ch/pi .
129
130     Once installed PI or PI-Lite in a specified local area $MYPY, it is
131     required to add the installation path to $PATH, i.e. for example,
132     for release 1.2.1 of PI:
133
134     setenv PATH ${PATH}:$MYPI/1.2.1/app/releases/PI/PI_1_2_1/rh73_gcc32/bin
135
136     CERN users can use the PATH to the LCG area on AFS.
137
138     Before compilation of the example it is optimal to clean up old files:
139
140     gmake histclean
141     gmake
142
143     Before running the example the command should be issued:
144
145     eval `aida-config --runtime csh`
146
Note: See TracBrowser for help on using the repository browser.