Skip to content

Commit 3a9e657

Browse files
committed
Import Geant4 4.1.1 source tree
1 parent 330b82b commit 3a9e657

File tree

3,916 files changed

+6185
-5642
lines changed

Some content is hidden

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

3,916 files changed

+6185
-5642
lines changed

ReleaseNotes/Patch4.4.1-1.txt

Lines changed: 112 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,112 @@
1+
2+
Geant4 4.1 - patch-01 Release Notes
3+
-----------------------------------
4+
5+
31st July 2002
6+
7+
List of fixes included in this public patch to release 4.1:
8+
9+
o Config:
10+
------
11+
- Upgraded WIN32-g++ setup to compile with -ansi and gcc-2.95.3 for
12+
most recent versions of CygWin.
13+
14+
o Electromagnetic processes (low-energy):
15+
--------------------------------------
16+
- Bug fix in delta-electron spectra.
17+
- Bug fix in simulation of EM processes in compounds.
18+
- Optimised loading of data in G4AugerData.
19+
20+
o Event:
21+
-----
22+
- G4PrimaryParticle:
23+
o Bug fixed in the initialisation of 'charge' for all constructors.
24+
25+
o Geometry:
26+
--------
27+
+ magnetic-field:
28+
- G4FieldManager:
29+
o made 'fDefault_Delta_One_Step_Value' and
30+
'fDefault_Delta_Intersection_Val' non static constants to resolve
31+
initialisation problems. Fixes problem report #383.
32+
- G4ChordFinder:
33+
o in NewStep, fixed case of stepTrial >> stepTrialOld, to take
34+
large multiple - not small
35+
o added guard for stepTrial==0.0 in FindNextChord().
36+
- G4MagIntegratorDriver:
37+
o added protection against error of 0.0 in ComputeNewStepSize.
38+
o cleared warning of unused variable.
39+
- G4EquationOfMotion:
40+
o made RightHandSide() an inline method
41+
o in GetFieldValue() signature of Point is double[4],
42+
instead of double[3]
43+
o defined G4maximum_number_of_field_components as enum.
44+
+ solids/CSG:
45+
- G4Cons:
46+
o Bug fixed in DistanceToIn(p,v) concerning z-crossing at
47+
the edge with Rmin,Rmax.
48+
+ solids/STEP:
49+
- Fixed GNUmakefile to parse 'g++' string in G4SYSTEM to detect
50+
non-ISO setup for gcc-2.95 and higher.
51+
+ solids/STEPinterface:
52+
- Fixed GNUmakefile to parse 'g++' string in G4SYSTEM to detect
53+
non-ISO setup for gcc-2.95 and higher.
54+
+ verification:
55+
- G4GeomTestVolume:
56+
o Fixed recursive call to G4GeomTestVolume to consider also
57+
'tolerance' as argument in the recursive test algorithm.
58+
+ volumes:
59+
- Code cleanup and cosmetics for most classes.
60+
- G4PropagatorInField:
61+
o In ComputeStep(), reset status to original by setting 'fNoZeroStep'
62+
to zero if (fNoZeroStep > fAbandonThreshold_NoZeroSteps).
63+
Fixes a problem observed in cases when a looping track is killed,
64+
the bug was causing also subsequent tracks to be killed.
65+
o Removed not-implemented constructor taking G4Navigator* as argument.
66+
o Get rid of static const data for default 'epsilonStep' size.
67+
o Initialised all data members in constructor!
68+
69+
o Global:
70+
------
71+
- G4Allocator:
72+
o Moved page size to become data-member of G4Allocator.
73+
'fPageSize' is now computed according to the size of the object
74+
to be allocated. The default size is 1024 bytes for objects whose
75+
size is less than 512 bytes, 10 times the size of the object otherwise.
76+
77+
o Hadronic processes:
78+
------------------
79+
+ management, utils, models/high_energy:
80+
o Introduced accounting of strange baryons.
81+
o Introduced accounting for anti-nucleons and strange mesons.
82+
o Improved treatement of inelasticity for annihilation events and pion
83+
absorptive reactions.
84+
o Added protection in the call to phase-space method for pion induced
85+
reactions.
86+
o Fixed error in energy conservation observed by BTEV.
87+
Used to show (1/500) for 1.5-2.5 GeV pion reactions in medium A nuclei.
88+
+ cross-sections:
89+
o Fixed bug in caching information in gamma nuclear cross-sections
90+
(G4PhotoNuclearCrossSection).
91+
92+
o Examples:
93+
--------
94+
- Corrected README in exampleN01.
95+
- Updated reference outputs.
96+
97+
----------------------------------------------------------------------------
98+
99+
Technical Notes
100+
---------------
101+
102+
o This patch should be applied on top of release 4.1.
103+
o Technical notes distributed for release 4.1 are also applicable and
104+
valid for this patch.
105+
106+
The code and rebuilt binary libraries for release 4.1 are available through
107+
our "Source Code" Web page:
108+
- see our <A href="http://cern.ch/geant4">Geant4 Home Page</A>.
109+
110+
Please refer to <A
111+
href="http://cern.ch/geant4/G4UsersDocuments/Overview/html/index.html">Geant4
112+
User Documentation</A> for further information about using Geant4.

config/History

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
$Id: History,v 1.193 2002/06/26 17:27:18 gcosmo Exp $
2-
$Name: geant4-04-01 $
1+
$Id: History,v 1.194 2002/07/04 16:05:23 gcosmo Exp $
2+
$Name: geant4-04-01-patch-01 $
33

44
-------------------------------------------------------------------
55

@@ -18,6 +18,10 @@ committal in the CVS repository !
1818
* Reverse chronological order (last date on top), please *
1919
----------------------------------------------------------
2020

21+
4th July 2002 Gabriele Cosmo (config-V04-01-00)
22+
- Upgraded WIN32-g++ to compile with -ansi and gcc-2.95.3 for most recent versions
23+
of CygWin.
24+
2125
26th June 2002 Gabriele Cosmo (config-V04-00-10)
2226
- Moved STEP PERL scripts to examples/extended/geometry/cad/scripts.
2327
- Updated scripts for Configure.

config/sys/WIN32-g++.gmk

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
#
22
# ------ GNU/WIN32 CYGNUS ------ !!! not supported !!!
3-
# cygnus b20 with cygwin1.dll 1.1.5 patch
4-
# Windows 95 4.00.1111
3+
# Cygnus CygWin - gcc-2.95.3
4+
# Windows 2000
55
#
6-
# Stefano Agostinelli - IST Group, Genova
6+
# Stefano Agostinelli ([email protected]) - IST Group, Genova
77
#
88
ifeq ($(G4SYSTEM),WIN32-g++)
99
CXX := g++
1010
GNU_GCC = 1
11-
CXXFLAGS := -pipe -fno-for-scope -DGNU_GCC
11+
CXXFLAGS := -Wall -ansi -pedantic -pipe -fno-for-scope -DGNU_GCC
1212
ifdef G4OPTIMISE
1313
CXXFLAGS += -O
1414
FCFLAGS := -O
@@ -40,13 +40,10 @@ ifeq ($(G4SYSTEM),WIN32-g++)
4040
OGLLIBS := -L$(OGLHOME)/lib -lGLU -lGL
4141
endif
4242
OIVFLAGS += -I$(OIHOME)/include
43-
ifdef G4USE_OSPACE
44-
CPPFLAGS += -DOS_LINUX_2 -DOS_NEW_CHECK -DOS_STL_ASSERT
45-
CPPFLAGS += -DG4USE_OSPACE -DOS_NO_WSTRING -DOS_NO_ALLOCATORS
46-
CPPFLAGS += -I$(OSPACE_BASE_DIR)/ospace/std -I$(OSPACE_BASE_DIR)
47-
endif
43+
G4USE_STD_NAMESPACE := yes
44+
CPPFLAGS += -DG4USE_STD_NAMESPACE
4845
ifdef G4ODBMS
49-
G4DDLX_FLAGS += -D__STL_CLASS_PARTIAL_SPECIALIZATION -Dstd="" -DG4std=""
46+
G4DDLX_FLAGS += -DG4std=""
5047
endif
5148

5249
define build-granular-shared-lib

environments/OPACS/app/EXPO.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
//
2323
//
2424
// $Id: EXPO.cc,v 1.8.4.1 2001/06/28 19:06:29 gunter Exp $
25-
// GEANT4 tag $Name: geant4-04-01 $
25+
// GEANT4 tag $Name: geant4-04-01-patch-01 $
2626
//
2727
#include <stdlib.h>
2828

environments/OPACS/app/TEST.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
//
2323
//
2424
// $Id: TEST.cc,v 1.3.4.1 2001/06/28 19:06:29 gunter Exp $
25-
// GEANT4 tag $Name: geant4-04-01 $
25+
// GEANT4 tag $Name: geant4-04-01-patch-01 $
2626
//
2727
#include <stdlib.h>
2828

environments/OPACS/include/EXPO_Detector.icc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
//
2323
//
2424
// $Id: EXPO_Detector.icc,v 1.3.4.1 2001/06/28 19:06:31 gunter Exp $
25-
// GEANT4 tag $Name: geant4-04-01 $
25+
// GEANT4 tag $Name: geant4-04-01-patch-01 $
2626
//
2727
// See also G4/run/example/MyDetectorConstruction.cc.
2828

environments/OPACS/include/EXPO_PhysicsList.hh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
//
2323
//
2424
// $Id: EXPO_PhysicsList.hh,v 1.4.4.1 2001/06/28 19:06:31 gunter Exp $
25-
// GEANT4 tag $Name: geant4-04-01 $
25+
// GEANT4 tag $Name: geant4-04-01-patch-01 $
2626
//
2727
//
2828
// ------------------------------------------------------------

environments/OPACS/include/EXPO_PhysicsList.icc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
//
2323
//
2424
// $Id: EXPO_PhysicsList.icc,v 1.4.4.1 2001/06/28 19:06:31 gunter Exp $
25-
// GEANT4 tag $Name: geant4-04-01 $
25+
// GEANT4 tag $Name: geant4-04-01-patch-01 $
2626
//
2727
//
2828
// ------------------------------------------------------------

environments/OPACS/include/EXPO_Primary.icc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
//
2323
//
2424
// $Id: EXPO_Primary.icc,v 1.3.4.1 2001/06/28 19:06:31 gunter Exp $
25-
// GEANT4 tag $Name: geant4-04-01 $
25+
// GEANT4 tag $Name: geant4-04-01-patch-01 $
2626
//
2727
// See also G4/run/example/EXPO_PrimaryGeneratorAction.cc.
2828

environments/OPACS/include/G4o.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
//
2323
//
2424
// $Id: G4o.h,v 1.3.4.1 2001/06/28 19:06:31 gunter Exp $
25-
// GEANT4 tag $Name: geant4-04-01 $
25+
// GEANT4 tag $Name: geant4-04-01-patch-01 $
2626
//
2727
/* +---------------------- Copyright notice -------------------------------+ */
2828
/* | Copyright (C) 1995, Guy Barrand, LAL Orsay, ([email protected]) | */

environments/OPACS/include/G4oCommon.hh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
//
2323
//
2424
// $Id: G4oCommon.hh,v 1.3.4.1 2001/06/28 19:06:32 gunter Exp $
25-
// GEANT4 tag $Name: geant4-04-01 $
25+
// GEANT4 tag $Name: geant4-04-01-patch-01 $
2626
//
2727
/*
2828
Included by G4o.h.

environments/OPACS/include/G4oCommon.icc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
//
2323
//
2424
// $Id: G4oCommon.icc,v 1.3.4.1 2001/06/28 19:06:32 gunter Exp $
25-
// GEANT4 tag $Name: geant4-04-01 $
25+
// GEANT4 tag $Name: geant4-04-01-patch-01 $
2626
//
2727
/*
2828
Included by G4o.cc.

environments/OPACS/include/G4oDrawer.hh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
//
2323
//
2424
// $Id: G4oDrawer.hh,v 1.3.4.1 2001/06/28 19:06:32 gunter Exp $
25-
// GEANT4 tag $Name: geant4-04-01 $
25+
// GEANT4 tag $Name: geant4-04-01-patch-01 $
2626
//
2727
/* +---------------------- Copyright notice -------------------------------+ */
2828
/* | Copyright (C) 1995, Guy Barrand, LAL Orsay, ([email protected]) | */

environments/OPACS/include/G4oEXPO.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
//
2323
//
2424
// $Id: G4oEXPO.h,v 1.3.4.1 2001/06/28 19:06:32 gunter Exp $
25-
// GEANT4 tag $Name: geant4-04-01 $
25+
// GEANT4 tag $Name: geant4-04-01-patch-01 $
2626
//
2727
/* +---------------------- Copyright notice -------------------------------+ */
2828
/* | Copyright (C) 1995, Guy Barrand, LAL Orsay, ([email protected]) | */

environments/OPACS/include/G4oScene.hh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
//
2323
//
2424
// $Id: G4oScene.hh,v 1.4.4.1 2001/06/28 19:06:33 gunter Exp $
25-
// GEANT4 tag $Name: geant4-04-01 $
25+
// GEANT4 tag $Name: geant4-04-01-patch-01 $
2626
//
2727
/* +---------------------- Copyright notice -------------------------------+ */
2828
/* | Copyright (C) 1995, Guy Barrand, LAL Orsay, ([email protected]) | */

environments/OPACS/include/G4oState.hh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
//
2323
//
2424
// $Id: G4oState.hh,v 1.4.4.1 2001/06/28 19:06:33 gunter Exp $
25-
// GEANT4 tag $Name: geant4-04-01 $
25+
// GEANT4 tag $Name: geant4-04-01-patch-01 $
2626
//
2727
#ifndef G4oState_h
2828
#define G4oState_h

environments/OPACS/include/WoG4o.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
//
2323
//
2424
// $Id: WoG4o.h,v 1.3.4.1 2001/06/28 19:06:33 gunter Exp $
25-
// GEANT4 tag $Name: geant4-04-01 $
25+
// GEANT4 tag $Name: geant4-04-01-patch-01 $
2626
//
2727
/* +---------------------- Copyright notice -------------------------------+ */
2828
/* | Copyright (C) 1995, Guy Barrand, LAL Orsay, ([email protected]) | */

environments/OPACS/src/G4o.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
//
2323
//
2424
// $Id: G4o.cc,v 1.7.4.1 2001/06/28 19:06:33 gunter Exp $
25-
// GEANT4 tag $Name: geant4-04-01 $
25+
// GEANT4 tag $Name: geant4-04-01-patch-01 $
2626
//
2727
/*
2828
#define DEBUG

environments/OPACS/src/G4oDrawer.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
//
2323
//
2424
// $Id: G4oDrawer.cc,v 1.6.4.1 2001/06/28 19:06:34 gunter Exp $
25-
// GEANT4 tag $Name: geant4-04-01 $
25+
// GEANT4 tag $Name: geant4-04-01-patch-01 $
2626
//
2727
/*
2828
From geant4/visualization/management/src/G4VisManager.cc.

environments/OPACS/src/G4oScene.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
//
2323
//
2424
// $Id: G4oScene.cc,v 1.7.4.1 2001/06/28 19:06:34 gunter Exp $
25-
// GEANT4 tag $Name: geant4-04-01 $
25+
// GEANT4 tag $Name: geant4-04-01-patch-01 $
2626
//
2727
/* +---------------------- Copyright notice -------------------------------+ */
2828
/* | Copyright (C) 1995, Guy Barrand, LAL Orsay, ([email protected]) | */

environments/OPACS/src/G4oState.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
//
2323
//
2424
// $Id: G4oState.cc,v 1.6.4.1 2001/06/28 19:06:34 gunter Exp $
25-
// GEANT4 tag $Name: geant4-04-01 $
25+
// GEANT4 tag $Name: geant4-04-01-patch-01 $
2626
//
2727
//#define DEBUG
2828

examples/advanced/brachytherapy/Brachy.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141

4242

4343
// $Id: Brachy.cc,v 1.11 2002/06/18 22:20:37 guatelli Exp $
44-
// GEANT4 tag $Name: brachy-V04-00-05 $
44+
// GEANT4 tag $Name: geant4-04-01-patch-01 $
4545
#include "G4RunManager.hh"
4646
#include "G4UImanager.hh"
4747
#include "G4UIterminal.hh"

examples/advanced/brachytherapy/include/BrachyDetectorMessenger.hh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
//
2323
//
2424
// $Id: BrachyDetectorMessenger.hh,v 1.2 2002/06/18 22:24:22 guatelli Exp $
25-
// GEANT4 tag $Name: geant4-04-01 $
25+
// GEANT4 tag $Name: geant4-04-01-patch-01 $
2626
//
2727
//
2828

examples/advanced/brachytherapy/src/BrachyDetectorMessenger.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
//
2323
//
2424
// $Id: BrachyDetectorMessenger.cc,v 1.2 2002/06/18 22:30:31 guatelli Exp $
25-
// GEANT4 tag $Name: geant4-04-01 $
25+
// GEANT4 tag $Name: geant4-04-01-patch-01 $
2626
//
2727
//
2828

examples/advanced/gammaray_telescope/GammaRayTel.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
//
2323
//
2424
// $Id: GammaRayTel.cc,v 1.9 2002/06/18 18:45:39 griccard Exp $
25-
// GEANT4 tag $Name: geant4-04-01 $
25+
// GEANT4 tag $Name: geant4-04-01-patch-01 $
2626
//
2727
//
2828
// ------------------------------------------------------------

examples/advanced/gammaray_telescope/include/GammaRayTelAnalysis.hh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
//
2323
//
2424
// $Id: GammaRayTelAnalysis.hh,v 1.11 2002/06/18 18:47:14 griccard Exp $
25-
// GEANT4 tag $Name: geant4-04-01 $
25+
// GEANT4 tag $Name: geant4-04-01-patch-01 $
2626
// ------------------------------------------------------------
2727
// GEANT 4 class header file
2828
// CERN Geneva Switzerland

examples/advanced/gammaray_telescope/include/GammaRayTelAnalysisMessenger.hh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
//
2323
//
2424
// $Id: GammaRayTelAnalysisMessenger.hh,v 1.3 2001/11/23 17:44:54 santin Exp $
25-
// GEANT4 tag $Name: geant4-04-01 $
25+
// GEANT4 tag $Name: geant4-04-01-patch-01 $
2626
//
2727
// ------------------------------------------------------------
2828
// GEANT 4 class header file

examples/advanced/gammaray_telescope/include/GammaRayTelAnticoincidenceHit.hh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
//
2323
//
2424
// $Id: GammaRayTelAnticoincidenceHit.hh,v 1.2 2001/07/11 09:56:56 gunter Exp $
25-
// GEANT4 tag $Name: geant4-04-01 $
25+
// GEANT4 tag $Name: geant4-04-01-patch-01 $
2626
// ------------------------------------------------------------
2727
// GEANT 4 class header file
2828
// CERN Geneva Switzerland

0 commit comments

Comments
 (0)