Skip to content

Commit cfcb558

Browse files
committed
Import Geant4 3.0.0 source tree
1 parent e7d7193 commit cfcb558

File tree

3,050 files changed

+87576
-44183
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,050 files changed

+87576
-44183
lines changed

ReleaseNotes/ReleaseNotes4.3.0.txt

+530
Large diffs are not rendered by default.

config/G4UI_USE.gmk

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $Id: G4UI_USE.gmk,v 1.1 1999/01/07 15:58:31 gunter Exp $
1+
# $Id: G4UI_USE.gmk,v 1.2 2000/11/21 10:15:22 maire Exp $
22
# -------------------------------------------------------------
33
# GNUmakefile for CPPFLAGS for interfaces USE phase.
44
# John Allison, 6th July 1998.
@@ -17,6 +17,12 @@ ifdef G4UI_USE_TERMINAL
1717
CPPFLAGS += -DG4UI_USE_TERMINAL
1818
endif
1919

20+
ifdef G4UI_USE_TCSH
21+
G4UI_USE = 1
22+
G4UI_USE_BASIC = 1
23+
CPPFLAGS += -DG4UI_USE_TCSH
24+
endif
25+
2026
ifdef G4UI_USE_XM
2127
G4UI_USE = 1
2228
G4UI_USE_BASIC = 1

config/History

+99-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
$Id: History,v 1.105 2000/05/23 06:48:25 gcosmo Exp $
2-
$Name: geant4-02-00 $
1+
$Id: History,v 1.129 2000/12/13 09:19:56 gcosmo Exp $
2+
$Name: geant4-03-00 $
33
-------------------------------------------------------------------
44

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

20+
13th December 2000 Gunter Folger (config-V02-00-14)
21+
- common.gmk: fix to rule for building dependencies, parsing is skip
22+
if $(dependencies) is empty.
23+
- globlib.gmk: added "includes" to PHONY target list and fixed typo.
24+
- Added comments to "includes" rules.
25+
26+
8th December 2000 Gabriele Cosmo (config-V02-00-13)
27+
- Changed G4LIB_BUILD_ARCHIVE to G4LIB_BUILD_STATIC in architecture.gmk,
28+
common.gmk and globlib.gmk.
29+
30+
7th December 2000 Gabriele Cosmo (config-V02-00-12)
31+
- Added options to SUN-CC5.gmk to handle multithreading and persistency.
32+
33+
5th December 2000 Youhei Morita (config-V02-00-11)
34+
- Introduced GPPFLAGS to set -M or -MM according to G4ODBMS.
35+
36+
5th December 2000 Gabriele Cosmo (config-V02-00-10)
37+
- Restored -MM option to g++ for making dependencies. -M was introduced in
38+
tag config-V02-00-02 to allow dependency search on system headers as well
39+
(#include<...> statements). This however introduces serious clashes with
40+
Objectivity schema generation for the persistency module.
41+
42+
4th December 2000 Gunter Folger (config-V02-00-09)
43+
- Disable G4RUNPATHOPTION (internal variable) for all but SUN. This is/will
44+
be used when linking with G4 shared libraries to store the path to these
45+
libraries in the executable.
46+
47+
1st December 2000 Gabriele Cosmo (config-V02-00-08)
48+
- Added G4UI_USE_TCSH and related settings to G4UI_USE.gmk (M.Maire).
49+
- Merged SUN-CC6.gmk to SUN-CC5.gmk and removed SUN-CC6.gmk.
50+
51+
1st December 2000 Gunter Folger (config-V02-00-07)
52+
- Change -M to -M -MG in common.gmk, binmake.gmk. This will output a "correct"
53+
dependency file even when missing header files are missing. Correct in the
54+
sense that liblist will work, and that the missing header is supposed to be
55+
(made) in the source directory.
56+
57+
17th November 2000 Gunter Folger (config-V02-00-06)
58+
- Link with CLHEP using -L/-l instead of absolute filename; this allows
59+
to link with shared lib of Anaphe, or static lib of Geant4.
60+
- Added shared-lib settings to sys configurations.
61+
62+
14th November 2000 Gabriele Cosmo (config-V02-00-05)
63+
- Added reference to new "parameterisations" top category.
64+
Modified files: binmake.gmk.
65+
- Removed makeshlib.sh script, now obsolete.
66+
67+
7th November 2000 Guy Barrand
68+
- analysis.gmk : renamed OpenScientist things to "Lab" ;
69+
Lab is the concrete package where analysis is done.
70+
71+
3rd November 2000 Gunter Folger (config-V02-00-04)
72+
- common.gmk: fix for shared-library build.
73+
- common.gmk, globlib.gmk: added rules for "includes" gmake target.
74+
- architecture.gmk: introduced new user settable variable G4INCLUDE
75+
to specify path where headers (files or symbolic-links) should be installed.
76+
77+
1st November 2000 Guy Barrand
78+
- analysis.gmk: declared Lizard.
79+
80+
24th October 2000 Gunter Folger (config-V02-00-03)
81+
- architecture.gmk, common.gmk, globlib.gmk, sys/*:
82+
o merged building shared libraries into makefiles.
83+
The MAKESHLIB script is no longer used.
84+
- Introduced new variables steering the building of archive/shared libs:
85+
G4LIB_BUILD_SHARED
86+
G4LIB_BUILD_ARCHIVE (still default)
87+
note that G4MAKESHLIB set will internally set G4LIB_BUILD_SHARED for
88+
backwards compatiblity.
89+
- Introduced new variable (G4LIB_USE_GRANULAR) to force using of granular
90+
libraries, even when libG4global.a/.so exists.
91+
92+
14th September 2000 Guy Barrand
93+
- Introduced changes to handle analysis module.
94+
o added analysis.gmk.
95+
o sys/Linux-g++.gmk: added macro DLDLIBS for library dynamic loading.
96+
o binmake.gmk: added inclusion of analysis.gmk.
97+
o binmake.gmk: place LDLIBS3 += $(ANALYSISLIBS) after LDLIBS3 += $(INTYLIBS).
98+
99+
22nd August 2000 John Allison (config-V02-00-02)
100+
- Changed -MM to -M in dependency file making in binmake.gmk and common.gmk.
101+
This causes dependencies of both #include "..." and #include <...> to be
102+
followed. This is the safer option, since some users might/should use,
103+
e.g., #include <g4std/...>, but even these files change sometime.
104+
105+
22nd August 2000 Gunter Folger
106+
- globlib.gmk: fix for protection from infinite loops when a dir does
107+
not exist (G.Folger).
108+
109+
1st August 2000 Gabriele Cosmo (config-V02-00-01)
110+
- Added setup WIN32-g++ for Windows/NT/9X with Cygwin and g++ compiler.
111+
Configuration non officially supported (courtesy of S.Agostinelli and
112+
IST group, Genova).
113+
114+
24th July 2000 Gabriele Cosmo (config-V02-00-00)
115+
- Added path to g3tog4 for global libs.
116+
20117
23rd May 2000 John Allison (config-V01-01-04)
21118
- Added -I$(G4BASE)/processes/hadronic/models/radiative_decay/include to
22119
binmake.gmk.

config/analysis.gmk

+152
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,152 @@
1+
# Guy Barrand, 20th Mai 2000
2+
#
3+
# Analysis variables...
4+
#
5+
6+
# -----------------------------------
7+
8+
ifdef G4ANALYSIS_USE
9+
CPPFLAGS += -DG4ANALYSIS_USE
10+
G4ANALYSIS_BUILD = 1
11+
endif
12+
13+
ifdef G4ANALYSIS_BUILD
14+
CPPFLAGS += -DG4ANALYSIS_BUILD
15+
INC_ANALYSIS = 1
16+
LIB_ANALYSIS = 1
17+
endif
18+
19+
# ------------- Lab -----------------
20+
ifdef G4ANALYSIS_USE_LAB
21+
CPPFLAGS += -DG4ANALYSIS_USE_LAB
22+
CPPFLAGS += -DG4ANALYSIS_USE
23+
G4ANALYSIS_BUILD_LAB = 1
24+
endif
25+
26+
ifdef G4ANALYSIS_BUILD_LAB
27+
CPPFLAGS += -DG4ANALYSIS_BUILD
28+
CPPFLAGS += -DG4ANALYSIS_BUILD_LAB
29+
INC_ANALYSIS = 1
30+
LIB_ANALYSIS = 1
31+
INC_LAB = 1
32+
LIB_LAB = 1
33+
endif
34+
35+
# ------------- jas -----------------
36+
ifdef G4ANALYSIS_USE_JAS
37+
CPPFLAGS += -DG4ANALYSIS_USE_JAS
38+
CPPFLAGS += -DG4ANALYSIS_USE
39+
G4ANALYSIS_BUILD_JAS = 1
40+
endif
41+
42+
ifdef G4ANALYSIS_BUILD_JAS
43+
CPPFLAGS += -DG4ANALYSIS_BUILD
44+
CPPFLAGS += -DG4ANALYSIS_BUILD_JAS
45+
INC_ANALYSIS = 1
46+
LIB_ANALYSIS = 1
47+
INC_JAS = 1
48+
LIB_JAS = 1
49+
endif
50+
51+
# ------------- Lizard -----------------
52+
ifdef G4ANALYSIS_USE_LIZARD
53+
CPPFLAGS += -DG4ANALYSIS_USE_LIZARD
54+
CPPFLAGS += -DG4ANALYSIS_USE
55+
G4ANALYSIS_BUILD_LIZARD = 1
56+
endif
57+
58+
ifdef G4ANALYSIS_BUILD_LIZARD
59+
CPPFLAGS += -DG4ANALYSIS_BUILD
60+
CPPFLAGS += -DG4ANALYSIS_BUILD_LIZARD
61+
INC_ANALYSIS = 1
62+
LIB_ANALYSIS = 1
63+
INC_LIZARD = 1
64+
LIB_LIZARD = 1
65+
endif
66+
67+
# ------------- Else ---------------
68+
69+
ifdef G4ANALYSIS_NON_AIDA
70+
CPPFLAGS += -DG4ANALYSIS_NON_AIDA
71+
endif
72+
73+
# ------------- Hook packages -----------------
74+
ANALYSISLIBS :=
75+
#
76+
ifdef INC_ANALYSIS
77+
CPPFLAGS += -I$(G4BASE)/analysis/management/include
78+
# AIDA interfaces :
79+
ifdef G4ANALYSIS_AIDA
80+
CPPFLAGS += -I$(G4ANALYSIS_AIDA)
81+
endif
82+
endif
83+
#
84+
ifdef LIB_LAB
85+
ANALYSISLIBS += -lG4Lab
86+
endif
87+
ifdef LIB_JAS
88+
ANALYSISLIBS += -lG4jas
89+
endif
90+
ifdef LIB_LIZARD
91+
ANALYSISLIBS += -lG4Lizard
92+
endif
93+
ifdef LIB_ANALYSIS
94+
ANALYSISLIBS += -lG4analysis_management
95+
endif
96+
#
97+
# ------------- Lab -----------------
98+
ifdef INC_LAB
99+
CPPFLAGS += -I$(G4BASE)/analysis/Lab/include
100+
CPPFLAGS += -I$(LIBROOT)/include -I$(HCLROOT)/include -I$(LABROOT)/include
101+
CPPFLAGS += -DHasRio
102+
ifdef G4ANALYSIS_LAB_VISUALIZATION
103+
CPPFLAGS += -DG4ANALYSIS_LAB_VISUALIZATION
104+
CPPFLAGS += -I$(ONXROOT)/include
105+
INC_XM = 1
106+
endif
107+
endif
108+
#
109+
ifdef LIB_LAB
110+
ifdef G4ANALYSIS_LAB_VISUALIZATION
111+
ANALYSISLIBS += $(ONXROOT)/$(ONXCONFIG)/XmUI.o
112+
ANALYSISLIBS += -L$(ONXROOT)/$(ONXCONFIG) -lOnXInventorXt
113+
ANALYSISLIBS += -L$(HEPVISROOT)/$(HEPVISCONFIG) -lHEPVisXt
114+
ANALYSISLIBS += -L$(ONXROOT)/$(ONXCONFIG) -lOnXInventor
115+
ANALYSISLIBS += -L$(ONXROOT)/$(ONXCONFIG) -lOnX
116+
ANALYSISLIBS += -L$(EXPATROOT)/$(EXPATCONFIG) -lexpat
117+
ANALYSISLIBS += -L$(SOFREEROOT)/$(SOFREECONFIG) -lSoFreeXt
118+
ANALYSISLIBS += -L$(HEPVISROOT)/$(HEPVISCONFIG) -lHEPVis
119+
ANALYSISLIBS += -L$(SOFREEROOT)/$(SOFREECONFIG) -lSoFree
120+
LIB_XM = 1
121+
LIB_GL = 1
122+
endif
123+
ANALYSISLIBS += -L$(LABROOT)/$(LABCONFIG) -lLab
124+
ANALYSISLIBS += -L$(RIOGRANDEROOT)/$(RIOGRANDECONFIG) -lRioTree -lRioBed
125+
ANALYSISLIBS += -L$(CINTROOT)/$(CINTCONFIG) -lcint
126+
ANALYSISLIBS += -L$(HCLROOT)/$(HCLCONFIG) -lHCL
127+
ANALYSISLIBS += -L$(MIDNIGHTROOT)/$(MIDNIGHTCONFIG) -lMidnight
128+
ANALYSISLIBS += -L$(LIBROOT)/$(LIBCONFIG) -lLib
129+
ANALYSISLIBS += $(DLDLIBS)
130+
endif
131+
#
132+
# ------------- jas -----------------
133+
ifdef INC_JAS
134+
CPPFLAGS += -I$(G4BASE)/analysis/jas/include
135+
CPPFLAGS += -I$(JDKHOME)/include -I$(JDKHOME)/include/linux
136+
endif
137+
#
138+
ifdef LIB_JAS
139+
ANALYSISLIBS += -L$(JDKHOME)/jre/lib/i386/classic -L$(JDKHOME)/jre/lib/i386/native_threads -ljvm -lhpi
140+
endif
141+
142+
# ------------- Lizard -----------------
143+
ifdef INC_LIZARD
144+
CPPFLAGS += -I$(G4BASE)/analysis/Lizard/include
145+
CPPFLAGS += -I$(LIZARDROOT)/include
146+
endif
147+
#
148+
ifdef LIB_LIZARD
149+
ANALYSISLIBS += -L$(LIZARDROOT)/lib -lAIDA_HTL -lT_Histoxx -lVector -lAIDA_Annotation -lAIDA_Plotter -lqp -lqpview -lqpqwt -lqt -lHepUtilities
150+
endif
151+
152+

config/architecture.gmk

+27-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $Id: architecture.gmk,v 1.66 2000/05/19 07:29:06 gcosmo Exp $
1+
# $Id: architecture.gmk,v 1.70 2000/12/08 09:41:26 gcosmo Exp $
22
# ------------------------------------------------------------------------
33
# GEANT 4 - Architecture configuration script for GNU Make
44
#
@@ -86,6 +86,28 @@ endif
8686
G4DUMMY_VARIABLE:=$(shell [ ! -d $(G4LIB) ] && mkdir -p $(G4LIB) )
8787
G4DUMMY_VARIABLE:=$(shell [ ! -d $(G4LIB)/$(G4SYSTEM) ] && mkdir -p $(G4LIB)/$(G4SYSTEM) )
8888

89+
# If not specified, the default path to install G4 include files is G4INCLUDE
90+
# set to $G4INSTALL/include ...
91+
#
92+
ifndef G4INCLUDE
93+
G4INCLUDE := $(G4INSTALL)/include
94+
endif
95+
G4DUMMY_VARIABLE:=$(shell [ ! -d $(G4INCLUDE) ] && mkdir -p $(G4INCLUDE) )
96+
97+
# backwards compatiblity
98+
ifneq ($(G4MAKESHLIB),)
99+
G4LIB_BUILD_SHARED = 1
100+
endif
101+
102+
# defaults for library BUILD. No default for USE, ie. take what is found.
103+
ifeq ($(G4LIB_BUILD_SHARED),)
104+
ifeq ($(G4LIB_BUILD_STATIC),)
105+
# default is building static libs
106+
G4LIB_BUILD_STATIC = 1
107+
endif
108+
endif
109+
110+
89111
# If not specified, the default path for G4 binaries G4BIN is
90112
# set to $G4WORKDIR/bin/$G4SYSTEM ...
91113
#
@@ -280,10 +302,10 @@ ifeq ($(G4SYSTEM),WIN32-VC)
280302
LDFLAGS := -link $(LIB_PATH)$(CLHEP_LIB_DIR)
281303
LOADLIBS := $(CLHEP_LIB)
282304
else
283-
## LDFLAGS := -L$(CLHEP_LIB_DIR)
284-
LDFLAGS :=
285-
## LOADLIBS := -l$(CLHEP_LIB)
286-
LOADLIBS := $(CLHEP_LIB_DIR)/lib$(CLHEP_LIB).a
305+
LDFLAGS := -L$(CLHEP_LIB_DIR)
306+
# LDFLAGS :=
307+
LOADLIBS := -l$(CLHEP_LIB)
308+
# LOADLIBS := $(CLHEP_LIB_DIR)/lib$(CLHEP_LIB).a
287309
LOADLIBS += -lm
288310
endif
289311

0 commit comments

Comments
 (0)