Import Geant4 11.4.0 source tree

This commit is contained in:
Gabriele Cosmo
2025-12-05 08:54:02 +01:00
parent a499fb82e9
commit b4a16de652
6484 changed files with 232674 additions and 221097 deletions
@@ -1,33 +0,0 @@
This is an example illustrating the use of the error propagation utility.
A G4ErrorFreeTrajState is created to simulate a muon track of 20 GeV along the X axis. Then the track is propagated until the target is reached.
The geometry is a simplified typical HEP detector:
An air beamline ( BEAM )
An air central detector ( CDET )
A copper calorimeter, divided in four ( ECAL )
An aluminium calorimeter, divided in ten ( HCAL )
An air muon detector ( MUON )
It is inmersed in a magnetic field along the Z axis with default value -1 kilogauss. This value can be changed with the command "/exerror/setField.
The type of target can be chosen with the enviromental variable G4ERROR_TARGET:
PLANE_SURFACE : use a G4ErrorPlaneSurfaceTarget perpendicular to X at (2241. mm, 0, 0)
CYL_SURFACE : use a G4ErrorCylSurfaceTarget parallel to Z of radius 2220 mm
VOLUME : use a G4ErrorGeomVolumeTarget with volume name "MUON"
TRKLEN : use a G4ErrorTrackLengthTarget with track length 2230 mm
The user may also choose if the propagation is done forwards (the natural way, loosing energy) or backwards (in opposite direction, gaining energy), with the enviromental variable G4ERROR_MODE:
FORWARDS : propagate in the forward direction
BACKWARDS : propagate in the backward direction
There are also two modes of propagation, that can be chosen with the enviromental variable G4ERROR_PROP
UNTIL_TARGET : propagate until target, all steps in one go
STEP_BY_STEP propagate until target, returning control to the user at each step
@@ -1,10 +1,6 @@
\page ExampleerrProp Example errProp
///\file "errorpropagation/errProp/.README.txt"
///\brief Example errProp README page
/*! \page ExampleerrProp Example errProp
This is an example illustrating the use of the error propagation utility.
This is an example illustrating the use of the error propagation utility.
A G4ErrorFreeTrajState is created to simulate a muon track of 20 GeV along the X axis. Then the track is propagated until the target is reached.
@@ -15,7 +11,7 @@ The geometry is a simplified typical HEP detector:
- An aluminium calorimeter, divided in ten ( HCAL )
- An air muon detector ( MUON )
It is inmersed in a magnetic field along the Z axis with default value -1 kilogauss. This value can be changed with the command "/exerror/setField.
It is inmersed in a magnetic field along the Z axis with default value -1 kilogauss. This value can be changed with the command `/exerror/setField`.
The type of target can be chosen with the enviromental variable G4ERROR_TARGET:
@@ -23,7 +19,7 @@ The type of target can be chosen with the enviromental variable G4ERROR_TARGET:
- CYL_SURFACE : use a G4ErrorCylSurfaceTarget parallel to Z of radius 2220 mm
- VOLUME : use a G4ErrorGeomVolumeTarget with volume name "MUON"
- TRKLEN : use a G4ErrorTrackLengthTarget with track length 2230 mm
The user may also choose if the propagation is done forwards (the natural way, loosing energy) or backwards (in opposite direction, gaining energy), with the enviromental variable G4ERROR_MODE:
- FORWARDS : propagate in the forward direction
@@ -33,5 +29,3 @@ The user may also choose if the propagation is done forwards (the natural way, l
There are also two modes of propagation, that can be chosen with the enviromental variable G4ERROR_PROP
- UNTIL_TARGET : propagate until target, all steps in one go
- STEP_BY_STEP propagate until target, returning control to the user at each step
*/
@@ -23,10 +23,9 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
//
/// \file errProp/errProp.cc
/// \brief Main program of the errorpropagation example
//
/// \file errProp.cc
/// \brief Main program of the errorpropagation/errProp example
// ------------------------------------------------------------
// GEANT 4 example main
// ------------------------------------------------------------
@@ -10,7 +10,7 @@
**************************************************************
Geant4 version Name: geant4-11-03-ref-06 (30-June-2025)
Geant4 version Name: geant4-11-04-ref-00 (5-December-2025)
Copyright : Geant4 Collaboration
References : NIM A 506 (2003), 250-303
: IEEE-TNS 53 (2006), 270-278
@@ -18,7 +18,7 @@
WWW : http://geant4.org/
**************************************************************
creating G4RunManagerKernel 0x1670ff0
creating G4RunManagerKernel 0x1c43c40
G4ChordFinder: stepperDriverId: 2
The materials defined are :
@@ -94,15 +94,15 @@ G4Transportation: Current values for thresholds related to the killing of loop
Important Energy = 250 ( above this tracks are given multiple chances )
Extra Trials = 10 'important' tracks, i.e. those above 'important' energy
G4Transportation constructor> set fShortStepOptimisation to false
0x1929680G4ErrorPhysicsList:: particle process manager e+ = 0x192dfd0
0x19294e0G4ErrorPhysicsList:: particle process manager e- = 0x192eab0
0x1929340G4ErrorPhysicsList:: particle process manager gamma = 0x192ec60
0x192aa00G4ErrorPhysicsList:: particle process manager geantino = 0x192daf0
0x1929860G4ErrorPhysicsList:: particle process manager mu+ = 0x1931ff0
0x1929bb0G4ErrorPhysicsList:: particle process manager mu- = 0x19321c0
0x1929f90G4ErrorPhysicsList:: particle process manager pi+ = 0x1932410
0x192a3b0G4ErrorPhysicsList:: particle process manager pi- = 0x1932660
0x192a7d0G4ErrorPhysicsList:: particle process manager proton = 0x19328b0
0x1efd6d0G4ErrorPhysicsList:: particle process manager e+ = 0x1f02020
0x1efd530G4ErrorPhysicsList:: particle process manager e- = 0x1f02b00
0x1efd390G4ErrorPhysicsList:: particle process manager gamma = 0x1f02d10
0x1efea50G4ErrorPhysicsList:: particle process manager geantino = 0x1f06140
0x1efd8b0G4ErrorPhysicsList:: particle process manager mu+ = 0x1f06390
0x1efdc00G4ErrorPhysicsList:: particle process manager mu- = 0x1f065e0
0x1efdfe0G4ErrorPhysicsList:: particle process manager pi+ = 0x1f06830
0x1efe400G4ErrorPhysicsList:: particle process manager pi- = 0x1f06a80
0x1efe820G4ErrorPhysicsList:: particle process manager proton = 0x1f06cd0
physicsList->CheckParticleList() start.
physicsList->setCut() start.
G4ChordFinder: stepperDriverId: 2
@@ -147,7 +147,7 @@ Lowest muon/hadron kinetic energy 1 keV
Use ICRU90 data 0
Fluctuations of dE/dx are enabled 1
Type of fluctuation model for leptons and hadrons Universal
Use built-in Birks satuaration 0
Use built-in Birks saturation 0
Build CSDA range enabled 0
Use cut as a final range enabled 0
Enable angular generator interface 0
@@ -243,7 +243,7 @@ Index : 3 used in the geometry : Yes
Start closing geometry.
--------------------------------------------------------------------------------
G4GeometryManager::ReportVoxelStats -- Voxel Statistics
G4VoxelisationHelper::ReportVoxelStats -- Voxel Statistics
Total memory consumed for geometry optimisation: 1 kByte
Total CPU time elapsed for geometry optimisation: 0 seconds
@@ -23,10 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
//
/// \file errProp/include/ExErrorDetectorConstruction.hh
/// \file ExErrorDetectorConstruction.hh
/// \brief Definition of the ExErrorDetectorConstruction class
//
#ifndef ExErrorDetectorConstruction_hh
#define ExErrorDetectorConstruction_hh 1
@@ -23,10 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
//
/// \file errProp/include/ExErrorDetectorMessenger.hh
/// \file ExErrorDetectorMessenger.hh
/// \brief Definition of the ExErrorDetectorMessenger class
//
#ifndef ExErrorDetectorMessenger_hh
#define ExErrorDetectorMessenger_hh 1
@@ -23,10 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
//
/// \file errProp/include/ExErrorMagneticField.hh
/// \file ExErrorMagneticField.hh
/// \brief Definition of the ExErrorMagneticField class
//
#ifndef ExErrorMagneticField_H
#define ExErrorMagneticField_H
@@ -23,10 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
//
/// \file errProp/src/ExErrorDetectorConstruction.cc
/// \file ExErrorDetectorConstruction.cc
/// \brief Implementation of the ExErrorDetectorConstruction class
//
#include "ExErrorDetectorConstruction.hh"
@@ -23,10 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
//
/// \file errProp/src/ExErrorDetectorMessenger.cc
/// \file ExErrorDetectorMessenger.cc
/// \brief Implementation of the ExErrorDetectorMessenger class
//
#include "ExErrorDetectorMessenger.hh"
@@ -23,10 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
//
/// \file errProp/src/ExErrorMagneticField.cc
/// \file ExErrorMagneticField.cc
/// \brief Implementation of the ExErrorMagneticField class
//
#include "ExErrorMagneticField.hh"