Import Geant4 10.7.0 source tree

This commit is contained in:
Gabriele Cosmo
2020-12-04 12:30:43 +01:00
parent 67ba86d073
commit dab42d2018
3770 changed files with 226369 additions and 286486 deletions
+11 -6
View File
@@ -50,11 +50,7 @@
to be accurate (see param->SetStepFunction(1., 1*mm)).
Several hadronic physics options are controlled by environment variables.
To trigger them, an envHadronic.csh has been added in this example.
One must select the options wished, and do
\verbatim
source envHadronic.csh (or sh)
\endverbatim
To trigger them, see Hadr06.cc
\section Hadr06_s3 AN EVENT : THE PRIMARY GENERATOR
@@ -156,5 +152,14 @@ Idle> control/execute vis.mac
....
Idle> exit
\endverbatim
Macros provided in this example:
- graphite.mac: neutron,14 MeV, in graphite
- run1.mac: neutron,14 MeV, in Li7
- singleFission.mac: single fission in U235
Macros to be run interactively:
- debug.mac: water with thermal scattering
- fission.mac: U235
- vis.mac: To activate visualization
*/
@@ -1,6 +1,9 @@
#----------------------------------------------------------------------------
# Setup the project
cmake_minimum_required(VERSION 2.6 FATAL_ERROR)
cmake_minimum_required(VERSION 3.8...3.18)
if(${CMAKE_VERSION} VERSION_LESS 3.12)
cmake_policy(VERSION ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION})
endif()
project(Hadr06)
#----------------------------------------------------------------------------
@@ -43,10 +46,12 @@ set(Hadr04_SCRIPTS
debug.mac
envHadronic.csh
envHadronic.sh
fission.mac
fission.mac
graphite.mac
hadr06.in
run1.mac
plotHisto.C
run1.mac
singleFission.mac
vis.mac
)
@@ -49,6 +49,8 @@
#include "G4UIExecutive.hh"
#include "G4VisExecutive.hh"
#include "G4ParticleHPManager.hh"
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
int main(int argc,char** argv) {
@@ -80,6 +82,22 @@ int main(int argc,char** argv) {
runManager->SetUserInitialization(phys);
runManager->SetUserInitialization(new ActionInitialization(det));
// Replaced HP environmental variables with C++ calls
G4ParticleHPManager::GetInstance()->SetSkipMissingIsotopes( false );
G4ParticleHPManager::GetInstance()->SetDoNotAdjustFinalState( false );
G4ParticleHPManager::GetInstance()->SetUseOnlyPhotoEvaporation( false );
G4ParticleHPManager::GetInstance()->SetNeglectDoppler( false );
G4ParticleHPManager::GetInstance()->SetProduceFissionFragments( false );
G4ParticleHPManager::GetInstance()->SetUseWendtFissionModel( false );
G4ParticleHPManager::GetInstance()->SetUseNRESP71Model( false );
//G4ParticleHPManager::GetInstance()->SetSkipMissingIsotopes( true );
//G4ParticleHPManager::GetInstance()->SetDoNotAdjustFinalState( true );
//G4ParticleHPManager::GetInstance()->SetUseOnlyPhotoEvaporation( true );
//G4ParticleHPManager::GetInstance()->SetNeglectDoppler( true );
//G4ParticleHPManager::GetInstance()->SetProduceFissionFragments( true );
//G4ParticleHPManager::GetInstance()->SetUseWendtFissionModel( true );
//G4ParticleHPManager::GetInstance()->SetUseNRESP71Model( true );
//initialize visualization
G4VisManager* visManager = nullptr;
+10
View File
@@ -13,6 +13,16 @@ track of all tags.
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
16-10-20 mma (exhadr06-V10-06-03)
- add macro singleFission.mac
- TrackingAction : add commented code for singleFission
05-08-20 A. Ribon (exhadr06-V10-06-02)
- Hadr06.cc , fission.mac , envHadronic.(c)sh : removed deprecated
HP environmental variables and replaced them with corresponding
C++ calls in the main, and UI commands in the macros.
(The two shell-script files will be removed in G4 11.0.)
10-06-20 mma (exhadr06-V10-06-01)
- HistoManager, TrackingAction : plot particle energy at creation
+12 -3
View File
@@ -53,9 +53,7 @@
to be accurate (see param->SetStepFunction(1., 1*mm)).
Several hadronic physics options are controlled by environment variables.
To trigger them, an envHadronic.csh has been added in this example.
One must select the options wished, and do
source envHadronic.csh (or sh)
To trigger them, see Hadr06.cc
3- AN EVENT : THE PRIMARY GENERATOR
@@ -144,3 +142,14 @@
Idle> type your commands
....
Idle> exit
Macros provided in this example:
- graphite.mac: neutron,14 MeV, in graphite
- run1.mac: neutron,14 MeV, in Li7
- singleFission.mac: single fission in U235
Macros to be run interactively:
- debug.mac: water with thermal scattering
- fission.mac: U235
- vis.mac: To activate visualization
+1 -9
View File
@@ -1,3 +1,4 @@
# === FILE TO BE REMOVED IN G4 11.0 ===
#
# for neutronHP and particleHP
#
@@ -10,19 +11,10 @@ unsetenv G4NEUTRONHP_PRODUCE_FISSION_FRAGMENTS
unsetenv G4PHP_DO_NOT_ADJUST_FINAL_STATE
unsetenv G4PHP_NELECT_DOPPLER
#### setenv G4NEUTRONHP_SKIP_MISSING_ISOTOPES 1
#### setenv G4NEUTRONHP_DO_NOT_ADJUST_FINAL_STATE 1
#### setenv G4NEUTRONHP_USE_ONLY_PHOTONEVAPORATION 1
#### setenv G4NEUTRONHP_NELECT_DOPPLER 1
#### setenv G4NEUTRONHP_PRODUCE_FISSION_FRAGMENTS 1
#
#### setenv G4PHP_DO_NOT_ADJUST_FINAL_STATE 1
#### setenv G4PHP_NELECT_DOPPLER 1
#
# for Bertini cascade
#
unsetenv G4CASCADE_USE_PRECOMPOUND
#### setenv G4CASCADE_USE_PRECOMPOUND 1
env |grep G4NEUTRONHP
env |grep G4PHP
+1 -23
View File
@@ -1,3 +1,4 @@
# === FILE TO BE REMOVED IN G4 11.0 ===
#
# for neutronHP and particleHP
#
@@ -10,34 +11,11 @@ unset G4NEUTRONHP_PRODUCE_FISSION_FRAGMENTS
unset G4PHP_DO_NOT_ADJUST_FINAL_STATE
unset G4PHP_NELECT_DOPPLER
#### G4NEUTRONHP_SKIP_MISSING_ISOTOPES=1
#### export G4NEUTRONHP_SKIP_MISSING_ISOTOPES
#### G4NEUTRONHP_DO_NOT_ADJUST_FINAL_STATE=1
#### export G4NEUTRONHP_DO_NOT_ADJUST_FINAL_STATE
#### G4NEUTRONHP_USE_ONLY_PHOTONEVAPORATION=1
#### export G4NEUTRONHP_USE_ONLY_PHOTONEVAPORATION
#### G4NEUTRONHP_NELECT_DOPPLER=1
#### export G4NEUTRONHP_NELECT_DOPPLER
#### G4NEUTRONHP_PRODUCE_FISSION_FRAGMENTS=1
#### export G4NEUTRONHP_PRODUCE_FISSION_FRAGMENTS
#### G4PHP_DO_NOT_ADJUST_FINAL_STATE=1
#### export G4PHP_DO_NOT_ADJUST_FINAL_STATE
#### G4PHP_NELECT_DOPPLER=1
#### export G4PHP_NELECT_DOPPLER
#
# for Bertini cascade
#
unset G4CASCADE_USE_PRECOMPOUND
#### G4CASCADE_USE_PRECOMPOUND=1
#### export G4CASCADE_USE_PRECOMPOUND
env |grep G4NEUTRONHP
env |grep G4PHP
env |grep G4CASCADE
@@ -1,8 +1,13 @@
#
# Macro file for "Hadr06.cc"
#
# NB. for neutronHP, do not forget to activate
# G4NEUTRONHP_PRODUCE_FISSION_FRAGMENTS
# NB. for neutronHP, do not forget to activate the fission fragment model
# via one, and only one, of the following two UI commands:
# - To use the default fission model:
#/process/had/particle_hp/produce_fission_fragment true
#
# - To use the alternative Wendt fission model:
#/process/had/particle_hp/use_Wendt_fission_model true
#
/control/verbose 2
/run/verbose 2
+88 -79
View File
@@ -4,7 +4,7 @@
############################################
**************************************************************
Geant4 version Name: geant4-10-06-ref-06 (26-June-2020)
Geant4 version Name: geant4-10-07-ref-00 (4-December-2020)
Copyright : Geant4 Collaboration
References : NIM A 506 (2003), 250-303
: IEEE-TNS 53 (2006), 270-278
@@ -46,23 +46,23 @@ NeutronHP: /Inelastic file for Z = 6, A = 12 is not found and NeutronHP will use
hadElastic, hadElastic, hadElastic, hadElastic
hadElastic, hadElastic, hadElastic, hadElastic
hadElastic, hadElastic, hadElastic, hadElastic
hadElastic, hadElastic, hadElastic, hadElastic
hadElastic, neutronInelastic, nCapture, nFission
protonInelastic, pi+Inelastic, pi-Inelastic, kaon+Inelastic
kaon-Inelastic, kaon0LInelastic, kaon0SInelastic, lambdaInelastic
anti-lambdaInelastic, sigma-Inelastic,anti_sigma-Inelastic, sigma+Inelastic
anti_sigma+Inelastic, xi-Inelastic, anti_xi-Inelastic, xi0Inelastic
anti_xi0Inelastic, omega-Inelastic,anti_omega-Inelastic,anti_protonInelastic
anti_neutronInelastic,anti_deuteronInelastic,anti_tritonInelastic, anti_He3Inelastic
anti_alphaInelastic, ionElastic, dInelastic, tInelastic
He3Inelastic, alphaInelastic, ionInelastic,hFritiofCaptureAtRest
hBertiniCaptureAtRest,muMinusCaptureAtRest, photonNuclear, msc
hadElastic, hadElastic, hadElastic, neutronInelastic
nCapture, nFission, protonInelastic, pi+Inelastic
pi-Inelastic, kaon+Inelastic, kaon-Inelastic, kaon0LInelastic
kaon0SInelastic,anti_protonInelastic,anti_neutronInelastic,anti_deuteronInelastic
anti_tritonInelastic, anti_He3Inelastic,anti_alphaInelastic, lambdaInelastic
sigma+Inelastic, sigma-Inelastic, xi0Inelastic, xi-Inelastic
omega-Inelastic,anti_lambdaInelastic,anti_sigma+Inelastic,anti_sigma-Inelastic
anti_xi0Inelastic, anti_xi-Inelastic,anti_omega-Inelastic, ionElastic
dInelastic, tInelastic, He3Inelastic, alphaInelastic
ionInelastic,hFritiofCaptureAtRest,hBertiniCaptureAtRest,muMinusCaptureAtRest
photonNuclear, msc, hIoni, msc
hIoni, msc, hIoni, msc
hIoni, msc, hIoni, msc
hIoni, msc, hIoni, msc
hIoni, msc, hIoni, msc
ionIoni, nuclearStopping, msc, ionIoni
nuclearStopping, msc, ionIoni, nuclearStopping
hIoni, msc, ionIoni, nuclearStopping
msc, ionIoni, nuclearStopping, msc
ionIoni, nuclearStopping, msc, hIoni
msc, hIoni, msc, hIoni
msc, hIoni, msc, hIoni
msc, hIoni, msc, hIoni
@@ -71,13 +71,13 @@ hBertiniCaptureAtRest,muMinusCaptureAtRest, photonNuclear, m
msc, hIoni, msc, hIoni
msc, hIoni, msc, hIoni
msc, hIoni, msc, hIoni
msc, hIoni, msc, eIoni
eBrem, annihil, msc, eIoni
eBrem, phot, compt, conv
msc, hIoni, msc, hIoni
msc, eIoni, eBrem, annihil
msc, eIoni, eBrem, phot
compt, conv, msc, hIoni
msc, hIoni, msc, hIoni
msc, muIoni, muBrems, muPairProd
msc, muIoni, muBrems, muPairProd
msc, hIoni, msc, muIoni
muBrems, muPairProd, msc, muIoni
muBrems, muPairProd, msc, hIoni
msc, hIoni, msc, hIoni
msc, hIoni, msc, hIoni
msc, hIoni, msc, hIoni
@@ -86,8 +86,7 @@ hBertiniCaptureAtRest,muMinusCaptureAtRest, photonNuclear, m
msc, hIoni, msc, hIoni
msc, hIoni, msc, hIoni
msc, hIoni, msc, hIoni
msc, hIoni, Decay,RadioactiveDecayBase
Decay,RadioactiveDecayBase
#
/gun/particle neutron
/gun/energy 14.1 MeV
@@ -106,13 +105,26 @@ Max 2J for sampling of angular correlations 10
Atomic de-excitation enabled 1
Auger electron emission enabled 1
Auger cascade enabled 1
Check EM cuts disabled for atomic de-excitation 0
Check EM cuts disabled for atomic de-excitation 1
Use Bearden atomic level energies 0
======================================================================
NeutronHP: /Capture file for Z = 6, A = 12 is not found and NeutronHP will use /cvmfs/geant4.cern.ch/share/data/G4NDL4.6/Capture/CrossSection/6_nat_Carbon
NeutronHP: /Elastic file for Z = 6, A = 12 is not found and NeutronHP will use /cvmfs/geant4.cern.ch/share/data/G4NDL4.6/Elastic/CrossSection/6_nat_Carbon
NeutronHP: /Inelastic file for Z = 6, A = 12 is not found and NeutronHP will use /cvmfs/geant4.cern.ch/share/data/G4NDL4.6/Inelastic/CrossSection/6_nat_Carbon
NeutronHP: /Elastic file for Z = 6, A = 12 is not found and NeutronHP will use /cvmfs/geant4.cern.ch/share/data/G4NDL4.6/Elastic/CrossSection/6_nat_Carbon
=======================================================
====== ParticleHP Physics Parameters ========
=======================================================
UseOnlyPhotoEvaporation ? 0
SkipMissingIsotopes ? 0
NeglectDoppler ? 0
DoNotAdjustFinalState ? 0
ProduceFissionFragments ? 0
UseWendtFissionModel ? 0
UseNRESP71Model ? 0
=======================================================
@@@ G4ParticleHPInelastic instantiated for particle neutron data directory variable is G4NEUTRONHPDATA pointing to /cvmfs/geant4.cern.ch/share/data/G4NDL4.6/Inelastic
NeutronHP: /Capture file for Z = 6, A = 12 is not found and NeutronHP will use /cvmfs/geant4.cern.ch/share/data/G4NDL4.6/Capture/CrossSection/6_nat_Carbon
@@ -166,9 +178,7 @@ NeutronHP: /Capture file for Z = 6, A = 12 is not found and NeutronHP will use /
Cr_sctns: AntiAGlauber: 0 meV ---> 25.6 PeV
Process: anti_He3Inelastic
Model: FTFP: 0 meV/n ---> 25 GeV/n
Model: FTFP: 12 GeV/n ---> 100 TeV/n
Cr_sctns: AntiAGlauber: 0 meV ---> 25.6 PeV
Model: FTFP: 0 meV/n ---> 100 TeV/n
Cr_sctns: AntiAGlauber: 0 meV ---> 25.6 PeV
Process: hFritiofCaptureAtRest
@@ -182,9 +192,7 @@ NeutronHP: /Capture file for Z = 6, A = 12 is not found and NeutronHP will use /
Cr_sctns: AntiAGlauber: 0 meV ---> 25.6 PeV
Process: anti_alphaInelastic
Model: FTFP: 0 meV/n ---> 25 GeV/n
Model: FTFP: 12 GeV/n ---> 100 TeV/n
Cr_sctns: AntiAGlauber: 0 meV ---> 25.6 PeV
Model: FTFP: 0 meV/n ---> 100 TeV/n
Cr_sctns: AntiAGlauber: 0 meV ---> 25.6 PeV
Process: hFritiofCaptureAtRest
@@ -198,13 +206,25 @@ NeutronHP: /Capture file for Z = 6, A = 12 is not found and NeutronHP will use /
Cr_sctns: AntiAGlauber: 0 meV ---> 25.6 PeV
Process: anti_deuteronInelastic
Model: FTFP: 0 meV/n ---> 25 GeV/n
Model: FTFP: 12 GeV/n ---> 100 TeV/n
Cr_sctns: AntiAGlauber: 0 meV ---> 25.6 PeV
Model: FTFP: 0 meV/n ---> 100 TeV/n
Cr_sctns: AntiAGlauber: 0 meV ---> 25.6 PeV
Process: hFritiofCaptureAtRest
---------------------------------------------------
Hadronic Processes for anti_lambda
Process: hadElastic
Model: hElasticLHEP: 0 meV ---> 100 TeV
Cr_sctns: Glauber-Gribov: 0 meV ---> 100 TeV
Process: anti_lambdaInelastic
Model: QGSP: 12 GeV ---> 100 TeV
Model: FTFP: 0 meV ---> 25 GeV
Cr_sctns: Glauber-Gribov: 0 meV ---> 100 TeV
Process: hFritiofCaptureAtRest
---------------------------------------------------
Hadronic Processes for anti_neutron
@@ -214,9 +234,7 @@ NeutronHP: /Capture file for Z = 6, A = 12 is not found and NeutronHP will use /
Cr_sctns: AntiAGlauber: 0 meV ---> 25.6 PeV
Process: anti_neutronInelastic
Model: FTFP: 0 meV ---> 25 GeV
Model: QGSP: 12 GeV ---> 100 TeV
Cr_sctns: AntiAGlauber: 0 meV ---> 25.6 PeV
Model: FTFP: 0 meV ---> 100 TeV
Cr_sctns: AntiAGlauber: 0 meV ---> 25.6 PeV
Process: hFritiofCaptureAtRest
@@ -230,9 +248,7 @@ NeutronHP: /Capture file for Z = 6, A = 12 is not found and NeutronHP will use /
Cr_sctns: AntiAGlauber: 0 meV ---> 25.6 PeV
Process: anti_protonInelastic
Model: FTFP: 0 meV ---> 25 GeV
Model: QGSP: 12 GeV ---> 100 TeV
Cr_sctns: AntiAGlauber: 0 meV ---> 25.6 PeV
Model: FTFP: 0 meV ---> 100 TeV
Cr_sctns: AntiAGlauber: 0 meV ---> 25.6 PeV
Process: hFritiofCaptureAtRest
@@ -246,9 +262,7 @@ NeutronHP: /Capture file for Z = 6, A = 12 is not found and NeutronHP will use /
Cr_sctns: AntiAGlauber: 0 meV ---> 25.6 PeV
Process: anti_tritonInelastic
Model: FTFP: 0 meV/n ---> 25 GeV/n
Model: FTFP: 12 GeV/n ---> 100 TeV/n
Cr_sctns: AntiAGlauber: 0 meV ---> 25.6 PeV
Model: FTFP: 0 meV/n ---> 100 TeV/n
Cr_sctns: AntiAGlauber: 0 meV ---> 25.6 PeV
Process: hFritiofCaptureAtRest
@@ -309,10 +323,9 @@ NeutronHP: /Capture file for Z = 6, A = 12 is not found and NeutronHP will use /
Cr_sctns: Glauber-Gribov: 0 meV ---> 100 TeV
Process: lambdaInelastic
Model: BertiniCascade: 0 meV ---> 6 GeV
Model: FTFP: 3 GeV ---> 25 GeV
Model: QGSP: 12 GeV ---> 100 TeV
Cr_sctns: Glauber-Gribov: 0 meV ---> 100 TeV
Model: FTFP: 3 GeV ---> 25 GeV
Model: BertiniCascade: 0 meV ---> 6 GeV
Cr_sctns: Glauber-Gribov: 0 meV ---> 100 TeV
---------------------------------------------------
@@ -398,10 +411,9 @@ NeutronHP: /Capture file for Z = 6, A = 12 is not found and NeutronHP will use /
Cr_sctns: Glauber-Gribov: 0 meV ---> 100 TeV
Process: sigma-Inelastic
Model: BertiniCascade: 0 meV ---> 6 GeV
Model: FTFP: 3 GeV ---> 25 GeV
Model: QGSP: 12 GeV ---> 100 TeV
Cr_sctns: Glauber-Gribov: 0 meV ---> 100 TeV
Model: FTFP: 3 GeV ---> 25 GeV
Model: BertiniCascade: 0 meV ---> 6 GeV
Cr_sctns: Glauber-Gribov: 0 meV ---> 100 TeV
Process: hBertiniCaptureAtRest
@@ -442,7 +454,6 @@ Store e- internal conversion data 1
Electron internal conversion ID 0
Correlated gamma emission flag 0
Max 2J for sampling of angular correlations 10
Upload data before 1st event for Z < 9
=======================================================================
========= Table of registered couples ============================
@@ -482,51 +493,49 @@ Index : 1 used in the geometry : Yes
Run terminated.
Run Summary
Number of events processed : 10000
User=54.000000s Real=54.565888s Sys=0.030000s
User=7.670000s Real=7.998703s Sys=0.000000s
The run is 10000 neutron of 14.1 MeV through 30 cm of Li7 (density: 1.85 g/cm3 )
Process calls frequency :
Decay= 1 RadioactiveDecayBase= 198252 Transportation= 72882
annihil= 203 compt= 402743 conv= 203
dInelastic= 1 eIoni= 412404 hIoni= 675
hadElastic= 181910 ionInelastic= 2 ionIoni= 198574
msc= 221 nCapture= 31 neutronInelastic= 16416
phot= 20816
RadioactiveDecayBase= 195865 Transportation= 73025 annihil= 205
compt= 400940 conv= 206 dInelastic= 3
eIoni= 410692 hIoni= 672 hadElastic= 179590
ionIoni= 196197 msc= 139 nCapture= 25
neutronInelastic= 16399 phot= 20719
List of generated particles:
Be8: 1 Emean = 3.4584 MeV ( 3.4584 MeV --> 3.4584 MeV)
Be8[3030.000]: 31 Emean = 7.0394 keV ( 203.12 eV --> 11.806 keV)
He6: 152 Emean = 1.2903 MeV ( 917.53 keV --> 1.3378 MeV)
Li6: 708 Emean = 1.571 MeV ( 70.683 eV --> 9.2585 MeV)
Li7: 197330 Emean = 330.52 keV ( 0.83469 meV --> 6.221 MeV)
Li8: 31 Emean = 524.43 eV ( 99.228 eV --> 5.5222 keV)
alpha: 354 Emean = 1.26 MeV ( 93.121 keV --> 4.2344 MeV)
anti_nu_e: 183 Emean = 2.917 MeV ( 491.85 keV --> 12.106 MeV)
deuteron: 441 Emean = 3.5402 MeV ( 124.39 keV --> 23.77 MeV)
e+: 203 Emean = 1.4242 MeV ( 75.805 keV --> 4.0804 MeV)
e-: 412369 Emean = 87.508 keV ( 100 eV --> 9.9872 MeV)
gamma: 46448 Emean = 1.2054 MeV ( 1.0009 keV --> 5.8834 MeV)
neutron: 17110 Emean = 3.3564 MeV ( 4.8097 keV --> 13.639 MeV)
triton: 1 Emean = 3.216 MeV ( 3.216 MeV --> 3.216 MeV)
Be8[3030.000]: 25 Emean = 6.5066 keV ( 576 eV --> 12.036 keV)
He6: 130 Emean = 1.2825 MeV ( 899.67 keV --> 1.338 MeV)
Li6: 707 Emean = 1.6492 MeV ( 6.5416 eV --> 8.294 MeV)
Li7: 194979 Emean = 332.68 keV ( 0.69805 meV --> 6.2218 MeV)
Li8: 25 Emean = 1.539 keV ( 98.565 eV --> 15.763 keV)
alpha: 357 Emean = 1.2613 MeV ( 82.823 keV --> 7.8307 MeV)
anti_nu_e: 155 Emean = 2.7609 MeV ( 355.17 keV --> 12.413 MeV)
deuteron: 433 Emean = 3.7046 MeV ( 163.79 keV --> 21.188 MeV)
e+: 206 Emean = 1.4766 MeV ( 81.659 keV --> 3.9235 MeV)
e-: 410656 Emean = 87.612 keV ( 100 eV --> 10.101 MeV)
gamma: 46386 Emean = 1.209 MeV ( 1.0003 keV --> 5.8821 MeV)
neutron: 17151 Emean = 3.3665 MeV ( 2.7041 keV --> 13.636 MeV)
Mean energy deposit per event = 10.468 MeV rms = 3.4678 MeV
Mean energy flow per event = 3.099 MeV rms = 3.2613 MeV
Mean energy deposit per event = 10.43 MeV rms = 3.4782 MeV
Mean energy flow per event = 3.1161 MeV rms = 3.2596 MeV
List of particles emerging from the absorber :
anti_nu_e: 183 Emean = 2.917 MeV ( 491.85 keV --> 12.106 MeV) Eflow/event = 53.381 keV
e+: 1 Emean = 563.32 keV ( 563.32 keV --> 563.32 keV) Eflow/event = 56.332 eV
e-: 154 Emean = 1.4173 MeV ( 40.303 keV --> 4.9832 MeV) Eflow/event = 21.826 keV
gamma: 25429 Emean = 778.78 keV ( 1.5781 keV --> 5.8811 MeV) Eflow/event = 1.9804 MeV
neutron: 10663 Emean = 978.49 keV ( 1.9386 meV --> 14.1 MeV) Eflow/event = 1.0434 MeV
Li7: 1 Emean = 1.8227 MeV ( 1.8227 MeV --> 1.8227 MeV) Eflow/event = 182.27 eV
anti_nu_e: 155 Emean = 2.7609 MeV ( 355.17 keV --> 12.413 MeV) Eflow/event = 42.794 keV
e+: 1 Emean = 2.5051 MeV ( 2.5051 MeV --> 2.5051 MeV) Eflow/event = 250.51 eV
e-: 160 Emean = 1.3423 MeV ( 6.0695 keV --> 4.9835 MeV) Eflow/event = 21.477 keV
gamma: 25461 Emean = 783.03 keV ( 3.4138 keV --> 5.8811 MeV) Eflow/event = 1.9937 MeV
neutron: 10727 Emean = 986.05 keV ( 2.7097 meV --> 14.1 MeV) Eflow/event = 1.0577 MeV
--------- Ranecu engine status ---------
Initial seed (index) = 0
Current couple of seeds = 1555750344, 1318550293
Current couple of seeds = 186864717, 1230361718
----------------------------------------
G4 kernel has come to Quit state.
================== Deleting memory pools ===================
Number of memory pools allocated: 11 of which, static: 0
Dynamic pools deleted: 11 / Total memory freed: 0.062 MB
Dynamic pools deleted: 11 / Total memory freed: 0.07 MB
============================================================
RunManagerKernel is deleted. Good bye :)
@@ -0,0 +1,28 @@
#
# Macro file for "Hadr06.cc"
#
# To "force" primary fission only, kill secondary neutrons:
# in TrackingAction.cc,uncomment lines below "to force only 1 fission ..."
# ( ~ end of PreUserTrackingAction() )
# Also, to limit the printout, do not fill ParticleCount()
# ( ~ begin of PreUserTrackingAction() )
#
/run/verbose 2
#
/testhadr/det/setIsotopeMat U235 92 235 19.05 g/cm3
/testhadr/det/setRadius 10 cm
#
/run/initialize
#
/process/inactivate nCapture
/process/had/particle_hp/produce_fission_fragment true
#
/gun/particle neutron
/gun/energy 0.025 eV
#
/analysis/setFileName singleFission
/analysis/h1/set 1 100 100. 300. MeV #Edep
/analysis/h1/set 3 100 0. 20. MeV #Eflow
#
/run/printProgress 10000
/run/beamOn 100000
@@ -61,28 +61,35 @@ void TrackingAction::PreUserTrackingAction(const G4Track* track)
Run* run = static_cast<Run*>(
G4RunManager::GetRunManager()->GetNonConstCurrentRun());
run->ParticleCount(name,energy);
// histograms: energy at creation
//
G4AnalysisManager* analysis = G4AnalysisManager::Instance();
// histograms: energy at creation
//
G4AnalysisManager* analysis = G4AnalysisManager::Instance();
G4int ih = 0;
const G4ParticleDefinition* particle = track->GetParticleDefinition();
G4String type = particle->GetParticleType();
G4double charge = particle->GetPDGCharge();
if (charge > 3.) ih = 10;
else if (particle == G4Gamma::Gamma()) ih = 4;
else if (particle == G4Electron::Electron()) ih = 5;
else if (particle == G4Positron::Positron()) ih = 5;
else if (particle == G4Neutron::Neutron()) ih = 6;
else if (particle == G4Proton::Proton()) ih = 7;
else if (particle == G4Deuteron::Deuteron()) ih = 8;
else if (particle == G4Alpha::Alpha()) ih = 9;
else if (type == "nucleus") ih = 10;
else if (type == "baryon") ih = 11;
else if (type == "meson") ih = 12;
else if (type == "lepton") ih = 13;
if (ih > 0) analysis->FillH1(ih,energy);
G4int ih = 0;
const G4ParticleDefinition* particle = track->GetParticleDefinition();
G4String type = particle->GetParticleType();
G4double charge = particle->GetPDGCharge();
if (charge > 3.) ih = 10;
else if (particle == G4Gamma::Gamma()) ih = 4;
else if (particle == G4Electron::Electron()) ih = 5;
else if (particle == G4Positron::Positron()) ih = 5;
else if (particle == G4Neutron::Neutron()) ih = 6;
else if (particle == G4Proton::Proton()) ih = 7;
else if (particle == G4Deuteron::Deuteron()) ih = 8;
else if (particle == G4Alpha::Alpha()) ih = 9;
else if (type == "nucleus") ih = 10;
else if (type == "baryon") ih = 11;
else if (type == "meson") ih = 12;
else if (type == "lepton") ih = 13;
if (ih > 0) analysis->FillH1(ih,energy);
//to force only 1 fission : kill secondary neutrons
///if (particle == G4Neutron::Neutron()) {
/// fEventAction->AddEdep(energy);
/// G4Track* aTrack = (G4Track*)track;
/// aTrack->SetTrackStatus(fStopAndKill);
///}
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......