Warning, /geant4/examples/extended/parameterisations/gflash/gflash2/README.md is written in an unsupported language. File is not indexed.
0001 \page Examplegflash2 Example gflash2
0002
0003 ## Geometry and SD
0004
0005 This example uses mass geometry to create the main volume (homogeneous material) and use it
0006 as an envelope for the parametrisation, but the readout geometry (crystals)
0007 are defined in the parallel geometry, together with the sensitive detector
0008 to store the hits.
0009 Geometry and sensitive detector are defined in:
0010 - ExGflash2DetectorConstruction
0011 - ExGflash2ParallelWorld
0012 - ExGflash2SensitiveDetector
0013
0014 ## Details of implementation
0015
0016 - ExGflash2.cc: \n
0017 Parallel world needs to be registered;
0018 Fast simulation is activated for parallel world (where envelope is);
0019
0020 - ExGflash2DetectorConstruction: \n
0021 Only main geometry and SD are created;
0022
0023 - ExGflash2ParallelWorld: \n
0024 Construction of identical volume for the main box as in the mass geometry,
0025 but with dummy material (it is not used anyway);
0026 Creation of G4Region associated to G4LogicalVolume;
0027 Initialization of GFlash, attaching it to the envelope (G4Region);
0028
0029 - ExGflash2SensitiveDetector: \n
0030 Uses pointer to ExGflash2ParallelWorld to get the crystals for the readout;
0031
0032 ## Macros
0033
0034 - vis.mac - macro for use in interactive mode (default, if no arguments are specified)
0035 - test.mac - macro for tests: 50 GeV electrons are shot in the direction of the detector
0036 (along z axis), 10 times. As they enter the parametrisation envelope,
0037 the GFlash parametrisation is invoked and energy is deposited.
0038 The results are printed out:
0039 - energy in the most central crystal
0040 - energy in 3x3 crystals
0041 - energy in 5x5 crystals
0042 - number of created deposits
0043 - simulation time per event
0044
0045 See also [Category "parameterisations/gflash"](../../html/Examples_gflash.html) documentation.
0046