Import Geant4 10.4.0.beta source tree
This commit is contained in:
@@ -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++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user