Import Geant4 10.4.1 source tree

This commit is contained in:
Gabriele Cosmo
2018-03-02 09:34:30 +01:00
parent fc6af9e721
commit fe04dcb406
341 changed files with 18389 additions and 24522 deletions
@@ -14,6 +14,9 @@ track of all tags.
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
17-12-17 mma (exhadr04-V10-03-02)
- NeutronHPphysics : use pManager->GetProcess(processName)
11-04-17 mma (exhadr04-V10-03-01)
- BeginOfRunAction() : remove SetRandomNumberStore()
+9 -7
View File
@@ -3,12 +3,14 @@
!!! WARNING - FPE detection is activated !!!
############################################
*************************************************************
Geant4 version Name: geant4-10-04-ref-00 (08-December-2017)
Copyright : Geant4 Collaboration
Reference : NIM A 506 (2003), 250-303
WWW : http://cern.ch/geant4
*************************************************************
**************************************************************
Geant4 version Name: geant4-10-04-patch-01 (28-February-2018)
Copyright : Geant4 Collaboration
References : NIM A 506 (2003), 250-303
: IEEE-TNS 53 (2006), 270-278
: NIM A 835 (2016), 186-225
WWW : http://geant4.org/
**************************************************************
/run/verbose 2
#
@@ -167,7 +169,7 @@ G4GeometryManager::ReportVoxelStats -- Voxel Statistics
Run terminated.
Run Summary
Number of events processed : 1000
User=14.17s Real=14.2s Sys=0.01s
User=19.63s Real=19.71s Sys=0s
The run is 1000 neutron of 2 MeV through 50 cm of Water_ts (density: 1 g/cm3 )
@@ -85,18 +85,17 @@ void NeutronHPphysics::ConstructProcess()
// delete all neutron processes if already registered
//
G4ProcessTable* processTable = G4ProcessTable::GetProcessTable();
G4VProcess* process = 0;
process = processTable->FindProcess("hadElastic", neutron);
process = pManager->GetProcess("hadElastic");
if (process) pManager->RemoveProcess(process);
//
process = processTable->FindProcess("neutronInelastic", neutron);
process = pManager->GetProcess("neutronInelastic");
if (process) pManager->RemoveProcess(process);
//
process = processTable->FindProcess("nCapture", neutron);
process = pManager->GetProcess("nCapture");
if (process) pManager->RemoveProcess(process);
//
process = processTable->FindProcess("nFission", neutron);
process = pManager->GetProcess("nFission");
if (process) pManager->RemoveProcess(process);
// (re) create process: elastic
@@ -112,9 +111,9 @@ void NeutronHPphysics::ConstructProcess()
// model1b
if (fThermal) {
model1a->SetMinEnergy(4*eV);
G4ParticleHPThermalScattering* model1b = new G4ParticleHPThermalScattering();
G4ParticleHPThermalScattering* model1b = new G4ParticleHPThermalScattering();
process1->RegisterMe(model1b);
process1->AddDataSet(new G4ParticleHPThermalScatteringData());
process1->AddDataSet(new G4ParticleHPThermalScatteringData());
}
// (re) create process: inelastic
@@ -137,7 +136,7 @@ void NeutronHPphysics::ConstructProcess()
//
// cross section data set
G4ParticleHPCaptureData* dataSet3 = new G4ParticleHPCaptureData();
process3->AddDataSet(dataSet3);
process3->AddDataSet(dataSet3);
//
// models
G4ParticleHPCapture* model3 = new G4ParticleHPCapture();
@@ -146,7 +145,7 @@ void NeutronHPphysics::ConstructProcess()
// (re) create process: nFission
//
G4HadronFissionProcess* process4 = new G4HadronFissionProcess();
pManager->AddDiscreteProcess(process4);
pManager->AddDiscreteProcess(process4);
//
// cross section data set
G4ParticleHPFissionData* dataSet4 = new G4ParticleHPFissionData();
@@ -154,7 +153,7 @@ void NeutronHPphysics::ConstructProcess()
//
// models
G4ParticleHPFission* model4 = new G4ParticleHPFission();
process4->RegisterMe(model4);
process4->RegisterMe(model4);
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......