Skip to content

Commit 9458991

Browse files
committed
Import Geant4 4.0.1 source tree
1 parent 921d3b1 commit 9458991

File tree

193 files changed

+26878
-14936
lines changed

Some content is hidden

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

193 files changed

+26878
-14936
lines changed

ReleaseNotes/Patch4.4.0-1.txt

Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
1+
2+
Geant4 4.0 - patch-01 Release Notes
3+
-----------------------------------
4+
5+
31st January 2002
6+
7+
List of fixes included in this public patch to release 4.0:
8+
9+
o Event:
10+
-----
11+
- G4PrimaryTransformer: removed check whether the primary vertex is
12+
inside the world volume. The check has been moved to G4SteppingManager.
13+
14+
o Geometry:
15+
--------
16+
- Magnetic field:
17+
o Activated G4DEBUG_FIELD in GNUmakefile.
18+
o G4MagHelicalStepper.cc: renamed local variables "*Momentum*"
19+
to "*Velocity*".
20+
- Management:
21+
o G4AffineTransform.icc: fixed trivial compilation warning for gcc-2.95.2.
22+
- Volumes:
23+
o G4AuxiliaryNavServices: critical fix, to only consider whether a
24+
'ray' (Point,Direction) is on the surface (it was erroneously also
25+
checking for those inside volumes). This erroneous condition occurred
26+
frequently in the new usage of Locate with Direction to initialise a
27+
step.
28+
o G4Navigator: reset blocked volume when locating 'within volume',
29+
after ensuring that it does not get called when ComputeSafety() is at
30+
a boundary. Fixes cases of longstanding 'Point P is Inside' errors.
31+
o Activated mechanism in GNUmakefile for allowing compilation with
32+
G4DEBUG_FIELD or G4DEBUG_NAVIGATION flags.
33+
- solids/Boolean:
34+
o Moved all verbosity mode warnings to G4BOOLDEBUG.
35+
o Activated G4BOOLDEBUG mechanism in GNUmakefile.
36+
- solids/BREPS:
37+
o G4BREPSolidPCone: bugfix for problem report #320.
38+
Fixed missing use-case in constructor when RMAX and RMIN have been
39+
changed for 2 consecutive equal z-values. Now it creates correctly
40+
2 planar surfaces as expected.
41+
Added private method ComputePlanarSurface() gained
42+
by refactoring of some part of the code in the constructor.
43+
o G4FPlane: fixed first constructor adding new argument for setting
44+
explicitly the sense of a surface if required.
45+
Fixed G4FPlane::Intersect() method which incorrectly ignored a special
46+
case of a hit on surface point with ray direction opposite to surface
47+
normal.
48+
- solids/CSG:
49+
o G4Sphere.cc: fixed a problem with tolerances in the case of large Radius.
50+
o Moved all verbosity mode warnings to G4CSGDEBUG.
51+
o Activated G4CSGDEBUG mechanism in GNUmakefile.
52+
53+
o Global:
54+
------
55+
- G4strstreambuf: plugged memory leak in destructor for buffer deletion.
56+
Temporary fix to G4strstream::overflow(c) for GNU gcc-3.X compilers
57+
(also problem report #342), which require returning of character 'c' in
58+
case of buffer flushing for <CR>.
59+
- Replaced 'NULL' with '0' in G4Allocator.hh, G4strstreambuf.icc
60+
and G4Timer.cc.
61+
- Removed obsolete inline definitions in g4std/wrappers/DEC-cxx/cmath.
62+
63+
o Materials:
64+
---------
65+
- Fixed G4MaterialPropertyVector::AddElement() to consider ordering
66+
of elements.
67+
68+
o Track & Tracking:
69+
----------------
70+
- track:
71+
o G4Track: corrected initialization of fStepLength in constructors.
72+
Fixed bug in assignment operator for fStepLength.
73+
- tracking:
74+
o G4SteppingManager:
75+
- fix safe comparison between floating numbers
76+
- added check for primary track outside of the world
77+
- bug fix for particles below threshold to avoid double steps
78+
79+
o Visualization:
80+
-------------
81+
- Corrected handling for already open file in HepRepXMLWriter.
82+
83+
o Examples:
84+
--------
85+
- Novice: syncronised files with CVS HEAD. No functional changes to code.
86+
87+
----------------------------------------------------------------------------
88+
89+
Technical Notes
90+
---------------
91+
92+
o Technical notes distributed for release 4.0 are also applicable and valid
93+
for this patch.
94+
95+
The code and rebuilt binary libraries for release 4.0 are available through
96+
our "Source Code" Web page:
97+
- see our <A href="http://cern.ch/geant4">Geant4 Home Page</A>.
98+
99+
Please refer to <A
100+
href="http://cern.ch/geant4/G4UsersDocuments/Overview/html/index.html">Geant4
101+
User Documentation</A> for further information about using Geant4.
102+

examples/extended/electromagnetic/TestEm1/TestEm1.out

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
**********************************************
2-
Geant4 version $Name: geant4-04-00 $
3-
(14-Dec-2001)
2+
Geant4 version $Name: geant4-04-00-patch-01 $
3+
(31-Jan-2002)
44
Copyright : Geant4 Collaboration
55
**********************************************
66
Visualization Manager instantiating...
@@ -164,7 +164,7 @@ Start Run processing.
164164
Run terminated.
165165
Run Summary
166166
Number of events processed : 100
167-
User=16s Real=19s Sys=2.6s
167+
User=32s Real=62s Sys=2.3s
168168

169169
nb tracks/event neutral: 27.29 charged: 692.97
170170
nb steps/event neutral: 145.49 charged: 1331.63

0 commit comments

Comments
 (0)