Geant4 Cross Reference |
1 ---------------------------------------------- 2 ---------------------------------------------- 3 4 ========================================= 5 Geant4 - Nanobeam example 6 ========================================= 7 8 README file 9 -------------------- 10 11 CORRESPONDING AUTHO 12 13 S. Incerti (a, *) et al. 14 a. Centre d'Etudes Nucleaires de Bordeaux-Grad 15 (CENBG), IN2P3 / CNRS / Bordeaux 1 University, 16 * e-mail:incerti@cenbg.in2p3.fr 17 18 ---->1. INTRODUCTION. 19 20 The nanobeam example simulates the beam optics 21 on the AIFIRA electrostatic accelerator facili 22 Bordeaux-Gradignan, France. For more informati 23 please visit : 24 http://www.cenbg.in2p3.fr/ 25 26 The code can be used to calculate : 27 1) intrinsic aberration coefficients of the na 28 2) beam image from a relasitic primary emittan 29 3) grid shadow images 30 31 Three quadrupole field models can be used : 32 - a simple square field model 33 - a 3D mesh field model computed from OPERA3D 34 - an analytical model based on Enge's model 35 36 ---->2. GEOMETRY SET-UP. 37 38 The full magnetic configuration of the nanobea 39 This configuration is made of a combination of 40 5 Oxford Microbeams Ltd. OM50 quadrupoles. 41 42 More details on the experimental setup and its 43 be found in the following papers: 44 45 - A DETAILED RAY-TRACING SIMULATION OF THE HIG 46 AIFIRA FACILITY 47 By F. Andersson, Ph. Barberet, S. Incerti, Ph. 48 Published in Nucl.Instrum.Meth.B266:1653-1658, 49 50 - MONTE CARLO SIMULATION OF THE CENBG MICROBEA 51 GEANT4 TOOLKIT 52 By S. Incerti, Q. Zhang, F. Andersson, Ph. Mor 53 M.J. Merchant, D.T. Nguyen, C. Habchi, T. Pout 54 Published in Nucl.Instrum.Meth.B260:20-27, 200 55 56 - GEANT4 SIMULATION OF THE NEW CENBG MICRO AND 57 By S. Incerti, C. Habchi, Ph. Moretto, J. Oliv 58 Published in Nucl.Instrum.Meth.B249:738-742, 2 59 60 - A COMPARISON OF RAY-TRACING SOFTWARE FOR THE 61 SYSTEMS 62 By S. Incerti et al., 63 Published in Nucl.Instrum.Meth.B231:76-85, 200 64 65 ---->3 VISUALIZATION 66 67 Visualization has not been implemented. 68 69 ---->4. HOW TO RUN THE EXAMPLE 70 71 1) You must have compiled your Geant4 installa 72 CLHEP library which can handle matrix operatio 73 74 2) The code should be compiled cmake and run w 75 76 ./nanobeam 77 78 The macro file default.mac is read by default. 79 80 Several macro files are provided: 81 82 1) for the computation of intrinsic aberration 83 coef-square.mac : using square magnetic field 84 coef-map.mac : using 3D map magnetic field mod 85 coef-enge.mac : using Enge's analytical field 86 87 2) for the simulation of the beam image with a 88 image-square.mac : using square magnetic field 89 image-map.mac : using 3D map magnetic field mo 90 image-enge.mac : using Enge's analytical field 91 92 3) for the simulation of grid shadow images 93 grid-square.mac : using square magnetic field 94 grid-map.mac : using 3D map magnetic field mod 95 grid-enge.mac : using Enge's analytical field 96 97 These macros files are stored in the ./macros 98 99 To run macros which include *map* in their nam 100 into the directory in which you run ./nanobeam 101 102 The code can be run in MT mode, for high stati 103 Do not use MT for aberration coefficients calc 104 The switch to MT can be made in nanobeam.cc. 105 106 ---->5. PHYSICS 107 108 The example runs with protons with fluctuating 109 Standard electromagnetic processes are activat 110 Physics builder G4EmStandardPhysics), includin 111 112 ---->6. SIMULATION OUTPUT AND RESULT ANALYZIS 113 114 All results are stored in the nanobeam.root fi 115 ROOT macro file plot.C: 116 * be sure to have ROOT installed on your machi 117 * be sure to be in the directory where ROOT ou 118 * copy plot.C into this directory 119 * launch ROOT by typing root, then under your 120 to execute the macro file 121 * or type directly: root plot.X 122 123 This macro file shows : 124 - the beam profile along the nanobeam line (on 125 coefficients) 126 - the beam image (Y vs X) on target 127 - the beam emittance (THETA vs X) and (PHY vs 128 - the grid shadow image (option) 129 130 The output ntuples can be written as xml or cs 131 132 ---------------------------------------------- 133 134 Should you have any enquiry, please do not hes 135 incerti@cenbg.in2p3.fr