Warning, /geant4/examples/extended/parameterisations/Par01/README is written in an unsupported language. File is not indexed.
0001 -------------------------------------------------------------------
0002
0003 =========================================================
0004 Geant4 - an Object-Oriented Toolkit for Simulation in HEP
0005 =========================================================
0006
0007 Example Par01
0008 -------------
0009
0010 Example Par01 provides examples of the use of parameterisation facilities.
0011 It was moved in extended examples from novice/N05 with removal of
0012 novice examples.
0013
0014 Geometry, sensitive detector, hits, processes are defined respectively in:
0015
0016 Par01DetectorConstruction
0017 Par01CalorimeterSD
0018 Par01CalorimeterHit
0019
0020 The particularities are:
0021
0022 o The parameterisation models:
0023
0024 o Par01EMShowerModel which provides a crude
0025 parameterisation for e+/e-/gamma. This model
0026 is bound to the EM calorimeter.
0027
0028 o Par01PionShowerModel: an even more crude
0029 parameterisation for pi+/pi-. This model
0030 is bound to a ghost volume.
0031
0032 Those two models produces "hits": ie the energy
0033 of the incident particle is distributed into
0034 the volume of the envelope throught energy spots
0035 (class Par01EnergySpot), those energy spots being
0036 recorded in the sensitive detector at this point
0037 if any.
0038
0039 They are rather similar from a technical point of vue.
0040 They both make use of a private G4Navigator to set
0041 their energy spots into the sensitive volumes.
0042 However, we don't take care of putting every spot into
0043 a sensitive (which is recommended in a "serious"
0044 parameterisation !).
0045
0046 Those two models trigger their parameterisation
0047 on the first step the particle does in the envelope,
0048 but it would be perfectly possible to wait that the
0049 particle is far enough from the boundary of the envelope
0050 for example.
0051
0052 o Par01PiModel: just there to show how a parameterisation
0053 can create secondaries, but not used.
0054
0055 o Par01DetectorConstruction::Construct: in this method, the parameterisation
0056 models are built and bound to envelopes:
0057
0058 o Par01EMShowerModel is bound to the electromagnetic
0059 calorimeter
0060
0061 o Par01PionShowerModel is bound to a ghost volume
0062 which encompasses the electromagnetic and
0063 hadronic calorimters
0064
0065 o The Physics list used is FTFP_BERT which is augmented using the
0066 G4FastSimulationPhysics physics constructor to insert the
0067 G4FastSimulationManagerProcess that is making the interface
0068 between the fast simulation and the tracking.
0069 The configuration is shown in examlePar01.cc.
0070
0071
0072