Import Geant4 10.7.0 source tree
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
# 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()
|
||||
project(B3a)
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
|
||||
@@ -29,11 +29,7 @@
|
||||
|
||||
#include "G4Types.hh"
|
||||
|
||||
#ifdef G4MULTITHREADED
|
||||
#include "G4MTRunManager.hh"
|
||||
#else
|
||||
#include "G4RunManager.hh"
|
||||
#endif
|
||||
#include "G4RunManagerFactory.hh"
|
||||
|
||||
#include "G4UImanager.hh"
|
||||
#include "G4VisExecutive.hh"
|
||||
@@ -64,11 +60,8 @@ int main(int argc,char** argv)
|
||||
|
||||
// Construct the default run manager
|
||||
//
|
||||
#ifdef G4MULTITHREADED
|
||||
G4MTRunManager* runManager = new G4MTRunManager;
|
||||
#else
|
||||
G4RunManager* runManager = new G4RunManager;
|
||||
#endif
|
||||
auto* runManager =
|
||||
G4RunManagerFactory::CreateRunManager(G4RunManagerType::Default);
|
||||
|
||||
// Set mandatory initialization classes
|
||||
//
|
||||
|
||||
@@ -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
|
||||
@@ -26,10 +27,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...
|
||||
@@ -231,7 +234,8 @@ G4VisManager: Using G4TrajectoryDrawByCharge as fallback trajectory model.
|
||||
See commands in /vis/modeling/trajectories/ for other options.
|
||||
### Run 0 starts.
|
||||
### Run 0 start.
|
||||
... open Root analysis file : scoring.root - done
|
||||
... create file : scoring.root - done
|
||||
... open analysis file : scoring.root - done
|
||||
--> Event 0 starts.
|
||||
--> Event 1000 starts.
|
||||
--> Event 2000 starts.
|
||||
@@ -244,11 +248,14 @@ See commands in /vis/modeling/trajectories/ for other options.
|
||||
--> Event 9000 starts.
|
||||
|
||||
--------------------End of Global Run-----------------------
|
||||
The run was 10000 events Nb of 'good' e+ annihilations: 1356
|
||||
Total dose in patient : 305.61 picoGy
|
||||
The run was 10000 events Nb of 'good' e+ annihilations: 1290
|
||||
Total dose in patient : 307.356 picoGy
|
||||
------------------------------------------------------------
|
||||
|
||||
... write Root file : scoring.root - done
|
||||
... close Root file : scoring.root - done
|
||||
... write file : scoring.root - done
|
||||
... close file : scoring.root - done
|
||||
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...
|
||||
|
||||
@@ -1,8 +1,10 @@
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
# 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()
|
||||
project(B3b)
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
|
||||
@@ -29,11 +29,7 @@
|
||||
|
||||
#include "G4Types.hh"
|
||||
|
||||
#ifdef G4MULTITHREADED
|
||||
#include "G4MTRunManager.hh"
|
||||
#else
|
||||
#include "G4RunManager.hh"
|
||||
#endif
|
||||
#include "G4RunManagerFactory.hh"
|
||||
|
||||
#include "G4UImanager.hh"
|
||||
#include "G4VisExecutive.hh"
|
||||
@@ -64,11 +60,8 @@ int main(int argc,char** argv)
|
||||
|
||||
// Construct the default run manager
|
||||
//
|
||||
#ifdef G4MULTITHREADED
|
||||
G4MTRunManager* runManager = new G4MTRunManager;
|
||||
#else
|
||||
G4RunManager* runManager = new G4RunManager;
|
||||
#endif
|
||||
auto* runManager =
|
||||
G4RunManagerFactory::CreateRunManager(G4RunManagerType::Default);
|
||||
|
||||
// Set mandatory initialization classes
|
||||
//
|
||||
|
||||
@@ -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
|
||||
@@ -26,10 +27,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...
|
||||
@@ -231,7 +234,8 @@ G4VisManager: Using G4TrajectoryDrawByCharge as fallback trajectory model.
|
||||
See commands in /vis/modeling/trajectories/ for other options.
|
||||
### Run 0 starts.
|
||||
### Run 0 start.
|
||||
... open Root analysis file : scoring.root - done
|
||||
... create file : scoring.root - done
|
||||
... open analysis file : scoring.root - done
|
||||
--> Event 0 starts.
|
||||
|
||||
---> end of event: 0
|
||||
@@ -246,12 +250,15 @@ See commands in /vis/modeling/trajectories/ for other options.
|
||||
--> Event 9000 starts.
|
||||
|
||||
--------------------End of Global Run-----------------------
|
||||
The run was 10000 events Nb of 'good' e+ annihilations: 1356
|
||||
Total dose in patient : 305.61 picoGy
|
||||
Total dose in patient : 3.0561e-10 [sigma: 1.73976e-14 | error: 0.00569274 | coeff: 0.00569274 | eff: 1 | fom: 2805.2 | r2int: 3.24041e-05 | r2eff: 0 | hits: 10000 ] Gy
|
||||
The run was 10000 events Nb of 'good' e+ annihilations: 1290
|
||||
Total dose in patient : 307.356 picoGy
|
||||
Total dose in patient : 3.07356e-10 [sigma: 1.76019e-14 | error: 0.00572687 | coeff: 0.00572687 | eff: 1 | fom: 30490.6 | r2int: 3.27938e-05 | r2eff: 0 | hits: 10000 ] Gy
|
||||
------------------------------------------------------------
|
||||
|
||||
... write Root file : scoring.root - done
|
||||
... close Root file : scoring.root - done
|
||||
... write file : scoring.root - done
|
||||
... close file : scoring.root - done
|
||||
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...
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
|
||||
#---Adding example B2 subdirectories explicitly
|
||||
#---Adding example B3 subdirectories explicitly
|
||||
# and a custom target to for building all example B2 options ----------
|
||||
|
||||
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()
|
||||
|
||||
add_subdirectory(B3a)
|
||||
add_subdirectory(B3b)
|
||||
|
||||
+27
-20
@@ -14,6 +14,13 @@ track of all tags.
|
||||
* Reverse chronological order (last date on top), please *
|
||||
----------------------------------------------------------
|
||||
|
||||
02/11/20 B.Morgan (exampleB3-V10-06-01)
|
||||
- Support same CMake version range as core Geant4
|
||||
|
||||
30/06/20 G. Cosmo (exampleB3-V10-06-00)
|
||||
- Migrated examples to use G4RunManagerFactory, therefore implicitly enabling
|
||||
tasking by default in MT builds.
|
||||
|
||||
21/11/19 G. Cosmo (exampleB3-V10-05-02)
|
||||
- Use default MixMax random engine.
|
||||
|
||||
@@ -25,7 +32,7 @@ track of all tags.
|
||||
|
||||
30/11/18 I. Hrivnacova (exampleB3-V10-04-05)
|
||||
- Moved the previous update from B3b in B3 documentation
|
||||
and removed obsolete README files from B3a and B3b.
|
||||
and removed obsolete README files from B3a and B3b.
|
||||
|
||||
16/11/18 J. Madsen (exampleB3-V10-04-04)
|
||||
- Updated documentation for example B3b
|
||||
@@ -35,7 +42,7 @@ track of all tags.
|
||||
to demonstrate statistical computations in a basic example
|
||||
|
||||
30/10/18 I. Hrivnacova (exampleB3-V10-04-02)
|
||||
- Removed usage of G4ScoreNtupleWriter;
|
||||
- Removed usage of G4ScoreNtupleWriter;
|
||||
will be demonstrated in a new extended analysis example
|
||||
|
||||
26/10/18 I. Hrivnacova (exampleB3-V10-04-01)
|
||||
@@ -72,12 +79,12 @@ track of all tags.
|
||||
|
||||
05/11/15 I. Hrivnacova (exampleB3-V10-01-01)
|
||||
- Splitting example in two variants of merging data:
|
||||
-B3a (new) with the code based on G4Parameter
|
||||
-B3a (new) with the code based on G4Parameter
|
||||
-B3b (as previous B3) with the code based on G4Run
|
||||
|
||||
04/05/15 I. Hrivnacova (exampleB3-V10-01-00)
|
||||
- Coding guidelines: removed empty lines
|
||||
|
||||
|
||||
29/11/14 I. Hrivnacova
|
||||
- Use G4endl instead of \n in G4cout;
|
||||
this makes each new line in the output on threads preceded with
|
||||
@@ -91,12 +98,12 @@ track of all tags.
|
||||
|
||||
04/11/14 L. Garnier (exampleB3-V10-00-01)
|
||||
- Remove old G4UI_USE/G4VIS_USE
|
||||
- Move G4UIExecutive at the beginning of main()
|
||||
- Move G4UIExecutive at the beginning of main()
|
||||
|
||||
29/10/13 I. Hrivnacova (exampleB3-V09-06-06)
|
||||
- Removed SetNumberOfThreads(4) from main (use Geant4 default)
|
||||
- Updated README
|
||||
|
||||
|
||||
09/09/13 M.Asai (exampleB3-V09-06-05)
|
||||
- B3PrimaryGeneratorAction.cc : Change G4ParticleTable::GetIon() to
|
||||
G4IonTable::GetIon(), as the former method becomes obsolete.
|
||||
@@ -107,44 +114,44 @@ track of all tags.
|
||||
- Get hits collection IDs in B3Run::RecordEvent (and not B3Run constructor)
|
||||
- Add a test for primary generator action in B3RunAction::EndOfRunAction()
|
||||
as it does not exist on master
|
||||
|
||||
|
||||
05/06/13 mma (exampleB3-V09-06-03)
|
||||
- add section about ACTION INITALIZATION to README and .README
|
||||
|
||||
|
||||
01/06/13 mma (exampleB3-V09-06-02)
|
||||
- Migration for MT:
|
||||
forgotten to add B3Run
|
||||
|
||||
|
||||
31/05/13 mma (exampleB3-V09-06-01)
|
||||
- Migration for MT:
|
||||
Added B3ActionInitialization, B3Run
|
||||
Removed B3EventAction
|
||||
and updated actions classes accordingly.
|
||||
README files still need to be updated.
|
||||
|
||||
|
||||
28/02/13 I. Hrivnacova
|
||||
- When building materials with NistManager
|
||||
do not set fromIsotopes argument (which was set to false),
|
||||
do not set fromIsotopes argument (which was set to false),
|
||||
as since 9.6 all materials have to be built from isotopes.
|
||||
Thanks to V. Ivantchenko for pointing at this.
|
||||
|
||||
21/11/11 I. Hrivnacova
|
||||
21/11/11 I. Hrivnacova
|
||||
- Improved vis.mac
|
||||
- Removed alternative detector construction class
|
||||
- Removed alternative detector construction class
|
||||
|
||||
14/11/11 I. Hrivnacova
|
||||
- The first tagged version of the new B3 example
|
||||
(tagged in basic).
|
||||
|
||||
11-11-11 (mma)
|
||||
11-11-11 (mma)
|
||||
- EventAction: printModulo 10000
|
||||
|
||||
01-11-11 (mma)
|
||||
|
||||
01-11-11 (mma)
|
||||
- DetectorConstruction2: - add an offset when replicate dPhi
|
||||
|
||||
29-09-11 (mma)
|
||||
|
||||
29-09-11 (mma)
|
||||
- DetectorConstruction: - replace crystal shape Trd by Box
|
||||
- add a gap for wrapping
|
||||
|
||||
27-06-11 michel maire
|
||||
|
||||
27-06-11 michel maire
|
||||
- Created.
|
||||
|
||||
Reference in New Issue
Block a user