Import Geant4 11.0.0.beta source tree

This commit is contained in:
Gabriele Cosmo
2021-06-25 16:12:29 +02:00
parent c968e26a39
commit 6399a014b6
4200 changed files with 207479 additions and 237366 deletions
@@ -1,17 +0,0 @@
#------------------------------------------------------------------------------
# CMakeLists.txt
# Module : G4hadronic_qmd
# Package: Geant4.src.G4processes.G4hadronic.G4hadronic_models.G4hadronic_qmd
#
# CMakeLists.txt for building a single granular library.
#
# Generated on : 24/9/2010
#
#
#------------------------------------------------------------------------------
if(GEANT4_BUILD_GRANULAR_LIBS)
include(Geant4MacroLibraryTargets)
GEANT4_GRANULAR_LIBRARY_TARGET(COMPONENT sources.cmake)
endif()
@@ -22,10 +22,7 @@ CPPFLAGS += -I$(G4BASE)/global/management/include \
-I$(G4BASE)/processes/management/include \
-I$(G4BASE)/processes/hadronic/management/include/ \
-I$(G4BASE)/processes/hadronic/util/include \
-I$(G4BASE)/processes/hadronic/processes/include \
-I$(G4BASE)/processes/hadronic/cross_sections/include \
-I$(G4BASE)/processes/hadronic/models/management/include \
-I$(G4BASE)/processes/hadronic/models/util/include \
-I$(G4BASE)/processes/hadronic/models/theo_high_energy/include \
-I$(G4BASE)/processes/hadronic/models/binary_cascade/include \
-I$(G4BASE)/processes/hadronic/models/im_r_matrix/include \
+97 -78
View File
@@ -6,13 +6,32 @@
History file for hadronic/models/qmd directory
--------------------------------------------------------
This file should be used to summarize modifications introduced in the
This file should be used to summarize modifications introduced in the
code and to keep track of all tags.
---------------------------------------------------------------
* Please list in reverse chronological order (last date on top)
---------------------------------------------------------------
16 April 2021 Ben Morgan (hadr-qmd-V10-07-01)
--------------------------------------------------
- Migrate build to modular CMake API
13 April 2021 Alberto Ribon (hadr-qmd-V10-07-01)
-------------------------------------------------
- GNUmakefile, sources.cmake : removed the subdirectories
hadronic/models/management and hadronic/models/util
(that have been now deleted, with their classes moved to
hadronic/util and hadronic/management).
Removed also the useless dependency to hadronic/process.
08 March 2021 Alberto Ribon (hadr-qmd-V10-07-00)
-------------------------------------------------
- G4QMDReaction : replaced G4IonsShenCrossSection (that has been deleted)
with G4ComponentGGNuclNuclXsc. Moreover, replaced GetIsoCrossSection
(which is not defined in Glauber-Gribov cross sections) with
GetElementCrossSection.
15 June 2020 Dennis Wright (hadr-qmd-V10-06-00)
------------------------------------------------
- Fix of bug 2236, by Jeonghyeok Park:
@@ -22,7 +41,7 @@ code and to keep track of all tags.
G4PiNuclearCrossSection with G4BGGPionElasticXS and G4BGGPionInelasticXS
G4QMDGroundStateNucleus ctor: move check for p or n projectile earlier
in code so baryon number can be conserved
in code so baryon number can be conserved
31 October 2016 Tatsumi Koi (hadr-qmd-V10-02-01)
- Set type of deexcitation channels to fCombined
@@ -39,7 +58,7 @@ code and to keep track of all tags.
src/G4QMDCollision.cc
18 October 2015 Tatsumi Koi (hadr-qmd-V10-01-07)
- Re tag for testing
- Re tag for testing
- Co working with global-V10-01-22
13 October 2015 Tatsumi Koi (hadr-qmd-V10-01-06)
@@ -94,7 +113,7 @@ code and to keep track of all tags.
src/G4QMDReaction.cc
15 October 2013 Tatsumi Koi (hadr-qmd-V09-06-10)
-Change G4ParticleTable::GetParticleTable()->GetIon(,,)
-Change G4ParticleTable::GetParticleTable()->GetIon(,,)
to G4IonTable::GetIonTable()->GetIon(,,);
src/G4QMDReaction.cc
@@ -117,8 +136,8 @@ code and to keep track of all tags.
src/G4QMDMeanField.cc
30 April 2013 Tatsumi Koi (hadr-qmd-V09-06-05)
- Delete unused private member
include/G4QMDGroundStateNucleus.hh
- Delete unused private member
include/G4QMDGroundStateNucleus.hh
- Fix UNINIT_CTOR
src/G4QMDGroundStateNucleus.cc
- Fix MISSING_COPY
@@ -150,17 +169,17 @@ code and to keep track of all tags.
UNINIT_CTOR
src/G4QMDCollision.cc
- Fix UNINIT_CTOR "hit"
src/G4QMDParticipant.cc
- Fix UNINIT_CTOR "bindingEnergy", "excitationEnergy", "jj", "kineticEnergyPerNucleon" and "potentialEnergy"
include/G4QMDNucleus.hh
src/G4QMDNucleus.cc
- Fix UNINIT_CTOR "system", "c3w" and "icoul"
src/G4QMDParticipant.cc
- Fix UNINIT_CTOR "bindingEnergy", "excitationEnergy", "jj", "kineticEnergyPerNucleon" and "potentialEnergy"
include/G4QMDNucleus.hh
src/G4QMDNucleus.cc
- Fix UNINIT_CTOR "system", "c3w" and "icoul"
include/G4QMDMeanField.hh
src/G4QMDMeanField.cc
12 March 2013 Dennis Wright (hadr-qmd-V09-06-02)
- fix MacOS Clang compiler warnings for G4QMDCollision.hh, .cc :
remove unused private variables sig0 and sig1
remove unused private variables sig0 and sig1
11-January-2013 Gabriele Cosmo (hadr-qmd-V09-06-01)
- Fix for logic error in G4QMDGroundStateNucleus::packNucleons().
@@ -172,10 +191,10 @@ code and to keep track of all tags.
31-July-2012 Tatsumi Koi (hadr-qmd-V09-05-02)
- Add model name
src/G4QMDReaction.cc
src/G4QMDReaction.cc
11-June-2012 Tatsumi Koi (hadr-qmd-V09-05-01)
- Fix compilation warnings for shadowed variables
- Fix compilation warnings for shadowed variables
src/G4QMDGroundStateNucleus.cc
src/G4QMDMeanField.cc
src/G4QMDCollision.cc
@@ -186,124 +205,124 @@ code and to keep track of all tags.
27-September-2011 Tatsumi Koi (hadr-qmd-V09-04-03)
- Migrate integer A and Z
src/G4QMDReaction.cc
src/G4QMDReaction.cc
29-August-2011 Tatsumi Koi (hadr-qmd-V09-04-02)
- Migrate new interface of VCrossSectionDataSet (hadr-cross-V09-04-14)
src/G4QMDReaction.cc
src/G4QMDReaction.cc
20-June-2011 Ben Morgan (hadr-qmd-V09-04-01)
- sources.cmake : Removed no longer present G4QMDFermi* files.
17-June-2011 Tatsumi Koi (hadr-qmd-V09-04-00)
-Fix gcc 4.6 compilation warnings
src/G4QMDCollision.cc
-Fix gcc 4.6 compilation warnings
src/G4QMDCollision.cc
18-November-2010 Tatsumi Koi (hadr-qmd-V09-03-00)
- Enable RQMD
include/G4QMDReaction.hh
src/G4QMDReaction.cc
include/G4QMDReaction.hh
src/G4QMDReaction.cc
include/G4QMDMeanField.hh
src/G4QMDMeanField.cc
20-November-2009 Tatsumi Koi (hadr-qmd-V09-02-03)
- Delete obviously unnecessary dependency in GNUMakefile
- Delete obviously unnecessary dependency in GNUMakefile
GNUmakefile
- Enable meson incidence (BETA)
include/G4QMDReaction.hh
src/G4QMDReaction.cc
include/G4QMDReaction.hh
src/G4QMDReaction.cc
19-November-2009 Tatsumi Koi (hadr-qmd-V09-02-02)
- Fix bug for incidence of neutral particles;
Should be OK for neucleon-nucleus interaction
src/G4QMDReaction.cc
src/G4QMDGroundStateNucleus.cc
Should be OK for neucleon-nucleus interaction
src/G4QMDReaction.cc
src/G4QMDGroundStateNucleus.cc
31-March-2009 Tatsumi Koi (hadr-qmd-V09-02-01)
- Fix bug in gamma(mass zero) partiticpants
src/G4QMDCollision.cc
src/G4QMDCollision.cc
- Chnage member object to pointer
include/G4QMDReaction.hh
src/G4QMDReaction.cc
include/G4QMDReaction.hh
src/G4QMDReaction.cc
28-February-2009 Tatsumi Koi (hadr-qmd-V09-02-00)
- Fix bug in Absorption
src/G4QMDCollision.cc
- Add Be8 -> Alpha Alpha including opening angle by Q value
src/G4QMDReaction.cc
- Fix bug in Absorption
src/G4QMDCollision.cc
- Add Be8 -> Alpha Alpha including opening angle by Q value
src/G4QMDReaction.cc
20-November-2008 Tatsumi Koi (hadr-qmd-V09-01-08)
- Add Update
- Add Update
include/G4QMDMeanField.hh
src/G4QMDMeanField.cc
- Add "hit" flag and related methods
include/G4QMDParticipant.hh
include/G4QMDParticipant.hh
- Add Erase and Insert Participant methods
include/G4QMDSystem.hh
include/G4QMDSystem.hh
src/G4QMDSystem.cc
- Add deltaT in signature of CalKinematicsOfBinaryCollisions
Add several required updating of Mean Filed
Modify handling of absorption case
include/G4QMDCollision.hh
src/G4QMDCollision.cc
Add several required updating of Mean Filed
Modify handling of absorption case
include/G4QMDCollision.hh
src/G4QMDCollision.cc
- Add deltaT in signature of CalKinematicsOfBinaryCollisions
src/G4QMDReaction.cc
src/G4QMDReaction.cc
07-November-2008 Tatsumi Koi (hadr-qmd-V09-01-07)
- Add UnUseGEM and UseFRAG
- Add UnUseGEM and UseFRAG
Fix bug in neucleon projectile
include/G4QMDReaction.hh
src/G4QMDReaction.cc
- Migrate to particles-V09-01-09
src/G4QMDNucleus.cc
src/G4QMDReaction.cc
- Migrate to particles-V09-01-09
src/G4QMDNucleus.cc
27-Oct-2008 Tatsumi Koi (hadr-qmd-V09-01-06)
- Migrate to particles-V09-01-09 by T. Koi
Z,A to A,Z for functions of NucleiProperties
src/G4QMDGroundStateNucleus.cc
src/G4QMDNucleus.cc
Z,A to A,Z for functions of NucleiProperties
src/G4QMDGroundStateNucleus.cc
src/G4QMDNucleus.cc
24-Oct-2008 Tatsumi Koi (hadr-qmd-V09-01-05)
- Migrate to particles-V09-01-09 by T. Koi
src/G4QMDGroundStateNucleus.cc
src/G4QMDNucleus.cc
src/G4QMDGroundStateNucleus.cc
src/G4QMDNucleus.cc
12-Jun-2008 Tatsumi Koi (hadr-qmd-V09-01-04)
- Delete unnecessary dependency and unused functions
Change criterion of reaction by T. Koi
include/G4QMDReaction.hh
src/G4QMDReaction.cc
src/G4QMDReaction.cc
06-Jun-2008 Tatsumi Koi (hadr-qmd-V09-01-03)
- Fix memory leaks by T. Koi
include/G4QMDSystem.hh
src/G4QMDReaction.cc
- Fix memory leaks by T. Koi
include/G4QMDSystem.hh
src/G4QMDReaction.cc
03-Jun-2008 Tatsumi Koi (hadr-qmd-V09-01-02)
- Fix memory leaks by T. Koi
src/G4QMDReaction.cc
src/G4QMDCollision.cc
- Fix memory leaks by T. Koi
src/G4QMDReaction.cc
src/G4QMDCollision.cc
05-May-2008 Tatsumi Koi (hadr-qmd-V09-01-01)
- Fixed and changed sampling method of impact parameter
src/G4QMDReaction.cc
src/G4QMDReaction.cc
26-Nov-2007 Tatsumi Koi (hadr-qmd-V09-00-05)
- Fix of typo which introduced at (hadr-qmd-V09-00-04)
src/G4QMDNucleus.cc
src/G4QMDNucleus.cc
20-Nov-2007 Tatsumi Koi (hadr-qmd-V09-00-04)
- Fixed failed initialization of some parameter
src/G4QMDParameters.cc
src/G4QMDParameters.cc
- Reduce standard outputted information
src/G4QMDNucleus.cc ( included fix in hadr-qmd-V09-00-03)
- Reduce multiple calculation of identical and symmetric parameters
- Reduce multiple calculation of identical and symmetric parameters
(enhance computing speed)
src/G4QMDMeanField.cc
- Change reaction system CM to NN
src/G4QMDMeanField.cc
- Change reaction system CM to NN
(usually enhanced stability of ground state nucleus)
include/G4QMDReaction.hh
src/G4QMDReaction.cc
src/G4QMDReaction.cc
22-Nov-2007 Gabriele Cosmo (hadr-qmd-V09-00-03)
- Fixed compilation problem on WIN32-VC for usage of std::pow() function
@@ -319,20 +338,20 @@ code and to keep track of all tags.
Use Collision library of Geant4
History (this file)
GNUMakefile
include/G4QMDGroundStateNucleus.hh
include/G4QMDNucleus.hh
include/G4QMDParticipant.hh
GNUMakefile
include/G4QMDGroundStateNucleus.hh
include/G4QMDNucleus.hh
include/G4QMDParticipant.hh
include/G4QMDSystem.hh
include/G4QMDCollision.hh
include/G4QMDMeanField.hh
include/G4QMDParameters.hh
include/G4QMDCollision.hh
include/G4QMDMeanField.hh
include/G4QMDParameters.hh
include/G4QMDReaction.hh
src/G4QMDCollision.cc
src/G4QMDGroundStateNucleus.cc
src/G4QMDMeanField.cc
src/G4QMDNucleus.cc
src/G4QMDParameters.cc
src/G4QMDParticipant.cc
src/G4QMDReaction.cc
src/G4QMDCollision.cc
src/G4QMDGroundStateNucleus.cc
src/G4QMDMeanField.cc
src/G4QMDNucleus.cc
src/G4QMDParameters.cc
src/G4QMDParticipant.cc
src/G4QMDReaction.cc
src/G4QMDSystem.cc
@@ -47,14 +47,12 @@
#include "G4QMDMeanField.hh"
#include "G4QMDParticipant.hh"
#include "G4IonsShenCrossSection.hh"
//#include "G4GeneralSpaceNNCrossSection.hh"
#include "G4HadronicInteraction.hh"
#include "G4Evaporation.hh"
#include "G4ExcitationHandler.hh"
class G4VCrossSectionDataSet;
class G4BGGPionElasticXS;
class G4BGGPionInelasticXS;
@@ -123,9 +121,7 @@ class G4QMDReaction : public G4HadronicInteraction
G4double coulomb_collision_px_targ;
G4double coulomb_collision_pz_targ;
//090331
G4IonsShenCrossSection* shenXS;
// G4GeneralSpaceNNCrossSection* genspaXS;
G4VCrossSectionDataSet* theXS;
G4BGGPionElasticXS* pipElNucXS;
G4BGGPionElasticXS* pimElNucXS;
@@ -1,85 +1,38 @@
#------------------------------------------------------------------------------
# sources.cmake
# Module : G4hadronic_qmd
# Package: Geant4.src.G4processes.G4hadronic.G4hadronic_models.G4hadronic_qmd
#
# Sources description for a library.
# Lists the sources and headers of the code explicitly.
# Lists include paths needed.
# Lists the internal granular and global dependencies of the library.
# Source specific properties should be added at the end.
#
# Generated on : 24/9/2010
#
#
#------------------------------------------------------------------------------
# - G4hadronic_qmd module build definition
#
# Define the Geant4 Module.
#
GEANT4_DEFINE_MODULE(NAME G4hadronic_qmd
HEADERS
G4QMDCollision.hh
G4QMDGroundStateNucleus.hh
G4QMDMeanField.hh
G4QMDNucleus.hh
G4QMDParameters.hh
G4QMDParticipant.hh
G4QMDReaction.hh
G4QMDSystem.hh
SOURCES
G4QMDCollision.cc
G4QMDGroundStateNucleus.cc
G4QMDMeanField.cc
G4QMDNucleus.cc
G4QMDParameters.cc
G4QMDParticipant.cc
G4QMDReaction.cc
G4QMDSystem.cc
GRANULAR_DEPENDENCIES
G4baryons
G4bosons
G4geometrymng
G4globman
G4had_im_r_matrix
G4had_mod_man
G4had_mod_util
G4had_string_diff
G4had_string_frag
G4had_string_man
G4had_theo_max
G4hadronic_binary
G4hadronic_deex_evaporation
G4hadronic_deex_fermi_breakup
G4hadronic_deex_handler
G4hadronic_deex_management
G4hadronic_deex_multifragmentation
G4hadronic_deex_photon_evaporation
G4hadronic_deex_util
G4hadronic_mgt
G4hadronic_proc
G4hadronic_qgstring
G4hadronic_util
G4hadronic_xsect
G4hepnumerics
G4ions
G4leptons
G4magneticfield
G4materials
G4mesons
G4partman
G4procman
G4shortlived
G4track
G4volumes
GLOBAL_DEPENDENCIES
G4geometry
G4global
G4materials
G4particles
G4track
LINK_LIBRARIES
)
# List any source specific properties here
geant4_add_module(G4hadronic_qmd
PUBLIC_HEADERS
G4QMDCollision.hh
G4QMDGroundStateNucleus.hh
G4QMDMeanField.hh
G4QMDNucleus.hh
G4QMDParameters.hh
G4QMDParticipant.hh
G4QMDReaction.hh
G4QMDSystem.hh
SOURCES
G4QMDCollision.cc
G4QMDGroundStateNucleus.cc
G4QMDMeanField.cc
G4QMDNucleus.cc
G4QMDParameters.cc
G4QMDParticipant.cc
G4QMDReaction.cc
G4QMDSystem.cc)
geant4_module_link_libraries(G4hadronic_qmd
PUBLIC
G4globman
G4had_im_r_matrix
G4hadronic_deex_evaporation
G4hadronic_deex_handler
G4hadronic_mgt
G4hepgeometry
G4partman
PRIVATE
G4baryons
G4hadronic_util
G4hadronic_xsect
G4heprandom
G4materials)
@@ -45,6 +45,10 @@
#include "G4CrossSectionDataSetRegistry.hh"
#include "G4BGGPionElasticXS.hh"
#include "G4BGGPionInelasticXS.hh"
#include "G4VCrossSectionDataSet.hh"
#include "G4CrossSectionInelastic.hh"
#include "G4ComponentGGNuclNuclXsc.hh"
G4QMDReaction::G4QMDReaction()
: G4HadronicInteraction("QMDModel")
@@ -55,11 +59,7 @@ G4QMDReaction::G4QMDReaction()
, gem ( true )
, frag ( false )
{
//090331
shenXS = new G4IonsShenCrossSection();
//genspaXS = new G4GeneralSpaceNNCrossSection();
theXS = new G4CrossSectionInelastic( new G4ComponentGGNuclNuclXsc );
pipElNucXS = new G4BGGPionElasticXS(G4PionPlus::PionPlus() );
pipElNucXS->BuildPhysicsTable(*(G4PionPlus::PionPlus() ) );
@@ -143,11 +143,10 @@ G4HadFinalState* G4QMDReaction::ApplyYourself( const G4HadProjectile & projectil
//const G4Element* targ_ele = nistMan->FindOrBuildElement( targ_Z );
//G4double aTemp = projectile.GetMaterial()->GetTemperature();
//090331
G4VCrossSectionDataSet* theXS = shenXS;
G4double xs_0 = theXS->GetIsoCrossSection ( proj_dp , targ_Z , targ_A );
// Glauber-Gribov nucleus-nucleus cross section does not have GetIsoCrossSection,
// therefore call GetElementCrossSection instead.
//G4double xs_0 = theXS->GetIsoCrossSection ( proj_dp , targ_Z , targ_A );
G4double xs_0 = theXS->GetElementCrossSection( proj_dp , targ_Z , projectile.GetMaterial() );
// When the projectile is a pion
if (proj_pd == G4PionPlus::PionPlus() ) {