1 | $Id: README,v 1.1 1999/01/07 16:06:10 gunter Exp $ |
---|
2 | ------------------------------------------------------------------- |
---|
3 | |
---|
4 | ========================================================= |
---|
5 | Geant4 - an Object-Oriented Toolkit for Simulation in HEP |
---|
6 | ========================================================= |
---|
7 | |
---|
8 | ExampleN05 |
---|
9 | ---------- |
---|
10 | |
---|
11 | ExampleN05 provides examples of the use of parameterisation facilities. |
---|
12 | |
---|
13 | Geometry, sensitive detector, hits, processes are defined respectively in: |
---|
14 | |
---|
15 | ExN05DetectorConstruction |
---|
16 | ExN05CalorimeterSD |
---|
17 | ExN05CalorimeterHit |
---|
18 | ExN05PhysicsList |
---|
19 | |
---|
20 | The particularities are: |
---|
21 | |
---|
22 | o The parameterisation models: |
---|
23 | |
---|
24 | o ExN05EMShowerModel which provides a crude |
---|
25 | parameterisation for e+/e-/gamma. This model |
---|
26 | is bound to the EM calorimeter. |
---|
27 | |
---|
28 | o ExN05PionShowerModel: an even more crude |
---|
29 | parameterisation for pi+/pi-. This model |
---|
30 | is bound to a ghost volume. |
---|
31 | |
---|
32 | Those two models produces "hits": ie the energy |
---|
33 | of the incident particle is distributed into |
---|
34 | the volume of the envelope throught energy spots |
---|
35 | (class ExN05EnergySpot), those energy spots being |
---|
36 | recorded in the sensitive detector at this point |
---|
37 | if any. |
---|
38 | |
---|
39 | They are rather similar from a technical point of vue. |
---|
40 | They both make use of a private G4Navigator to set |
---|
41 | their energy spots into the sensitive volumes. |
---|
42 | However, we don't take car of putting every spot into |
---|
43 | a sensitive (which is recommended in a "serious" |
---|
44 | parameterisation !). |
---|
45 | |
---|
46 | Those two models trigger their parameterisation |
---|
47 | on the first step the particle does in the envelope, |
---|
48 | but it would be perfectly possible to wait that the |
---|
49 | particle is far enough from the boundary of the envelope |
---|
50 | for example. |
---|
51 | |
---|
52 | o ExN0PiModel: just there to show how a parameterisation |
---|
53 | can create secondaries, but not used. |
---|
54 | |
---|
55 | o ExN05PhysicsList: AddParameterisation(). A method which |
---|
56 | sets the G4FastSimulationManagerProcess in the process |
---|
57 | manager of all the particles. This process provides |
---|
58 | the INTERFACE between the tracking and the parameterisation |
---|
59 | models. |
---|
60 | |
---|
61 | o ExN05DetectorConstruction: in the .cc file, the parameterisation |
---|
62 | models are built and bound to envelopes: |
---|
63 | |
---|
64 | o ExN05EMShowerModel is bound to the electromagnetic |
---|
65 | calorimeter |
---|
66 | |
---|
67 | o ExN05PionShowerModel is bound to a ghost volume |
---|
68 | which encompasses the electromagnetic and |
---|
69 | hadronic calorimters |
---|
70 | |
---|
71 | |
---|
72 | |
---|