Import Geant4 10.6.0 source tree

This commit is contained in:
Gabriele Cosmo
2019-12-06 15:12:28 +01:00
parent b2a62ae692
commit 5baee230e9
2997 changed files with 141580 additions and 98673 deletions
@@ -120,16 +120,16 @@ void G4IonPhysics::ConstructProcess()
// Binary Cascade
G4HadronicInteraction* theIonBC =
new G4BinaryLightIonReaction(thePreCompound);
theIonBC->SetMinEnergy(0.0);
theIonBC->SetMaxEnergy(4*GeV);
theIonBC->SetMinEnergy( 0.0 );
theIonBC->SetMaxEnergy( G4HadronicParameters::Instance()->GetMaxEnergyTransitionFTF_Cascade() );
// FTFP
G4HadronicInteraction* theFTFP = nullptr;
if(emax > theIonBC->GetMaxEnergy()) {
theBuilder = new G4FTFBuilder("FTFP",thePreCompound);
theFTFP = theBuilder->GetModel();
theFTFP->SetMinEnergy(2*GeV);
theFTFP->SetMaxEnergy(emax);
theFTFP->SetMinEnergy( G4HadronicParameters::Instance()->GetMinEnergyTransitionFTF_Cascade() );
theFTFP->SetMaxEnergy( emax );
}
G4CrossSectionInelastic* theNuclNuclData =
@@ -108,8 +108,8 @@ void G4IonPhysicsPHP::ConstructProcess() {
const G4double maxPHP = 200.0*MeV;
const G4double overlapPHP_BIC = 10.0*MeV;
const G4double maxBIC = 4.0*GeV;
const G4double minFTF = 2.0* GeV;
const G4double maxBIC = G4HadronicParameters::Instance()->GetMaxEnergyTransitionFTF_Cascade();
const G4double minFTF = G4HadronicParameters::Instance()->GetMinEnergyTransitionFTF_Cascade();
const G4double maxFTF = G4HadronicParameters::Instance()->GetMaxEnergy();
G4HadronicInteraction* p =
@@ -72,6 +72,8 @@
#include "G4DeexPrecoParameters.hh"
#include "G4NuclearLevelData.hh"
#include "G4HadronicParameters.hh"
// factory
#include "G4PhysicsConstructorFactory.hh"
//
@@ -111,6 +113,7 @@ void G4IonQMDPhysics::ConstructProcess()
theIonBC->SetMaxEnergy(eminQMD + overlap);
G4double emax = G4HadronicParameters::Instance()->GetMaxEnergy();
emaxQMD = G4HadronicParameters::Instance()->GetMaxEnergyTransitionFTF_Cascade();
G4HadronicInteraction* theFTFP = nullptr;
if(emax > emaxQMD) {
theFTFPBuilder = new G4FTFBuilder("FTFP",thePreCompound);