Import Geant4 10.7.0.beta source tree

This commit is contained in:
Gabriele Cosmo
2020-06-26 10:23:25 +02:00
parent c02c370437
commit 67ba86d073
1871 changed files with 174422 additions and 131884 deletions
@@ -8,12 +8,27 @@
History file for the Liege cascade INCL Model
---------------------------------------------
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)
---------------------------------------------------------------
28 May 2020 - Ben Morgan (hadr-inclxx-V10-06-02)
--------------------------------------------------------
- Remove obsolete GRANULAR_DEPENDENCIES entries
12 May 2020 - Alberto Ribon (hadr-inclxx-V10-06-01)
---------------------------------------------------------------
- G4INCLXXInterfaceStore.cc : in the method EmitBigWarning,
check the global verbosity level of hadronics (if zero,
do not print anything).
05 May 2020 - Gunter Folger (hadr-inclxx-V10-06-00)
---------------------------------------------------------------
- Fix for clang10: for for warning on confusing indentation
enclose statements in if/else with {}
Affected: incl_physics/src/G4INCLInteractionAvatar.cc
19 December 2018 - Alberto Ribon (hadr-inclxx-V10-05-00)
---------------------------------------------------------------
@@ -64,7 +79,7 @@ code and to keep track of all tags.
04 December 2017 - Alberto Ribon (hadr-inclxx-V10-03-20)
---------------------------------------------------------------
- G4INCLRandom : improved to avoid reproducibility problems.
- G4INCLRandom : improved to avoid reproducibility problems.
The method "gaussWithMemory" should be called twice for drawing a pair
of correlated gaussian variables, whereas the method "gauss" should be
used for usual, single and independent gaussian variables.
@@ -408,8 +423,8 @@ code and to keep track of all tags.
7 June 2013 - Vladimir Ivanchenko (hadr-inclxx-V09-06-17)
-----------------------------------------------------------
- G4INCLXXInterface - do not delete Binarycascade objects, because
all hadronic models are deleted by model store. This is a fix
- G4INCLXXInterface - do not delete Binarycascade objects, because
all hadronic models are deleted by model store. This is a fix
of outstanding problem for Geant4 MT
6 June 2013 - Gabriele Cosmo (hadr-inclxx-V09-06-16)
@@ -319,4 +319,4 @@ GEANT4_DEFINE_MODULE(NAME G4hadronic_inclxx_physics
G4track
G4intercoms
LINK_LIBRARIES)# List any source specific properties here
LINK_LIBRARIES)# List any source specific properties here
@@ -426,11 +426,11 @@ namespace G4INCL {
(*i)->adjustEnergyFromMomentum();
(*i)->rpCorrelate();
(*i)->boost(-boostVector);
if(theNucleus)
if(theNucleus){
theNucleus->updatePotentialEnergy(*i);
else
} else {
(*i)->setPotentialEnergy(0.);
}
//jcd if(shouldUseLocalEnergy && !(*i)->isPion()) { // This translates AECSVT's loops 1, 3 and 4
if(shouldUseLocalEnergy && !(*i)->isPion() && !(*i)->isEta() && !(*i)->isOmega() &&
!(*i)->isKaon() && !(*i)->isAntiKaon() && !(*i)->isSigma() && !(*i)->isLambda()) { // This translates AECSVT's loops 1, 3 and 4
@@ -104,4 +104,4 @@ GEANT4_DEFINE_MODULE(NAME G4hadronic_inclxx_interface
G4track
G4intercoms
LINK_LIBRARIES)# List any source specific properties here
LINK_LIBRARIES)# List any source specific properties here
@@ -51,6 +51,7 @@
#include "G4INCLXXInterface.hh"
#include "G4INCLConfig.hh"
#include "G4AblaInterface.hh"
#include "G4HadronicParameters.hh"
#include <vector>
G4ThreadLocal G4INCLXXInterfaceStore *G4INCLXXInterfaceStore::theInstance = NULL;
@@ -178,6 +179,9 @@ void G4INCLXXInterfaceStore::EmitWarning(const G4String &message) {
}
void G4INCLXXInterfaceStore::EmitBigWarning(const G4String &message) const {
// Disable the printing when global hadronic verbosity is zero
// (which can be issued via the UI command "/process/had/verbose 0" )
if ( G4HadronicParameters::Instance()->GetVerboseLevel() == 0 ) return;
G4cout
<< G4endl
<< "================================================================================"
@@ -142,4 +142,4 @@ GEANT4_DEFINE_MODULE(NAME G4hadronic_inclxx_utils
G4track
G4intercoms
LINK_LIBRARIES)# List any source specific properties here
LINK_LIBRARIES)# List any source specific properties here