Back to home page

EIC code displayed by LXR

 
 

    


Warning, /geant4/examples/extended/parameterisations/gflash/gflash3/README.md is written in an unsupported language. File is not indexed.

0001 \page Examplegflash3 Example gflash3
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 - ExGflash3DetectorConstruction
0011 - ExGflash3ParallelWorld
0012 - ExGflash3SensitiveDetector
0013 
0014 ## Details of implementation:
0015 
0016 - ExGflash3.cc:
0017    Parallel world needs to be registered;
0018    Physics of the parallel world needs to be registered so sensitive detector can
0019    collect hits;
0020    Fast simulation is activated for mass world (where envelope is);
0021 
0022 - ExGflash3DetectorConstruction:
0023    Only main volume (box) with material is created;
0024    Creation of G4Region associated to G4LogicalVolume of that box;
0025    Initialization of GFlash, attaching it to the envelope (G4Region);
0026 
0027 - ExGflash3ParallelWorld:
0028    Construction of identical volume for the main box as in the mass geometry,
0029    but with dummy material (it is not used anyway);
0030    Construction of individual crystals for the readout geometry;
0031    Creation of the sensitive detector;
0032 
0033 - ExGflash3SensitiveDetector:
0034    Uses pointer to ExGflash3DetectorConstruction to get the crystals for the readout;
0035 
0036 ## Macros
0037 
0038 - vis.mac - macro for use in interactive mode (default, if no arguments are specified)
0039 - test.mac - macro for tests: 50 GeV electrons are shot in the direction of the detector
0040            (along z axis), 10 times. As they enter the parametrisation envelope,
0041            the GFlash parametrisation is invoked and energy is deposited.
0042            The results are printed out:
0043             - energy in the most central crystal
0044             - energy in 3x3 crystals
0045             - energy in 5x5 crystals
0046             - number of created deposits
0047             - simulation time per event
0048 
0049 See also [Category "parameterisations/gflash"](../../html/Examples_gflash.html) documentation.
0050