source: trunk/examples/novice/N04/README @ 887

Last change on this file since 887 was 807, checked in by garnier, 16 years ago

update

File size: 3.0 KB
Line 
1$Id: README,v 1.6 2006/11/08 16:43:57 gunter Exp $
2-------------------------------------------------------------------
3
4     =========================================================
5     Geant4 - an Object-Oriented Toolkit for Simulation in HEP
6     =========================================================
7
8                            ExampleN04
9                            ----------
10
11 ExampleN04 has a simplified collider detector geometry. This example
12demonstrates the following features.
13
141. PYTHIA primary events.
15
16 ExN04PrimaryGeneratorAction has G4HEPEvtInterface as the generator.
17G4HEPEvtInterface accesses to "pythia_event.data", which contains three
18events of Higgs generation produced by PYTHIA. "pythia_main.f" is an
19example FORTRAN code of PYTHIA for generating this event sample.
20
212. Readout geometry
22
23 ExN04DetectorConstruction defines a simplified collider detecor
24geometry, tracker made of cylindrical tubes, calorimeter made of
25cylindrical tubes, and muon trackers made of planes.
26 Cylindrical calorimeter is made of tubes of lead and scintirator
27without cut in phi nor z direction. Energy deposition in scintirator
28is accumurated by ExN04CalorimeterSD sensitive detector, which has
29a readout geometry to find the phi-z cell.
30
313. Physics processes
32
33 The example uses the QGSP 'Educated guess physics list', which
34includes electro-magnetic and hadronic interactions.
35
363.1 Compilation of the Hadronic Physics lists
37
38 The compilation of the example N04 requires the previous compilation of
39the hadronic physics lists, they ARE automatically compiled together with
40the standard Geant4 libraries; you may disable building the physics lists
41by setting G4LIB_BUILD_LISTS to NO.
42If you try to compile the example without the lists, you might probably
43get an error message during the linking phase, similar to the following:
44"Linking exampleN04 ...
45/usr/bin/ld: cannot find -lQGSP"
46
47If they are not compiled, then you (or your Geant4 administrator)
48can do it with the following steps:
49a. Make sure the Geant4 environment variables G4LIB_BUILD_lists is NOT defined
50b. cd $G4INSTALL/source/physics_lists
51c. gmake
52
534. Event filtering by the stacking mechanism.
54
55 Higgs events in "pythia_event.data" have two lepton pairs produced
56by the Higgs decay via Z0. At the first stage of each event, only the
57primary muons are tracked without tracking secondaries. then the number
58of hits on the muon trackers are examined. At the next stage, only
59the primary charged particles are tracked only inside the barrel
60tracking area and the isolation of the primary muons are examined.
61At the third stage, all particles in the RoI (Region of Interest) along
62the isolated muons are tracked. All these examinations are applied in
63ExN04StackingAction.
64       
655. How to start
66 
67- compile and link to generate an executable
68        % cd N04
69        % gmake
70       
71- execute N04 in 'batch' mode from macro files
72        % exampleN04   exampleN04.in
73               
74- execute N04 in 'interactive mode' with visualization
75        % exampleN04
76        ....
77        Idle> type your commands. For instance:
78        Idle> /run/beamOn 3
79        ....
80        Idle> exit
Note: See TracBrowser for help on using the repository browser.