Geant4 Cross Reference |
1 ---------------------------------------------- 2 3 ========================================= 4 Geant4 - an Object-Oriented Toolkit for S 5 ========================================= 6 7 xray_fluorescence 8 ----------------- 9 XrayFluo is an advanced Geant4 example reprodu 10 11 A sample macro (livermore.mac) is provided. 12 13 The detector is a monolitic Si(Li) or HPGe det 14 15 The sample, a simple box whose material can be 16 17 Two diaphragms reproducing those used to colli 18 19 The aim of this advanced example is to illustr 20 21 Generation of particles is done via the G4Part 22 23 The example includes the possibility to shoot 24 25 Histogramming facilities are provided using th 26 27 In order to be able to use any of these packag 28 29 #path to the lowEnergy data base 30 31 setenv G4LEDATA /your/path/to/geant4/data/G4EM 32 33 #path to Xray_Fluorescence data files, if not 34 35 setenv XRAYDATA /path/to/detector/and/input/sp 36 37 1. Run 38 After the compilation of the program, to execu 39 40 $G4WORKDIR/bin/Linux-g++/XrayFluo 41 42 The program gives, at tis point,the user 4 opt 43 44 Please Select Simulation Geometrical Set-Up: 45 1 - Test Beam 46 2 - Infinite Plane 47 3 - Planet and Sun 48 4 - Phase-Space Production 49 50 The first three choices are to choose differen 51 52 In order to run a macro, type the following co 53 54 idle> execute command "/control/execute xxxxx. 55 56 If the analysis options are set, histograms wi 57 58 In order to launch the application in batch mo 59 60 $G4WORKDIR/bin/Linux-g++/XrayFluo xxxxx.mac 1 61 62 2. Detector description 63 The telescope and detector geometry is defined 64 65 3. Detector peculiar properties are described 66 Other commands (apparate/sample /apparate/samp 67 68 4. Physics processes 69 70 Tha user can select the preferred physics list 71 72 5. Event generation 73 74 This is done using the G4ParticleGun with some 75 76 Event generation is controlled by commands in 77 78 - /gun/loadGunData <filename>: to be used with 79 80 - /gun/loadRayleighFlag <true/false> This is u 81 82 83