cn:csn5:isolpharm_ag:computing:geant4_list_of_commands
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
cn:csn5:isolpharm_ag:computing:geant4_list_of_commands [2018/09/17 09:20] – [Isotope Diffusion] bagli@infn.it | cn:csn5:isolpharm_ag:computing:geant4_list_of_commands [2018/09/17 09:21] (current) – [Isotope Diffusion] bagli@infn.it | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Geant4 List of Commands ====== | ||
+ | ===== Introduction ===== | ||
+ | The Geant4 application EF10 contained in the docker image permits a two-steps simulation: | ||
+ | - The generation of isotopes | ||
+ | - The diffusion of isotopes | ||
+ | |||
+ | The application can be launched via the command | ||
+ | |||
+ | < | ||
+ | |||
+ | where | ||
+ | |||
+ | '' | ||
+ | '' | ||
+ | '' | ||
+ | |||
+ | ===== List of Commands ===== | ||
+ | |||
+ | ==== Physics List ==== | ||
+ | The physics list can be modified at the command launch. | ||
+ | The default physics list is '' | ||
+ | |||
+ | The available physics lists are: | ||
+ | < | ||
+ | FTFP_BERT | ||
+ | FTFP_BERT_TRV | ||
+ | FTFP_BERT_ATL | ||
+ | FTFP_BERT_HP | ||
+ | FTFQGSP_BERT | ||
+ | FTFP_INCLXX | ||
+ | FTFP_INCLXX_HP | ||
+ | FTF_BIC | ||
+ | LBE | ||
+ | QBBC | ||
+ | QGSP_BERT | ||
+ | QGSP_BERT_HP | ||
+ | QGSP_BIC | ||
+ | QGSP_BIC_HP | ||
+ | QGSP_BIC_AllHP | ||
+ | QGSP_FTFP_BERT | ||
+ | QGSP_INCLXX | ||
+ | QGSP_INCLXX_HP | ||
+ | QGS_BIC | ||
+ | Shielding | ||
+ | ShieldingLEND | ||
+ | ShieldingM | ||
+ | NuBeam | ||
+ | </ | ||
+ | At the end of the physics list name, the following suffixes change the electromagnetic part of the physics list, e.g. '' | ||
+ | < | ||
+ | _EMV | ||
+ | _EMX | ||
+ | _EMY | ||
+ | _EMZ | ||
+ | _LIV | ||
+ | _PEN | ||
+ | __GS | ||
+ | __SS | ||
+ | </ | ||
+ | |||
+ | The descriptions of the hadronic and electromagnetic models used in the physics list can be retrieved from the [[https:// | ||
+ | |||
+ | ==== Target ==== | ||
+ | Several target parameters can be modified via macro commands. Those commands affect all the simulations. | ||
+ | |||
+ | |||
+ | == Temperature == | ||
+ | < | ||
+ | |||
+ | Set the temperature of the target. | ||
+ | Kelvin is the standard unit of measure. | ||
+ | |||
+ | == Disk Material == | ||
+ | < | ||
+ | |||
+ | Set the target material. | ||
+ | '' | ||
+ | |||
+ | == Number of Disks == | ||
+ | < | ||
+ | |||
+ | By default, the number of the disks is '' | ||
+ | |||
+ | |||
+ | Set the number of disk in the target | ||
+ | |||
+ | == Disk Density == | ||
+ | < | ||
+ | |||
+ | Set the disk material density. Default unit is g/cm3. | ||
+ | |||
+ | By default, the disk material density is '' | ||
+ | |||
+ | == Box Starting Point == | ||
+ | < | ||
+ | |||
+ | Set the starting point of the envelope box. Default unit is cm. | ||
+ | |||
+ | By default, the starting point of the envelope box is '' | ||
+ | |||
+ | == Box Ending Point == | ||
+ | < | ||
+ | |||
+ | Set the ending point of the envelope box. Default unit is cm. | ||
+ | |||
+ | By default, the starting point of the envelope box is '' | ||
+ | |||
+ | == Disk Radius == | ||
+ | < | ||
+ | |||
+ | Set the disk radius. The radius is the same for each disk. Default unit is cm. | ||
+ | |||
+ | By default, the disk radius is '' | ||
+ | |||
+ | == Disk Position == | ||
+ | < | ||
+ | |||
+ | Set the position of the '' | ||
+ | |||
+ | By default, the positions of the disks are: | ||
+ | < | ||
+ | -6.682 cm | ||
+ | -5.052 cm | ||
+ | -3.322 cm | ||
+ | -1.592 cm | ||
+ | +0.938 cm | ||
+ | +3.568 cm | ||
+ | +5.498 cm | ||
+ | </ | ||
+ | |||
+ | == Disk Thickness == | ||
+ | < | ||
+ | |||
+ | Set the thickness of the '' | ||
+ | |||
+ | By default, the thickness for all the disks is '' | ||
+ | |||
+ | ==== Beam ==== | ||
+ | The beam parameters affect only the simulation of isotopes production. | ||
+ | The [[http:// | ||
+ | |||
+ | ===== Examples ===== | ||
+ | |||
+ | ==== Primary Generation ==== | ||
+ | |||
+ | < | ||
+ | #set the number of thread to be used in the calculation | ||
+ | / | ||
+ | |||
+ | #set the random seeds | ||
+ | / | ||
+ | |||
+ | #set the temperature of the disks | ||
+ | / | ||
+ | |||
+ | #set the number of disks | ||
+ | / | ||
+ | |||
+ | #set the disk material | ||
+ | / | ||
+ | |||
+ | #set the density of the target material | ||
+ | / | ||
+ | |||
+ | #set the init of the envelope | ||
+ | / | ||
+ | |||
+ | #set the end of the envelope | ||
+ | / | ||
+ | |||
+ | #set the radius of the disks | ||
+ | / | ||
+ | |||
+ | #set the position of the disks | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | |||
+ | #set the thickness of the disks | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | |||
+ | #initialise the geometry and the physics tables | ||
+ | / | ||
+ | |||
+ | #set the beam parameters | ||
+ | / | ||
+ | /gps/time 0.0 ns | ||
+ | /gps/energy 40 MeV | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | |||
+ | #run the code | ||
+ | /run/beamOn 6242000000 | ||
+ | </ | ||
+ | |||
+ | ==== Isotope Diffusion ==== | ||
+ | |||
+ | < | ||
+ | #set the number of thread to be used in the calculation | ||
+ | / | ||
+ | |||
+ | #set the random seeds | ||
+ | / | ||
+ | |||
+ | #set the temperature of the disks | ||
+ | / | ||
+ | |||
+ | #set the number of disks | ||
+ | / | ||
+ | |||
+ | #set the disk material | ||
+ | / | ||
+ | |||
+ | #set the density of the target material | ||
+ | / | ||
+ | |||
+ | #set the init of the envelope | ||
+ | / | ||
+ | |||
+ | #set the end of the envelope | ||
+ | / | ||
+ | |||
+ | #set the radius of the disks | ||
+ | / | ||
+ | |||
+ | #set the position of the disks | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | |||
+ | #set the thickness of the disks | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | |||
+ | #initialise the geometry and the physics tables | ||
+ | / | ||
+ | |||
+ | #set the beam parameters | ||
+ | / | ||
+ | /gps/ion 36 80 | ||
+ | /gps/time 0.0 ns | ||
+ | /gps/energy 0.24210389477849997 eV | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | #the ion starts from disk1 | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | |||
+ | #run the code | ||
+ | /run/beamOn 41 | ||
+ | </ | ||
+ | |||
+ | |||
+ | ====== Output ====== | ||
+ | ==== Primary Generation ==== | ||
+ | The output is a single file named '' | ||
+ | The file contains two columns separated by commas: | ||
+ | - The first column is a unique key identifying the atomic number ('' | ||
+ | - The second column is the number of isotopes generated. | ||
+ | |||
+ | A typical output would be: | ||
+ | < | ||
+ | 1148059 , 10 | ||
+ | 1096040 , 17 | ||
+ | 1082034 , 14 | ||
+ | 1138054 , 25 | ||
+ | 1092039 , 15 | ||
+ | 1136053 , 23 | ||
+ | 1098041 , 35 | ||
+ | </ | ||
+ | |||
+ | ==== Isotope Diffusion ==== | ||
+ | The output is a series of files named '' | ||
+ | |||
+ | The file contains three columns separated by commas: | ||
+ | - The first column is the release time in seconds. | ||
+ | - The second column is the atomic mass number. | ||
+ | - The third column is the atomic number. | ||
+ | |||
+ | The symbol for comment is ''#'' | ||
+ | |||
+ | A typical output would be: | ||
+ | < | ||
+ | #class tools:: | ||
+ | #title Detector hits | ||
+ | #separator 44 | ||
+ | # | ||
+ | #column double t | ||
+ | #column double A | ||
+ | #column double Z | ||
+ | 0.0160635, | ||
+ | 3.99183, | ||
+ | 0.180522, | ||
+ | 0.87909, | ||
+ | </ | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ====== Log File ====== | ||
+ | |||
+ | After the initialisation of the physics lista and the detector geometry, each thread starts processing the particles assigned to it. | ||
+ | When a thread starts the execution, the following line is printed | ||
+ | |||
+ | < | ||
+ | G4WT10 > ### Run 0 starts on worker thread 10. | ||
+ | </ | ||
+ | |||
+ | where '' | ||
+ | |||
+ | When an event starts on a thread, the following line is printed: | ||
+ | < | ||
+ | G4WT37 > --> Event 0 starts with initial seeds (13049039, | ||
+ | </ | ||
+ | |||
+ | where '' | ||
+ | The line is printed every 100 events and the distribution of the events among the threads is not sequential, e.g.: | ||
+ | < | ||
+ | G4WT13 > --> Event 80600 starts with initial seeds (6519702, | ||
+ | G4WT29 > --> Event 51300 starts with initial seeds (83578766, | ||
+ | G4WT22 > --> Event 22000 starts with initial seeds (65123969, | ||
+ | </ | ||
cn/csn5/isolpharm_ag/computing/geant4_list_of_commands.txt · Last modified: 2018/09/17 09:21 by bagli@infn.it