Geant4 Cross Reference |
1 1 2 ========================================= 2 ========================================================= 3 Geant4 - ULTRA-based air shower 3 Geant4 - ULTRA-based air shower example 4 ========================================= 4 ========================================================= 5 5 6 README 6 README 7 --------------------- 7 --------------------- 8 8 9 ---------------------------------------------- << 9 ------------------------------------------------------------------------| 10 ----> Introduction. 10 ----> Introduction. 11 << 11 | 12 The ULTRA detector is a hybrid 2-component sys 12 The ULTRA detector is a hybrid 2-component system consisting of: >> 13 | 13 14 14 << 15 1) an UV detection system - the UVscope | 15 1) an UV detection system - the UVscope << 16 2) an array of scintillator detectors - the ET 16 2) an array of scintillator detectors - the ETscope 17 << 17 | 18 The UVscope detects Cherenkov light associated 18 The UVscope detects Cherenkov light associated to cosmic ray showers 19 when it is diffusively reflected on ground. << 19 when it is diffusively reflected on ground. | 20 The ETscope detects in coincidence the charged 20 The ETscope detects in coincidence the charged particles of the shower. 21 << 21 | 22 In the current version only the UVscope simula 22 In the current version only the UVscope simulation is included 23 ---------------------------------------------- << 23 ------------------------------------------------------------------------| 24 ----> Description 24 ----> Description 25 << 25 | 26 The UVscope consists of a Fresnel lens and a P 26 The UVscope consists of a Fresnel lens and a PMT located in the focal 27 plane, enclosed in a cylindrical aluminum hous << 27 plane, enclosed in a cylindrical aluminum housing. The lens is 457 mm | 28 in diameter and is made of UV transmitting acr 28 in diameter and is made of UV transmitting acrylic with 5.6 grooves 29 per mm. The description of the geometry of the << 29 per mm. The description of the geometry of the Fresnel lens makes use | 30 of object parameterisation/replication capabil 30 of object parameterisation/replication capabilities. 31 << 31 | 32 The primary vertex generator describes a plane 32 The primary vertex generator describes a plane circular source of UV 33 (3eV, about 400 nm) optical photons. << 33 (3eV, about 400 nm) optical photons. | 34 Depending on the selected detector configurati << 34 Depending on the user selection (see below for the relevant environment 35 positioned such that the photons are fired << 35 variables) the source can be positioned such that the photons are fired | 36 to a reflecting surface or, by default, direct 36 to a reflecting surface or, by default, directly to the UVscope 37 (no reflecting surface is present in this case << 37 (no reflecting surface is present in this case). | 38 Reflection at the surface can be chosen to be 38 Reflection at the surface can be chosen to be specular or diffuse. 39 In both cases the normal to the surface makes << 39 In both cases the normal to the surface makes an angle of 45 degrees | 40 with the UVscope axis and the photons are emit 40 with the UVscope axis and the photons are emitted at an angle of 41 90 degrees with the UVscope axis. << 41 90 degrees with the UVscope axis. | 42 If none of these variables is set no reflectin 42 If none of these variables is set no reflecting surface is used 43 and the photons source is positioned at the UV 43 and the photons source is positioned at the UVscope axis. 44 << 44 | 45 The definition of the relevant optical boundar 45 The definition of the relevant optical boundaries, parameters and 46 processes is made. << 46 processes is made. | 47 47 48 ---------------------------------------------- << 48 ------------------------------------------------------------------------| 49 ----> SET-UP 49 ----> SET-UP 50 << 50 | 51 A standard Geant4 example GNUmakefile and a CM << 51 A standard Geant4 example GNUmakefile is provided | 52 provided, for building with cmake << 53 52 54 The following environment variable can be set << 53 The following environment variables can be set: | 55 additional verbosity during program running: << 56 54 57 1) GNUmakefile << 55 setenv G4ANALYSIS_USE 1 58 56 59 setenv ULTRA_VERBOSE << 57 setenv ULTRA_VERBOSE 60 58 61 or << 59 setenv ULTRA_MIRROR_USE 1 : A specular reflecting surface is used. >> 60 setenv ULTRA_GROUND_USE 1 : A diffusive reflecting surface is used. 62 61 63 2) cmake -DULTRA_VERBOSE=ON "path to source" << 62 ------------------------------------------------------------------------ 64 63 >> 64 Setup for analysis with iAIDA : for details, see Appendix 2 of the Users Guide for Application Developers 65 65 66 ---------------------------------------------- << 66 Definition of environment variables (assuming AIDA_INSTALL is the directory where you installed iAIDA): 67 67 68 The analysis is performed using the native Gea << 68 setenv PATH ${PATH}:"$AIDA_INSTALL/bin" 69 (g4tools). In the default case, the output his << 70 in a ROOT file. << 71 69 72 The output file can be written in other format << 70 The following keywords can be used in UltraAnalysisManager.cc, 73 changing the G4AnalysisManager default file ty << 71 in order to produce HBOOK, AIDA or ROOT histograms. 74 72 75 ---------------------------------------------- << 73 "hbook" for HBOOK histograms 76 ----> How to run the example. << 74 "xml" for AIDA histograms >> 75 "root" for ROOT histograms 77 76 78 From the directory where the Ultra binary re << 77 For more information on the AIDA interface: >> 78 http://aida.freehep.org 79 79 80 ./Ultra "macro name" for running in batch mo << 80 81 << 81 - 82 ./Ultra for running in interative mode. << 82 83 The macro VisDirect.mac is executed. << 83 ----------------------------------------------------------------------- 84 << 84 ----> How to run the example. | 85 Several macros are available for interactive << 85 86 While in interactive mode type the command << 86 - batch mode: 87 /control/execute "name_of_macro", << 87 $G4WORDIR/bin/Linux-g++/Ultra UltraMacro.mac | 88 where "name_of_macro" is one of the followin << 88 | 89 << 89 - Interative mode: 90 Direct.mac - a beam of photons is shot direc << 90 3) $G4WORDIR/bin/Linux-g++/Ultra | 91 Mirror.mac - the beam is directed to a specu << 92 Ground.mac - the beam is directed to a diffu << 93 91 94 ---------------------------------------------- 92 ------------------------------------------------------------------------ 95 ----> Simulation output << 93 ----> Simulation output | 96 94 97 the output is ultra.root << 95 if G4ANALYSIS_USE = 1 in the set-up, the output is ultra.aida | 98 It contains: 96 It contains: 99 1)1Dhistogram with the detected photons energ << 97 1)1Dhistogram with the detected photons energy (eV) | 100 2)1Dhistogram with the number of detected pho << 98 2)1Dhistogram with the number of detected photons per event | 101 99 >> 100 ------------------------------------------------------------------------ >> 101 ----> Visualisation | 102 102 103 To plot these histograms run the ROOT macro 'd << 103 a macro is provided as example of visulisation: Visualisation.mac | 104 > root do_plots.C << 104 to run it : $G4WORKDIR/bin/Linux-g++/Ultra Visualisation.mac 105 ---------------------------------------------- 105 ------------------------------------------------------------------------ 106 106 107 for comments and questions: bernardo@lip.pt 107 for comments and questions: bernardo@lip.pt 108 for more info http://www.ge.infn.it/geant4/exa 108 for more info http://www.ge.infn.it/geant4/examples/ 109 109 110 last modified: B. Tome 08/11/2019 << 110 last modified: B. Tome 16/11/2009 111 created by : B. Tome and M.C. Espirito Sant 111 created by : B. Tome and M.C. Espirito Santo 20/05/2004