Back to home page

EIC code displayed by LXR

 
 

    


Warning, /geant4/examples/extended/electromagnetic/TestEm9/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                             TestEm9
0008                             -------
0009      Demonstrate electromagnetic physics in crystal calorimeters.
0010      How to define cut-per-region.
0011      
0012  1- GEOMETRY DEFINITION
0013 
0014      The geometry consists of the vertex detector (VD), the electromagnetic
0015      calorimeter (EM), and the muon identifier (MU). Detector layout along
0016      the Z axis.
0017 
0018      VD consisted of 3 layers of Si with pads structured along the X axis.
0019      Between VD and EM there are 2 active absorbers (scintillators).
0020      EM is the matrix 5x5 of heavy crystals. MU consist of 2 active absorbers
0021      (scintillators) and the iron plate between.
0022 
0023      2 regions additional to the World are defined: VertexDetector and
0024      MuonDetector. For testing purposes first absorber of MU is included in
0025      the region of VD.
0026 
0027      Material of calorimeter and absorber can be choosen:
0028           Air Water lAr Al Fe BGO PbWO4 Pb.
0029      eg: /testem/det/CalMat PbWO4
0030          /testem/det/AbsMat Al
0031 
0032      The size of the detector can be changed also.
0033 
0034      eg: /testem/det/EcalLength   20  cm
0035          /testem/det/EcalWidth     5  cm
0036          /testem/det/update             ---> rebuild the geometry
0037 
0038  2- PHYSICS LISTS
0039 
0040     Physics Lists are based on modular design. Several modules are instantiated:
0041     1. Transportation
0042     2. EM physics
0043     3. Decays
0044     4. StepMax - for step limitation
0045 
0046     The following options for EM physics using builders from physics_lists
0047     sub-package are available:   
0048     - "emstandard_opt0" recommended standard EM physics for LHC
0049     - "emstandard_opt1" best CPU performance standard physics for LHC
0050     - "emstandard_opt2" similar fast simulation
0051     - "emstandard_opt3" best standard EM options - analog to "local" above
0052     - "emstandard_opt4" best current advanced EM options standard + lowenergy
0053     - "emstandardWVI" standard EM physics and WentzelVI multiple scattering
0054     - "emstandardSS"  standard EM physics and single scattering model
0055     - "emstandardGS"  standard EM physics and Goudsmit-Saunderson multiple scatt.
0056     - "emlivermore"  low-energy EM physics using Livermore data
0057     - "empenelope"   low-energy EM physics implementing Penelope models
0058     - "emlowenergy"  low-energy EM physics implementing experimental
0059                      low-energy models
0060 
0061     A local builder, PhysListEmStandard "local" (similar to opt0) is also 
0062     available.
0063 
0064     Optional components can be added:
0065     - "elastic"       elastic scattering of hadrons
0066     - "binary"        QBBC configuration of hadron/ion inelastic models
0067     - "gamma_nuc"     gamma- and electro-nuclear processes
0068     - "stopping"      stopping processes
0069 
0070  3- AN EVENT : THE PRIMARY GENERATOR
0071 
0072      The primary kinematic consists of a single particle which hits the
0073      cylinder perpendicular to the input face. The type of the particle
0074      and its energy are set in the PrimaryGeneratorAction class, and can
0075      changed via the G4 build-in commands of G4ParticleGun class.
0076 
0077  4- OUTPUT
0078 
0079      The batch regime of simulation can be started 
0080        $G4WORKDIR/bin/$G4SYSTEM/TestEm9 TestEm9.in
0081      where TestEm9.in is the example of macro file for batch job.
0082 
0083      As a result of simulation the number of secondaries produced
0084      in different regions are averaged. The average energy depositions
0085      in active absorbers and EM as well as RMS of these values are shown.
0086      The number of hits in pads of VD is printed out.
0087 
0088  5- VISUALISATION
0089 
0090      To use visualisation the environment variable G4_VIS_USE should be 
0091      defined. An interactive session starts if no macro file is specified 
0092      in the command line:
0093        $G4WORKDIR/bin/$G4SYSTEM/TestEm9
0094 
0095      To start visualisation one can issur 
0096      >/control/execute vis.mac
0097      >/run/beamOn 1
0098 
0099  6- ANALYSIS
0100 
0101      Number of histograms are built inside the example using internal
0102      analysis sub-package. Histograms are saved in a root file.
0103      Histogram booking and saving is done only if any of histogram
0104  
0105      /testem/histo/fileName myname
0106      /testem/histo/setHisto id nbins xmin xmax unit
0107 
0108