Import Geant4 10.5.0 source tree

This commit is contained in:
Gabriele Cosmo
2018-12-07 15:15:39 +01:00
parent 6aa23be517
commit db49709b53
11370 changed files with 187480 additions and 160142 deletions
@@ -24,7 +24,6 @@
// ********************************************************************
//
//
// $Id: G4AlphaCoulombBarrier.cc 97097 2016-05-25 07:50:31Z gcosmo $
//
// Hadronic Process: Nuclear De-excitations
// by V. Lara (Dec 1999)
@@ -23,7 +23,6 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4CameronGilbertPairingCorrections.cc 96634 2016-04-27 09:31:49Z gcosmo $
//
// Hadronic Process: Nuclear De-excitations
// by V. Lara
@@ -23,7 +23,6 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4CameronGilbertShellCorrections.cc 96634 2016-04-27 09:31:49Z gcosmo $
//
// Hadronic Process: Nuclear De-excitations
// by V. Lara
@@ -23,7 +23,6 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4CameronShellPlusPairingCorrections.cc 96634 2016-04-27 09:31:49Z gcosmo $
//
// Hadronic Process: Nuclear De-excitations
// by V. Lara
@@ -23,7 +23,6 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4CameronTruranHilfPairingCorrections.cc 96634 2016-04-27 09:31:49Z gcosmo $
//
// Hadronic Process: Nuclear De-excitations
// by V. Lara
@@ -23,7 +23,6 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4CameronTruranHilfShellCorrections.cc 96634 2016-04-27 09:31:49Z gcosmo $
//
// Hadronic Process: Nuclear De-excitations
// by V. Lara
@@ -24,7 +24,6 @@
// ********************************************************************
//
//
// $Id: G4ChatterjeeCrossSection.hh 66241 2012-12-13 18:34:42Z gunter $
//
// V.Ivanchenko 26.02.2018
//
@@ -34,9 +34,14 @@
#include "G4SystemOfUnits.hh"
G4ConstantLevelDensityParameter::G4ConstantLevelDensityParameter()
: EvapLevelDensityParameter(0.125/CLHEP::MeV)
: EvapLevelDensityParameter(0.1/CLHEP::MeV)
{}
G4ConstantLevelDensityParameter::~G4ConstantLevelDensityParameter()
{}
G4double G4ConstantLevelDensityParameter::LevelDensityParameter(
G4int A, G4int, G4double) const
{
return A * EvapLevelDensityParameter;
}
@@ -24,7 +24,6 @@
// ********************************************************************
//
//
// $Id: G4CookPairingCorrections.cc 96634 2016-04-27 09:31:49Z gcosmo $
//
// Hadronic Process: Nuclear De-excitations
// by V. Lara
@@ -23,7 +23,6 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4CookShellCorrections.cc 96634 2016-04-27 09:31:49Z gcosmo $
//
// Hadronic Process: Nuclear De-excitations
// by V. Lara
@@ -23,7 +23,6 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4CoulombBarrier.cc 100690 2016-10-31 11:25:43Z gcosmo $
//
// Hadronic Process: Nuclear De-excitations
// by V. Lara (Dec 1999)
@@ -60,7 +59,9 @@ G4CoulombBarrier::~G4CoulombBarrier()
G4double G4CoulombBarrier::GetCoulombBarrier(G4int ARes, G4int ZRes, G4double) const
{
return CLHEP::elm_coupling*(GetZ()*ZRes)/(GetR0()*g4calc->Z13(ARes) + GetRho());
// return BarrierPenetrationFactor(GetA())*
return
CLHEP::elm_coupling*(GetZ()*ZRes)/(GetR0()*g4calc->Z13(ARes) + GetRho());
}
G4double G4CoulombBarrier::BarrierPenetrationFactor(G4int aZ) const
@@ -23,7 +23,6 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4DeuteronCoulombBarrier.cc 97097 2016-05-25 07:50:31Z gcosmo $
//
// Hadronic Process: Nuclear De-excitations
// by V. Lara (Dec 1999)
@@ -1,76 +0,0 @@
//
// ********************************************************************
// * License and Disclaimer *
// * *
// * The Geant4 software is copyright of the Copyright Holders of *
// * the Geant4 Collaboration. It is provided under the terms and *
// * conditions of the Geant4 Software License, included in the file *
// * LICENSE and available at http://cern.ch/geant4/license . These *
// * include a list of copyright holders. *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. Please see the license in the file LICENSE and URL above *
// * for the full disclaimer and the limitation of liability. *
// * *
// * This code implementation is the result of the scientific and *
// * technical work of the GEANT4 collaboration. *
// * By using, copying, modifying or distributing the software (or *
// * any work based on the software) you agree to acknowledge its *
// * use in resulting scientific publications, and indicate your *
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4EvaporationLevelDensityParameter.cc 91834 2015-08-07 07:24:22Z gcosmo $
//
// Hadronic Process: Nuclear De-excitations
// by V. Lara (Oct 1998)
//
// Modified:
// 21.03.2013 V.Ivanchenko redesigned and comment out unused part
#include "G4EvaporationLevelDensityParameter.hh"
G4EvaporationLevelDensityParameter::G4EvaporationLevelDensityParameter()
{}
G4EvaporationLevelDensityParameter::~G4EvaporationLevelDensityParameter()
{}
G4double
G4EvaporationLevelDensityParameter::LevelDensityParameter(G4int A, G4int, G4double) const
{
return 0.1*A;
}
/*
#include "G4ShellCorrections.hh"
#include "G4SystemOfUnits.hh"
// Those values are from table 3 in
// A.S. Iljinov et al. Nucl Phys A543 (1992) 517-557
// Table 3. alpha, beta and gamma for Cameron Shell corrections
// whithout collective effects. f-factor = 2.31.
//JMQ 17-04-08 these are not used at present in G4Evaporation
const G4double
G4EvaporationLevelDensityParameter::ConstEvapLevelDensityParameter = 0.125/MeV;
const G4double
G4EvaporationLevelDensityParameter::ConstEvapLevelDensityParameter= 0.0769231/MeV;
const G4double G4EvaporationLevelDensityParameter::alpha = 0.072/MeV;
const G4double G4EvaporationLevelDensityParameter::beta = 0.257/MeV;
const G4double G4EvaporationLevelDensityParameter::gamma = 0.059/MeV;
const G4double G4EvaporationLevelDensityParameter::Bs = 1.0;
// Asymptotic Level Density Parameter
//G4double AsymptoticLDP = (alpha*A + beta*g4pow-Z23(A)*Bs)/MeV;
// Shape of the LDP U dependence
G4double exponent = -gamma*U;
G4double f = 1.;
if (exponent > -300.) f -= G4Exp(exponent);
G4double a = AsymptoticLDP*(1. + ShellCorrection(Z,N)*f/U);
return a;
*/
@@ -24,7 +24,6 @@
// ********************************************************************
//
//
// $Id: G4He3CoulombBarrier.cc 97097 2016-05-25 07:50:31Z gcosmo $
//
// Hadronic Process: Nuclear De-excitations
// by V. Lara (Dec 1999)
@@ -24,7 +24,6 @@
// ********************************************************************
//
//
// $Id: G4KalbachCrossSection.cc 66241 2012-12-13 18:34:42Z gunter $
//
// V.Ivanchenko 26.02.2018
//
@@ -24,7 +24,6 @@
// ********************************************************************
//
//
// $Id: G4NeutronCoulombBarrier.cc 67983 2013-03-13 10:42:03Z gcosmo $
//
// Hadronic Process: Nuclear De-excitations
// by V. Lara (Dec 1999)
@@ -23,7 +23,6 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4PairingCorrection.cc 105799 2017-08-21 07:35:55Z gcosmo $
//
// Hadronic Process: Nuclear De-excitations
// by V. Lara
@@ -34,6 +33,8 @@
#include "G4PairingCorrection.hh"
#include "G4SystemOfUnits.hh"
static const G4double PairingConstant = 12.0*CLHEP::MeV;
G4PairingCorrection::G4PairingCorrection()
{}
@@ -44,14 +45,12 @@ G4double G4PairingCorrection::GetPairingCorrection(G4int A, G4int Z) const
{
G4double pairCorr = 0.0;
G4int N = A - Z;
if(!theCookPairingCorrections.GetPairingCorrection(N,Z,pairCorr)) {
// if(!theCookPairingCorrections.GetPairingCorrection(N,Z,pairCorr)) {
if(!theCameronGilbertPairingCorrections.GetPairingCorrection(N,Z,pairCorr)) {
if(!theCameronGilbertPairingCorrections.GetPairingCorrection(N,Z,pairCorr)) {
static const G4double PairingConstant = 12.0*CLHEP::MeV;
pairCorr = ((1 - Z + 2*(Z/2)) + (1 - N + 2*(N/2)))
*PairingConstant/std::sqrt(static_cast<G4double>(A));
}
pairCorr = ((1 - Z + 2*(Z/2)) + (1 - N + 2*(N/2)))
*PairingConstant/std::sqrt(static_cast<G4double>(A));
}
return std::max(pairCorr, 0.0);
}
@@ -59,7 +58,6 @@ G4double G4PairingCorrection::GetPairingCorrection(G4int A, G4int Z) const
G4double
G4PairingCorrection::GetFissionPairingCorrection(G4int A, G4int Z) const
{
static const G4double PairingConstant = 14.0*MeV;
G4int N = A - Z;
G4double pairCorr = ((1 - Z + 2*(Z/2)) + (1 - N + 2*(N/2)))
*PairingConstant/std::sqrt(static_cast<G4double>(A));
@@ -23,7 +23,6 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4ProtonCoulombBarrier.cc 97097 2016-05-25 07:50:31Z gcosmo $
//
// Hadronic Process: Nuclear De-excitations
// by V. Lara (Dec 1999)
@@ -23,7 +23,6 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4ShellCorrection.cc 105799 2017-08-21 07:35:55Z gcosmo $
//
// Hadronic Process: Nuclear De-excitations
// by V. Lara
@@ -23,7 +23,6 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4TritonCoulombBarrier.cc 97097 2016-05-25 07:50:31Z gcosmo $
//
// Hadronic Process: Nuclear De-excitations
// by V. Lara (Dec 1999)
@@ -23,7 +23,6 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4VCoulombBarrier.cc 100690 2016-10-31 11:25:43Z gcosmo $
//
// Hadronic Process: Nuclear De-excitations
// by V. Lara (Dec 1999)