Back to home page

EIC code displayed by LXR

 
 

    


Warning, /geant4/examples/extended/electromagnetic/TestEm10/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                             TestEm10 
0008                             --------
0009 
0010     Test for investigation of transition radiation. 
0011     Default setup for "TestEm10.in" and "TestEm10.large_N.in" is the simplified 
0012     setup for ALICE XTR test beam (~2004), defined in DetectorSimpleALICE class.
0013 
0014 
0015  1- GEOMETRY DEFINITION
0016  
0017     The geometry setup includes "radiator" and "absorber" volumes
0018     of a box shape.
0019 
0020     The "radiator" material is defined as a mixture of a gas and foil material
0021     and the "absorber" contains a gas material.
0022 
0023     Several geometry setups are defined in the classes 
0024     DetectorSetupX, 
0025     where SetupX = ALICE06, Bari05, Barr90, Construction, Harris73, Messenger, SimpleALICE, Watase86
0026         
0027         The default setup, SimpleALICE, can be changed via UI command:
0028     /XTRdetector/setup setup
0029        where setup = simpleALICE, alice06, bari05, harris73, watase86, barr90
0030         
0031  2- PRIMARY GENERATOR
0032  
0033         The primary kinematic consists of a single particle which hits the
0034         absorber perpendicular to the input face. The type of the particle
0035         and its energy are set in the PrimaryGeneratorAction class, and can
0036         be changed via the G4 build-in commands of G4ParticleGun class (see
0037         the macros provided with this example).
0038         
0039  3- DETECTOR RESPONSE
0040 
0041         In this example the total energy deposited in the "absorber" volume 
0042     is accounted in SensitevDetector class, and a spectrum of XTR gamma
0043     particles, all secondary gamma particles and all secondary e- 
0044     particleas is accounted in StackingAction class.
0045         
0046  4- PHYSICS
0047     
0048         The particle's type and the physic processes which will be available
0049         in this example are set in PhysicsList class.
0050     The trasition radiation process is defined in the
0051     TransitionRadiationPhysics builder.
0052                 
0053     The transition radiator models can be changed simply with:
0054 
0055     Idle> /emphyslist/setXTRModel modelName
0056 
0057     See macro files "*.mac" for different setups providede with the example.
0058 
0059  5 - HISTOGRAMS
0060 
0061     Testem10 produces several histo which are saved as testem10.root by default.
0062     Content of these histo:  
0063         1: Energy deposit in absorber
0064         2: XTR Gamma spectrum
0065         3: Secondary Gamma spectrum
0066         4: Secondary e- spectrum
0067         5: Energy deposit in absorber with the same histogram parameters
0068            as in the previous version of this example (Geant4 version <=10.2)
0069         
0070      The histograms are managed by G4AnalysisManager class and its Messenger. 
0071      The histos can be individually activated with the command :
0072      /analysis/h1/set id nbBins  valMin valMax unit 
0073      where unit is the desired unit for the histo (MeV or keV, deg or mrad, etc..)
0074      
0075      One can control the name of the histograms file with the command:
0076      /analysis/setFileName  name  (default testem1)
0077      
0078      It is possible to choose the format of the histogram file : root (default),
0079      hdf5, xml, csv, by changing the default file type in HistoManager.cc
0080        
0081      It is also possible to print selected histograms on an ascii file:
0082      /analysis/h1/setAscii id
0083      All selected histos will be written on a file name.ascii  (default testem1)
0084 
0085  6- HOW TO START ?
0086  
0087         - execute TestEm10 in 'batch' mode from macro files e.g.
0088       % TestEm10   TestEm10.in [TestEm10.large_N.in]
0089 
0090         - execute TestEm10 in 'interactive' mode with visualization e.g.
0091       % TestEm10
0092       ....
0093       Idle> type your commands
0094       ....
0095 
0096  7- MACROS
0097      alice06.mac:  ALICE simplified 2006 test beam setup
0098      bari05.mac:   setup of Bari INFN group (M. Bridgida et al, NIM A550 (2005) 157-168 (fig. 8))
0099      barr90.mac:   NIM A294 (1990) 465-472 (fig. 11) setup
0100      harris73.mac: NIM 107 (1973) 413-422 (fig. 3b) setup
0101      salice.mac:   ALICE simplified 2006 test beam setup with disabled
0102                    ionisation and multiple scattering
0103      watase86.mac: NIM A248 (1986) 379-388 (fig. 7) setup