Geant4 Cross Reference |
1 2 ========================================= 3 GORAD - Geant4 Open-source Radiation Anal 4 ========================================= 5 6 First release : September 2020 with Geant4 ver 7 Author : Makoto Asai (SLAC National Accelerato 8 9 Introduction 10 ------------ 11 12 Gorad (Geant4 Open-sourced Radiation Analysis 13 a turn-key application for radiation analysis 14 on top of Geant4. Simulation geometry should b 15 Gorad is controlled by UI commands, and it wor 16 with Qt window and in batch mode with an input 17 18 The current Gorad requires Geant4 version 10.7 19 It does not work with earlier version of Geant 20 with multithreading mode and GDML interface en 21 for the use of Gorad in interactive mode. Gean 22 Xerces-C++ version 3 or higher. Xerces-C++ has 23 compiler Geant4 is compiled. Please refer to t 24 for enabling these options. 25 26 Building and running Gorad 27 -------------------------- 28 29 To compile and run Gorad, all the Geant4 envir 30 properly set. Use the shell script in the Gean 31 Compilation of Gorad requires cmake and make s 32 Geant4 itself. 33 34 $ source $G4INSTALL/bin/geant4.(c)sh 35 $ cmake . 36 $ make 37 38 To run Gorad in interactive mode, 39 40 $ ./gorad 41 42 and then, in the keyboard input field, type 43 44 /control/execute <macroFile> 45 46 The user may also use any UI commands shown in 47 Qt window. 48 49 To run Gorad in batch mode, 50 51 $ ./gorad <macroFIle> 52 53 A sample macro file 54 ------------------- 55 56 Associated macro file "run.mac" can be used fo 57 and batch mode. It uses a simple cone-shaped g 58 and King Solar Proton Fluence model (https://d 59 It employs both primary particle generation bi 60 importance biasing. This sample macro file def 61 water located at the center of the world volum 62 scorers. 63 64 If this sample macro file is used in interacti 65 visualization (through vis.mac). After executi 66 user can start an event loop with /run/beamOn 67 68 If this sample macro file is used in batch mod 69 After the event loop, These histograms are dum 70 and also plotted to a Postscript file. Scores 71 are also dumped into an output file. In batch 72 one million events. 73 74 Gorad manual and additional GDML file 75 ------------------------------------- 76 77 Details of the sample macro file and available 78 described in the full manual downloadable from 79 additional sample GDML file of partial and sim 80 is available at the following URL. This is a s 81 mandatory to execute Gorad. 82 83 https://twiki.cern.ch/twiki/bin/view/Geant4/A 84 85 Known warning messages while processing a GDML 86 ---------------------------------------------- 87 88 If the input GDML file uses some material name 89 these names are unrecognizable by the GDML per 90 warning messages. For example 91 92 G4GDML: VALIDATION ERROR! ID attribute 'G4_AIR 93 never declared at line: XX 94 95 These messages are harmless and these material 96 once they are set to G4LogicalVolume. 97 98 Acknowledgements 99 ---------------- 100 101 Development of Gorad is funded by NASA Johnson 102 the contract NNJ15HK11B. 103 104 105 106