Import Geant4 11.1.0.beta source tree
This commit is contained in:
@@ -34,6 +34,8 @@
|
||||
#include "G4SystemOfUnits.hh"
|
||||
#include "G4UnitsTable.hh"
|
||||
|
||||
#include "G4NuclideTable.hh"
|
||||
|
||||
#include "HadronElasticPhysicsHP.hh"
|
||||
#include "G4HadronPhysicsFTFP_BERT_HP.hh"
|
||||
#include "G4HadronPhysicsQGSP_BIC_HP.hh"
|
||||
@@ -61,7 +63,12 @@ PhysicsList::PhysicsList()
|
||||
{
|
||||
G4int verb = 1;
|
||||
SetVerboseLevel(verb);
|
||||
|
||||
|
||||
// mandatory for G4NuclideTable
|
||||
//
|
||||
const G4double meanLife = 1*nanosecond, halfLife = meanLife*std::log(2);
|
||||
G4NuclideTable::GetInstance()->SetThresholdOfHalfLife(halfLife);
|
||||
|
||||
// Hadron Elastic scattering
|
||||
RegisterPhysics( new HadronElasticPhysicsHP(verb) );
|
||||
|
||||
|
||||
@@ -45,11 +45,6 @@
|
||||
RadioactiveDecayPhysics::RadioactiveDecayPhysics(const G4String& name)
|
||||
: G4VPhysicsConstructor(name)
|
||||
{
|
||||
// mandatory for G4NuclideTable
|
||||
//
|
||||
///G4NuclideTable::GetInstance()->SetThresholdOfHalfLife(0.1*picosecond);
|
||||
///G4NuclideTable::GetInstance()->SetLevelTolerance(1.0*eV);
|
||||
|
||||
// hadronic physics extra configuration
|
||||
//
|
||||
G4DeexPrecoParameters* deex =
|
||||
|
||||
Reference in New Issue
Block a user