Import Geant4 10.4.0.beta source tree

This commit is contained in:
Gabriele Cosmo
2017-06-30 10:49:55 +02:00
parent 3a5407696b
commit 1a1316fea4
2180 changed files with 237880 additions and 59109 deletions
+9 -2
View File
@@ -1,4 +1,4 @@
$Id: History 102588 2017-02-09 10:00:46Z gcosmo $
$Id: History 103591 2017-04-19 07:53:55Z gcosmo $
-------------------------------------------------------------------
=========================================================
@@ -14,7 +14,14 @@ introduced in the code and keeptrack of all tags.
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
07-February-2017 V.Ivanchenko (phys-lists-V10-02-11)
19-April-2017 V.Ivanchenko (phys-lists-V10-03-02)
- G4PhysListFactory - fixed EM option "__SS" - problem report #1966
21-March-2017 Koi, Tatsumi (phys-lists-V10-03-01)
- Fix problem of LBE physics list on radioactive decay model
07-February-2017 V.Ivanchenko (phys-lists-V10-03-00)
- G4PhysListFactory - add single scattering EM option (required by
several user groups), one need to add "__SS" to the reference
physics list name
@@ -886,6 +886,10 @@ template<class T> TLBE<T>::~TLBE()
#include "G4IonTable.hh"
#include "G4Ions.hh"
#include "G4LossTableManager.hh"
#include "G4UAtomicDeexcitation.hh"
#include "G4NuclearLevelData.hh"
template<class T> void TLBE<T>::ConstructGeneral() {
// Add Decay Process
@@ -912,6 +916,24 @@ template<class T> TLBE<T>::~TLBE()
const G4IonTable *theIonTable =
G4ParticleTable::GetParticleTable()->GetIonTable();
G4RadioactiveDecay *theRadioactiveDecay = new G4RadioactiveDecay();
{
//Fix for activation of RadioactiveDecay, based on G4RadioactiveDecayPhysics
G4EmParameters* param = G4EmParameters::Instance();
param->SetAugerCascade(true);
param->AddPhysics("world","G4RadioactiveDecay");
G4NuclearLevelData::GetInstance()->GetParameters()->SetUseFilesNEW(true);
G4NuclearLevelData::GetInstance()->GetParameters()->SetStoreAllLevels(true);
G4LossTableManager* man = G4LossTableManager::Instance();
G4VAtomDeexcitation* ad = man->AtomDeexcitation();
if(!ad) {
ad = new G4UAtomicDeexcitation();
man->SetAtomDeexcitation(ad);
ad->InitialiseAtomicDeexcitation();
}
}
for (G4int i=0; i<theIonTable->Entries(); i++)
{
@@ -23,7 +23,7 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4PhysListFactory.cc 102588 2017-02-09 10:00:46Z gcosmo $
// $Id: G4PhysListFactory.cc 103591 2017-04-19 07:53:55Z gcosmo $
//
//---------------------------------------------------------------------------
//
@@ -193,6 +193,8 @@ G4PhysListFactory::GetReferencePhysList(const G4String& name)
p->ReplacePhysics(new G4EmPenelopePhysics(verbose));
} else if(7 == em_opt) {
p->ReplacePhysics(new G4EmStandardPhysicsGS(verbose));
} else if(8 == em_opt) {
p->ReplacePhysics(new G4EmStandardPhysicsSS(verbose));
}
}
p->SetVerboseLevel(ver);