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.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 ]
1 -------------------------------------------------------------------
2
3 =========================================================
4 Geant4 - an Object-Oriented Toolkit for Simulation in HEP
5 =========================================================
6
7 Example Par01
8 -------------
9
10 Example Par01 provides examples of the use of parameterisation facilities.
11 It was moved in extended examples from novice/N05 with removal of
12 novice examples.
13
14 Geometry, sensitive detector, hits, processes are defined respectively in:
15
16 Par01DetectorConstruction
17 Par01CalorimeterSD
18 Par01CalorimeterHit
19
20 The particularities are:
21
22 o The parameterisation models:
23
24 o Par01EMShowerModel which provides a crude
25 parameterisation for e+/e-/gamma. This model
26 is bound to the EM calorimeter.
27
28 o Par01PionShowerModel: 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 Par01EnergySpot), 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 care 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 Par01PiModel: just there to show how a parameterisation
53 can create secondaries, but not used.
54
55 o Par01DetectorConstruction::Construct: in this method, the parameterisation
56 models are built and bound to envelopes:
57
58 o Par01EMShowerModel is bound to the electromagnetic
59 calorimeter
60
61 o Par01PionShowerModel is bound to a ghost volume
62 which encompasses the electromagnetic and
63 hadronic calorimters
64
65 o The Physics list used is FTFP_BERT which is augmented using the
66 G4FastSimulationPhysics physics constructor to insert the
67 G4FastSimulationManagerProcess that is making the interface
68 between the fast simulation and the tracking.
69 The configuration is shown in examlePar01.cc.
70
71
72