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