Skip to content

Commit 80e2389

Browse files
gcosmodrbenmorgan
authored andcommitted
Import Geant4 11.0.0 source tree
1 parent 6399a01 commit 80e2389

File tree

4,164 files changed

+207035
-250737
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

4,164 files changed

+207035
-250737
lines changed

CMakeLists.txt

+4-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ endif()
1616
#-----------------------------------------------------------------------
1717
# - Define CMake requirements and override make rules as needed
1818
#
19-
cmake_minimum_required(VERSION 3.12...3.20 FATAL_ERROR)
19+
cmake_minimum_required(VERSION 3.16...3.21)
2020

2121
# - Make overrides for default flags, so they appear in interfaces
2222
set(CMAKE_USER_MAKE_RULES_OVERRIDE_CXX
@@ -27,7 +27,9 @@ set(CMAKE_USER_MAKE_RULES_OVERRIDE_CXX
2727
# Version handled manually as project(... VERSION ...) is not used
2828
# in tests/examples which are subprojects. All calls must use
2929
# the same form.
30-
project(Geant4)
30+
project(Geant4
31+
DESCRIPTION "C++ toolkit for simulating the passage of particles through matter"
32+
HOMEPAGE_URL "https://geant4.cern.ch")
3133
set(${PROJECT_NAME}_VERSION_MAJOR 11)
3234
set(${PROJECT_NAME}_VERSION_MINOR 0)
3335
set(${PROJECT_NAME}_VERSION_PATCH 0)

CONTRIBUTING.rst

+8-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Contributing to Geant4
22
=====
3-
To contribute patches to Geant4, users can submit Pull Requests (PR) such that:
3+
To contribute patches to Geant4, users can submit normal GitHub Pull Requests (PR) such that:
44

55
- A single PR refers to a single particular topic (fix or suggested enhancement);
66
PRs including uncorrelated changes in codes in different areas or modules will
@@ -10,10 +10,12 @@ A PR will be examined by a responsible and eventually extracted for a patch in
1010
the development repository of Geant4, to be included in a future release or
1111
patch.
1212

13-
For simple bug-fixes, it is anyhow recommended to use the official
14-
Bugzilla problem reporting system.
13+
For simple bug-fixes, it is still recommended to use the official Bugzilla problem reporting system
14+
to report the issue, linking back to the Pull Request if created:
15+
1516
- Problem reports: `Bugzilla problem reporting system <https://bugzilla-geant4.kek.jp>`_.
16-
- User Forum: `Geant4 Forum <https://geant4-forum.web.cern.ch>`_.
17-
- Documentation: `User Documentation <https://cern.ch/geant4/support/user_documentation>`_.
1817

19-
The Geant4 Collaboration
18+
Questions on Geant4 itself or feature requests should be made through our `User Forum <https://geant4-forum.web.cern.ch>`_,
19+
and `full documentation on use of the toolkit is online <https://cern.ch/geant4/support/user_documentation>`_.
20+
21+
The Geant4 Collaboration

README.rst

+37-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,41 @@
11
=====
2-
Geant4: A Simulation Toolkit
2+
Geant4: A Simulation Toolkit
33
=====
44

5-
- Problem reports: `Bugzilla problem reporting system <https://bugzilla-geant4.kek.jp>`_.
6-
- User Forum: `Geant4 Forum <https://geant4-forum.web.cern.ch>`_.
7-
- Documentation: `User Documentation <https://cern.ch/geant4/support/user_documentation>`_.
5+
Geant4 is a toolkit for the simulation of the passage of particles through matter.
6+
Its areas of application include high energy, nuclear and accelerator physics, as well
7+
as studies in medical and space science.
8+
9+
For more information about how to use Geant4 and its application domains, please visit
10+
`the Geant4 website <https://cern.ch/geant4>`_
11+
12+
There are three main reference papers for Geant4:
13+
14+
- `Nuclear Instruments and Methods in Physics Research A 835 (2016) 186-225 <http://www.sciencedirect.com/science/article/pii/S0168900216306957>`_
15+
- `IEEE Transactions on Nuclear Science 53 No. 1 (2006) 270-278 <https://ieeexplore.ieee.org/xpls/abs_all.jsp?isnumber=33833&amp;arnumber=1610988&amp;count=33&amp;index=7>`_
16+
- `Nuclear Instruments and Methods in Physics Research A 506 (2003) 250-303 <http://www.sciencedirect.com/science/article/pii/S0168900203013688>`_
17+
18+
=====
19+
Installation
20+
=====
21+
For detailed instructions on building and installing Geant4, including all
22+
supported platforms and configuration options, please refer to
23+
the `Installation Guide <http://cern.ch/geant4-userdoc/UsersGuides/InstallationGuide/html>`_.
24+
25+
=====
26+
Questions, Bugs, and Requirements
27+
=====
28+
Full documentation on Geant4, including installation, use of the toolkit in applications,
29+
physics lists, and physics model implementations, can be found on the `User Documentation Site <http://cern.ch/geant4/support/user_documentation>`_.
30+
31+
If you have a question about, or issue using, Geant4, please post on our `User Forum <http://cern.ch/geant4-forum>`_
32+
in the Category and Section relevent to your problem. The forum is `fully searchable <http://cern.ch/geant4-forum/search>`_
33+
so it's possible your question may already have been answered.
34+
35+
If you think you have found a bug in Geant4, please open a ticket on our `Bugzilla Tracker <http://bugzilla-geant4.kek.jp>`_.
36+
37+
=====
38+
Contributing to Geant4
39+
=====
40+
Please see the main `Contribution Guide <./CONTRIBUTING.rst>`_.
841

ReleaseNotes/Beta4.11.0-1.txt

+3-5
Original file line numberDiff line numberDiff line change
@@ -707,8 +707,6 @@ List of features and fixes included in this Beta release since 10.7.p02:
707707
o Added G4HadronInelasticProcess class from hadronic/management module.
708708
o Renamed G4HadronCaptureProcess as G4NeutronCaptureProcess, as it is
709709
applied only for neutron projectile.
710-
o Renamed G4HadronFissionProcess as G4NeutronFissionProcess, as it is
711-
applied only for neutron projectile.
712710
o Removed use of deleted header file G4HadronicDeprecate.
713711
o G4HadronCaptureProcess: removed old and unused header file
714712
corresponding to the Gheisha capture cross-section (that has been
@@ -980,14 +978,14 @@ List of features and fixes included in this Beta release since 10.7.p02:
980978
o Removed obsolete class CMSEmStandardPhysicsHcal.
981979
o FTFPCMS_BERT_EMM: use correct combination of physics constructors.
982980
o Removed use of obsolete RanecuEngine. Updated CMS EM physics.
981+
+ advanced/ICRP110_HumanPhantoms
982+
o Introduced ICRP110PhantomVisAction. Updated vis.mac which shows
983+
how to activate it.
983984
+ advanced/iort_therapy
984985
o Removed dependency on G4EmProcessOptions.
985986
o Removed SetCuts() from the local PhysicsList.
986987
o Set cuts per region in ConstructProcess(). RegionStore is not available
987988
when accessed from the constructor of the Physics List.
988-
+ advanced/ICRP110_HumanPhantoms
989-
o Introduced ICRP110PhantomVisAction. Updated vis.mac which shows
990-
how to activate it.
991989
+ advanced/microbeam
992990
o Added initialisation of 'fDose3DDose' and 'fMapVoxels' in the
993991
constructor of the RunAction class.

ReleaseNotes/Patch4.10.7-3.txt

+158
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,158 @@
1+
2+
Geant4 10.7 - patch-03 Release Notes
3+
------------------------------------
4+
5+
19 November 2021
6+
7+
List of fixes included in this public patch since the public release 10.7.p02:
8+
9+
o Configuration
10+
-------------
11+
+ CMake:
12+
o Renamed Geant4::HDF5 to hdf5::hdf5 to be compatible with imported
13+
targets provided since CMake 3.20. Addressing problem report #2426.
14+
15+
o Environments:
16+
------------
17+
+ G4py
18+
o Removed binding to obsolete member functions of G4Sphere and G4Tubs.
19+
20+
o Geometry:
21+
--------
22+
+ divisions:
23+
o Make G4PVDivision and G4ReplicatedSlice inherit from G4PVReplica
24+
rather than G4VPhysicalVolume, in order to have instances properly
25+
cloned in MT mode.
26+
o Fixed bug in G4ParameterisationTrd for positioning calculation.
27+
Debug messages cleanup.
28+
+ management:
29+
o Provide operator<<() as a free function for G4UAdapter to support
30+
Geant4Py.
31+
+ navigation:
32+
o G4PhantomParameterisation: reduced warning messages in GetReplicaNo()
33+
function; issue warning only when difference is bigger than
34+
'kCarTolerance'. Addressing problem report #2314.
35+
+ solids/Boolean:
36+
o In G4BooleanSolid, use G4RecursiveMutex in place of G4Mutex in
37+
GetPolyhedron() to avoid potential deadlocks in visualisation
38+
in recursive Boolean operations.
39+
+ solids/specific:
40+
o More accurate calculation of distance from point to triangle
41+
in G4TriangularFacet. Addressing problem report #2401.
42+
o Added missing accessor in G4UTet.
43+
+ volumes:
44+
o Use same strategy for cloning solids for replicated volumes types in
45+
G4GeometryWorkspace (required for having proper treatment of divided
46+
volumes). Cleanup of unused verbose printouts.
47+
o G4PVReplica: moved internal defines for MT split data to source.
48+
Avoid deletion of rotation matrix for replication in Phi in destructor
49+
as not necessary. Some code cleanup.
50+
51+
o Global:
52+
------
53+
+ Updated date and version for 10.7.p03.
54+
55+
o Materials:
56+
---------
57+
+ Corrected calculations in G4DensityEffectCalculator.
58+
Addressing problem report #2330.
59+
+ G4IonisParamMat: return exact computations according to the original
60+
publication. Addressing problem report #2334.
61+
62+
o Parameterisations/gflash
63+
------------------------
64+
+ Fixes in GFlashSamplingShowerParameterisation in the parameters
65+
definition.
66+
67+
o Persistency:
68+
-----------
69+
+ ASCII:
70+
o Change prefix to free math functions in G4tgrEvaluator source, to avoid
71+
potential clashes with system functions carrying same name/signature.
72+
Addressing problem report #2444.
73+
+ GDML
74+
o G4GDMLWriteStructure: added fatal exception in AssemblyWrite() for the
75+
case of nested assemblies, not yet supported for exporting.
76+
o G4GDMLParser: added utility method to retrieve a generic physical
77+
volume by its name.
78+
79+
o Physics Lists:
80+
-------------
81+
+ constructors/gamma_lepto_nuclear
82+
o G4EmExtraPhysics: enable synchrotron radiation only for really stable
83+
particles. Fixed typo in registering positron-nuclear process; register
84+
model for e-/e+-nuclear in case of general processes, avoid registering
85+
synchroton radiation twice for e-/e+.
86+
87+
o Processes - Electromagnetic:
88+
---------------------------
89+
+ standard
90+
o G4BetheBlochModel: fixed computation of dedx for alpha if ICRU90 data
91+
are used. Addressing problem report #2414.
92+
+ utils
93+
o Fix in G4OpticalParametersMessenger for UI command changing incorrect
94+
parameter. Addressing problem report #2392.
95+
+ xrays
96+
o G4Cerenkov: added protection against too small steps (still addressing
97+
problem report #1992).
98+
o G4GaussXTRadiator, G4VXTRenergyLoss: added Gauss-distributed regular
99+
radiator and accessors for angle distribution range.
100+
101+
o Processes - Hadronic:
102+
--------------------
103+
+ cross_sections
104+
o G4NeutronCaptureXS: fixed bug in isotope data access.
105+
+ models/de_excitation
106+
o In G4PhotonEvaporation, changed de-excitation logic from levels, which
107+
has no data on transitions: instead of transition to closest level
108+
continue transition is performed.
109+
Attempting fix for problem report #2434, by reducing production of
110+
fragments with high excitation and high angular momentum.
111+
+ models/particle_hp
112+
o Bug fix in G4ParticleHPLabAngularEnergy.
113+
+ models/util
114+
o G4SampleResonance: bug-fix in the method GetMinimumMass() in the use
115+
case rare and light decay channels (e.g. e+ e-) are included for
116+
hadronic resonances. Addressing problem report #2299.
117+
118+
o Run
119+
---
120+
+ G4VModularPhysicsList: fixed destruction of the vector of
121+
G4VPhysicsConstructor for the case when physics list is created
122+
but physics is not built.
123+
124+
o Tracking
125+
--------
126+
+ G4SteppingManager: Making sure Transportation limits the step if a volume
127+
boundary in a parallel world is co-limiting the step.
128+
Addressing problem report #2240.
129+
130+
o Examples:
131+
--------
132+
+ advanced/ICRP110_HumanPhantoms:
133+
o Updated URL for data download.
134+
+ advanced/STCyclotron:
135+
o Added protection against potential division by zero in function
136+
STCyclotronRun::EndOfRun().
137+
+ extended/hadronic:
138+
o Hadr01: in HistoManager, DetectorConstruction and DetectorMessenger
139+
corrected counting of leaking neutrons.
140+
Addressing problem report #2441.
141+
+ extended/persistency:
142+
o G01: Fixed minor overlaps in assembly.gdml and axes.gdml samples.
143+
o G02, G03: Fixed visualisation settings in input macros.
144+
145+
----------------------------------------------------------------------------
146+
147+
Technical Notes
148+
---------------
149+
150+
o This patch should be applied on top of release 10.7 or 10.7.p01/p02.
151+
o Technical notes distributed for release 10.7 are also applicable and
152+
valid for this patch.
153+
154+
The code and rebuilt binary libraries for release 10.7.p03 are available
155+
through the Geant4 "Download" Web page.
156+
157+
Please refer to the Geant4 User Documentation for further information about
158+
using Geant4.

0 commit comments

Comments
 (0)