Skip to content

Commit 8a51e0b

Browse files
committed
Import Geant4 8.0.0 source tree
1 parent d93e1e3 commit 8a51e0b

File tree

5,471 files changed

+97511
-53131
lines changed

Some content is hidden

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

5,471 files changed

+97511
-53131
lines changed

Configure

Lines changed: 95 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818
# you may fetch it yourself from your nearest archive site.)
1919
#
2020

21-
# $Id: Configure,v 1.72 2005/06/20 17:34:18 stesting Exp $
21+
# $Id: Configure,v 1.76 2005/12/13 10:02:37 stesting Exp $
2222
#
23-
# Generated on Mon Jun 20 19:30:06 CEST 2005 [metaconfig 3.0 PL70]
23+
# Generated on Tue Dec 13 11:01:04 CET 2005 [metaconfig 3.0 PL70]
2424

2525
cat >/tmp/c1$$ <<EOF
2626
WARNING!!!!!
@@ -201,6 +201,7 @@ g4vis_build_openglwin32_driver=''
201201
g4vis_build_openglx_driver=''
202202
g4vis_build_openglxm_driver=''
203203
g4vis_build_raytracer_driver=''
204+
g4vis_build_raytracerx_driver=''
204205
g4vis_build_vrml_driver=''
205206
g4vis_build_vrmlfile_driver=''
206207
g4vis_oglhome=''
@@ -213,6 +214,7 @@ g4vis_use_openglwin32=''
213214
g4vis_use_openglx=''
214215
g4vis_use_openglxm=''
215216
g4vis_use_raytracer=''
217+
g4vis_use_raytracerx=''
216218
g4vis_use_vrml=''
217219
g4vis_use_vrmlfile=''
218220
g4wanalysis_build=''
@@ -1898,25 +1900,66 @@ fi
18981900
18991901
fi #end of cxxflags
19001902
1903+
1904+
1905+
g4install_lib_AAA=`echo $g4install/lib|sed -e "s/\//AAA/g"`
1906+
g4final_install_lib_AAA=`echo $g4final_install/lib/geant4|sed -e "s/\//AAA/g"`
1907+
1908+
1909+
#############################################################################
19011910
if [ X$g4incflags = Xyes ] ; then
19021911
19031912
. $src/.config/bin/$g4system/env.sh
19041913
1905-
INCFLAGS=`grep 'INCFLAGS_FINAL :=' $G4LIB/$G4SYSTEM/GNUmakefile.db | $sed -e 's/^\(.*\):=//'`
1914+
### Getting G4FIRST_INSTALL
1915+
G4FIRST_INSTALL_AAA=`grep 'G4INSTALL =' $G4LIB/$G4SYSTEM/GNUmakefile.db | $sed -e 's/^\(.*\)= //'|$sed -e 's/\//AAA/g'`
1916+
G4INSTALL_AAA=`echo $G4INSTALL|sed -e "s/\//AAA/g"`
1917+
###
1918+
INCFLAGS_AAA=`grep 'INCFLAGS_FINAL :=' $G4LIB/$G4SYSTEM/GNUmakefile.db | $sed -e 's/^\(.*\):=//'|$sed -e 's/\//AAA/g'`
1919+
1920+
# echo INCFLAGS_AAA=$INCFLAGS_AAA
1921+
# echo G4INSTALL_AAA=$G4INSTALL_AAA
1922+
# echo G4FIRST_INSTALL_AAA=$G4FIRST_INSTALL_AAA
1923+
1924+
INCFLAGS_AAA_NEW=`echo $INCFLAGS_AAA| $sed -e "s/$G4FIRST_INSTALL_AAA/$G4INSTALL_AAA/g"`
1925+
1926+
# echo INCFLAGS_AAA_NEW=$INCFLAGS_AAA_NEW
1927+
1928+
INCFLAGS=`echo $INCFLAGS_AAA_NEW| $sed -e "s/AAA/\//g"`
19061929
19071930
# echo INCFLAGS=$INCFLAGS
1931+
1932+
if [ X$G4INCLUDE = X ] ; then
19081933
echo $INCFLAGS
1934+
else
1935+
echo -I$G4INCLUDE
1936+
fi
19091937
19101938
$rm -rf .config/UU
19111939
exit 1
19121940
19131941
fi #end of incflags
1942+
#############################################################################
19141943
1944+
1945+
#############################################################################
19151946
if [ X$g4ldflags = Xyes ] ; then
19161947
19171948
. $src/.config/bin/$g4system/env.sh
19181949
1919-
LDFLAGS=`grep 'LDFLAGS_FINAL :=' $G4LIB/$G4SYSTEM/GNUmakefile.db | $sed -e 's/^\(.*\):=//'`
1950+
### Getting G4FIRST_INSTALL
1951+
G4FIRST_LIB_AAA=`grep 'G4LIB =' $G4LIB/$G4SYSTEM/GNUmakefile.db | $sed -e 's/^\(.*\)= //'|$sed -e 's/\//AAA/g'`
1952+
G4LIB_AAA=`echo $G4LIB|sed -e "s/\//AAA/g"`
1953+
###
1954+
# G4FIRST_INSTALL_LIB_AAA=${G4FIRST_INSTALL_AAA}AAAlib
1955+
# G4INSTALL_LIB_AAA=${G4INSTALL_AAA}AAAlibAAAgeant4
1956+
1957+
# echo G4FIRST_INSTALL_LIB_AAA=$G4FIRST_INSTALL_LIB_AAA
1958+
# echo G4INSTALL_LIB_AAA=$G4INSTALL_LIB_AAA
1959+
1960+
LDFLAGS_AAA=`grep 'LDFLAGS_FINAL :=' $G4LIB/$G4SYSTEM/GNUmakefile.db | $sed -e 's/^\(.*\):=//'|$sed -e 's/\//AAA/g'`
1961+
LDFLAGS_AAA_NEW=`echo $LDFLAGS_AAA| $sed -e "s/$G4FIRST_LIB_AAA/$G4LIB_AAA/g"`
1962+
LDFLAGS=`echo $LDFLAGS_AAA_NEW| $sed -e "s/AAA/\//g"`
19201963
19211964
# echo LDFLAGS=$LDFLAGS
19221965
echo $LDFLAGS
@@ -1925,6 +1968,7 @@ fi
19251968
exit 1
19261969
19271970
fi #end of ldflags
1971+
#############################################################################
19281972
19291973
if [ X$g4ldlibs = Xyes ] ; then
19301974
@@ -2656,13 +2700,13 @@ esac
26562700
26572701
case "$g4levelgammadata" in
26582702
'')
2659-
g4levelgammadata=$g4data/PhotonEvaporation
2703+
g4levelgammadata=$g4data/PhotonEvaporation2.0
26602704
;;
26612705
esac
26622706
26632707
case "$g4radioactivedata" in
26642708
'')
2665-
g4radioactivedata=$g4data/RadiativeDecay
2709+
g4radioactivedata=$g4data/RadiativeDecay3.0
26662710
;;
26672711
esac
26682712
@@ -3964,6 +4008,18 @@ case "$g4vis_use_oix" in
39644008
;;
39654009
esac
39664010
4011+
case "$g4vis_build_raytracerx_driver" in
4012+
'')
4013+
g4vis_build_raytracerx_driver=n
4014+
;;
4015+
esac
4016+
4017+
case "$g4vis_use_raytracerx" in
4018+
'')
4019+
g4vis_use_raytracerx=n
4020+
;;
4021+
esac
4022+
39674023
# Set by default!
39684024
case "$g4vis_build_raytracer_driver" in
39694025
'')
@@ -4172,6 +4228,8 @@ gans=$ans
41724228
;;
41734229
esac
41744230
4231+
4232+
#######################################
41754233
g4message=`cat << EOM
41764234
41774235
G4VIS_BUILD_OIX_DRIVER
@@ -4199,7 +4257,36 @@ gans=$ans
41994257
g4vis_use_oix=y
42004258
;;
42014259
esac
4260+
###############################################
4261+
4262+
g4message=`cat << EOM
4263+
4264+
G4VIS_BUILD_RAYTRACERXX_DRIVER
4265+
G4VIS_USE_RAYTRACERX
4266+
4267+
Allows for interactive ray-tracing graphics through X11.
4268+
The X11 package is required.
4269+
4270+
EOM`
4271+
4272+
dflt=$g4vis_use_raytracerx
4273+
rp=$g4message
4274+
. ./myread
4275+
gans=$ans
4276+
4277+
case $gans in
4278+
4279+
n*|N*)
4280+
g4vis_build_raytracerx_driver=n
4281+
g4vis_use_raytracerx=n
4282+
;;
4283+
y*|Y*)
4284+
g4vis_build_raytracerx_driver=y
4285+
g4vis_use_raytracerx=y
4286+
;;
4287+
esac
42024288
4289+
########################################################
42034290
fi # if !WIN
42044291
42054292
if test "X$g4system" = "XWIN32-VC" -o "X$g4system" = "XWIN32-VC7"; then
@@ -4733,6 +4820,7 @@ g4vis_build_openglwin32_driver='$g4vis_build_openglwin32_driver'
47334820
g4vis_build_openglx_driver='$g4vis_build_openglx_driver'
47344821
g4vis_build_openglxm_driver='$g4vis_build_openglxm_driver'
47354822
g4vis_build_raytracer_driver='$g4vis_build_raytracer_driver'
4823+
g4vis_build_raytracerx_driver='$g4vis_build_raytracerx_driver'
47364824
g4vis_build_vrml_driver='$g4vis_build_vrml_driver'
47374825
g4vis_build_vrmlfile_driver='$g4vis_build_vrmlfile_driver'
47384826
g4vis_oglhome='$g4vis_oglhome'
@@ -4745,6 +4833,7 @@ g4vis_use_openglwin32='$g4vis_use_openglwin32'
47454833
g4vis_use_openglx='$g4vis_use_openglx'
47464834
g4vis_use_openglxm='$g4vis_use_openglxm'
47474835
g4vis_use_raytracer='$g4vis_use_raytracer'
4836+
g4vis_use_raytracerx='$g4vis_use_raytracerx'
47484837
g4vis_use_vrml='$g4vis_use_vrml'
47494838
g4vis_use_vrmlfile='$g4vis_use_vrmlfile'
47504839
g4w_use_g3tog4='$g4w_use_g3tog4'

ReleaseNotes/Patch4.7.1-1.txt

Lines changed: 164 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,164 @@
1+
2+
Geant4 7.1 - patch-01 Release Notes
3+
-----------------------------------
4+
5+
25 October 2005
6+
7+
List of fixes included in this public patch since the public release 7.1:
8+
9+
o Configuration:
10+
-------------
11+
+ Excluded usage of unnecessary 'ranlib' at creation of the libraries
12+
for WIN32-VC system. Fixes an observed problem of debug-symbols
13+
corruption.
14+
+ Synchronized CXXFLAGS warning options of WIN32-g++ with Linux-g++.
15+
+ Fixed Configure script for --incflags and --ldflags options.
16+
17+
o Event:
18+
-----
19+
+ Corrected typo in printout in G4GeneralParticleMessenger.
20+
Addresses problem report #786.
21+
22+
o Geometry:
23+
--------
24+
+ navigation
25+
o G4DrawVoxels: removed unnecessary 'panic' message in
26+
ComputeVoxelPolyhedra() and some code cleanup.
27+
+ solids/BREPS
28+
o Fixed problem of double-deletion in G4BREPSolidPolyhedra and
29+
G4BREPSolidPCone destructors.
30+
+ solids/CSG
31+
o Fixed bug in G4Sphere::DistanceToOut(p,v): added check for
32+
intersection with double cone.
33+
o Fixed bug in G4Para::DistanceToOut(p,v) for the case v.x()<0.
34+
Following problem report from user posted on Hypernews (#452).
35+
o Improved implementation for DistanceToIn/Out() in G4Torus to make use
36+
of G4JTPolynomialSolver for precise calculation of the intersections.
37+
+ solids/specific:
38+
o Fixed compilation warning on WIN32-VC for G4VSurface.cc.
39+
40+
o Global:
41+
------
42+
+ G4Allocator: initialise esplicitely data in copy-ctor.
43+
+ G4AllocatorPool: added default dummy argument to ctor to allow for
44+
default-ctor
45+
46+
o Parameterisations:
47+
-----------------
48+
+ Added overflow protection in method GenerateRadius() for
49+
GFlashHomoShowerParamterisation in the 'gflash' module.
50+
51+
o Particles:
52+
---------
53+
+ Fix to prohibit creation of ions in 'PreInit' state to make sure
54+
that proper processes will be attached to the ions.
55+
56+
o Electromagnetic processes:
57+
-------------------------
58+
+ high-energy:
59+
o Fix a misprint in G4BetheBlochNoDeltaModel and minor cleanup.
60+
+ muons:
61+
o In all energy loss models return protection against the case
62+
tmin>tmax (fixes bug report).
63+
o Fix angular distributions of secondaries and 4-momentum balance
64+
in G4MuBremsstrahlungModel and G4MuPairProductionModel.
65+
o Added protection in G4MuPairProductionModel needed for sampling
66+
of pair energy in the case of low cuts.
67+
+ standard:
68+
o In all energy loss models return protection against the case
69+
tmin>tmax (fixes bug report).
70+
o Fix for initialisation of G4eBremsstrahlungModel.
71+
o Fix a bug in calculation of chemical correction in G4BraggIonModel
72+
and fix in G4BraggModel for problem observed when increasing
73+
precision using standard model and chemical effect.
74+
+ utils:
75+
o G4VEnergyLossProcess: return number protections against numerical
76+
imprecision, which were used in version 7.0 and removed in 7.1
77+
(fixes bug report)
78+
o Set default lambdaFactor to 0.8 for integral mode (improvement in
79+
CPU performance for low cuts).
80+
o G4VEmProcess: use integral mode only for charged particles.
81+
o G4EmModelManager: fix a cut calculation for the e+e- pair
82+
production physics process.
83+
o G4VMultipleScattering: fixed error in a protection in
84+
GetContinuousStepLimit().
85+
+ xrays:
86+
o Changed variable name 'MeanNumPhotons' to 'MeanNumberOfPhotons' in
87+
G4Scintillation and G4Cerenkov to conform with the documentation in
88+
the Application Developers Guide.
89+
o Added G4ProcessType identifier to all processes constructors.
90+
91+
o Hadronic Processes:
92+
------------------
93+
+ management:
94+
o Correctly set the type of a hadronic process.
95+
Fixes problem report #744.
96+
+ models/chiral_inv_phase_space/body:
97+
o Memory leak fix for nuclear mass management in G4QPDGCode to use
98+
G4 masses of nuclear fragments.
99+
+ models/low_energy:
100+
o Fix in elastic scattering for the case of target hydrogen: use
101+
relativistic kinematic for the generation of the final state.
102+
Fix tested in HARP.
103+
+ stopping:
104+
o Fixed bug in time of e- produced in bound decay of mu-.
105+
106+
o Management of processes:
107+
-----------------------
108+
+ Added forward declaration of G4UImessenger in G4ProcessTable header.
109+
Fixes problem report #768.
110+
111+
o Optical Processes:
112+
-----------------
113+
+ Added G4ProcessType identifier to all processes constructors.
114+
115+
o Run:
116+
---
117+
+ Removed unnecessary usage of G4Allocator for allocation of a run.
118+
119+
o Tracking:
120+
--------
121+
+ Fix in G4SteppingManager::InvokeAlongStepDoItProcs() for problem
122+
report #761.
123+
+ Fix in G4SteppingManager::DefinePhysicalStepLength() for the order
124+
of execution of 'ExclusivelyForced' processes like Fast-Simulation.
125+
Problem reported and fixed in CMS and ATLAS.
126+
127+
o Physics lists:
128+
-------------
129+
+ hadronic: corrected text for the installation in README.
130+
131+
o Examples:
132+
--------
133+
+ Updated reference outputs.
134+
+ extended/electromagnetic/TestEm9
135+
o Fixed problem for changing cuts between runs.
136+
+ extendedeventgenerator/exgps
137+
o Fixed GNUMakefile for linking with AIDA on WIN32-VC.
138+
Fixes problem report #767.
139+
+ extended/medical/GammaTherapy
140+
o Added vis.mac and histogram type (aida, root, hbook).
141+
o Use standard angular distribution for low-energy PhotoElectric.
142+
+ extended/persistency
143+
o Added missing EXTRALIBS to link list for specialised setup.
144+
+ extended/radioactivedecay/exrdm
145+
o Fixed GNUMakefile for linking with AIDA on WIN32-VC.
146+
Fixes problem report #767.
147+
+ novice/N03
148+
o RunAction: compute and print statistic at the end of the run.
149+
150+
----------------------------------------------------------------------------
151+
152+
Technical Notes
153+
---------------
154+
155+
o This patch should be applied on top of release 7.1.
156+
o Technical notes distributed for release 7.1 are also applicable and
157+
valid for this patch.
158+
159+
The code and rebuilt binary libraries for release 7.1 are available through
160+
our "Source Code" Web page: http://cern.ch/geant4
161+
162+
Please refer to the Geant4 User Documentation:
163+
http://cern.ch/geant4/G4UsersDocuments/Overview/html
164+
for further information about using Geant4.

0 commit comments

Comments
 (0)