Import Geant4 10.7.0 source tree

This commit is contained in:
Gabriele Cosmo
2020-12-04 12:30:43 +01:00
parent 67ba86d073
commit dab42d2018
3770 changed files with 226369 additions and 286486 deletions
@@ -1,6 +1,9 @@
#----------------------------------------------------------------------------
# Setup the project
cmake_minimum_required(VERSION 2.6 FATAL_ERROR)
cmake_minimum_required(VERSION 3.8...3.18)
if(${CMAKE_VERSION} VERSION_LESS 3.12)
cmake_policy(VERSION ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION})
endif()
set(name microelectronics)
project(${name})
@@ -27,7 +30,7 @@ include(${Geant4_USE_FILE})
include_directories(${PROJECT_SOURCE_DIR}/include ${Geant4_INCLUDE_DIR})
file(GLOB sources ${PROJECT_SOURCE_DIR}/src/*.cc)
file(GLOB headers ${PROJECT_SOURCE_DIR}/include/*.hh)
file(GLOB headers ${PROJECT_SOURCE_DIR}/include/*.hh)
#----------------------------------------------------------------------------
# Add the executable, and link it to the Geant4 libraries
@@ -42,7 +45,7 @@ target_link_libraries(${name} ${Geant4_LIBRARIES})
#
set(MICROELECTRONICS_SCRIPTS
microelectronics.mac
microelectronics.in
microelectronics.in
vis.mac
plot.C
)
+9 -4
View File
@@ -7,10 +7,15 @@
Package History file
--------------------
15 November 2020 - S. Guatelli microelectronics-V10-06-01
- Migration to G4RunManagerFactory
2 November 2020 - B.Morgan microelectronics-V10-06-00
- Support same CMake version range as core Geant4
30.08.2019 - S. Guatelli - microelectronics-V10-05-00
-G4VIS_USE cleaned. WARNING deleted when executing microelectronic.in.
10 May 2018 - B. Morgan - microelectronics-V10-04-00
- Include G4Types before use of G4MULTITHREADED. For forward
compatibility with move to #defines over -D for G4 preprocessor
@@ -22,7 +27,7 @@
28 October 2016 - G.Folger - microelectronics-V10-02-02
Remove direct use of theParticleIterator, use GetParticleTableIterator().
fix required by clang39 on Linux and MAC
4 June 2016 - V.Ivanchenko - microelectronics-V10-02-01
4 June 2016 - V.Ivanchenko - microelectronics-V10-02-00
- Fix msc definition in PhysicsList
@@ -41,7 +46,7 @@
29 October 2014 - L. Garnier from M. Raine - microelectronics-V09-06-04
microelectronics.mac : Change some decorations
microelectronics.cc :
microelectronics.cc :
o Replace use of G4UITerminal by G4UIExecutive
o Move creation if G4UIExecutive at the beginning
o Remove G4UI_USE and G4VIS_USE
@@ -58,7 +63,7 @@
remove setting number of threads from macro files
31 October 2013 - L. Pandola - microelectronics-V09-06-01
Edited CMakeLists.txt to make the test work on
Edited CMakeLists.txt to make the test work on
Windows
29 October 2013 - M. Raine - microelectronics-V09-06-00
@@ -29,17 +29,9 @@
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
#include "G4Types.hh"
#ifdef G4MULTITHREADED
#include "G4MTRunManager.hh"
#else
#include "G4RunManager.hh"
#endif
#include "G4RunManagerFactory.hh"
#include "G4UImanager.hh"
#include "G4UIExecutive.hh"
#include "G4VisExecutive.hh"
#include "ActionInitialization.hh"
#include "DetectorConstruction.hh"
@@ -61,13 +53,10 @@ int main(int argc,char** argv)
// Construct the default run manager
#ifdef G4MULTITHREADED
G4MTRunManager* runManager = new G4MTRunManager;
// runManager->SetNumberOfThreads(2); // Is equal to 2 by default
#else
G4RunManager* runManager = new G4RunManager;
#endif
auto* runManager = G4RunManagerFactory::CreateRunManager();
G4int nThreads = 4;
runManager->SetNumberOfThreads(nThreads);
// Set mandatory user initialization classes
DetectorConstruction* detector = new DetectorConstruction;
runManager->SetUserInitialization(detector);
@@ -1,10 +1,11 @@
Environment variable "G4FORCE_RUN_MANAGER_TYPE" enabled with value == Serial. Forcing G4RunManager type...
############################################
!!! WARNING - FPE detection is activated !!!
############################################
**************************************************************
Geant4 version Name: geant4-10-06-ref-06 (26-June-2020)
Geant4 version Name: geant4-10-07-ref-00 (4-December-2020)
Copyright : Geant4 Collaboration
References : NIM A 506 (2003), 250-303
: IEEE-TNS 53 (2006), 270-278
@@ -29,10 +30,12 @@ Registered graphics systems are:
VRML1FILE (VRML1FILE)
VRML2FILE (VRML2FILE)
gMocrenFile (gMocrenFile)
OpenGLImmediateXm (OGLIXm, OGLI)
OpenGLStoredXm (OGLSXm, OGL, OGLS)
OpenGLImmediateX (OGLIX, OGLIXm_FALLBACK)
OpenGLStoredX (OGLSX, OGLSXm_FALLBACK)
OpenGLImmediateQt (OGLIQt, OGLI)
OpenGLStoredQt (OGLSQt, OGL, OGLS)
OpenGLImmediateXm (OGLIXm, OGLIQt_FALLBACK)
OpenGLStoredXm (OGLSXm, OGLSQt_FALLBACK)
OpenGLImmediateX (OGLIX, OGLIQt_FALLBACK, OGLIXm_FALLBACK)
OpenGLStoredX (OGLSX, OGLSQt_FALLBACK, OGLSXm_FALLBACK)
RayTracerX (RayTracerX)
Registering model factories...
@@ -78,11 +81,12 @@ Some /vis commands (optionally) take a string to specify colour.
### === PIXE model for e+-: Livermore
msc: for e- SubType= 10
RangeFactor= 0.04, stepLimType: 1, latDisp: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=UseSafety Rfact=0.04 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llimit=1
===== EM models for the G4Region Target ======
UrbanMsc : Emin= 100 MeV Emax= 100 TeV Nbins=42 100 MeV - 100 TeV
StepLim=UseSafety Rfact=0.04 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llimit=1
eIoni: for e- SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -96,19 +100,21 @@ eIoni: for e- SubType=2
e-_G4MicroElecElastic: for e- SubType=51 BuildTable=0
===== EM models for the G4Region DefaultRegionForTheWorld ======
DummyModel : Emin= 0 eV Emax= 100 TeV
StepLim=UseSafety Rfact=0.04 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llimit=1
===== EM models for the G4Region Target ======
MicroElecElasticModel : Emin= 0 eV Emax= 100 MeV
e-_G4MicroElecInelastic: for e- SubType=53 BuildTable=0
===== EM models for the G4Region DefaultRegionForTheWorld ======
DummyModel : Emin= 0 eV Emax= 100 TeV
StepLim=UseSafety Rfact=0.04 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llimit=1
===== EM models for the G4Region Target ======
MicroElecInelasticModel : Emin= 0 eV Emax= 100 MeV deltaVI Fluo
msc: for proton SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llimit=1
hIoni: for proton SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -124,14 +130,16 @@ hIoni: for proton SubType=2
p_G4MicroElecInelastic: for proton SubType=53 BuildTable=0
===== EM models for the G4Region DefaultRegionForTheWorld ======
DummyModel : Emin= 0 eV Emax= 100 TeV
StepLim=UseSafety Rfact=0.04 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llimit=1
===== EM models for the G4Region Target ======
MicroElecInelasticModel : Emin= 50 keV Emax= 10 GeV deltaVI Fluo
DummyModel : Emin= 10 GeV Emax= 10 TeV
StepLim=UseSafety Rfact=0.04 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llimit=1
msc: for GenericIon SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llimit=1
ionIoni: for GenericIon SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -148,9 +156,11 @@ ionIoni: for GenericIon SubType=2
ion_G4MicroElecInelastic: for GenericIon SubType=53 BuildTable=0
===== EM models for the G4Region DefaultRegionForTheWorld ======
DummyModel : Emin= 0 eV Emax= 100 TeV
StepLim=UseSafety Rfact=0.04 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llimit=1
===== EM models for the G4Region Target ======
MicroElecInelasticModel : Emin= 50 keV Emax= 10 GeV deltaVI Fluo
DummyModel : Emin= 10 GeV Emax= 10 TeV
StepLim=UseSafety Rfact=0.04 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llimit=1
Region <DefaultRegionForTheWorld> -- -- appears in <World> world volume
This region is in the mass world.
@@ -198,19 +208,23 @@ G4GeometryManager::ReportVoxelStats -- Voxel Statistics
G4VisManager: Using G4TrajectoryDrawByCharge as fallback trajectory model.
See commands in /vis/modeling/trajectories/ for other options.
### Run 0 starts.
##### Create analysis manager 0x2235680
##### Create analysis manager 0x2589460
Using Root analysis manager
... open Root analysis file : microelectronics.root - done
... create file : microelectronics.root - done
... open analysis file : microelectronics.root - done
Run terminated.
Run Summary
Number of events processed : 10
User=0.020000s Real=0.017347s Sys=0.000000s
... write Root file : microelectronics.root - done
... close Root file : microelectronics.root - done
User=0.000000s Real=0.005601s Sys=0.000000s
... write file : microelectronics.root - done
... close file : microelectronics.root - done
Number and type of particles created outside region "Target" :
_______________________
Number and type of particles created in region "Target" :
N e- : 130
0 events have been kept for refreshing and/or reviewing.
"/vis/reviewKeptEvents" to review them one by one.
"/vis/enable", then "/vis/viewer/flush" or "/vis/viewer/rebuild" to see them accumulated.
Graphics systems deleted.
Visualization Manager deleting...
G4 kernel has come to Quit state.