Skip to content

Commit a373ea5

Browse files
committed
Import Geant4 5.2.1 source tree
1 parent 4aea781 commit a373ea5

File tree

160 files changed

+5334
-3309
lines changed

Some content is hidden

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

160 files changed

+5334
-3309
lines changed

ReleaseNotes/Patch4.5.2-1.txt

+90
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
2+
Geant4 5.2 - patch-01 Release Notes
3+
-----------------------------------
4+
5+
27 August 2003
6+
7+
List of fixes included in this public patch to release 5.2:
8+
9+
o Configuration scripts:
10+
---------------------
11+
+ WIN32-VC.gmk, WIN32-VC7.gmk:
12+
o reinstated options "-D_CONSOLE -D_WIN32 -DOS" to allow correct
13+
treatment/opening of data files at run-time.
14+
15+
o Electromagnetic processes (standard):
16+
------------------------------------
17+
+ muons:
18+
o Fixed bug of printout in G4MuIonisation.
19+
20+
o Hadronic processes:
21+
------------------
22+
+ models/chiral_inv_phase_space
23+
o Added protection against a rounding problem in the CHIPS
24+
evaporation. Fixes a problem observed in gamma-nuclear reactions.
25+
+ models/generator/de_excitation
26+
o Fixed usage of arguments to pow() function (porting on
27+
.NET 7.1 compiler).
28+
+ models/generator/quark_gluon_string
29+
+ models/generator/string_fragmentation
30+
- Implemented the handling of diffractive photon scattering in
31+
the parton string models. Mandatory for high energy gamma and
32+
electro-nuclear reactions.
33+
+ models/neutron_hp:
34+
o Corrected an error affecting the neutron energy distribution
35+
in Fission. Mandatory for fission in Uranium 235.
36+
+ stopping:
37+
o Fixed few cases of memory leaks occuring at every new run.
38+
39+
o Particles:
40+
---------
41+
+ Add one void pointer to G4DynamicParticle for the sake of maintaining
42+
links between pre-assigned decay products and corresponding primary
43+
particle.
44+
45+
o Transportation:
46+
--------------
47+
+ G4Transportation:
48+
o Added verbosity level to control the printing of warnings.
49+
o Attempt to correct photon problem by using the velocity from current
50+
medium for massless particles.
51+
o Use the finalVelocity to update TofF for optical photons.
52+
53+
o Visualization:
54+
-------------
55+
+ RayTracer:
56+
o Fixed incomplete migration to Cuts per Region scheme, causing
57+
tracing process to crash in release 5.2.
58+
59+
o Examples:
60+
--------
61+
- Updated reference outputs.
62+
- extended:
63+
o eventgenerator/HepMC
64+
+ fixed compilation errors due to incorrect code migration from
65+
g4std wrappers.
66+
+ fixed pedantic compilation warnings on Linux-g++.
67+
o gdml
68+
+ Fixed trivial compilation errors originated by recent g4std
69+
migration.
70+
+ Fixed pedantic compilation warnings on Linux-g++.
71+
o g3tog4
72+
+ Fixed pedantic compilation warnings on Linux-g++.
73+
o parallel
74+
+ Fixed pedantic compilation warnings on Linux-g++.
75+
76+
----------------------------------------------------------------------------
77+
78+
Technical Notes
79+
---------------
80+
81+
o This patch should be applied on top of release 5.2.
82+
o Technical notes distributed for release 5.2 are also applicable and
83+
valid for this patch.
84+
85+
The code and rebuilt binary libraries for release 5.2 are available through
86+
our "Source Code" Web page: http://cern.ch/geant4
87+
88+
Please refer to the Geant4 User Documentation:
89+
http://cern.ch/geant4/G4UsersDocuments/Overview/html
90+
for further information about using Geant4.

config/History

+7-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
$Id: History,v 1.218 2003/06/26 07:54:59 gcosmo Exp $
2-
$Name: geant4-05-02 $
1+
$Id: History,v 1.219 2003/07/01 14:35:32 gcosmo Exp $
2+
$Name: config-V05-02-00 $
33
-------------------------------------------------------------------
44

55
=========================================================
@@ -17,6 +17,11 @@ committal in the CVS repository !
1717
* Reverse chronological order (last date on top), please *
1818
----------------------------------------------------------
1919

20+
1st July 2003 Gabriele Cosmo (config-V05-02-00)
21+
- WIN32-VC.gmk, WIN32-VC7.gmk:
22+
o reinstated options "-D_CONSOLE -D_WIN32 -DOS" to allow correct
23+
treatment/opening of data files from applications.
24+
2025
24th June 2003 Gabriele Cosmo (config-V05-01-05)
2126
- Added UI32LIBS to interactivity.gmk to handle UI libraries on WIN32
2227
platforms.

config/sys/WIN32-VC.gmk

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ ifeq ($(G4SYSTEM),WIN32-VC)
1111
endif
1212
endif
1313
CXXFLAGS += -MD -GR -GX -Zm200 -nologo -DWIN32
14+
CXXFLAGS += -D_CONSOLE -D_WIN32 -DOS
1415
CPPFLAGS += -DWIN32
1516
LDFLAGS += -FORCE /NODEFAULTLIB:MSVCRT.dll
1617

config/sys/WIN32-VC7.gmk

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ ifeq ($(G4SYSTEM),WIN32-VC7)
1111
endif
1212
endif
1313
CXXFLAGS += -MD -GR -GX -Zm200 -nologo -DWIN32
14+
CXXFLAGS += -D_CONSOLE -D_WIN32 -DOS
1415
CPPFLAGS += -DWIN32 -DXPNET
1516
LDFLAGS += -FORCE /NODEFAULTLIB:MSVCRT.dll
1617

examples/History

+9-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
$Id: History,v 1.70 2003/06/26 13:47:18 gcosmo Exp $
1+
$Id: History,v 1.71 2003/08/25 15:16:55 gcosmo Exp $
22
-------------------------------------------------------------------
33

44
=========================================================
@@ -17,6 +17,14 @@ committal in the CVS repository !
1717
* Reverse chronological order (last date on top), please *
1818
----------------------------------------------------------
1919

20+
25th August 2003 Gabriele Cosmo (examples-V05-02-00)
21+
- Updated reference outputs.
22+
- Includes on top of previous tag:
23+
examples/extended/eventgenerator/HepMC exHepMC-V05-02-00
24+
examples/extended/g3tog4 g3tog4Tests-V05-02-00
25+
examples/extended/gdml exgdml-V05-02-00
26+
examples/extended/parallel exparallel-V05-02-00
27+
2028
27th June 2003 Gabriele Cosmo (examples-V05-01-01)
2129
- Updated reference outputs.
2230
- Included fixes to GNUmakefiles for porting on Darwin in GDML example.

examples/extended/electromagnetic/TestEm1/TestEm1.out

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
**********************************************
2-
Geant4 version $Name: geant4-05-02 $
2+
Geant4 version $Name: $
33
(27-June-2003)
44
Copyright : Geant4 Collaboration
55
**********************************************
@@ -164,7 +164,7 @@ Start Run processing.
164164
Run terminated.
165165
Run Summary
166166
Number of events processed : 100
167-
User=29s Real=44s Sys=11s
167+
User=28s Real=43s Sys=11s
168168

169169
nb tracks/event neutral: 27.9700 charged: 701.2500
170170
nb steps/event neutral: 147.2700 charged: 3376.9000

examples/extended/electromagnetic/TestEm10/TestEm10.out

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
**********************************************
2-
Geant4 version $Name: geant4-05-02 $
2+
Geant4 version $Name: $
33
(27-June-2003)
44
Copyright : Geant4 Collaboration
55
**********************************************
@@ -225,7 +225,7 @@ Regular X-ray TR radiator EM process is called
225225
48 fGamma = 8.085e+04 sumE = 7.114
226226
49 fGamma = 9.283e+04 sumE = 7.138
227227

228-
total time for build X-ray TR energy loss tables = 111.86 s
228+
total time for build X-ray TR energy loss tables = 111.08 s
229229

230230
phot: Total cross sections from Sandia parametrisation.
231231
Em10PhysicsList::SetCuts:CutLength : 1 mm

examples/extended/electromagnetic/TestEm2/TestEm2.out

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
**********************************************
2-
Geant4 version $Name: geant4-05-02 $
2+
Geant4 version $Name: $
33
(27-June-2003)
44
Copyright : Geant4 Collaboration
55
**********************************************
@@ -168,7 +168,7 @@ Start Run processing.
168168
Run terminated.
169169
Run Summary
170170
Number of events processed : 100
171-
User=23.48s Real=32.28s Sys=2.71s
171+
User=23.54s Real=32.05s Sys=2.91s
172172
LATERAL PROFILE CUMULATIVE LATERAL PROFILE
173173

174174
bin Mean rms bin Mean rms

examples/extended/electromagnetic/TestEm3/TestEm3.out

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
**********************************************
2-
Geant4 version $Name: geant4-05-02 $
2+
Geant4 version $Name: $
33
(27-June-2003)
44
Copyright : Geant4 Collaboration
55
**********************************************
@@ -229,18 +229,18 @@ Start closing geometry.
229229
G4GeometryManager::ReportVoxelStats -- Voxel Statistics
230230

231231
Total memory consumed for geometry optimisation: 1 kByte
232-
Total CPU time elapsed for geometry optimisation: 0.01 seconds
232+
Total CPU time elapsed for geometry optimisation: 0 seconds
233233

234234
Voxelisation: top CPU users:
235235
Percent Total CPU System CPU Memory Volume
236236
------- ---------- ---------- -------- ----------
237-
100.00 0.01 0.01 2k Calorimeter
237+
0.00 0.00 0.00 2k Calorimeter
238238
0.00 0.00 0.00 0k Layer
239239

240240
Voxelisation: top memory users:
241241
Percent Memory Heads Nodes Pointers Total CPU Volume
242242
------- -------- ------ ------ -------- ---------- ----------
243-
91.70 1k 1 50 50 0.01 Calorimeter
243+
91.70 1k 1 50 50 0.00 Calorimeter
244244
8.30 0k 1 3 4 0.00 Layer
245245
Start Run processing.
246246

@@ -250,7 +250,7 @@ Start Run processing.
250250
Run terminated.
251251
Run Summary
252252
Number of events processed : 100
253-
User=43.58s Real=54.43s Sys=7.24s
253+
User=40.25s Real=52.67s Sys=7.56s
254254

255255
-------------------------------------------------------------
256256
total energy dep total tracklen

examples/extended/electromagnetic/TestEm4/TestEm4.out

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
**********************************************
2-
Geant4 version $Name: geant4-05-02 $
2+
Geant4 version $Name: $
33
(27-June-2003)
44
Copyright : Geant4 Collaboration
55
**********************************************

examples/extended/electromagnetic/TestEm5/TestEm5.out

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
**********************************************
2-
Geant4 version $Name: geant4-05-02 $
2+
Geant4 version $Name: $
33
(27-June-2003)
44
Copyright : Geant4 Collaboration
55
**********************************************
@@ -189,7 +189,7 @@ Start Run processing.
189189
Run terminated.
190190
Run Summary
191191
Number of events processed : 100000
192-
User=72s Real=2.3e+03s Sys=2.8e+02s
192+
User=63s Real=1.2e+03s Sys=78s
193193
================== run summary =====================
194194
end of Run TotNbofEvents = 100000
195195
mean charged track length in absorber=0.0209443 +- 1.36937e-05 mm

examples/extended/electromagnetic/TestEm6/TestEm6.out

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
**********************************************
2-
Geant4 version $Name: geant4-05-02 $
2+
Geant4 version $Name: $
33
(27-June-2003)
44
Copyright : Geant4 Collaboration
55
**********************************************
@@ -202,7 +202,7 @@ Step# X Y Z KineE dEStep StepLeng TrakLeng
202202
Run terminated.
203203
Run Summary
204204
Number of events processed : 5
205-
User=0s Real=2.9s Sys=0.01s
205+
User=0.02s Real=2.7s Sys=0.01s
206206

207207
--------- Ranecu engine status ---------
208208
Initial seed (index) = 0

examples/extended/electromagnetic/TestEm7/TestEm7.out

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
**********************************************
2-
Geant4 version $Name: geant4-05-02 $
2+
Geant4 version $Name: $
33
(27-June-2003)
44
Copyright : Geant4 Collaboration
55
**********************************************
@@ -234,7 +234,7 @@ Start Run processing.
234234
Run terminated.
235235
Run Summary
236236
Number of events processed : 10000
237-
User=212.54s Real=372.94s Sys=52.91s
237+
User=189.43s Real=380.44s Sys=52.11s
238238

239239
---------------------------------------------------------
240240
Cumulated Doses : Edep Edep/Ebeam Dose

examples/extended/electromagnetic/TestEm8/TestEm8.out

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
**********************************************
2-
Geant4 version $Name: geant4-05-02 $
2+
Geant4 version $Name: $
33
(27-June-2003)
44
Copyright : Geant4 Collaboration
55
**********************************************
@@ -250,7 +250,7 @@ Start Run processing.
250250
Run terminated.
251251
Run Summary
252252
Number of events processed : 1000
253-
User=2.06s Real=2.09s Sys=0s
253+
User=1.92s Real=2.06s Sys=0s
254254
================== run summary =====================
255255
end of Run TotNbofEvents = 1000
256256
mean charged track length in absorber=40.2593 +- 0.20516 mm

0 commit comments

Comments
 (0)