Import Geant4 7.1.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 12:11:21 +02:00
parent 516dbf1a58
commit d93e1e39a9
5384 changed files with 125662 additions and 82444 deletions
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: exampleB01.cc,v 1.20 2004/03/24 10:11:25 gcosmo Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
//
// --------------------------------------------------------------
+42 -38
View File
@@ -1,13 +1,11 @@
*************************************************************
Geant4 version $Name: geant4-07-00-ref-00 $ (17-December-2004)
Geant4 version Name: run-V07-00-05 (30-June-2005)
Copyright : Geant4 Collaboration
Reference : NIM A 506 (2003), 250-303
WWW : http://cern.ch/geant4
*************************************************************
phot: Total cross sections from Sandia parametrisation.
B01PhysicsList::SetCuts:CutLength : 1 (mm)
Going to assign importance: 1, to volume: cell_01
Going to assign importance: 2, to volume: cell_02
@@ -101,15 +99,18 @@ DoIt Vector:
LCapture
Decay
================================================
G4VUserPhysicsList::BuildPhysicsTable does not retrieve Cut Table but calculate
conv: Total cross sections from a parametrisation. Good description from 1.5 MeV to 100 GeV for all Z.
e+e- energies according Bethe-Heitler
PhysicsTables from 1.022 MeV to 100 GeV in 100 bins.
conv: Total cross sections has a good parametrisation from 1.5 MeV to 100 GeV for all Z;
sampling secondary e+e- according to the Bethe-Heitler model
tables are built for gamma
Lambda tables from 1.022 MeV to 100 GeV in 100 bins.
compt: Total cross sections from a parametrisation. Good description from 10 KeV to (100/Z) GeV.
Scattered gamma energy according Klein-Nishina.
PhysicsTables from 1 keV to 100 GeV in 80 bins.
compt: Total cross sections has a good parametrisation from 10 KeV to (100/Z) GeV
Sampling according Klein-Nishina model
tables are built for gamma
Lambda tables from 100 eV to 100 GeV in 90 bins.
phot: Total cross sections from Sandia parametrisation.
msc: Model variant of multiple scattering for e-
Lambda tables from 100 eV to 100 TeV in 120 bins.
@@ -118,8 +119,8 @@ msc: Model variant of multiple scattering for e-
eIoni: tables are built for e-
dE/dx and range tables from 100 eV to 100 TeV in 120 bins.
Lambda tables from threshold to 100 TeV in 120 bins.
Step function: finalRange(mm)= 1, dRoverRange= 1, integral: 1
Delta cross sections from Moller+Bhabha, good description from 1 KeV to 100 GeV.
Step function: finalRange(mm)= 1, dRoverRange= 1, integral: 1
eBrem: tables are built for e-
dE/dx and range tables from 100 eV to 100 TeV in 120 bins.
@@ -130,8 +131,8 @@ eBrem: tables are built for e-
eIoni: tables are built for e+
dE/dx and range tables from 100 eV to 100 TeV in 120 bins.
Lambda tables from threshold to 100 TeV in 120 bins.
Step function: finalRange(mm)= 1, dRoverRange= 1, integral: 1
Delta cross sections from Moller+Bhabha, good description from 1 KeV to 100 GeV.
Step function: finalRange(mm)= 1, dRoverRange= 1, integral: 1
eBrem: tables are built for e+
dE/dx and range tables from 100 eV to 100 TeV in 120 bins.
@@ -139,9 +140,9 @@ eBrem: tables are built for e+
Total cross sections from a parametrisation based on the EEDL data library.
Good description from 1 KeV to 100 GeV, log scale extrapolation above 100 GeV.
annihil: Total cross section from Heilter formula(annihilation into 2 photons).
gamma energies sampled according Heitler
PhysicsTables from 10 keV to 10 TeV in 100 bins.
annihil: Heilter model of formula of annihilation into 2 photons
tables are built for e+
Lambda tables from 100 eV to 100 TeV in 120 bins.
msc: Model variant of multiple scattering for proton
Lambda tables from 100 eV to 100 TeV in 120 bins.
@@ -150,8 +151,11 @@ msc: Model variant of multiple scattering for proton
hIoni: tables are built for proton
dE/dx and range tables from 100 eV to 100 TeV in 120 bins.
Lambda tables from threshold to 100 TeV in 120 bins.
Scaling relation is used to proton dE/dx and range
Bether-Bloch model for Escaled > 2 MeV, ICRU49 parametrisation for protons below.
Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1
Bether-Bloch model for Escaled > 2 MeV, parametrisation of Bragg peak below, Integral mode 1
msc: Model variant of multiple scattering for GenericIon
msc: Model variant of multiple scattering for mu+
Lambda tables from 100 eV to 100 TeV in 120 bins.
@@ -160,9 +164,9 @@ msc: Model variant of multiple scattering for mu+
muIoni: tables are built for mu+
dE/dx and range tables from 100 eV to 100 TeV in 120 bins.
Lambda tables from threshold to 100 TeV in 120 bins.
Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1
Bether-Bloch model for E > 0.2 MeV, parametrisation of Bragg peak below,
radiative corrections for E > 1 GeV
Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1
muBrems: tables are built for mu+
dE/dx and range tables from 100 eV to 100 TeV in 120 bins.
@@ -177,9 +181,9 @@ muPairProd: tables are built for mu+
muIoni: tables are built for mu-
dE/dx and range tables from 100 eV to 100 TeV in 120 bins.
Lambda tables from threshold to 100 TeV in 120 bins.
Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1
Bether-Bloch model for E > 0.2 MeV, parametrisation of Bragg peak below,
radiative corrections for E > 1 GeV
Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1
muBrems: tables are built for mu-
dE/dx and range tables from 100 eV to 100 TeV in 120 bins.
@@ -195,26 +199,26 @@ msc: Model variant of multiple scattering for pi-
Lambda tables from 100 eV to 100 TeV in 120 bins.
Boundary algorithm is active with facrange= 0.199
Volume name | Importance| Tr.Entering| Population| Collisions| Coll*WGT| NumWGTedE| FluxWGTedE| Av.Tr.WGT|
cell_01_rep:0............ | 1 | 108 | 125 | 106 | 106 | 8.9027146 | 9.2574898 | 1 |
cell_02_rep:0............ | 2 | 83 | 158 | 172 | 86 | 7.8477054 | 8.5962945 | 1 |
cell_03_rep:0............ | 4 | 100 | 221 | 289 | 72.25 | 5.8844573 | 7.6603583 | 1 |
cell_04_rep:0............ | 8 | 113 | 233 | 308 | 38.5 | 5.3338753 | 7.4224318 | 1 |
cell_05_rep:0............ | 16 | 132 | 271 | 363 | 22.6875 | 5.8486835 | 7.39996 | 1 |
cell_06_rep:0............ | 32 | 150 | 317 | 482 | 15.0625 | 4.5880363 | 6.7195245 | 1 |
cell_07_rep:0............ | 64 | 175 | 350 | 508 | 7.9375 | 3.9702443 | 6.534581 | 1 |
cell_08_rep:0............ | 128 | 202 | 424 | 651 | 5.0859375 | 0.12127253 | 5.9196255 | 1 |
cell_09_rep:0............ | 256 | 232 | 479 | 880 | 3.4375 | 2.3545899 | 5.3102442 | 1 |
cell_10_rep:0............ | 512 | 258 | 523 | 941 | 1.8378906 | 2.5474441 | 5.0007586 | 1 |
cell_11_rep:0............ | 1024 | 290 | 571 | 1090 | 1.0644531 | 0.056668031 | 4.6627569 | 1 |
cell_12_rep:0............ | 2048 | 330 | 657 | 1293 | 0.63134766 | 0.087351356 | 4.5724757 | 1 |
cell_13_rep:0............ | 4096 | 380 | 762 | 1554 | 0.37939453 | 0.066828544 | 4.342442 | 1 |
cell_14_rep:0............ | 8192 | 423 | 842 | 1747 | 0.21325684 | 0.069650585 | 4.2127256 | 1 |
cell_15_rep:0............ | 16384 | 470 | 927 | 2038 | 0.12438965 | 2.0879212 | 3.8557482 | 1 |
cell_16_rep:0............ | 32768 | 524 | 1023 | 2220 | 0.067749023 | 0.050145428 | 3.7243147 | 1 |
cell_17_rep:0............ | 65536 | 570 | 1116 | 2369 | 0.036148071 | 0.60884393 | 3.6116183 | 1 |
cell_18_rep:0............ | 131072 | 507 | 1126 | 2506 | 0.019119263 | 1.9918584 | 3.4890199 | 1 |
rest_rep:0............... | 131072 | 564 | 564 | 0 | 0 | 0 | 0 | 0 |
shieldWorld_rep:0........ | 1 | 9 | 109 | 0 | 0 | 10 | 10 | 1 |
cell_01_rep:0............ | 1 | 109 | 128 | 116 | 116 | 9.0844649 | 9.5448707 | 1 |
cell_02_rep:0............ | 2 | 69 | 152 | 142 | 71 | 8.514088 | 9.1338343 | 1 |
cell_03_rep:0............ | 4 | 87 | 175 | 195 | 48.75 | 7.0706267 | 8.4721018 | 1 |
cell_04_rep:0............ | 8 | 106 | 205 | 197 | 24.625 | 6.4781545 | 8.009855 | 1 |
cell_05_rep:0............ | 16 | 125 | 265 | 325 | 20.3125 | 6.5346594 | 7.8737813 | 1 |
cell_06_rep:0............ | 32 | 147 | 300 | 382 | 11.9375 | 4.8149962 | 7.5593459 | 1 |
cell_07_rep:0............ | 64 | 151 | 322 | 410 | 6.40625 | 3.4013848 | 7.2868181 | 1 |
cell_08_rep:0............ | 128 | 174 | 376 | 499 | 3.8984375 | 4.0138152 | 7.1811682 | 1 |
cell_09_rep:0............ | 256 | 184 | 375 | 537 | 2.0976562 | 4.7452287 | 6.7490821 | 1 |
cell_10_rep:0............ | 512 | 199 | 413 | 598 | 1.1679688 | 0.12715559 | 6.6545894 | 1 |
cell_11_rep:0............ | 1024 | 209 | 427 | 670 | 0.65429688 | 3.8229542 | 5.9721558 | 1 |
cell_12_rep:0............ | 2048 | 217 | 437 | 713 | 0.34814453 | 3.6997829 | 6.0543108 | 1 |
cell_13_rep:0............ | 4096 | 232 | 475 | 720 | 0.17578125 | 3.8285283 | 5.9110234 | 1 |
cell_14_rep:0............ | 8192 | 269 | 540 | 990 | 0.12084961 | 3.4219729 | 5.4792145 | 1 |
cell_15_rep:0............ | 16384 | 291 | 584 | 1041 | 0.063537598 | 3.1097494 | 5.191823 | 1 |
cell_16_rep:0............ | 32768 | 322 | 638 | 1155 | 0.035247803 | 3.2779116 | 5.0155103 | 1 |
cell_17_rep:0............ | 65536 | 313 | 624 | 1178 | 0.017974854 | 2.8946874 | 4.807036 | 1 |
cell_18_rep:0............ | 131072 | 279 | 646 | 1252 | 0.009552002 | 0.041089375 | 4.9343901 | 1 |
rest_rep:0............... | 131072 | 301 | 301 | 0 | 0 | 0 | 0 | 0 |
shieldWorld_rep:0........ | 1 | 12 | 111 | 0 | 0 | 10 | 10 | 1 |
=== G4ProcessPlacer::RemoveProcess: for: neutron
ProcessName: MassImportanceProcess, will be removed!
The initial Vectors:
@@ -22,7 +22,7 @@
//
//
// $Id: B01DetectorConstruction.hh,v 1.6 2003/08/25 12:32:29 dressel Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
#ifndef B01DetectorConstruction_hh
@@ -22,7 +22,7 @@
//
//
// $Id: B01DetectorConstruction.cc,v 1.14 2004/12/08 17:39:07 daquinog Exp $
// GEANT4 tag $Name: geant4-07-00-cand-03 $
// GEANT4 tag $Name: geant4-07-01 $
//
#include "G4Types.hh"
@@ -22,7 +22,7 @@
//
//
// $Id: B01PhysicsList.cc,v 1.5 2003/06/16 16:47:10 gunter Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
#include "globals.hh"
@@ -22,7 +22,7 @@
//
//
// $Id: B01PrimaryGeneratorAction.cc,v 1.7 2002/11/07 13:48:02 dressel Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
#include "globals.hh"
+8 -2
View File
@@ -1,4 +1,4 @@
$Id: History,v 1.2 2004/06/20 17:29:30 daquinog Exp $
$Id: History,v 1.5 2005/05/03 10:05:48 allison Exp $
-------------------------------------------------------------------
=========================================================
@@ -17,10 +17,16 @@ committal in the CVS repository !
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
3rd May 2005 John Allison (examples-V07-00-03)
- Replaced vis manager with G4VisExecutive.
March 17th, 2005 G.Daquino - B02-V07-00-00
- porting B02 from PI working with rh73 to PI working with slc3
Jun 18th, 2004 G.Daquino - B02-V06-01-00
- porting B02 from Anaphe (Lizard) to PI. Actually, PI 1.2.1 still DOES NOT
allow the plotting in the same way, previously set in Anaphe. Therefore the
HBOOk file produced at the end of the example still needs other packages to
be displayed. However, future PI releases could contain python modules with
this property.
README file has been updated accordingly.
README file has been updated accordingly.
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: exampleB02.cc,v 1.17 2004/12/08 19:18:45 daquinog Exp $
// GEANT4 tag $Name: geant4-07-00-cand-03 $
// GEANT4 tag $Name: geant4-07-01 $
//
//
// --------------------------------------------------------------
+1 -1
View File
@@ -1,5 +1,5 @@
**********************************************
Geant4 version $Name: geant4-07-00-cand-01 $
Geant4 version $Name: geant4-07-01 $
(31-Jul-2002)
Copyright : Geant4 Collaboration
**********************************************
@@ -22,7 +22,7 @@
//
//
// $Id: B02CellScorer.hh,v 1.2 2003/06/16 16:47:12 gunter Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
// ----------------------------------------------------------------------
// Class B02CellScorer
@@ -22,7 +22,7 @@
//
//
// $Id: B02CellScorerStore.hh,v 1.2 2003/06/16 16:47:14 gunter Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
// ----------------------------------------------------------------------
// Class B02CellScorerStore
@@ -22,7 +22,7 @@
//
//
// $Id: B02DetectorConstruction.hh,v 1.3 2002/11/08 14:47:42 dressel Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
#ifndef B02DetectorConstruction_hh
@@ -22,7 +22,7 @@
//
//
// $Id: B02ImportanceDetectorConstruction.hh,v 1.3 2003/06/16 16:47:15 gunter Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
#ifndef B02ImportanceDetectorConstruction_hh
@@ -22,7 +22,7 @@
//
//
// $Id: B02ScoringDetectorConstruction.hh,v 1.2 2002/04/19 10:54:26 gcosmo Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
#ifndef B02ScoringDetectorConstruction_hh
+9 -14
View File
@@ -3,25 +3,22 @@
#set verbose = 0
if (${?PI_BASE_DIR} == 1) then
setenv PI_VERSION 1_2_1
setenv PI_VER 1.2.1
setenv PLATF rh73_gcc32
setenv PATH ${PATH}:${PI_BASE_DIR}/${PI_VER}/app/releases/PI/PI_${PI_VER}/${PLATF}/bin
setenv PATH ${PI_BASE_DIR}/Linux-g++/bin:$PATH
setenv PI_VER 1.2.6-lite
setenv PLATF slc3_gcc323
setenv PI_DIR ${PI_BASE_DIR}/${PI_VER}/${PLATF}
setenv PATH ${PI_DIR}/bin:${PATH}
eval `aida-config -r csh`
#
# python from PI
#
setenv PYTHONVERSION 2.2
setenv PYTHON_INCLUDE_DIR ${PI_BASE_DIR}/${PI_VER}/external/Python/2.2.2/${PLATF}/include/python${PYTHONVERSION}
setenv PYTHON_LIB_DIR ${PI_BASE_DIR}/${PI_VER}/external/Python/2.2.2/${PLATF}/lib/python${PYTHONVERSION}/config
setenv PYTHON_LIB_DIR ${PI_DIR}/lib
#
# python for PI
if (${?PYTHONPATH} == 0) then
setenv PYTHONPATH
endif
setenv PYTHONPATH ${PI_BASE_DIR}/Linux-g++/python:$PYTHONPATH
setenv PYTHONPATH ${PI_BASE_DIR}/${PI_VER}/app/releases/SEAL/SEAL_1_3_4/${PLATF}/lib:$PYTHONPATH
setenv PYTHONPATH ${PI_DIR}/python:$PYTHONPATH
setenv PYTHONPATH ${PI_DIR}/lib:$PYTHONPATH
#
#
else # not using PI
@@ -54,11 +51,9 @@ endif
setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:${G4WORKDIR}/lib/${G4SYSTEM}
setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:${G4WORKDIR}/tmp/${G4SYSTEM}}/exampleB02
setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:${PYTHON_LIB_DIR}
setenv LD_LIBRARY_PATH ${PI_BASE_DIR}/${PI_VER}/app/releases/SEAL/SEAL_1_3_4/rh73_gcc32/lib:$LD_LIBRARY_PATH
setenv LD_LIBRARY_PATH /afs/cern.ch/sw/lcg/external/Python/2.2.2/rh73_gcc32/lib:$LD_LIBRARY_PATH
setenv LD_LIBRARY_PATH ${PI_BASE_DIR}/${PI_VER}/external/Boost/1.30.2/rh73_gcc32/lib:$LD_LIBRARY_PATH
setenv LD_LIBRARY_PATH ${PI_DIR}/lib:$LD_LIBRARY_PATH
if (${?PYTHONPATH} == 0) then
setenv PYTHONPATH
endif
setenv PYTHONPATH ${PYTHONPATH}:${LD_LIBRARY_PATH}
#setenv PYTHONPATH ${PYTHONPATH}:${LD_LIBRARY_PATH}
@@ -22,7 +22,7 @@
//
//
// $Id: B02CellScorer.cc,v 1.1 2002/11/08 14:52:17 dressel Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
// ----------------------------------------------------------------------
// GEANT 4 class source file
@@ -22,7 +22,7 @@
//
//
// $Id: B02CellScorerStore.cc,v 1.1 2002/11/08 14:52:17 dressel Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
// ----------------------------------------------------------------------
// GEANT 4 class source file
@@ -22,7 +22,7 @@
//
//
// $Id: B02DetectorConstruction.cc,v 1.10 2003/07/31 11:59:40 dressel Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
#include "G4Types.hh"
#include <strstream>
@@ -22,7 +22,7 @@
//
//
// $Id: B02ImportanceDetectorConstruction.cc,v 1.6 2003/07/31 08:28:16 dressel Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
#include "globals.hh"
@@ -22,7 +22,7 @@
//
//
// $Id: B02PhysicsList.cc,v 1.4 2003/06/16 16:47:20 gunter Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
#include "globals.hh"
@@ -22,7 +22,7 @@
//
//
// $Id: B02PrimaryGeneratorAction.cc,v 1.5 2002/11/08 14:47:48 dressel Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
#include "globals.hh"
@@ -22,7 +22,7 @@
//
//
// $Id: B02ScoringDetectorConstruction.cc,v 1.6 2003/02/19 08:24:35 gcosmo Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
#include "globals.hh"
@@ -1,5 +1,4 @@
#! /usr/bin/env python2.2
#! /usr/bin/env python
# #!/afs/cern.ch/sw/lhcxx/specific/redhat61/gcc-2.95.2/PublicDomainPackages/2.0.0/bin/python2.2
+8 -4
View File
@@ -1,4 +1,4 @@
# $Id: GNUmakefile,v 1.12 2004/06/20 17:26:13 daquinog Exp $
# $Id: GNUmakefile,v 1.13 2005/03/17 17:20:19 daquinog Exp $
# --------------------------------------------------------------
# GNUmakefile for examples module. Gabriele Cosmo, 06/04/98.
# --------------------------------------------------------------
@@ -27,16 +27,20 @@ moduleName = B03App
MYLIBS = $(subst -l$(name),,$(LDLIBS))
SWIG = ${SWIG_BASE_DIR}/bin/swig-${SWIGVERSION}
#SWIG = ${SWIG_BASE_DIR}/bin/swig
.PHONY: clean_all all
all: $(SWIGD) $(SWIGCC) lib $(SWIGSO) bin
CPPFLAGS += -I${PI_BASE_DIR}/${PI_VER}/external/Python/2.2.2/${PLATF}/include/python${PYTHONVERSION}
CPPFLAGS += -I${PYTHON_INCLUDE_DIR}
CXXFLAGS += -w
LDFLAGS += \
-L${PI_BASE_DIR}/${PI_VER}/external/Python/2.2.2/${PLATF}/lib/python${PYTHONVERSION}/config \
-L${PYTHON_LIB_DIR} \
-llcg_AIDA_AnalysisFactory \
-llcg_PluginManager \
-llcg_SealBase \
-llcg_AIDA_Plugin \
-L/lib \
-lnsl -ldl -lreadline /lib/libtermcap.so.2 -lieee -lpthread -lutil -lexampleB03 -lpython$(PYTHONVERSION)
+8 -2
View File
@@ -1,4 +1,4 @@
$Id: History,v 1.1 2004/06/20 17:26:14 daquinog Exp $
$Id: History,v 1.4 2005/05/03 10:05:48 allison Exp $
-------------------------------------------------------------------
=========================================================
@@ -17,10 +17,16 @@ committal in the CVS repository !
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
3rd May 2005 John Allison (examples-V07-00-03)
- Replaced vis manager with G4VisExecutive.
March 17th, 2005 G.Daquino - B03-V07-00-00
- porting B03 from PI working with rh73 to PI working with slc3
Jun 20th, 2004 G.Daquino - B03-V06-01-00
- porting B03 from Anaphe (Lizard) to PI. Actually, PI 1.2.1 still DOES NOT
allow the plotting in the same way, previously set in Anaphe. Therefore the
HBOOk file produced at the end of the example still needs other packages to
be displayed. However, future PI releases could contain python modules with
this property.
README file has been updated accordingly.
README file has been updated accordingly.
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: exampleB03.cc,v 1.11 2003/06/30 16:17:02 dressel Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
//
// --------------------------------------------------------------
+1 -1
View File
@@ -1,5 +1,5 @@
**********************************************
Geant4 version $Name: geant4-07-00-cand-01 $
Geant4 version $Name: geant4-07-01 $
(31-Jul-2002)
Copyright : Geant4 Collaboration
**********************************************
@@ -21,7 +21,7 @@
// ********************************************************************
//
// $Id: B03AppBase.hh,v 1.1 2003/06/30 16:17:03 dressel Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
// --------------------------------------------------------------------
#ifndef B03AppBase_hh
@@ -22,7 +22,7 @@
//
//
// $Id: B03DetectorConstruction.hh,v 1.4 2002/11/08 17:35:18 dressel Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
#ifndef B03DetectorConstruction_hh
@@ -22,7 +22,7 @@
//
//
// $Id: B03ImportanceDetectorConstruction.hh,v 1.2 2003/06/16 16:47:22 gunter Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
#ifndef B03ImportanceDetectorConstruction_hh
@@ -22,7 +22,7 @@
//
//
// $Id: B03PhysicsList.hh,v 1.3 2002/11/08 17:35:18 dressel Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
#ifndef B03PhysicsList_h
@@ -22,7 +22,7 @@
//
//
// $Id: B03PrimaryGeneratorAction.hh,v 1.3 2002/11/08 17:35:18 dressel Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
#ifndef B03PrimaryGeneratorAction_hh
+18 -15
View File
@@ -1,32 +1,35 @@
# #Id: setupPI.csh,v 1.6 2004/06/19 17:22:46 daquinog Exp $
# -------------------------------------------------------------------
# GEANT4 tag $Name: geant4-07-00-cand-01 $
# GEANT4 tag $Name: geant4-07-01 $
# -------------------------------------------------------------------
# before sourcing this script make sure you have set the
# environment variables according to the description in README
# NOTE:: B03 cannot work with PI Ultralite, because it needs the Python include files which are not comprised
# in the Ultralite version
# setting in case PI and analysis is used
if (${?PI_BASE_DIR} == 1) then
setenv PI_VERSION 1_2_1
setenv PI_VER 1.2.1
setenv PLATF rh73_gcc32
setenv PATH ${PATH}:${PI_BASE_DIR}/${PI_VER}/app/releases/PI/PI_${PI_VER}/${PLATF}/bin
setenv PATH ${PI_BASE_DIR}/Linux-g++/bin:$PATH
setenv PI_VERSION 1_3_0
setenv PI_VER 1.3.0
setenv PLATF slc3_ia32_gcc323
setenv PYTHONVERSION 2.3
setenv PI_DIR ${PI_BASE_DIR}/${PI_VER}/app/releases/PI/PI_${PI_VERSION}/${PLATF}
setenv PATH ${PATH}:${PI_DIR}/bin
setenv PATH ${PI_BASE_DIR}/${PI_VER}/external/Python/${PYTHONVERSION}.4/${PLATF}/bin:$PATH
eval `aida-config -r csh`
#
# python from PI
#
setenv PYTHONVERSION 2.2
setenv PYTHON_INCLUDE_DIR ${PI_BASE_DIR}/${PI_VER}/external/Python/2.2.2/${PLATF}/include/python${PYTHONVERSION}
setenv PYTHON_LIB_DIR ${PI_BASE_DIR}/${PI_VER}/external/Python/2.2.2/${PLATF}/lib/python${PYTHONVERSION}/config
setenv PYTHON_INCLUDE_DIR ${PI_BASE_DIR}/${PI_VER}/external/Python/${PYTHONVERSION}.4/${PLATF}/include/python${PYTHONVERSION}
setenv PYTHON_LIB_DIR ${PI_BASE_DIR}/${PI_VER}/external/Python/${PYTHONVERSION}.4/${PLATF}/lib/python${PYTHONVERSION}/config
#
# python for PI
if (${?PYTHONPATH} == 0) then
setenv PYTHONPATH
endif
setenv PYTHONPATH ${PI_BASE_DIR}/Linux-g++/python:$PYTHONPATH
setenv PYTHONPATH ${PI_BASE_DIR}/${PI_VER}/app/releases/SEAL/SEAL_1_3_4/${PLATF}/lib:$PYTHONPATH
setenv PYTHONPATH ${PI_DIR}/python:$PYTHONPATH
setenv PYTHONPATH ${PI_BASE_DIR}/${PI_VER}/app/releases/SEAL/SEAL_1_6_0/${PLATF}/python:$PYTHONPATH
#
# SWIG settings
setenv SWIGVERSION 1.3.15
@@ -60,11 +63,11 @@ endif # end settings for not using PI
if ( ${?LD_LIBRARY_PATH} == 0 ) then
setenv LD_LIBRARY_PATH
endif
setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:${G4WORKDIR}/lib/${G4SYSTEM}:${G4WORKDIR}/tmp/${G4SYSTEM}/exampleB03
setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:${G4WORKDIR}/lib/${G4SYSTEM}
setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:${G4WORKDIR}/tmp/${G4SYSTEM}/exampleB03
setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:${PYTHON_LIB_DIR}
setenv LD_LIBRARY_PATH ${PI_BASE_DIR}/${PI_VER}/app/releases/SEAL/SEAL_1_3_4/rh73_gcc32/lib:$LD_LIBRARY_PATH
setenv LD_LIBRARY_PATH /afs/cern.ch/sw/lcg/external/Python/2.2.2/rh73_gcc32/lib:$LD_LIBRARY_PATH
setenv LD_LIBRARY_PATH ${PI_BASE_DIR}/${PI_VER}/external/Boost/1.30.2/rh73_gcc32/lib:$LD_LIBRARY_PATH
setenv LD_LIBRARY_PATH ${PI_BASE_DIR}/${PI_VER}/external/Python/${PYTHONVERSION}.4/${PLATF}/lib:${LD_LIBRARY_PATH}
setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:${PI_BASE_DIR}/${PI_VER}/external/Boost/1.31.0/${PLATF}/lib
setenv B03_BASE `pwd`
if (${?PYTHONPATH} == 0) then
setenv PYTHONPATH
@@ -21,7 +21,7 @@
// ********************************************************************
//
// $Id: B03AppBase.cc,v 1.1 2003/06/30 16:17:03 dressel Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
// --------------------------------------------------------------------
#include "B03AppBase.hh"
@@ -22,7 +22,7 @@
//
//
// $Id: B03DetectorConstruction.cc,v 1.13 2003/07/31 11:59:41 dressel Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
#include "G4Types.hh"
@@ -22,7 +22,7 @@
//
//
// $Id: B03ImportanceDetectorConstruction.cc,v 1.6 2003/07/31 11:59:41 dressel Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
#include "globals.hh"
@@ -22,7 +22,7 @@
//
//
// $Id: B03PhysicsList.cc,v 1.4 2003/06/16 16:47:29 gunter Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
#include "globals.hh"
@@ -22,7 +22,7 @@
//
//
// $Id: B03PrimaryGeneratorAction.cc,v 1.5 2002/11/08 17:35:19 dressel Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
#include "globals.hh"
+4 -1
View File
@@ -1,4 +1,4 @@
$Id: History,v 1.29 2004/12/08 19:18:45 daquinog Exp $
$Id: History,v 1.30 2005/05/03 10:05:48 allison Exp $
-------------------------------------------------------------------
=========================================================
@@ -17,6 +17,9 @@ committal in the CVS repository !
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
3rd May 2005 John Allison (examples-V07-00-03)
- Replaced vis manager with G4VisExecutive.
Dec 8th, 2004 G. Daquino - exbiasing-V06-02-00
- B01, B02 and B03 migrated to <cmath>.