Skip to content

Commit d93e1e3

Browse files
committed
Import Geant4 7.1.0 source tree
1 parent 516dbf1 commit d93e1e3

File tree

5,384 files changed

+123011
-79793
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,384 files changed

+123011
-79793
lines changed

Configure

Lines changed: 114 additions & 22 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.68 2004/12/17 15:36:11 stesting Exp $
21+
# $Id: Configure,v 1.72 2005/06/20 17:34:18 stesting Exp $
2222
#
23-
# Generated on Fri Dec 17 16:33:20 CET 2004 [metaconfig 3.0 PL70]
23+
# Generated on Mon Jun 20 19:30:06 CEST 2005 [metaconfig 3.0 PL70]
2424

2525
cat >/tmp/c1$$ <<EOF
2626
WARNING!!!!!
@@ -230,6 +230,8 @@ g4_make_version=''
230230
g4make=''
231231
g4w_use_g3tog4=''
232232
g4wlib_build_g3tog4=''
233+
g4w_use_zlib=''
234+
g4wlib_build_zlib=''
233235
lns=''
234236
c=''
235237
n=''
@@ -2666,7 +2668,7 @@ esac
26662668
26672669
case "$g4ledata" in
26682670
'')
2669-
g4ledata=$g4data/G4EMLOW2.3
2671+
g4ledata=$g4data/G4EMLOW3.0
26702672
;;
26712673
esac
26722674
@@ -2678,15 +2680,58 @@ esac
26782680
26792681
case "$g4elasticdata" in
26802682
'')
2681-
g4elasticdata=$g4data/Elastic
2683+
g4elasticdata=$g4data/G4ELASTIC1.1
26822684
;;
26832685
esac
26842686
2687+
#########################################################################
2688+
2689+
# while test 1 = 1 ; do
2690+
2691+
g4message=`cat << EOM
2692+
2693+
Please, specify default directory where ALL the Geant4 data is installed:
2694+
2695+
G4LEVELGAMMADATA: $g4levelgammadata
2696+
2697+
G4RADIOACTIVEDATA: $g4radioactivedata
2698+
2699+
G4LEDATA: $g4ledata
2700+
2701+
NeutronHPCrossSections: $g4neutronhpcrosssections
2702+
2703+
G4ELASTICDATA: $g4elasticdata
2704+
2705+
You will be asked about customizing these next.
2706+
2707+
EOM`
2708+
2709+
#dflt="NO DEFAULT ANSWER"
2710+
dflt=$g4data
2711+
#fn='d~'
2712+
rp=$g4message
2713+
#. ./myread
2714+
gans=$ans
2715+
2716+
dflt=$g4data
2717+
fn='d~'
2718+
. ./getfile
2719+
g4data=$ans
2720+
2721+
g4levelgammadata=$g4data/PhotonEvaporation
2722+
g4radioactivedata=$g4data/RadiativeDecay
2723+
g4ledata=$g4data/G4EMLOW3.0
2724+
g4neutronhpcrosssections=$g4data/G4NDL3.7
2725+
g4elasticdata=$g4data/G4ELASTIC1.1
2726+
# done
2727+
2728+
###################################################################
2729+
26852730
while test 1 = 1 ; do
26862731
26872732
g4message=`cat << EOM
26882733
2689-
Please, specify directories where the Geant4 data is installed:
2734+
Please, specify default directory where the Geant4 data is installed:
26902735
26912736
1) G4LEVELGAMMADATA: $g4levelgammadata
26922737
@@ -2728,7 +2773,7 @@ gans=$ans
27282773
3)
27292774
dflt=$g4ledata
27302775
fn='f~'
2731-
rp="Where is G4EMLOW2.3 data installed ?"
2776+
rp="Where is G4EMLOW3.0 data installed ?"
27322777
. ./getfile
27332778
g4ledata=$ans
27342779
;;
@@ -2761,7 +2806,7 @@ done
27612806
27622807
if test "X$g4system" != "XWIN32-VC" -a "X$g4system" != "XWIN32-VC7"; then
27632808
2764-
clhep_dirs=`find /usr/local/lib /usr/lib -name \*CLHEP\*|xargs echo`
2809+
clhep_dirs=`find /usr/local/lib /usr/lib -name \*CLHEP\* 2>/dev/null |xargs echo`
27652810
#echo clhep_dirs=$clhep_dirs
27662811
27672812
fi
@@ -2956,17 +3001,17 @@ gans=$ans
29563001
esac
29573002
done
29583003
2959-
if test "X$g4clhep_base_dir" = "X/usr" -o "X$g4clhep_base_dir" = "X/usr/local"; then
2960-
g4clhep_base_dir=""
2961-
fi
2962-
2963-
if test "X$g4clhep_include_dir" = "X/usr/include" -o "X$g4clhep_include_dir" = "X/usr/local/include"; then
2964-
g4clhep_include_dir=""
2965-
fi
2966-
2967-
if test "X$g4clhep_lib_dir" = "X/usr/lib" -o "X$g4clhep_lib_dir" = "X/usr/local/lib"; then
2968-
g4clhep_lib_dir=""
2969-
fi
3004+
#if test "X$g4clhep_base_dir" = "X/usr" -o "X$g4clhep_base_dir" = "X/usr/local"; then
3005+
#g4clhep_base_dir=""
3006+
#fi
3007+
#
3008+
#if test "X$g4clhep_include_dir" = "X/usr/include" -o "X$g4clhep_include_dir" = "X/usr/local/include"; then
3009+
#g4clhep_include_dir=""
3010+
#fi
3011+
#
3012+
#if test "X$g4clhep_lib_dir" = "X/usr/lib" -o "X$g4clhep_lib_dir" = "X/usr/local/lib"; then
3013+
#g4clhep_lib_dir=""
3014+
#fi
29703015
29713016
echo " "
29723017
@@ -4133,7 +4178,7 @@ g4message=`cat << EOM
41334178
G4VIS_USE_OIX
41344179
41354180
The OpenInventor driver is based on OpenInventor technology
4136-
for scientific visualizarion.
4181+
for scientific visualization.
41374182
The X11 version of OpenInventor is required.
41384183
41394184
EOM`
@@ -4461,9 +4506,12 @@ g4message=`cat << EOM
44614506
44624507
G4LIB_BUILD_G3TOG4
44634508
4464-
If this variable is set, it will be built G3TOG4 module.
4465-
Do you want to set this variable ?
4466-
4509+
The utility module 'g3tog4' will be built by setting this
4510+
variable. NOTE: it requires a valid FORTRAN compiler to be
4511+
installed on your system and the 'cernlib' command in the
4512+
path, in order to build the ancillary tools!
4513+
Do you want to build 'g3tog4' ?
4514+
44674515
EOM`
44684516
44694517
dflt=$g4wlib_build_g3tog4
@@ -4484,6 +4532,48 @@ gans=$ans
44844532
esac
44854533
44864534
4535+
echo " "
4536+
case "$g4wlib_build_zlib" in
4537+
'')
4538+
g4wlib_build_zlib=n
4539+
;;
4540+
esac
4541+
4542+
case "$g4w_use_zlib" in
4543+
'')
4544+
g4w_use_zlib=n
4545+
;;
4546+
esac
4547+
4548+
echo ""
4549+
4550+
g4message=`cat << EOM
4551+
4552+
G4LIB_BUILD_ZLIB
4553+
4554+
Do you wish to activate compression for output files generated
4555+
through the HepRep visualization driver ?
4556+
4557+
EOM`
4558+
4559+
dflt=$g4wlib_build_zlib
4560+
rp=$g4message
4561+
. ./myread
4562+
gans=$ans
4563+
4564+
case $gans in
4565+
4566+
n*|N*)
4567+
g4wlib_build_zlib=n
4568+
g4w_use_zlib=n
4569+
;;
4570+
y*|Y*)
4571+
g4wlib_build_zlib=y
4572+
g4w_use_zlib=y
4573+
;;
4574+
esac
4575+
4576+
44874577
echo " "
44884578
44894579
case "$g4wanalysis_use" in
@@ -4658,6 +4748,7 @@ g4vis_use_raytracer='$g4vis_use_raytracer'
46584748
g4vis_use_vrml='$g4vis_use_vrml'
46594749
g4vis_use_vrmlfile='$g4vis_use_vrmlfile'
46604750
g4w_use_g3tog4='$g4w_use_g3tog4'
4751+
g4w_use_zlib='$g4w_use_zlib'
46614752
g4wanalysis_build='$g4wanalysis_build'
46624753
g4wanalysis_build_jas='$g4wanalysis_build_jas'
46634754
g4wanalysis_build_lab='$g4wanalysis_build_lab'
@@ -4667,6 +4758,7 @@ g4wanalysis_use_jas='$g4wanalysis_use_jas'
46674758
g4wanalysis_use_lab='$g4wanalysis_use_lab'
46684759
g4wanalysis_use_lizard='$g4wanalysis_use_lizard'
46694760
g4wlib_build_g3tog4='$g4wlib_build_g3tog4'
4761+
g4wlib_build_zlib='$g4wlib_build_zlib'
46704762
g4workdir='$g4workdir'
46714763
hint='$hint'
46724764
lns='$lns'

ReleaseNotes/Patch4.7.0-1.txt

Lines changed: 129 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,129 @@
1+
2+
Geant4 7.0 - patch-01 Release Notes
3+
-----------------------------------
4+
5+
23 February 2005
6+
7+
List of fixes included in this public patch since the public release 7.0:
8+
9+
o Configuration:
10+
-------------
11+
+ Fix in Configure script for unnecessary check on setting of
12+
CLHEP_BASE_DIR to /usr, /usr/local on Linux platforms.
13+
14+
o Event:
15+
-----
16+
+ Fixed bug on binning in G4SPSRandomGenerator.
17+
+ Fixed reset of histogram energy limits in G4SPSEneDistribution.
18+
+ Restored the inheritance to G4VPrimaryGenerator for the
19+
G4GeneralParticleSource class.
20+
21+
o Geometry:
22+
--------
23+
+ solids/specific:
24+
o Use new polynom approximations based on new solver based on
25+
Jenkins-Traub algorithm, for twisted-box and twisted-trap.
26+
o Fixed bug in the usage of 'fmod' and adopt special treatment for
27+
'parallel' events in G4TwistedBoxSide and G4TwistedTrapSide.
28+
29+
o Global:
30+
------
31+
+ Added polynom-solver class G4JTPolynomialSolver implementing the
32+
Jenkins-Traub algorithm for real polynomial root finding. To be used
33+
by the twisted-trap shape for precise computation of intersections.
34+
35+
o Interfaces:
36+
----------
37+
+ Minor fix in GNUmakefiles to remove unnecessary definition of G4TMPDIR.
38+
39+
o Parameterisations:
40+
-----------------
41+
+ Fix in GFlashHitMaker for treatment of detector sensitivity in the
42+
'gflash' module.
43+
44+
o Particles:
45+
---------
46+
+ Fix in G4UnknownParticle to make it non-static, in order to avoid
47+
unnecessary linking without its definition in the physics list.
48+
49+
o Electromagnetic processes:
50+
-------------------------
51+
+ standard:
52+
o Fix in UniversalFluctuation: setting proper constants for probLim
53+
and minimum energy-loss, to improve simulation of energy loss in
54+
thin absorbers.
55+
o Fix in MultipleScattering for function SetSamplez().
56+
o Add extra protection to G4PAIModel to fix cases of NaN observed
57+
in production for ALICE.
58+
+ utils:
59+
o Bug fix to avoid crash in the inactivation of e- ionisation.
60+
o Added protection on the value of effective charge to ensure energy
61+
loss for low energy ions.
62+
o Fixing initialisation problem for ion beam observed in CMS.
63+
64+
o Hadronic Processes:
65+
------------------
66+
+ models/chiral_inv_phase_space/body:
67+
o Fixed problem of inconsistency between masses of hadrons and nuclear
68+
fragments and masses defined in Geant4. Conversion of the CHIPS hadrons
69+
to Geant4 secondaries uses now a kinetic energy of the particle, so
70+
Geant4 automatically puts particles on the mass shell.
71+
o Complete usage of the existing nuclear mass approximation of Geant4
72+
[including M(Z,N)_G4>m_p*Z+m_n*N].
73+
o Improvement in G4QEnvironmemt in the usage of FinalStateInteraction
74+
A few cases of the secondary particles below mass shell have been
75+
corrected.
76+
77+
o Management of processes:
78+
-----------------------
79+
+ Fix in G4ProcessManager to correct ordering of processes.
80+
81+
o Run:
82+
---
83+
+ Fix in G4RunManager and G4RunManagerKernel to correctly reset static
84+
pointers in the case when RunManager is deleted.
85+
+ Updated date to run-manager.
86+
87+
o Visualization:
88+
-------------
89+
+ HepRep: minor fix for compilation problem on the obsolete gcc-2.95.2.
90+
91+
o Physics lists:
92+
-------------
93+
+ hadronic:
94+
o Fixed compilation problems on gcc-3.4.X compiler series:
95+
Added explicit 'typename' keywords to template class declarations.
96+
Use 'this' pointer to access data-members of base class for
97+
unqualified names in physics-lists inline definitions.
98+
99+
o Examples:
100+
--------
101+
+ Updated reference outputs.
102+
+ electromagnetic/TestEm1
103+
o HistoManager: added protection for the creation of the analysis
104+
factory. File extension is fileType.
105+
o HistoMessenger: new command 'setFileOption'.
106+
+ electromagnetic/TestEm3
107+
o Fix in SteppingAction to correct the energy flow.
108+
o Added new macros linac.mac and geant3/linac.dat.
109+
+ novice/N02
110+
o PhysicsList: added usage of G4StepLimiter (as commented line).
111+
+ novice/N03
112+
o Fix in SteppingAction: sum stepLength of charged particle even
113+
if edep=0.
114+
115+
----------------------------------------------------------------------------
116+
117+
Technical Notes
118+
---------------
119+
120+
o This patch should be applied on top of release 7.0.
121+
o Technical notes distributed for release 7.0 are also applicable and
122+
valid for this patch.
123+
124+
The code and rebuilt binary libraries for release 7.0 are available through
125+
our "Source Code" Web page: http://cern.ch/geant4
126+
127+
Please refer to the Geant4 User Documentation:
128+
http://cern.ch/geant4/G4UsersDocuments/Overview/html
129+
for further information about using Geant4.

0 commit comments

Comments
 (0)