Geant4 Cross Reference |
1 1 2 ========================================= 2 ========================================================= 3 Geant4 - ICRP145_HumanPhantoms examp 3 Geant4 - ICRP145_HumanPhantoms example 4 ========================================= 4 ========================================================= 5 5 6 README 6 README 7 --------------------- 7 --------------------- 8 8 9 9 10 ********************************************** 10 ******************************************************************** 11 * The ICRP145 Phantoms are used in Geant4 with 11 * The ICRP145 Phantoms are used in Geant4 with permission from the * 12 * International Commission on Radiological Pr 12 * International Commission on Radiological Protection * * 13 ********************************************** 13 ******************************************************************** 14 14 15 Authors' list: 15 Authors' list: 16 • Haeginh Han / Hanyang University, Republic 16 • Haeginh Han / Hanyang University, Republic of Korea 17 • Min Cheol Han / Yonsei University Health 17 • Min Cheol Han / Yonsei University Health System, Republic of Korea 18 • Banho Shin / Hanyang University, Republic 18 • Banho Shin / Hanyang University, Republic of Korea 19 • Chansoo Choi / University of Florida, USA 19 • Chansoo Choi / University of Florida, USA 20 • Yeon Soo Yeom / Yonsei University, Republ 20 • Yeon Soo Yeom / Yonsei University, Republic of Korea 21 • Jonghwi Jeong / National Cancer Center, Re 21 • Jonghwi Jeong / National Cancer Center, Republic of Korea 22 • Chan Hyeong Kim / Hanyang University, Repu 22 • Chan Hyeong Kim / Hanyang University, Republic of Korea 23 23 24 Bibliographic references - please refer to thi 24 Bibliographic references - please refer to this reference when using the Advanced Example 25 • ICRP, 2020. Adult mesh-type reference comp 25 • ICRP, 2020. Adult mesh-type reference computational phantoms. ICRP Publication 145. Ann. ICRP 49(3). 26 26 27 Geant4 Contributors: J. Allison and S. Guatell 27 Geant4 Contributors: J. Allison and S. Guatelli 28 28 29 e-mail inquiries to: haeginh@hanyang.ac.kr, su 29 e-mail inquiries to: haeginh@hanyang.ac.kr, susanna@uow.edu.au, MRCP.ICRP@gmail.com 30 30 31 1- HOW TO BUILD AND RUN THE EXAMPLES 31 1- HOW TO BUILD AND RUN THE EXAMPLES 32 32 33 Please note that the guides below are based 33 Please note that the guides below are based on Linux/MacOSX, which are the 34 recommended platforms for Geant4. 34 recommended platforms for Geant4. 35 35 36 1) Compile and link to generate an executable 36 1) Compile and link to generate an executable (with CMake) 37 37 38 % cd path_to_example 38 % cd path_to_example 39 % mkdir example_build 39 % mkdir example_build 40 % cd example_build 40 % cd example_build 41 % cmake .. 41 % cmake .. 42 % make 42 % make 43 This should make two executables - ICRP145p 43 This should make two executables - ICRP145phantoms and ICRP145standalone. 44 44 45 2) How to run 45 2) How to run 46 46 47 a) For the irradiation with external beams 47 a) For the irradiation with external beams: 48 48 49 % ./ICRP145phantoms [options] 49 % ./ICRP145phantoms [options] 50 50 51 Options: 51 Options: 52 -m [input file name] optional provi 52 -m [input file name] optional provided->batch mode 53 not p 53 not provided->interactive mode 54 -o [output file name] optional (defa 54 -o [output file name] optional (default: [macro file name].out) 55 -f optional swit 55 -f optional switch to change the phantom to MRCP-AF 56 (def 56 (default: MRCP-AM) 57 57 58 ex) MRCP-AM: % ./External -m example 58 ex) MRCP-AM: % ./External -m example.in -o example.out 59 ex) MRCP-AF: % ./External -m example 59 ex) MRCP-AF: % ./External -m example.in -o example.out -f 60 60 61 *** The radiation source can be specifi 61 *** The radiation source can be specified in source.mac file by using 62 macro commands for G4GeneralParticleSou 62 macro commands for G4GeneralParticleSource (/gps/) 63 63 64 b) For the case of internal radiation sour 64 b) For the case of internal radiation sources: 65 65 66 % ./ICRP145phantoms [options] 66 % ./ICRP145phantoms [options] 67 67 68 Options: 68 Options: 69 -i [ID of source organ] mandatory (ID 69 -i [ID of source organ] mandatory (ID of each organ can be found in Appendix A) 70 -m [input file name] optional prov 70 -m [input file name] optional provided->batch mode 71 not 71 not provided->interactive mode 72 -o [output file name] optional (def 72 -o [output file name] optional (default: [macro file name].out) 73 -f optional swit 73 -f optional switch to change the phantom to MRCP-AF 74 (def 74 (default: MRCP-AM) 75 75 76 ex) MRCP-AM: % ./Internal -i 9500 -m 76 ex) MRCP-AM: % ./Internal -i 9500 -m example.in -o example.out 77 ex) MRCP-AF: % ./Internal -i 9500 -m 77 ex) MRCP-AF: % ./Internal -i 9500 -m example.in -o example.out -f 78 78 79 *** source organ can be defined by u 79 *** source organ can be defined by using -i option. 80 *** source particle and the particle 80 *** source particle and the particle energy can be specified 81 in source.mac file by using macr 81 in source.mac file by using macro commands for G4ParticlGun (/gun/) 82 82 83 c) To see the phantom alone: 83 c) To see the phantom alone: 84 84 85 % ./ICRP145standalone 85 % ./ICRP145standalone 86 86 87 This allows you to visualise the phanto 87 This allows you to visualise the phantom without the overhead of 88 the run manager and physics tables and 88 the run manager and physics tables and geometry initialisation. 89 Of course, you cannot run or visualise 89 Of course, you cannot run or visualise trajectories. 90 90 91 d) Notes 91 d) Notes 92 92 93 - Regarding the interactive mode with vi 93 - Regarding the interactive mode with visualisation: 94 94 95 * you can run the codes in interactiv 95 * you can run the codes in interactive mode with visualisation by 96 omitting -m option. 96 omitting -m option. 97 * with "special mesh rendering" (see 97 * with "special mesh rendering" (see vis.mac) the memory required 98 for the visualisation about 1.5 GB 98 for the visualisation about 1.5 GB (without, it's ~35 GB!). 99 * original data takes about 3 GB, phy 99 * original data takes about 3 GB, physics tables and geometry 100 voxelisation consume about 5 GB, so 100 voxelisation consume about 5 GB, so a typical app is about 10 GB. 101 * in interactive mode, user should st 101 * in interactive mode, user should start a run by using 102 /run/beamOn command. (Idle> /run/be 102 /run/beamOn command. (Idle> /run/beamOn [number of events]) 103 103 104 104 105 - Regarding the multi-threaded mode: 105 - Regarding the multi-threaded mode: 106 106 107 * these examples can be run in multi- 107 * these examples can be run in multi-threaded mode when Geant4 was 108 compiled in multi-threaded mode. 108 compiled in multi-threaded mode. 109 * the number of threads can be set in 109 * the number of threads can be set in input file (see example.in) 110 110 111 - Regarding the path to phantom data: 111 - Regarding the path to phantom data: 112 112 113 * the default path to phantom data is 113 * the default path to phantom data is "(build_directory)/../../phantoms". 114 * to specify the path please change a 114 * to specify the path please change a PHANTOM_PATH environment variable. 115 (export PHANTOM_PATH="path_to_phant 115 (export PHANTOM_PATH="path_to_phantom_data") 116 116 117 2- RESULT FILE 117 2- RESULT FILE 118 118 119 example_male.out and example_female.out file 119 example_male.out and example_female.out files in each folder is the result file 120 for example.in. The result file provides abs 120 for example.in. The result file provides absorbed doses for all organ IDs for TM 121 model listed in Appendix A. 121 model listed in Appendix A. 122 122 123 3- LICENSE 123 3- LICENSE 124 124 125 This code is based on Geant4 toolkit, and th 125 This code is based on Geant4 toolkit, and therefore follows the 'The Geant4 126 Software License' (http://geant4.web.cern.ch 126 Software License' (http://geant4.web.cern.ch/license/LICENSE.html). 127 127 128 128