Warning, /geant4/examples/extended/parameterisations/gflash/README.md is written in an unsupported language. File is not indexed.
0001 \page Examples_gflash Category "parameterisations/gflash"
0002
0003 These examples demonstrate the use of the GFLASH parameterisation library.
0004 They use the GFLASH equations (hep-ex/0001020, Grindhammer & Peters)
0005 to parametrise electromagnetic showers in matter.
0006 In these examples the calorimeter is a simple cube,
0007 which consists of 10 x 10 crystals of PbWO4 (CMS like).
0008
0009 Briefly, whenever a e-/e+ enters the calorimeter, it is parametrised if it
0010 has a minimum energy and the shower is expected to be contained
0011 in the calorimeter (so called " parameterisation envelope").
0012 If this is fullfilled the particle is killed, as well as all secondaries,
0013 and the energy is deposited according to the GFLASH equations.
0014
0015 The examples show how to interface GFLASH to your application.
0016 The simulation time is measured, so the user can see immediately
0017 the speed up by using GFLASH.
0018
0019 Geometry and parametrisation is defined in different ways in the set of three equivalent
0020 (in terms of produced showers) examples: \ref Examplegflash1, \ref Examplegflash2 and
0021 \ref Examplegflash3, to demonstrate
0022 how to use the parametrisation, sensitive detectors and parallel geometry.
0023 The classes which are the same in all three examples have the names with ExGflash prefix while
0024 the names of classes specific to each example have the prexix ExGflash[1,2,3].
0025
0026 \ref Examplegflasha - allow histogramming of show profiles and fine tuning
0027 of gflash parametrization for homogeneous medium.
0028
0029 Note: Instead of particle gun the gps class is used here for particle generation.
0030
0031 ## Briefly
0032
0033 Table below presents in which world/geometry (mass or parallel) each of the elements is defined.
0034
0035
0036 | Example | gflash1 | gflash2 | gflash3 |
0037 |------------------------------|----------|--------------|--------------|
0038 | Block of material | mass geo | mass geo | mass geo |
0039 | Crystals (readout geometry) | mass geo | mass geo | parallel geo |
0040 | Sensitive detector | mass geo | mass geo | parallel geo |
0041 | Envelope for parametrisation | mass geo | parallel geo | mass geo |
0042
0043
0044 ### \ref Examplegflash1
0045
0046 Uses only the mass geometry, with each crystal defined as a volume,
0047 with parametrisation attached to the envelope in the mass geometry.
0048 Geometry and sensitive detector are defined in:
0049 - ExGflash1DetectorConstruction
0050 - ExGflash1SensitiveDetector
0051
0052 ### \ref Examplegflash2
0053
0054 Uses mass geometry to create volumes and to create a sensitive detector
0055 for storing hits, but parametrisation is attached to the envelope
0056 in the parallel geometry (see also examples/extended/parametrisations/Par01).
0057 Geometry and sensitive detector are defined in:
0058 - ExGflash2DetectorConstruction
0059 - ExGflash2ParallelWorld
0060 - ExGflash2SensitiveDetector
0061
0062 ### \ref Examplegflash3
0063
0064 Uses mass geometry to create the main volume (homogeneous material) and use it
0065 as an envelope for the parametrisation, but the readout geometry (crystals)
0066 are defined in the parallel geometry, together with the sensitive detector
0067 to store the hits.
0068 Geometry and sensitive detector are defined in:
0069 - ExGflash3DetectorConstruction
0070 - ExGflash3ParallelWorld
0071 - ExGflash3SensitiveDetector
0072
0073 ## Macros
0074
0075 - vis.mac - macro for use in interactive mode (default, if no arguments are specified)
0076 - test.mac - macro for tests: 50 GeV electrons are shot in the direction of the detector
0077 (along z axis), 10 times. As they enter the parametrisation envelope,
0078 the GFlash parametrisation is invoked and energy is deposited.
0079 The results are printed out:
0080 - energy in the most central crystal
0081 - energy in 3x3 crystals
0082 - energy in 5x5 crystals
0083 - number of created deposits
0084 - simulation time per event