Skip to content

Commit 216a75e

Browse files
committed
Import Geant4 8.1.0 source tree
1 parent 8a51e0b commit 216a75e

File tree

8,827 files changed

+367116
-148041
lines changed

Some content is hidden

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

8,827 files changed

+367116
-148041
lines changed

Configure

+1,287-199
Large diffs are not rendered by default.

LICENSE

+69-30
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,73 @@
11
Geant4 Software License
2-
Version 1.0, 28 June 2006
3-
2+
Version 1.0, 28 June 2006
3+
44
Copyright (c) Copyright Holders of the Geant4 Collaboration, 1994-2006.
5-
See http://cern.ch/geant4/license for details on the copyright holders. All rights not expressly granted under this license are reserved.
6-
7-
This software includes voluntary contributions made to Geant4. See http://cern.ch/geant4 for more information on Geant4.
8-
9-
Installation, use, reproduction, display, modification and redistribution of this software, with or without modification, in source and binary forms, are permitted on a non- exclusive basis. Any exercise of rights by you under this license is subject to the following conditions:
10-
11-
1. Redistributions of this software, in whole or in part, with or without modification, must reproduce the above copyright notice and these license conditions in this software, the user documentation and any other materials provided with the redistributed software.
12-
13-
2. The user documentation, if any, included with a redistribution, must include the following notice:
14-
"This product includes software developed by Members of the Geant4 Collaboration ( http://cern.ch/geant4 )."
15-
16-
If that is where third-party acknowledgments normally appear, this acknowledgment must be reproduced in the modified version of this software itself.
17-
18-
3. The names "Geant4" and "The Geant4 toolkit" may not be used to endorse or promote software, or products derived therefrom, except with prior written permission by license@geant4.org. If this software is redistributed in modified form, the name and reference of the modified version must be clearly distinguishable from that of this software.
19-
20-
4. You are under no obligation to provide anyone with any modifications of this software that you may develop, including but not limited to bug fixes, patches, upgrades or other enhancements or derivatives of the features, functionality or performance of this software. However, if you publish or distribute your modifications without contemporaneously requiring users to enter into a separate written license agreement, then you are deemed to have granted all Members and all Copyright Holders of the Geant4 Collaboration a license to your modifications, including modifications protected by any patent owned by you, under the conditions of this license.
21-
22-
5. You may not include this software in whole or in part in any patent or patent application in respect of any modification of this software developed by you.
23-
24-
25-
5+
See http://cern.ch/geant4/license for details on the copyright holders. All
6+
rights not expressly granted under this license are reserved.
7+
8+
This software includes voluntary contributions made to Geant4.
9+
See http://cern.ch/geant4 for more information on Geant4.
10+
11+
Installation, use, reproduction, display, modification and redistribution of
12+
this software, with or without modification, in source and binary forms, are
13+
permitted on a non-exclusive basis. Any exercise of rights by you under this
14+
license is subject to the following conditions:
15+
16+
1. Redistributions of this software, in whole or in part, with or without
17+
modification, must reproduce the above copyright notice and these license
18+
conditions in this software, the user documentation and any other
19+
materials provided with the redistributed software.
20+
21+
2. The user documentation,if any,included with a redistribution,must include
22+
the following notice:"This product includes software developed by Members
23+
of the Geant4 Collaboration ( http://cern.ch/geant4 )."
24+
If that is where third-party acknowledgments normally appear, this
25+
acknowledgment must be reproduced in the modified version of this
26+
software itself.
27+
28+
3. The names "Geant4" and "The Geant4 toolkit" may not be used to endorse or
29+
promote software,or products derived therefrom, except with prior written
30+
permission by license@geant4.org. If this software is redistributed in
31+
modified form, the name and reference of the modified version must be
32+
clearly distinguishable from that of this software.
33+
34+
4. You are under no obligation to provide anyone with any modifications of
35+
this software that you may develop,including but not limited to bug fixes,
36+
patches, upgrades or other enhancements or derivatives of the features,
37+
functionality or performance of this software. However, if you publish or
38+
distribute your modifications without contemporaneously requiring users
39+
to enter into a separate written license agreement, then you are deemed
40+
to have granted all Members and all Copyright Holders of the Geant4
41+
Collaboration a license to your modifications, including modifications
42+
protected by any patent owned by you,under the conditions of this license.
43+
44+
5. You may not include this software in whole or in part in any patent or
45+
patent application in respect of any modification of this software
46+
developed by you.
47+
48+
2649
6. DISCLAIMER
27-
28-
THIS SOFTWARE IS PROVIDED BY THE MEMBERS AND COPYRIGHT HOLDERS OF THE GEANT4 COLLABORATION AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY, OF SATISFACTORY QUALITY, AND FITNESS FOR A PARTICULAR PURPOSE OR USE ARE DISCLAIMED. THE MEMBERS OF THE GEANT4 COLLABORATION AND CONTRIBUTORS MAKE NO REPRESENTATION THAT THE SOFTWARE AND MODIFICATIONS THEREOF, WILL NOT INFRINGE ANY PATENT, COPYRIGHT, TRADE SECRET OR OTHER PROPRIETARY RIGHT.
29-
50+
51+
THIS SOFTWARE IS PROVIDED BY THE MEMBERS AND COPYRIGHT HOLDERS OF THE GEANT4
52+
COLLABORATION AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
53+
INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY, OF
54+
SATISFACTORY QUALITY, AND FITNESS FOR A PARTICULAR PURPOSE OR USE ARE
55+
DISCLAIMED. THE MEMBERS OF THE GEANT4 COLLABORATION AND CONTRIBUTORS MAKE NO
56+
REPRESENTATION THAT THE SOFTWARE AND MODIFICATIONS THEREOF,WILL NOT INFRINGE
57+
ANY PATENT, COPYRIGHT, TRADE SECRET OR OTHER PROPRIETARY RIGHT.
58+
3059
7. LIMITATION OF LIABILITY
31-
32-
THE MEMBERS AND COPYRIGHT HOLDERS OF THE GEANT4 COLLABORATION AND CONTRIBUTORS SHALL HAVE NO LIABILITY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, CONSEQUENTIAL, EXEMPLARY, OR PUNITIVE DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT LIMITATION, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES, LOSS OF USE, DATA OR PROFITS, OR BUSINESS INTERRUPTION, HOWEVER CAUSED AND ON ANY THEORY OF CONTRACT, WARRANTY, TORT (INCLUDING NEGLIGENCE), PRODUCT LIABILITY OR OTHERWISE, ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
33-
34-
8. This license shall terminate with immediate effect and without notice if you fail to comply with any of the terms of this license, or if you institute litigation against any Member or Copyright Holder of the Geant4 Collaboration with regard to this software.
60+
61+
THE MEMBERS AND COPYRIGHT HOLDERS OF THE GEANT4 COLLABORATION AND
62+
CONTRIBUTORS SHALL HAVE NO LIABILITY FOR DIRECT,INDIRECT,SPECIAL, INCIDENTAL,
63+
CONSEQUENTIAL, EXEMPLARY, OR PUNITIVE DAMAGES OF ANY CHARACTER INCLUDING,
64+
WITHOUT LIMITATION, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES, LOSS OF USE,
65+
DATA OR PROFITS, OR BUSINESS INTERRUPTION, HOWEVER CAUSED AND ON ANY THEORY
66+
OF CONTRACT, WARRANTY, TORT (INCLUDING NEGLIGENCE), PRODUCT LIABILITY OR
67+
OTHERWISE, ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
68+
ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
69+
70+
8. This license shall terminate with immediate effect and without notice if
71+
you fail to comply with any of the terms of this license, or if you
72+
institute litigation against any Member or Copyright Holder of the Geant4
73+
Collaboration with regard to this software.

ReleaseNotes/Patch4.8.0-1.txt

+152
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,152 @@
1+
2+
Geant4 8.0 - patch-01 Release Notes
3+
-----------------------------------
4+
5+
10 February 2006
6+
7+
List of fixes included in this public patch since the public release 8.0:
8+
9+
o Digits & Hits:
10+
-------------
11+
+ Added missing methods in G4VDigiCollection and G4TDigiCollection.
12+
Addresses problem report #786.
13+
14+
o Geometry:
15+
--------
16+
+ divisions
17+
o Added missing setting of mother-logical pointer in constructors of
18+
G4PVDivision. Fixes problem report #829.
19+
o Added missing checks for illegal constructs of G4PVDivision (NULL
20+
pointer to mother logical and self-placement).
21+
o Fixed check for generic construct in G4ParameterisationPolycone and
22+
G4ParameterisationPolyhedra: allow it for the automatic replicated
23+
instance.
24+
o Cache information about axis of division and provided accessor method
25+
GetDivisionAxis() in G4PVDivision.
26+
+ navigation
27+
o Addressing problem with convergence in LocateIntersectionPoint()
28+
of G4PropagatorInField. The problem, identified by Atlas, was
29+
observed when requesting high precision, i.e. small values of
30+
eps_min/max, delta_one_step, due to need for small delta_intersection.
31+
Increased maximum iterations (from 100 to 10000) until correct
32+
information can be return an Exception is thrown in case of too many
33+
iterations; a warning is thrown in case over 1000 iterations.
34+
+ solids/BREPS
35+
o Use explicit 'HepGeom' namespace for 'Identity', to allow for
36+
porting on Windows/VC++ when using CLHEP-2.0.X.
37+
+ solids/CSG
38+
o G4Sphere: fixed bug in DistanceToOut() for theta intersections.
39+
Fixes problem report #830.
40+
+ solids/specific
41+
o Fixed visibility of soft edges for visualization of twisted solids.
42+
o G4TwistedTubs and G4VTwistedFaceted::CreatePolyhedron(): changed
43+
parameterised polyhedron mesh approximation in terms of
44+
G4Polyhedron::GetNumberOfRotationSteps().
45+
o Fixes in G4EllipticalCone:
46+
- Changed GetPointOnSurface(), which was not uniform in endcaps.
47+
- Bug fix in Inside(), which was not correct for the elliptic mantel.
48+
Made test similar as in G4EllipticTube.
49+
- Several fixes in DistanceToIn/Out() resolving problems of looping
50+
events.
51+
+ volumes
52+
o G4AssemblyVolume: fixed initialisation of names for placed volumes
53+
which was corrupted after migration to <sstream> as side effect.
54+
55+
o Particles:
56+
---------
57+
+ Bug fix for G4ParticleDefinition, was causing improper behavior of
58+
GetAtomicNumber() method for ions. Fixes problem report #827.
59+
60+
o Electromagnetic processes:
61+
-------------------------
62+
+ standard:
63+
o Fix in G4PolarizedComptonScattering, returning PostStepDoIt()
64+
for G4ComptonScattering52. Fixes problem report #478.
65+
66+
o Hadronic Processes:
67+
------------------
68+
+ management:
69+
o G4HadronicProcess: fixed problem report #611. Problems caused when
70+
hadronic interactions reset stopButAlive particle to Alive.
71+
o Added diagnostics when hadronic exceptions occur in G4HadronicProcess
72+
and G4EnergyRangeManager.
73+
+ models/binary_cascade:
74+
o Fixed problem report #794. Projectile nucleus needs to be centered.
75+
+ models/chiral_inv_phase_space/body:
76+
o Fixed trivial compilation warning.
77+
+ models/de_excitation:
78+
o G4NuclearLevelManager: print a warning if no data file is present.
79+
Addressed problem report #814.
80+
o G4ParaFissionModel: fix for compilation error, following problem
81+
report #817.
82+
+ models/neutron_hp:
83+
o Fixes core dump observed when neutron energy is close to 20 MeV.
84+
+ models/radioactive_decay
85+
o G4NuclearDecayChannel::BetaDecayIt(): check for negative sqrt()
86+
argument in 'daughtermomentum[1]'. Fixes problem report #822.
87+
+ stopping:
88+
o Set process type to be 'fHadronic'. Was not set previously.
89+
+ util:
90+
o G4ReactionDynamics: added array bounds protection in TwoCluster().
91+
92+
o Processes cuts:
93+
--------------
94+
+ Fix in G4VRangeToEnergyConverter::Convert() to recalculate the energy
95+
loss table if new elements are added. Fixes problem report #831.
96+
97+
o Track:
98+
-----
99+
+ G4ParticleChangeForRadDecay is now derived from G4ParticleChangeForDecay.
100+
101+
o Transportation:
102+
--------------
103+
+ G4Transportation: the particle's charge is now taken from the dynamic
104+
particle, so that it can take into account changes from the interaction
105+
of an ion with matter (eg stripping e-).
106+
+ Corrected problem with suspended tracks, addressing problem report #802.
107+
Added StartTracking() method which takes over responsibility to clear
108+
the state for a new track, and to message other relevant component to
109+
clear their state.
110+
111+
o Visualization:
112+
-------------
113+
+ management:
114+
o Fixed bug that omits geometry volumes from file-based visualization
115+
drivers for first /run/beamOn.
116+
o Added friend status for ray-tracer.
117+
+ RayTracer:
118+
o Fix behavior of messengers when RayTracerX is used.
119+
o Allow for multiple ray tracers.
120+
o Separated out the original ray tracer to be used by viewers.
121+
122+
o Data:
123+
----
124+
+ New data set for high-precision neutron processes G4NDL-3.8
125+
o Added Gadorinium data (source ENDF/B-VI).
126+
o Replaced: Inelastic/CrossSection/17_nat_Chlorine and
127+
Inelastic/F10/28_62_Nickel (source ENDF/B-VI).
128+
o Removed: Inelastic/CrossSection/32_70|72|73|74|76_Germanium
129+
130+
o Examples:
131+
--------
132+
+ Updated reference outputs.
133+
+ extended/electromagnetic/TestEm7
134+
o Trivial fix of memory leak.
135+
+ extended/medical/GammaTherapy
136+
o Substituted PreciseRange with CSDARange.
137+
138+
----------------------------------------------------------------------------
139+
140+
Technical Notes
141+
---------------
142+
143+
o This patch should be applied on top of release 8.0.
144+
o Technical notes distributed for release 8.0 are also applicable and
145+
valid for this patch.
146+
147+
The code and rebuilt binary libraries for release 8.0 are available through
148+
our "Source Code" Web page: http://cern.ch/geant4
149+
150+
Please refer to the Geant4 User Documentation:
151+
http://cern.ch/geant4/G4UsersDocuments/Overview/html
152+
for further information about using Geant4.

ReleaseNotes/ReleaseNotes4.8.0.html

-7
Original file line numberDiff line numberDiff line change
@@ -883,13 +883,6 @@ <H3><I>Visualization</I></H3></A>
883883
<LI>Fixed (non-)culling of transparent volumes.</LI>
884884
<LI>Implemented radial replicas for G4Tubs.</LI>
885885
</UL></LI>
886-
<LI><B>HepRep</B>
887-
<UL>
888-
<LI>Fix for 'DrawAs' value which was wrong for solids using Geant4
889-
primitives.</LI>
890-
<LI>Fix for cones face wrong way.</LI>
891-
<LI>Fixed compilation warning on MacOSX.</LI>
892-
</UL></LI>
893886
<LI><B>OpenGL</B>
894887
<UL>
895888
<LI>Initial window size can now be set from <TT>/vis/open</TT> and

0 commit comments

Comments
 (0)