Import Geant4 11.1.0.beta source tree

This commit is contained in:
Gabriele Cosmo
2022-07-01 10:44:02 +02:00
parent b3bf75a2a1
commit c07cea1fe0
2172 changed files with 183300 additions and 123938 deletions
@@ -34,6 +34,8 @@
#include "G4SystemOfUnits.hh"
#include "G4UnitsTable.hh"
#include "G4NuclideTable.hh"
#include "HadronElasticPhysicsHP.hh"
#include "G4HadronPhysicsFTFP_BERT_HP.hh"
@@ -79,7 +81,12 @@ PhysicsList::PhysicsList()
//
new G4UnitDefinition( "mm2/g", "mm2/g", "Surface/Mass", mm2/g);
new G4UnitDefinition( "um2/mg", "um2/mg","Surface/Mass", um*um/mg);
// mandatory for G4NuclideTable
//
const G4double meanLife = 1*nanosecond, halfLife = meanLife*std::log(2);
G4NuclideTable::GetInstance()->SetThresholdOfHalfLife(halfLife);
// Hadron Elastic scattering
fHadronElastic = new HadronElasticPhysicsHP(verb);
RegisterPhysics(fHadronElastic);