Skip to content

Commit b79225f

Browse files
committed
Import Geant4 9.2.0 source tree
1 parent 96c8bcd commit b79225f

File tree

7,544 files changed

+242181
-87873
lines changed

Some content is hidden

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

7,544 files changed

+242181
-87873
lines changed

Configure

+753-485
Large diffs are not rendered by default.

ReleaseNotes/Beta4.9.2-1.txt

+272
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,272 @@
1+
2+
Geant4 9.2-beta-01 Release Notes
3+
--------------------------------
4+
5+
4 July 2008
6+
7+
List of main features and fixes included in this Beta release since 9.1.p02:
8+
9+
o Configuration:
10+
-------------
11+
+ Integrated improvements to Qt setup.
12+
+ Embedded AIDA setup in central configuration scripts, simplified
13+
GNUmakefiles in examples.
14+
15+
o Environments:
16+
------------
17+
+ Updated G4Py configure scripts and fixed some minor bugs.
18+
19+
o Event
20+
-----
21+
+ Fixed problem of out of bounds array access in G4SPSEneDistribution.
22+
Added accessors to G4SPSAngDistribution, addressing problem report #1013.
23+
24+
o Geometry:
25+
--------
26+
+ management:
27+
o G4Region: changed condition inside ScanVolumeTree() to check for the
28+
existence of a valid material-scanner pointer to apply the material
29+
scan instead of using the flag for nested structures.
30+
o G4GeometryManager: do not apply optimisation on the current volume
31+
if it has been defined as a regular structure.
32+
o Addresses problem report #990.
33+
+ solids/CSG:
34+
o G4Tubs: fix in DistanceToIn(p,v, ...) in case of point on surface with
35+
very small tangent direction; now returning kInfinity and no longer zero.
36+
It fixes observed cases of zero value returned by both DistanceToIn()
37+
and DistanceToOut(), causing stuck tracks with zero step length.
38+
o G4Sphere: fixed calculation of roots in DistanceToOut(p,v,...) for
39+
theta-conical surfaces interserctions and for sTheta<=90 degree
40+
intersection. Addresses issue reported when running PET application
41+
with optical photons about mis-computation of distance on half-sphere
42+
constructs.
43+
+ solids/specific:
44+
o Enhanced GetPointOnSurface() for generic G4Polycone and G4Polyhedra
45+
constructs.
46+
47+
o Global:
48+
------
49+
+ G4UnitsTable: added units for electric-field, V/m.
50+
+ G4PhysicsVector: introduced cubic spline interpolation, optionally
51+
selectable. Optimised implementation of GetValue() method.
52+
+ G4LPhysicsFreeVector: corrected use of GetValue() to adopt
53+
implementation available from the base class.
54+
+ Modified G4RandomDirection global function to use unit radius sphere
55+
surface algorithm instead of 8-quadrants technique, giving ~30%
56+
performance boost in dedicated stress tests.
57+
+ Changed date for 9.2-beta release.
58+
59+
o Intercoms
60+
---------
61+
+ Added a new function in G4UIcommandTree to find a subtree.
62+
63+
o Interfaces
64+
----------
65+
+ Improvements for layout in Qt driver for Qt3.
66+
67+
o Materials:
68+
---------
69+
+ G4NistElementBuilder: provide unique name for each isotope of an element.
70+
+ G4IonisParamElm: added Fermi velocity and L-factor (both used for
71+
parameterizations of the effective charge and straggling of ions).
72+
G4IonisParamMat: use Fermi velocity and L-factor from G4IonisParamElm.
73+
+ Added virtual destructor to G4SurfaceProperty and derivated.
74+
Addresses problem report #1014.
75+
+ G4Element: added more safe check of consistence between Z and A in the
76+
constructor. Improved printout of errors and warnings.
77+
78+
o Particles:
79+
---------
80+
+ Added UI command for setting the verbosity level on the particle-table.
81+
+ Modified proton mass to be equal to 'proton_mass_c2' from updated
82+
PDG-2006 values in CLHEP (difference is 10 eV).
83+
84+
o Persistency (GDML):
85+
------------------
86+
+ Introducing GDML writer: material properties; support for parameterised
87+
volumes; division volumes; replica volumes; matrices; naming of physical
88+
volumes; Twistedtrap, Twistedtubs, Tet, Twistedbox, Twistedtrd, Hype, Orb,
89+
Para, Ellipsoid, Ellipticaltube, Polyhedra, Torus, Cone, Tube, Extruded,
90+
Boolean (intersection, subtraction, union), Reflections (using scaled
91+
transformation) solids; elements and composite materials.
92+
+ Added support for modular files in GDML writer and reader. Added handling
93+
of precision and optional rounding of errors for imported/exported values.
94+
Added schema validation mechanism and schema files.
95+
+ Added features to reader: physical-volumes name; temperature, pressure
96+
and state of materials; NIST support. Added support for border surface
97+
and skin surface properties.
98+
+ Added optional handling if precision on values loaded.
99+
100+
o Physics Lists:
101+
-------------
102+
+ Updated FTF* lists and physics NOT to use quasi-elastic from CHIPS.
103+
FTF now has quasi-elastic included in the FTF model itself.
104+
+ Updated option2 EM physics (EMX) and added option3. For these
105+
options it is now defined 'linLossLimit' per particle type;
106+
added hadron induced bremsstrahlung and pair production;
107+
using Spline interpolation for physics tables.
108+
+ New helper class G4PhysListFactory for building Physics Lists.
109+
+ Removed obsolete class G4HadronProcessStore.
110+
111+
o Electromagnetic Processes:
112+
-------------------------
113+
+ Low Energy:
114+
o Added PIXE cross section, L-shells, for protons in G4OrlicLCrossSection.
115+
Added semi-Empirical model implementation for L-SubShells-Cross-Section
116+
with protons projectiles.
117+
o New charge transfer process by incident protons (two cross-section and
118+
one final state policy classes).
119+
o Added Doppler broadening to G4LowEnergyCompton, based on "Y.Namito,
120+
S.Ban and H.Hirayama, NIM A 349, pp. 489-494, 1994".
121+
Added Doppler broadening in G4LowEnergyComptonPolarized, same model
122+
as in G4LowEnergyCompton.
123+
o Allow for loading the complete Auger dataset on initialization.
124+
o Requires new data set G4EMLOW.6.1.
125+
+ High Energy:
126+
o Added new Bremsstrahlung and pair-production models for hadrons.
127+
o Added initialization of 'SubType' for all processes.
128+
+ Muons:
129+
o Several fixes and further developments in G4Mu* models and associated
130+
processes.
131+
+ Standard:
132+
o New multiple-scattering model G4WentzelVIModel used in new muon
133+
physics processes.
134+
o Cloned G4UrbanMscModel class into G4UrbanMscModel2; introduced several
135+
fixes and tunings to G4UrbanMscModel2 variant.
136+
o New process G4eMultipleScattering specialized for e+,e-.
137+
o G4eBremsstrahlungHEModel: new model, an extension of the standard
138+
Bremsstrahlung model but using a more sophisticated LPM approach.
139+
o G4PAIxSection: new functions for resonance and Rutherford collisions.
140+
o Fixed nuclear size correction for the G4BetheBlochModel.
141+
o G4ionGasIonisation: fixed bug in update of the dynamic charge of an ion.
142+
o G4IonFluctuations: added protection to the computation of the correction
143+
factor to dispersion which provide smooth transition to small velocities
144+
of an ion; added protection in computation of dispersion on allowing
145+
have a corrected dispersion below Bohr value.
146+
o G4eCoulombScatteringModel: speedup run-time computations using
147+
precomputed nuclear form-factors per element.
148+
o G4WaterStopping: using Spline interpolation.
149+
o Added initialization of 'SubType' for all processes.
150+
+ Utils:
151+
o New class G4VMscModel to define general multiple-scattering parameters.
152+
o New class G4EmElementSelector, a helper class to sample random
153+
G4Element in a compound material.
154+
o Added new correction methods in order to provide a smooth transition
155+
between low-energy parameterization and Bethe-Bloch model in EM
156+
standard processes. Added new G4EmSaturation helper class.
157+
o G4VEnergyLossProcess: fixed computation of NIEL at the last step of a
158+
particle.
159+
o G4LossTableManager: fixed logic in compute dEdx table for an inactive
160+
process.
161+
+ Xrays:
162+
o Added scintillation with Birk's law and make now use of G4EmSaturation
163+
to implement Birks correction.
164+
165+
o Hadronic Processes:
166+
------------------
167+
+ management:
168+
o Added class G4HadronicProcessStore, helper class to keep pointers to
169+
all registered hadronic processes.
170+
+ models/coherent_elastic:
171+
o G4HadronElastic: added counts of abnornal sampling results and
172+
printing out values in the destructor.
173+
+ models/de_excitation:
174+
o G4PhotonEvaporation: atomic relaxation model is no longer applied
175+
following internal electron conversion. Instead the vacant shell index
176+
is passed to radioactive decay model, where the ARM is applied.
177+
o Fixed minor memory leak in G4ExcitationHandler.
178+
+ models/high_energy:
179+
o G4HEInelastic: removed abnormally high pt secondaries due to incident
180+
strange particles by prohibiting the assignment of leading particle to
181+
anything that goes backward in the CM frame.
182+
+ models/neutron_hp:
183+
o Improved energy and angular distributions for both scattered neutron
184+
and recoil targets. Fixed missing inelastic gamma-ray lines.
185+
Addresses problem report #1008.
186+
o Fixed bug for missed pouch-out particles
187+
+ models/parton_string:
188+
o Revised string fragmentation and tuned parameters in FTF model for Pi+P
189+
and pion-nucleon interactions. Implemented quasi-elastic hadron-nucleus
190+
scattering in FTF and formation time; tuned string tension.
191+
+ models/qmd:
192+
o Fixed and changed sampling method of impact parameter in G4QMDReaction.
193+
o Fixed minor memory leaks.
194+
+ models/radioactive_decay:
195+
o G4NuclearDecayChannel: ARM is no longer applied in photon-evaporation
196+
for IT mode and is now applied at the end of DecayIt(); now using the
197+
correct shell index in appling ARM and switching on Auger electron
198+
production. Checking the residual kinetic energy after ARM and adding
199+
it to the atom.
200+
+ models/rpg:
201+
o Fixed energy non-conservation problem in G4RPGFragmentation and in
202+
G4RPGReaction. Fixed K0 ID problem in G4RPGInelastic.
203+
204+
o Generic Processes:
205+
-----------------
206+
+ Biasing:
207+
o Fixed use of 'WeightCutOff' now correctly working in a mass geometry.
208+
o Archived obsolete class G4CellFinder.
209+
+ Cuts:
210+
o Added G4ProductionCutsTableMessenger class.
211+
+ Decay:
212+
o G4DecayWithSpin: modified DecayIt() to allow spin precession also
213+
for EM fields.
214+
+ Scoring:
215+
o Added copying of non-ionizing energy deposit in G4Step.
216+
217+
o Run:
218+
---
219+
+ Invoke G4Particle::DeleteAllParticles() in the destructor of
220+
G4VUserPhysicsList to clear leaks induced by particles created in
221+
the user application.
222+
223+
o Tracking & Track:
224+
----------------
225+
+ Fix in G4SteppingManager for properly update of 'fTouchableHandle'.
226+
Addressing problem report #1009.
227+
+ Reset non-ionizing energy loss in G4Step::ResetTotalEnergyDeposit()
228+
in order to initialize NIEL in each step.
229+
230+
o Visualization:
231+
-------------
232+
+ Fixed remaining gcc-4.3.0 compiler warnings.
233+
+ OpenGL:
234+
o Fixed DBL_MAX problem in 2D drawing.
235+
o Improvements in Qt driver and setup.
236+
237+
o Examples:
238+
--------
239+
+ Various fixes, improvements, adoption of new features.
240+
+ advanced/hadrontherapy:
241+
o Reviewed example to update to the new beam line setup.
242+
+ advanced/microdosimetry:
243+
o New application simulating 10 keV tracks Helium+ (positive
244+
charge is +e) particle in liquid water using only G4DNA processes.
245+
+ extended/gdml:
246+
o general polishing and new convention for running.
247+
248+
249+
----------------------------------------------------------------------------
250+
251+
Technical Notes
252+
---------------
253+
254+
o Official platforms:
255+
+ Linux, gcc-3.4.6.
256+
Tested on 32 bits architectures and 64 bits architectures
257+
(Intel or AMD) with the Scientific Linux CERN 4 (SLC4) distribution
258+
(based on RedHat Linux Enterprise 4).
259+
Versions of Geant4 have also been compiled successfully on other
260+
Linux distributions, like Debian, Suse or other RedHat systems.
261+
+ MacOSX 10.5, gcc-4.0.1
262+
+ Windows/XP and CygWin Tools with: Visual C++ 9.0 (Visual Studio 2008)
263+
264+
o More verified configurations:
265+
+ Linux, gcc-4.3.1
266+
+ Linux, Intel-icc 10.1
267+
268+
o Geant4 9.2-beta-01 requires the installation of CLHEP-2.0.3.3.
269+
270+
Please refer to the Geant4 User Documentation:
271+
http://cern.ch/geant4/support/userdocuments.shtml
272+
for further information about using Geant4.

ReleaseNotes/Patch4.8.3-2.txt

+125
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,125 @@
1+
2+
Geant4 8.3 - patch-02 Release Notes
3+
-----------------------------------
4+
5+
25 January 2008
6+
7+
List of fixes included in this public patch since the public release 8.3.p01:
8+
9+
o Event:
10+
-----
11+
+ G4ParticleGun:
12+
o Added class member 'particle_momentum' and method
13+
SetParticleMomentum().
14+
o Added private copy constructor and =, ==, += operators to
15+
Addressing problem report #984.
16+
+ Modified G4SPSEneDistribution to adress problem report #988.
17+
+ Fix to normalisation of source intensities with multiple sources
18+
in G4GeneralParticleSource::IntensityNormalization().
19+
20+
o Geometry:
21+
--------
22+
+ management:
23+
o Fixed typo in forcing minimum number of points in method
24+
G4VSolid::EstimateSurfaceArea(). Addresses problem report #981.
25+
o Added dummy constructor and destructor to G4VPVParameterisation.
26+
+ navigation:
27+
o G4PropagatorInField:
28+
- Fixes for compilation of code under G4DEBUG_FIELD
29+
(problem report #982).
30+
- Changed condition for 'ReEstimationEndPoint' in order to better
31+
handle very strict parameters of propagation. Also added more
32+
verbosity in case of error for negative step.
33+
Fixes rare problem observed in production by ATLAS.
34+
+ solids/Boolean:
35+
o Boosted performance for response of Inside() for G4SubtractionSolid
36+
and G4UnionSolid according to suggestion in problem report #979.
37+
+ solids/BREPS:
38+
o Fixed bug in G4BREPSolidPolyhedra::DistanceToOut() for cases of
39+
particle passing the border of two touching surfaces.
40+
o G4BREPSolidBox: fixed problem in the constructor in definition of
41+
the side for the normal to surface.
42+
+ solids/CSG:
43+
o G4Torus:
44+
- Fixed bug in CalculateExtent() for case of non-rotated full-Phi
45+
torus definition: added protection against negative value for sqrt()
46+
and corrected formula for 'delta'.
47+
Fixes problem of NaN detected in initialisation by CMS.
48+
- Fixed bug in SolveNumericJT(): corrected handling of complex roots.
49+
Addresses problem report #969.
50+
o G4Tubs: fixed bug in DistanceToOut(p,v,..) for negative value under
51+
sqrt() for the case of point p on the surface and v tangent to the
52+
surface. Responsible for rare cases of NaN.
53+
o Fixed problem of undefined side for valid surface normal in case of
54+
'Phi' section and direction through the center of either a G4Tubs or
55+
G4Cons shape.
56+
+ solids/specific:
57+
o G4EllipticalCone:
58+
- DistanceToIn(p): corrected answer for p.z()<-zTopCut and for the
59+
point p on the surface.
60+
- DistanceToOut(p,v): now returning positive solution or zero when
61+
crossing the elliptical surface.
62+
- Fix in DistanceToOut(p) which was giving always zero.
63+
- Corrected visualisation error of solid in graphics_reps.
64+
- Added some formulas on how to pre-calculate 'SemiAxis' and 'zheight'.
65+
o Fixed dummy constructors of G4Polycone and G4PolyPhiFace for
66+
initialisation of 'edges' and 'corners'.
67+
o G4PolyconeSide: added workaround to initialisation of 'corners'
68+
vector, to allow for object persistency with Root-I/O.
69+
o Removed debug printout in G4Polycone::GetPointOnCone().
70+
71+
o Global:
72+
------
73+
+ Changed date for patch-02 to release 8.3.
74+
75+
o Hadronic Processes:
76+
------------------
77+
+ management:
78+
o G4HadronicProcess:
79+
- Fix in FillTotalResult() addressing problem report #967, replaced
80+
call to 'aT.GetGlobalTime()' with an internal variable.
81+
Use different G4DynamicParticle constructor and do not allow kinetic
82+
energy to be exactly 0. This partly removes a spurious peak at
83+
90 degrees.
84+
o Fixed memory leak with deletion of 'theIsoResult' and
85+
'theCrossSectionDataStore' in destructor.
86+
o Changed default for isotope production to off. Fixes a memory leak.
87+
o Removed effective charge calculation and unused variable 'newWeight'.
88+
+ models/chiral_inv_phase_space:
89+
o Fixed problem of non-reproducibility induced by G4QElasticCrossSection
90+
and G4StringChipsInterface.
91+
o Reduced memory allocation induced by use std::deque collection in
92+
G4QHadron class; temporary workaround by replacing it with std::list.
93+
+ models/high_energy:
94+
o G4HEInelastic::TuningOfHighEnergyCascading(): fixed incorrect
95+
assignment of leading particle to low energy backward nucleons and
96+
fragments. This bug caused high energy backward particles to be
97+
emitted from high energy collisions.
98+
o G4HEPionMinusInelastic: fixed incorrect 'Imax' in sampling of charge
99+
exchange.
100+
+ stopping:
101+
o G4StopElementSelector: fixed typo in Primakoff formula for
102+
capture velocity.
103+
o G4MuonMinusCaptureAtRest: fixed old memory leak.
104+
o Removed old-style copyright from all headers and fixed Software
105+
Reference Manual tags.
106+
o Fixed signature of G4MuMinusCaptureCascade::DoCascade() expecting
107+
'const' as arguments for A and Z. Resolves linking problems on SUN-CC.
108+
109+
110+
----------------------------------------------------------------------------
111+
112+
Technical Notes
113+
---------------
114+
115+
o This patch should be applied on top of release 8.3
116+
o Technical notes distributed for release 8.3 are also applicable and
117+
valid for this patch.
118+
119+
The code and rebuilt binary libraries for release 8.3 are available
120+
through our "Archive of Previous Releases" Web page:
121+
http://cern.ch/geant4/support/source_archive.shtml
122+
123+
Please refer to the Geant4 User Documentation:
124+
http://cern.ch/geant4/support/userdocuments.shtml
125+
for further information about using Geant4.

0 commit comments

Comments
 (0)