Import Geant4 11.2.0 source tree

This commit is contained in:
Gabriele Cosmo
2023-12-08 10:43:34 +01:00
parent dd1f179cda
commit 860a2b92bf
3962 changed files with 139318 additions and 164259 deletions
+2 -2
View File
@@ -23,9 +23,9 @@
These classes can be tested with the following programs:
- testCommon.cc - only instantiates all classes
- exampleCommonNoVis.cc - Geant4 application without visualization, that can be run
both interactively or in batch (with the run.mac macro)
both interactively or in batch (with the init.mac or run.mac macro)
- exampleCommonNoVis.cc - Geant4 application with visualization, that can be run
both interactively or in batch (with the run.mac macro)
both interactively or in batch (with the init_vis.mac or run.mac macro)
Building examples programs can be disabled with the CMake option: -DEXAMPLES_COMMON=OFF.
+1 -1
View File
@@ -1,6 +1,6 @@
#----------------------------------------------------------------------------
# Setup the project
cmake_minimum_required(VERSION 3.16...3.21)
cmake_minimum_required(VERSION 3.16...3.27)
project(${common_prefix}common)
#----------------------------------------------------------------------------
+12
View File
@@ -5,6 +5,18 @@ which **must** added in reverse chronological order (newest at the top). It must
be used as a substitute for writing good git commit messages!
## 2023-11-15 I. Hrivnacova (excommon-V11-01-02)
- Updated vis.mac macros:
- Changed "/vis/open XYZ [600x600-0+0]" to "/vis/open" to allow run-time choices
and simplified comments.
## 2023-11-14 I. Hrivnacova (excommon-V11-01-01)
- Fixes for Doxygen:
Move class description comments after namespace
## 2023-11-09 I. Hrivnacova (excommon-V11-01-00)
- Coding guidelines - document macros in README files
## 2022-11-09 I. Hrivnacova (excommon-V11-00-02)
- Fixed file descriptions in the top directory
+2 -2
View File
@@ -26,9 +26,9 @@
These classes can be tested with the following programs:
- testCommon.cc - only instantiates all classes
- exampleCommonNoVis.cc - Geant4 application without visualization, that can be run
both interactively or in batch (with the run.mac macro)
both interactively or in batch (with the init.mac or run.mac macro)
- exampleCommonNoVis.cc - Geant4 application with visualization, that can be run
both interactively or in batch (with the run.mac macro)
both interactively or in batch (with the init_vis.mac or run.mac macro)
Building examples programs can be disabled with the CMake option: -DEXAMPLES_COMMON=OFF.
+6 -2
View File
@@ -10,7 +10,7 @@
**************************************************************
Geant4 version Name: geant4-11-01-ref-06 (30-June-2023)
Geant4 version Name: geant4-11-02-ref-00 (8-December-2023)
Copyright : Geant4 Collaboration
References : NIM A 506 (2003), 250-303
: IEEE-TNS 53 (2006), 270-278
@@ -45,6 +45,10 @@ Registered graphics systems are:
TOOLSSG_XT_ZB (TSG_XT_ZB, TSGXtZB)
TOOLSSG_QT_GLES (TSG_QT_GLES, TSGQt, TSG)
TOOLSSG_QT_ZB (TSG_QT_ZB, TSGQtZB)
Default graphics system is: TSG_OFFSCREEN (based on batch session).
Default window size hint is: 600x600-0+0 (based on G4VisManager initialisation).
Note: Parameters specified on the command line will override these defaults.
Use "vis/open" without parameters to get these defaults.
Registering model factories...
@@ -116,7 +120,7 @@ See commands in /vis/modeling/trajectories/ for other options.
Run terminated.
Run Summary
Number of events processed : 10
User=0.000000s Real=0.000272s Sys=0.000000s
User=0.000000s Real=0.000282s Sys=0.000000s
Graphics systems deleted.
Visualization Manager deleting...
G4 kernel has come to Quit state.
@@ -38,11 +38,11 @@ class G4LogicalVolume;
class G4Material;
class G4GenericMessenger;
/// Simple detector construction with a box volume placed in a world
namespace Common
{
/// Simple detector construction with a box volume placed in a world
class DetectorConstruction : public G4VUserDetectorConstruction
{
public:
@@ -38,11 +38,11 @@ class G4LogicalVolume;
class G4Material;
class G4GenericMessenger;
/// Simple detector construction with only a world volume
namespace Common
{
/// Simple detector construction with only a world volume
class DetectorConstruction0 : public G4VUserDetectorConstruction
{
public:
@@ -32,11 +32,11 @@
#include "G4VUserPhysicsList.hh"
/// Physics list with geantino and charged geantino only
namespace Common
{
/// Physics list with geantino and charged geantino only
class GeantinoPhysicsList: public G4VUserPhysicsList
{
public:
@@ -37,14 +37,13 @@
class G4GeneralParticleSource;
class G4Event;
/// \ingroup primary_generator
namespace Common
{
/// \brief The primary generator class with general particle source
///
/// \author I. Hrivnacova; IPN Orsay
namespace Common
{
class GpsPrimaryGeneratorAction: public G4VUserPrimaryGeneratorAction
{
public:
@@ -39,14 +39,13 @@
class G4ParticleGun;
class G4Event;
/// \ingroup primary_generator
namespace Common
{
/// \brief The primary generator class with particle gun
///
/// \author I. Hrivnacova; IPN Orsay
namespace Common
{
class GunPrimaryGeneratorAction : public G4VUserPrimaryGeneratorAction
{
public:
+4 -19
View File
@@ -2,25 +2,10 @@
# of the B1 example when running in interactive mode
#
# Use these open statements to open selected visualization
#
# Use this open statement to create an OpenGL view:
/vis/open OGL 600x600-0+0
#
# Use this open statement to create an OpenInventor view:
#/vis/open OI
#
# Use this open statement to create a .prim file suitable for
# viewing in DAWN:
#/vis/open DAWNFILE
#
# Use this open statement to create a .heprep file suitable for
# viewing in HepRApp:
#/vis/open HepRepFile
#
# Use this open statement to create a .wrl file suitable for
# viewing in a VRML viewer:
#/vis/open VRML2FILE
# Open a viewer
/vis/open
# This opens the default viewer - see examples/basic/B1/vis.mac for a
# more comprehensive overview of options. Also the documentation.
#
# Use this open statement to create an offscreen file with TSG:
#/vis/open TSG_OFFSCREEN 1200x1200