Import Geant4 11.0.0 source tree
This commit is contained in:
committed by
Ben Morgan
parent
6399a014b6
commit
80e2389dd8
@@ -45,7 +45,6 @@ HistoManager::HistoManager()
|
||||
|
||||
HistoManager::~HistoManager()
|
||||
{
|
||||
delete G4AnalysisManager::Instance();
|
||||
}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
@@ -56,6 +55,7 @@ void HistoManager::Book()
|
||||
// The choice of analysis technology is done via selection of a namespace
|
||||
// in HistoManager.hh
|
||||
G4AnalysisManager* analysisManager = G4AnalysisManager::Instance();
|
||||
analysisManager->SetDefaultFileType("root");
|
||||
analysisManager->SetFileName(fFileName);
|
||||
analysisManager->SetVerboseLevel(1);
|
||||
analysisManager->SetFirstHistoId(1); // start histogram numbering from 1
|
||||
|
||||
@@ -66,7 +66,7 @@
|
||||
|
||||
#include "G4PhysicsListHelper.hh"
|
||||
#include "G4Decay.hh"
|
||||
#include "G4RadioactiveDecayBase.hh"
|
||||
#include "G4RadioactiveDecay.hh"
|
||||
#include "G4GenericIon.hh"
|
||||
#include "G4NuclideTable.hh"
|
||||
|
||||
@@ -262,7 +262,7 @@ void PhysicsList::AddDecay()
|
||||
|
||||
void PhysicsList::AddRadioactiveDecay()
|
||||
{
|
||||
G4RadioactiveDecayBase* radioactiveDecay = new G4RadioactiveDecayBase();
|
||||
G4RadioactiveDecay* radioactiveDecay = new G4RadioactiveDecay();
|
||||
|
||||
radioactiveDecay->SetARM(true); //Atomic Rearangement
|
||||
|
||||
|
||||
Reference in New Issue
Block a user