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
@@ -43,7 +43,8 @@
#include "globals.hh"
#include "G4SystemOfUnits.hh"
#include "G4CrossSectionDataStore.hh"
#include "G4HadronElasticDataSet.hh"
#include "G4CrossSectionElastic.hh"
#include "G4ComponentGGHadronNucleusXsc.hh"
#include "G4Element.hh"
#include "G4ElementVector.hh"
#include "G4IsotopeVector.hh"
@@ -60,7 +61,7 @@ G4ChargeExchangeProcess::G4ChargeExchangeProcess(const G4String& procName)
thEnergy = 20.*MeV;
pPDG = 0;
verboseLevel= 1;
AddDataSet(new G4HadronElasticDataSet);
AddDataSet( new G4CrossSectionElastic( new G4ComponentGGHadronNucleusXsc ) );
theProton = G4Proton::Proton();
theNeutron = G4Neutron::Neutron();
theAProton = G4AntiProton::AntiProton();
@@ -122,7 +123,6 @@ BuildPhysicsTable(const G4ParticleDefinition& aParticleType)
factors = new G4PhysicsLinearVector(0.0,4.0*GeV,n);
for(size_t i=0; i<n; i++) {factors->PutValue(i,F[i]);}
}
//factors->SetSpline(true);
if(verboseLevel>1)
G4cout << "G4ChargeExchangeProcess for "