Import Geant4 9.5.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 16:46:55 +02:00
parent 89a9605df1
commit b1eb5424d2
10957 changed files with 888481 additions and 160139 deletions
+2 -16
View File
@@ -1,4 +1,4 @@
$Id: 00README,v 1.13 2010/12/02 08:34:42 kmura Exp $
$Id: 00README,v 1.13 2010-12-02 08:34:42 kmura Exp $
==========================================================================
Geant4Py
@@ -144,23 +144,9 @@ You can import Geant4Py modules in Python just like
Notes:
-----
1) >> IMPORTANT <<
>> IMPORTANT <<
All users' libraries should be build in SHARED libaries.
2) Development Environment:
OS: SuSE Linux 11.3 (x86-64)
g++ : 4.5.0
Python: 2.6
CLHEP: 2.1.0.1
ROOT: 5.26/00
3) Tested environment:
Linux 32/64-bit
SuSE 11.2 11.3 SLED11SP1
SL4.8 SL5.4
Ubuntu 8.0.4
MacOSX 10.6 (Snow Leopard)
Have A Fun!!
Koichi Murakami <Koichi.Murakami@kek.jp>
+2 -2
View File
@@ -1,5 +1,5 @@
# $Id: GNUmakefile,v 1.2 2008/12/03 07:43:41 kmura Exp $
# $Name: geant4-09-02 $
# $Id: GNUmakefile,v 1.2 2008-12-03 07:43:41 kmura Exp $
# $Name: not supported by cvs2svn $
# ===========================================================
# Makefile for building Geant4Py
# ===========================================================
+9 -1
View File
@@ -1,4 +1,4 @@
$Id: History,v 1.53 2010/12/02 08:34:26 kmura Exp $
$Id: History,v 1.53 2010-12-02 08:34:26 kmura Exp $
-------------------------------------------------------------------
=========================================================
@@ -14,6 +14,14 @@ Geant4Py is a Geant4-Python bridge.
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
10 Nomvembter 2011 K.Murakami
- fixes on OSX Lion matters
- some minor fixes for 9.5 release
8 November 2011 K.Murakami
- update for 9.5 release
- eliminate obsolete G4Exception.
1 December 2010 K.Murakami
- update for chages of G4 classes (G4GDMLParser, physics list)
- add a new example using GTK (examples/emplot/emcalc_gui.py)
+1 -1
View File
@@ -1,4 +1,4 @@
# $Id: build.gmk,v 1.3 2006/08/08 05:11:44 kmura Exp $
# $Id: build.gmk,v 1.3 2006-08-08 05:11:44 kmura Exp $
# ===========================================================
# Script for building a module
# ===========================================================
+1 -1
View File
@@ -1,4 +1,4 @@
# $Id: g4compile.gmk,v 1.3 2008/06/05 02:25:08 kmura Exp $
# $Id: g4compile.gmk,v 1.3 2008-06-05 02:25:08 kmura Exp $
# ===========================================================
# Script for building a Boost-Python module
# ===========================================================
+2 -2
View File
@@ -1,4 +1,4 @@
# $Id: g4py.gmk,v 1.7 2009/11/27 07:47:17 kmura Exp $
# $Id: g4py.gmk,v 1.7 2009-11-27 07:47:17 kmura Exp $
# ===========================================================
# Makefile for building Python module with Boost.Python
#
@@ -33,7 +33,7 @@ G4PY_LOPT += $(G4PY_VISLIBS)
G4PY_INCFLAGS += -I$(Q_CLHEP_INCDIR)
G4PY_LOPT += -L$(Q_CLHEP_LIBDIR) -l$(Q_CLHEP_LIB)
G4PY_LOPT += -lm -lz
G4PY_LOPT += -lm -lz -lexpat
# geant4 version
G4PY_INCFLAGS += -I$(G4PY_INSTALL)/source/version
+1 -1
View File
@@ -1,4 +1,4 @@
# $Id: g4vis.gmk,v 1.3 2009/11/20 03:36:51 kmura Exp $
# $Id: g4vis.gmk,v 1.3 2009-11-20 03:36:51 kmura Exp $
# ===========================================================
# Makefile for building Python module with Boost.Python
#
+1 -1
View File
@@ -1,4 +1,4 @@
# $Id: install.gmk,v 1.2 2006/04/25 05:53:05 kmura Exp $
# $Id: install.gmk,v 1.2 2006-04-25 05:53:05 kmura Exp $
# ===========================================================
# Script for installing modules
# ===========================================================
+1 -1
View File
@@ -1,4 +1,4 @@
# $Id: module.gmk,v 1.6 2009/05/14 09:10:02 kmura Exp $
# $Id: module.gmk,v 1.6 2009-05-14 09:10:02 kmura Exp $
# ===========================================================
# Script for building a Boost-Python module
# ===========================================================
+1 -1
View File
@@ -1,4 +1,4 @@
# $Id: mylib.gmk,v 1.2 2006/04/25 05:53:05 kmura Exp $
# $Id: mylib.gmk,v 1.2 2006-04-25 05:53:05 kmura Exp $
# ===========================================================
# Script for building my libray
# ===========================================================
+1 -1
View File
@@ -1,4 +1,4 @@
# $Id: script-install.gmk,v 1.2 2008/12/03 07:36:08 kmura Exp $
# $Id: script-install.gmk,v 1.2 2008-12-03 07:36:08 kmura Exp $
# ===========================================================
# Script for installing modules
# ===========================================================
+1 -1
View File
@@ -1,4 +1,4 @@
# $Id: site-install.gmk,v 1.5 2008/12/01 06:49:05 kmura Exp $
# $Id: site-install.gmk,v 1.5 2008-12-01 06:49:05 kmura Exp $
# ===========================================================
# Script for installing modules
# ===========================================================
+2 -2
View File
@@ -1,5 +1,5 @@
# $Id: linux.gmk,v 1.10 2010/12/02 08:33:02 kmura Exp $
# $Name: geant4-09-04 $
# $Id: linux.gmk,v 1.10 2010-12-02 08:33:02 kmura Exp $
# $Name: not supported by cvs2svn $
# ===========================================================
# System specific terms
# ===========================================================
@@ -1,5 +1,5 @@
# $Id: linuxx8664gcc.gmk,v 1.10 2010/12/02 08:33:02 kmura Exp $
# $Name: geant4-09-04 $
# $Id: linuxx8664gcc.gmk,v 1.10 2010-12-02 08:33:02 kmura Exp $
# $Name: not supported by cvs2svn $
# ===========================================================
# System specific terms
# ===========================================================
+6 -6
View File
@@ -1,5 +1,5 @@
# $Id: macosx.gmk,v 1.6 2010/12/02 08:33:02 kmura Exp $
# $Name: geant4-09-04 $
# $Id: macosx.gmk,v 1.6 2010-12-02 08:33:02 kmura Exp $
# $Name: not supported by cvs2svn $
# ===========================================================
# System specific terms
#
@@ -11,7 +11,7 @@
CXX := g++
ifdef COMPILE_WITH_BOOST
CXXFLAGS := -ftemplate-depth-256 -Wno-long-double
CXXFLAGS := -ftemplate-depth-256
CXXFLAGS += -no-cpp-precomp -finline-functions -Wno-inline
CXXFLAGS += -DBOOST_PYTHON_DYNAMIC_LIB
CXXFLAGS += -O2
@@ -26,7 +26,7 @@ endif
ifdef COMPILE_G4PY
CXXFLAGS := -ansi -pipe
CXXFLAGS += -ftemplate-depth-256 -Wno-long-double
CXXFLAGS += -ftemplate-depth-256
CXXFLAGS += -no-cpp-precomp -finline-functions -Wno-inline
CXXFLAGS += -DBOOST_PYTHON_DYNAMIC_LIB
CXXFLAGS += -O2
@@ -76,13 +76,13 @@ endif
# building a module
ifdef CPPVERBOSE
define build-module
$(CXX) -Wl,-x -bundle -flat_namespace -dead_strip \
$(CXX) -Wl,-x -bundle -flat_namespace -dead_strip -undefined suppress \
-o $@ $(objects) $(LOPT)
endef
else
define build-module
@echo Building a module $@ ...
@$(CXX) -Wl,-x -bundle -flat_namespace -dead_strip \
@$(CXX) -Wl,-x -bundle -flat_namespace -dead_strip -undefined suppress \
-o $@ $(objects) $(LOPT)
endef
endif
+1 -1
View File
@@ -1,5 +1,5 @@
#! /bin/sh -
#$Id: configure,v 1.18 2010/12/02 08:36:02 kmura Exp $
#$Id: configure,v 1.18 2010-12-02 08:36:02 kmura Exp $
# ======================================================================
# A configure script for Geant4Py
# ======================================================================
+1 -1
View File
@@ -1,4 +1,4 @@
$Id: History,v 1.3 2007/11/13 07:58:42 kmura Exp $
$Id: History,v 1.3 2007-11-13 07:58:42 kmura Exp $
-------------------------------------------------------------------
=========================================================
+1 -1
View File
@@ -1,4 +1,4 @@
$Id: README,v 1.3 2007/11/13 07:58:42 kmura Exp $
$Id: README,v 1.3 2007-11-13 07:58:42 kmura Exp $
-------------------------------------------------------------------
This directory contains a set of examples for Geant4Py.
@@ -25,8 +25,8 @@
//
//
// $Id: DetectorConstruction.cc,v 1.1 2007/06/21 15:18:32 jjacquem Exp $
// GEANT4 tag $Name: geant4-09-02 $
// $Id: DetectorConstruction.cc,v 1.1 2007-06-21 15:18:32 jjacquem Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
//
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: DetectorConstruction.hh,v 1.1 2007/06/21 15:18:32 jjacquem Exp $
// GEANT4 tag $Name: geant4-09-02 $
// $Id: DetectorConstruction.hh,v 1.1 2007-06-21 15:18:32 jjacquem Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
//
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: DetectorMessenger.cc,v 1.1 2007/06/21 15:18:32 jjacquem Exp $
// GEANT4 tag $Name: geant4-09-02 $
// $Id: DetectorMessenger.cc,v 1.1 2007-06-21 15:18:32 jjacquem Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: DetectorMessenger.hh,v 1.1 2007/06/21 15:18:32 jjacquem Exp $
// GEANT4 tag $Name: geant4-09-02 $
// $Id: DetectorMessenger.hh,v 1.1 2007-06-21 15:18:32 jjacquem Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -1,5 +1,5 @@
# $Id: GNUmakefile,v 1.2 2007/07/06 06:41:39 kmura Exp $
# $Name: geant4-09-02 $
# $Id: GNUmakefile,v 1.2 2007-07-06 06:41:39 kmura Exp $
# $Name: not supported by cvs2svn $
# ===========================================================
# Makefile for building Geant4Py modules
# ===========================================================
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: PhysListEmStandard.cc,v 1.2 2010/06/04 05:43:20 kmura Exp $
// GEANT4 tag $Name: geant4-09-04-beta-01 $
// $Id: PhysListEmStandard.cc,v 1.2 2010-06-04 05:43:20 kmura Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: PhysListEmStandard.hh,v 1.1 2007/06/21 15:18:32 jjacquem Exp $
// GEANT4 tag $Name: geant4-09-02 $
// $Id: PhysListEmStandard.hh,v 1.1 2007-06-21 15:18:32 jjacquem Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: PhysicsList.cc,v 1.1 2007/06/21 15:18:32 jjacquem Exp $
// GEANT4 tag $Name: geant4-09-02 $
// $Id: PhysicsList.cc,v 1.1 2007-06-21 15:18:32 jjacquem Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: PhysicsList.hh,v 1.1 2007/06/21 15:18:32 jjacquem Exp $
// GEANT4 tag $Name: geant4-09-02 $
// $Id: PhysicsList.hh,v 1.1 2007-06-21 15:18:32 jjacquem Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: PhysicsListMessenger.cc,v 1.1 2007/06/21 15:18:32 jjacquem Exp $
// GEANT4 tag $Name: geant4-09-02 $
// $Id: PhysicsListMessenger.cc,v 1.1 2007-06-21 15:18:32 jjacquem Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: PhysicsListMessenger.hh,v 1.1 2007/06/21 15:18:32 jjacquem Exp $
// GEANT4 tag $Name: geant4-09-02 $
// $Id: PhysicsListMessenger.hh,v 1.1 2007-06-21 15:18:32 jjacquem Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: PrimaryGeneratorAction.cc,v 1.1 2007/06/21 15:18:32 jjacquem Exp $
// GEANT4 tag $Name: geant4-09-02 $
// $Id: PrimaryGeneratorAction.cc,v 1.1 2007-06-21 15:18:32 jjacquem Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
//
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: PrimaryGeneratorAction.hh,v 1.1 2007/06/21 15:18:32 jjacquem Exp $
// GEANT4 tag $Name: geant4-09-02 $
// $Id: PrimaryGeneratorAction.hh,v 1.1 2007-06-21 15:18:32 jjacquem Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: RunAction.cc,v 1.1 2007/06/21 15:18:32 jjacquem Exp $
// GEANT4 tag $Name: geant4-09-02 $
// $Id: RunAction.cc,v 1.1 2007-06-21 15:18:32 jjacquem Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: RunAction.hh,v 1.1 2007/06/21 15:18:32 jjacquem Exp $
// GEANT4 tag $Name: geant4-09-02 $
// $Id: RunAction.hh,v 1.1 2007-06-21 15:18:32 jjacquem Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: pyTestEm0.cc,v 1.2 2007/07/06 06:41:59 kmura Exp $
// $Name: geant4-09-02 $
// $Id: pyTestEm0.cc,v 1.2 2007-07-06 06:41:59 kmura Exp $
// $Name: not supported by cvs2svn $
// ====================================================================
// pyTestEm0.cc
//
@@ -1,5 +1,5 @@
# $Id: GNUmakefile,v 1.1 2006/05/11 04:35:32 kmura Exp $
# $Name: geant4-09-02 $
# $Id: GNUmakefile,v 1.1 2006-05-11 04:35:32 kmura Exp $
# $Name: not supported by cvs2svn $
# ===========================================================
# Makefile for building Geant4Py modules
# ===========================================================
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: MyDetectorConstruction.cc,v 1.3 2006/06/29 15:28:11 gunter Exp $
// $Name: geant4-09-02 $
// $Id: MyDetectorConstruction.cc,v 1.3 2006-06-29 15:28:11 gunter Exp $
// $Name: not supported by cvs2svn $
// ====================================================================
// MyDetectorConstruction.cc
//
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: MyDetectorConstruction.hh,v 1.3 2006/06/29 15:28:13 gunter Exp $
// $Name: geant4-09-02 $
// $Id: MyDetectorConstruction.hh,v 1.3 2006-06-29 15:28:13 gunter Exp $
// $Name: not supported by cvs2svn $
// ====================================================================
// MyDetectorConstruction.hh
//
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: MyMaterials.cc,v 1.3 2006/06/29 15:28:16 gunter Exp $
// $Name: geant4-09-02 $
// $Id: MyMaterials.cc,v 1.3 2006-06-29 15:28:16 gunter Exp $
// $Name: not supported by cvs2svn $
// ====================================================================
// MyMaterials.cc
//
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: MyMaterials.hh,v 1.3 2006/06/29 15:28:19 gunter Exp $
// $Name: geant4-09-02 $
// $Id: MyMaterials.hh,v 1.3 2006-06-29 15:28:19 gunter Exp $
// $Name: not supported by cvs2svn $
// ====================================================================
// MyMaterials.hh
//
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: MyPhysicsList.cc,v 1.3 2006/06/29 15:28:21 gunter Exp $
// $Name: geant4-09-02 $
// $Id: MyPhysicsList.cc,v 1.3 2006-06-29 15:28:21 gunter Exp $
// $Name: not supported by cvs2svn $
// ====================================================================
// MyPhysicsList.cc
//
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: MyPhysicsList.hh,v 1.3 2006/06/29 15:28:23 gunter Exp $
// $Name: geant4-09-02 $
// $Id: MyPhysicsList.hh,v 1.3 2006-06-29 15:28:23 gunter Exp $
// $Name: not supported by cvs2svn $
// ====================================================================
// MyPhysicsList.hh
//
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: Particles.cc,v 1.3 2006/06/29 15:28:25 gunter Exp $
// $Name: geant4-09-02 $
// $Id: Particles.cc,v 1.3 2006-06-29 15:28:25 gunter Exp $
// $Name: not supported by cvs2svn $
// ====================================================================
// Particles.cc
//
@@ -23,7 +23,7 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: Particles.hh,v 1.3 2006/06/29 15:28:27 gunter Exp $
// $Id: Particles.hh,v 1.3 2006-06-29 15:28:27 gunter Exp $
// ====================================================================
// Particles.hh
//
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: PhysicsListEMstd.cc,v 1.4 2010/06/04 05:43:47 kmura Exp $
// $Name: geant4-09-04-beta-01 $
// $Id: PhysicsListEMstd.cc,v 1.4 2010-06-04 05:43:47 kmura Exp $
// $Name: not supported by cvs2svn $
// ====================================================================
// PhysicsListEMstd.cc
//
@@ -23,7 +23,7 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: PhysicsListEMstd.hh,v 1.3 2006/06/29 15:28:32 gunter Exp $
// $Id: PhysicsListEMstd.hh,v 1.3 2006-06-29 15:28:32 gunter Exp $
// ====================================================================
// PhysicsListEMstd.hh
//
@@ -23,7 +23,7 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: PhysicsListLHad.cc,v 1.4 2010/06/04 05:43:47 kmura Exp $
// $Id: PhysicsListLHad.cc,v 1.4 2010-06-04 05:43:47 kmura Exp $
// ====================================================================
// PhysicsListLHad.cc
//
@@ -23,7 +23,7 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: PhysicsListLHad.hh,v 1.3 2006/06/29 15:28:37 gunter Exp $
// $Id: PhysicsListLHad.hh,v 1.3 2006-06-29 15:28:37 gunter Exp $
// ====================================================================
// PhysicsListLHad.hh
//
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: pydemo_wp.cc,v 1.3 2006/06/29 15:28:40 gunter Exp $
// $Name: geant4-09-02 $
// $Id: pydemo_wp.cc,v 1.3 2006-06-29 15:28:40 gunter Exp $
// $Name: not supported by cvs2svn $
// ====================================================================
// pydemo_wp.cc
//
@@ -53,7 +53,7 @@ gRunManager.SetUserInitialization(exN03geom)
# setup for physics list
# ------------------------------------------------------------------
# normal way for constructing user physics list
exN03PL= g4py.ExN03pl.ExN03PhysicsList()
exN03PL= g4py.ExN03pl.PhysicsList()
gRunManager.SetUserInitialization(exN03PL)
# 2nd way, short-cut way
@@ -51,7 +51,7 @@ gRunManager.SetUserInitialization(exN03geom)
# setup for physics list
# ------------------------------------------------------------------
# normal way for constructing user physics list
exN03PL= g4py.ExN03pl.ExN03PhysicsList()
exN03PL= g4py.ExN03pl.PhysicsList()
gRunManager.SetUserInitialization(exN03PL)
# 2nd way, short-cut way
@@ -53,7 +53,7 @@ gRunManager.SetUserInitialization(exN03geom)
# setup for physics list
# ------------------------------------------------------------------
# normal way for constructing user physics list
exN03PL= g4py.ExN03pl.ExN03PhysicsList()
exN03PL= g4py.ExN03pl.PhysicsList()
gRunManager.SetUserInitialization(exN03PL)
# 2nd way, short-cut way
+274 -271
View File
@@ -4,386 +4,389 @@
<define/>
<materials>
<material Z="13" name="Al0xa76fc0" state="solid">
<material Z="13" name="Al0xfa0f70" state="solid">
<MEE unit="eV" value="166"/>
<D unit="g/cm3" value="2.7"/>
<atom unit="g/mole" value="26.98"/>
</material>
<element Z="7" name="Nitrogen0xa43c30">
<element Z="7" name="Nitrogen0xf92ed0">
<atom unit="g/mole" value="14.00674"/>
</element>
<element Z="8" name="Oxygen0xa49f90">
<element Z="8" name="Oxygen0xf930d0">
<atom unit="g/mole" value="15.9994"/>
</element>
<material name="Vacuum0xa3cb70" state="gas">
<material name="Vacuum0xf93e50" state="gas">
<MEE unit="eV" value="85.7025495761375"/>
<D unit="g/cm3" value="1e-25"/>
<fraction n="0.7" ref="Nitrogen0xa43c30"/>
<fraction n="0.3" ref="Oxygen0xa49f90"/>
<fraction n="0.7" ref="Nitrogen0xf92ed0"/>
<fraction n="0.3" ref="Oxygen0xf930d0"/>
</material>
<element Z="55" name="Cesium0xa39e20">
<element Z="55" name="Cesium0xf93b60">
<atom unit="g/mole" value="132.90543"/>
</element>
<element Z="53" name="Iodine0xa3b2f0">
<element Z="53" name="Iodine0xf938e0">
<atom unit="g/mole" value="126.90447"/>
</element>
<material name="CsI0xa7a000" state="solid">
<material name="CsI0xfa3f20" state="solid">
<MEE unit="eV" value="489.469924784908"/>
<D unit="g/cm3" value="4.51"/>
<fraction n="0.511548751606463" ref="Cesium0xa39e20"/>
<fraction n="0.488451248393537" ref="Iodine0xa3b2f0"/>
<fraction n="0.511548751606463" ref="Cesium0xf93b60"/>
<fraction n="0.488451248393537" ref="Iodine0xf938e0"/>
</material>
</materials>
<solids>
<tube aunit="deg" deltaphi="360" lunit="mm" name="tube0xa86680" rmax="9.5" rmin="0" startphi="0" z="200"/>
<box lunit="mm" name="voxel0xa83b40" x="20" y="200" z="20"/>
<box lunit="mm" name="cal0xa86990" x="50" y="50" z="60"/>
<box lunit="mm" name="AREA0xa7fde0" x="300" y="300" z="300"/>
<tube aunit="deg" deltaphi="360" lunit="mm" name="tube0xfb1a20" rmax="9.5" rmin="0" startphi="0" z="200"/>
<box lunit="mm" name="voxel0xfaeee0" x="20" y="200" z="20"/>
<box lunit="mm" name="cal0xfb1d30" x="50" y="50" z="60"/>
<box lunit="mm" name="AREA0xfab180" x="300" y="300" z="300"/>
</solids>
<structure>
<volume name="tube0xa86770">
<materialref ref="Al0xa76fc0"/>
<solidref ref="tube0xa86680"/>
<volume name="tube0xfb1b10">
<materialref ref="Al0xfa0f70"/>
<solidref ref="tube0xfb1a20"/>
</volume>
<volume name="voxel0xa83bc0">
<materialref ref="Vacuum0xa3cb70"/>
<solidref ref="voxel0xa83b40"/>
<physvol name="tube0xa868f0">
<volumeref ref="tube0xa86770"/>
<rotation name="tube0xa868f0_rot" unit="deg" x="-90" y="0" z="0"/>
<volume name="voxel0xfaef60">
<materialref ref="Vacuum0xf93e50"/>
<solidref ref="voxel0xfaeee0"/>
<physvol name="tube0xfb1c90">
<volumeref ref="tube0xfb1b10"/>
<rotation name="tube0xfb1c90_rot" unit="deg" x="-90" y="0" z="0"/>
</physvol>
</volume>
<volume name="cal0xa86a10">
<materialref ref="CsI0xa7a000"/>
<solidref ref="cal0xa86990"/>
<volume name="cal0xfb1db0">
<materialref ref="CsI0xfa3f20"/>
<solidref ref="cal0xfb1d30"/>
</volume>
<volume name="AREA_LV0xa833f0">
<materialref ref="Vacuum0xa3cb70"/>
<solidref ref="AREA0xa7fde0"/>
<physvol name="voxel0xa83cf0">
<volumeref ref="voxel0xa83bc0"/>
<position name="voxel0xa83cf0_pos" unit="mm" x="-140" y="0" z="-130"/>
<volume name="AREA_LV0xfae790">
<materialref ref="Vacuum0xf93e50"/>
<solidref ref="AREA0xfab180"/>
<physvol name="voxel0xfaf090">
<volumeref ref="voxel0xfaef60"/>
<position name="voxel0xfaf090_pos" unit="mm" x="-140" y="0" z="-130"/>
</physvol>
<physvol name="voxel0xa83d70">
<volumeref ref="voxel0xa83bc0"/>
<position name="voxel0xa83d70_pos" unit="mm" x="-120" y="0" z="-130"/>
<physvol name="voxel0xfaf110">
<volumeref ref="voxel0xfaef60"/>
<position name="voxel0xfaf110_pos" unit="mm" x="-120" y="0" z="-130"/>
</physvol>
<physvol name="voxel0xa83df0">
<volumeref ref="voxel0xa83bc0"/>
<position name="voxel0xa83df0_pos" unit="mm" x="-100" y="0" z="-130"/>
<physvol name="voxel0xfaf190">
<volumeref ref="voxel0xfaef60"/>
<position name="voxel0xfaf190_pos" unit="mm" x="-100" y="0" z="-130"/>
</physvol>
<physvol name="voxel0xa83ea0">
<volumeref ref="voxel0xa83bc0"/>
<position name="voxel0xa83ea0_pos" unit="mm" x="-80" y="0" z="-130"/>
<physvol name="voxel0xfaf240">
<volumeref ref="voxel0xfaef60"/>
<position name="voxel0xfaf240_pos" unit="mm" x="-80" y="0" z="-130"/>
</physvol>
<physvol name="voxel0xa83f20">
<volumeref ref="voxel0xa83bc0"/>
<position name="voxel0xa83f20_pos" unit="mm" x="-60" y="0" z="-130"/>
<physvol name="voxel0xfaf2c0">
<volumeref ref="voxel0xfaef60"/>
<position name="voxel0xfaf2c0_pos" unit="mm" x="-60" y="0" z="-130"/>
</physvol>
<physvol name="voxel0xa83fc0">
<volumeref ref="voxel0xa83bc0"/>
<position name="voxel0xa83fc0_pos" unit="mm" x="-40" y="0" z="-130"/>
<physvol name="voxel0xfaf360">
<volumeref ref="voxel0xfaef60"/>
<position name="voxel0xfaf360_pos" unit="mm" x="-40" y="0" z="-130"/>
</physvol>
<physvol name="voxel0xa84040">
<volumeref ref="voxel0xa83bc0"/>
<position name="voxel0xa84040_pos" unit="mm" x="-20" y="0" z="-130"/>
<physvol name="voxel0xfaf3e0">
<volumeref ref="voxel0xfaef60"/>
<position name="voxel0xfaf3e0_pos" unit="mm" x="-20" y="0" z="-130"/>
</physvol>
<physvol name="voxel0xa840c0">
<volumeref ref="voxel0xa83bc0"/>
<position name="voxel0xa840c0_pos" unit="mm" x="0" y="0" z="-130"/>
<physvol name="voxel0xfaf460">
<volumeref ref="voxel0xfaef60"/>
<position name="voxel0xfaf460_pos" unit="mm" x="0" y="0" z="-130"/>
</physvol>
<physvol name="voxel0xa84140">
<volumeref ref="voxel0xa83bc0"/>
<position name="voxel0xa84140_pos" unit="mm" x="20" y="0" z="-130"/>
<physvol name="voxel0xfaf4e0">
<volumeref ref="voxel0xfaef60"/>
<position name="voxel0xfaf4e0_pos" unit="mm" x="20" y="0" z="-130"/>
</physvol>
<physvol name="voxel0xa83f70">
<volumeref ref="voxel0xa83bc0"/>
<position name="voxel0xa83f70_pos" unit="mm" x="40" y="0" z="-130"/>
<physvol name="voxel0xfaf310">
<volumeref ref="voxel0xfaef60"/>
<position name="voxel0xfaf310_pos" unit="mm" x="40" y="0" z="-130"/>
</physvol>
<physvol name="voxel0xa84280">
<volumeref ref="voxel0xa83bc0"/>
<position name="voxel0xa84280_pos" unit="mm" x="60" y="0" z="-130"/>
<physvol name="voxel0xfaf620">
<volumeref ref="voxel0xfaef60"/>
<position name="voxel0xfaf620_pos" unit="mm" x="60" y="0" z="-130"/>
</physvol>
<physvol name="voxel0xa84300">
<volumeref ref="voxel0xa83bc0"/>
<position name="voxel0xa84300_pos" unit="mm" x="80" y="0" z="-130"/>
<physvol name="voxel0xfaf6a0">
<volumeref ref="voxel0xfaef60"/>
<position name="voxel0xfaf6a0_pos" unit="mm" x="80" y="0" z="-130"/>
</physvol>
<physvol name="voxel0xa84380">
<volumeref ref="voxel0xa83bc0"/>
<position name="voxel0xa84380_pos" unit="mm" x="100" y="0" z="-130"/>
<physvol name="voxel0xfaf720">
<volumeref ref="voxel0xfaef60"/>
<position name="voxel0xfaf720_pos" unit="mm" x="100" y="0" z="-130"/>
</physvol>
<physvol name="voxel0xa84400">
<volumeref ref="voxel0xa83bc0"/>
<position name="voxel0xa84400_pos" unit="mm" x="120" y="0" z="-130"/>
<physvol name="voxel0xfaf7a0">
<volumeref ref="voxel0xfaef60"/>
<position name="voxel0xfaf7a0_pos" unit="mm" x="120" y="0" z="-130"/>
</physvol>
<physvol name="voxel0xa84480">
<volumeref ref="voxel0xa83bc0"/>
<position name="voxel0xa84480_pos" unit="mm" x="140" y="0" z="-130"/>
<physvol name="voxel0xfaf820">
<volumeref ref="voxel0xfaef60"/>
<position name="voxel0xfaf820_pos" unit="mm" x="140" y="0" z="-130"/>
</physvol>
<physvol name="voxel0xa84500">
<volumeref ref="voxel0xa83bc0"/>
<position name="voxel0xa84500_pos" unit="mm" x="-140" y="0" z="-110"/>
<physvol name="voxel0xfaf8a0">
<volumeref ref="voxel0xfaef60"/>
<position name="voxel0xfaf8a0_pos" unit="mm" x="-140" y="0" z="-110"/>
</physvol>
<physvol name="voxel0xa84580">
<volumeref ref="voxel0xa83bc0"/>
<position name="voxel0xa84580_pos" unit="mm" x="-120" y="0" z="-110"/>
<physvol name="voxel0xfaf920">
<volumeref ref="voxel0xfaef60"/>
<position name="voxel0xfaf920_pos" unit="mm" x="-120" y="0" z="-110"/>
</physvol>
<physvol name="voxel0xa841c0">
<volumeref ref="voxel0xa83bc0"/>
<position name="voxel0xa841c0_pos" unit="mm" x="-100" y="0" z="-110"/>
<physvol name="voxel0xfafab0">
<volumeref ref="voxel0xfaef60"/>
<position name="voxel0xfafab0_pos" unit="mm" x="-100" y="0" z="-110"/>
</physvol>
<physvol name="voxel0xa84710">
<volumeref ref="voxel0xa83bc0"/>
<position name="voxel0xa84710_pos" unit="mm" x="-80" y="0" z="-110"/>
<physvol name="voxel0xfafb30">
<volumeref ref="voxel0xfaef60"/>
<position name="voxel0xfafb30_pos" unit="mm" x="-80" y="0" z="-110"/>
</physvol>
<physvol name="voxel0xa84790">
<volumeref ref="voxel0xa83bc0"/>
<position name="voxel0xa84790_pos" unit="mm" x="-60" y="0" z="-110"/>
<physvol name="voxel0xfafbb0">
<volumeref ref="voxel0xfaef60"/>
<position name="voxel0xfafbb0_pos" unit="mm" x="-60" y="0" z="-110"/>
</physvol>
<physvol name="voxel0xa84810">
<volumeref ref="voxel0xa83bc0"/>
<position name="voxel0xa84810_pos" unit="mm" x="-40" y="0" z="-110"/>
<physvol name="voxel0xfafc30">
<volumeref ref="voxel0xfaef60"/>
<position name="voxel0xfafc30_pos" unit="mm" x="-40" y="0" z="-110"/>
</physvol>
<physvol name="voxel0xa84890">
<volumeref ref="voxel0xa83bc0"/>
<position name="voxel0xa84890_pos" unit="mm" x="-20" y="0" z="-110"/>
<physvol name="voxel0xfafcb0">
<volumeref ref="voxel0xfaef60"/>
<position name="voxel0xfafcb0_pos" unit="mm" x="-20" y="0" z="-110"/>
</physvol>
<physvol name="voxel0xa84910">
<volumeref ref="voxel0xa83bc0"/>
<position name="voxel0xa84910_pos" unit="mm" x="0" y="0" z="-110"/>
<physvol name="voxel0xfafd30">
<volumeref ref="voxel0xfaef60"/>
<position name="voxel0xfafd30_pos" unit="mm" x="0" y="0" z="-110"/>
</physvol>
<physvol name="voxel0xa84990">
<volumeref ref="voxel0xa83bc0"/>
<position name="voxel0xa84990_pos" unit="mm" x="20" y="0" z="-110"/>
<physvol name="voxel0xfafdb0">
<volumeref ref="voxel0xfaef60"/>
<position name="voxel0xfafdb0_pos" unit="mm" x="20" y="0" z="-110"/>
</physvol>
<physvol name="voxel0xa84a10">
<volumeref ref="voxel0xa83bc0"/>
<position name="voxel0xa84a10_pos" unit="mm" x="40" y="0" z="-110"/>
<physvol name="voxel0xfafe30">
<volumeref ref="voxel0xfaef60"/>
<position name="voxel0xfafe30_pos" unit="mm" x="40" y="0" z="-110"/>
</physvol>
<physvol name="voxel0xa84a90">
<volumeref ref="voxel0xa83bc0"/>
<position name="voxel0xa84a90_pos" unit="mm" x="60" y="0" z="-110"/>
<physvol name="voxel0xfafeb0">
<volumeref ref="voxel0xfaef60"/>
<position name="voxel0xfafeb0_pos" unit="mm" x="60" y="0" z="-110"/>
</physvol>
<physvol name="voxel0xa84b10">
<volumeref ref="voxel0xa83bc0"/>
<position name="voxel0xa84b10_pos" unit="mm" x="80" y="0" z="-110"/>
<physvol name="voxel0xfaff30">
<volumeref ref="voxel0xfaef60"/>
<position name="voxel0xfaff30_pos" unit="mm" x="80" y="0" z="-110"/>
</physvol>
<physvol name="voxel0xa84b90">
<volumeref ref="voxel0xa83bc0"/>
<position name="voxel0xa84b90_pos" unit="mm" x="100" y="0" z="-110"/>
<physvol name="voxel0xfaffb0">
<volumeref ref="voxel0xfaef60"/>
<position name="voxel0xfaffb0_pos" unit="mm" x="100" y="0" z="-110"/>
</physvol>
<physvol name="voxel0xa84c10">
<volumeref ref="voxel0xa83bc0"/>
<position name="voxel0xa84c10_pos" unit="mm" x="120" y="0" z="-110"/>
<physvol name="voxel0xfb0030">
<volumeref ref="voxel0xfaef60"/>
<position name="voxel0xfb0030_pos" unit="mm" x="120" y="0" z="-110"/>
</physvol>
<physvol name="voxel0xa84c90">
<volumeref ref="voxel0xa83bc0"/>
<position name="voxel0xa84c90_pos" unit="mm" x="140" y="0" z="-110"/>
<physvol name="voxel0xfb00b0">
<volumeref ref="voxel0xfaef60"/>
<position name="voxel0xfb00b0_pos" unit="mm" x="140" y="0" z="-110"/>
</physvol>
<physvol name="voxel0xa84d10">
<volumeref ref="voxel0xa83bc0"/>
<position name="voxel0xa84d10_pos" unit="mm" x="-140" y="0" z="-90"/>
<physvol name="voxel0xfb0130">
<volumeref ref="voxel0xfaef60"/>
<position name="voxel0xfb0130_pos" unit="mm" x="-140" y="0" z="-90"/>
</physvol>
<physvol name="voxel0xa84d90">
<volumeref ref="voxel0xa83bc0"/>
<position name="voxel0xa84d90_pos" unit="mm" x="-120" y="0" z="-90"/>
<physvol name="voxel0xfb01b0">
<volumeref ref="voxel0xfaef60"/>
<position name="voxel0xfb01b0_pos" unit="mm" x="-120" y="0" z="-90"/>
</physvol>
<physvol name="voxel0xa84e10">
<volumeref ref="voxel0xa83bc0"/>
<position name="voxel0xa84e10_pos" unit="mm" x="-100" y="0" z="-90"/>
<physvol name="voxel0xfb0230">
<volumeref ref="voxel0xfaef60"/>
<position name="voxel0xfb0230_pos" unit="mm" x="-100" y="0" z="-90"/>
</physvol>
<physvol name="voxel0xa84600">
<volumeref ref="voxel0xa83bc0"/>
<position name="voxel0xa84600_pos" unit="mm" x="-80" y="0" z="-90"/>
<physvol name="voxel0xfaf9a0">
<volumeref ref="voxel0xfaef60"/>
<position name="voxel0xfaf9a0_pos" unit="mm" x="-80" y="0" z="-90"/>
</physvol>
<physvol name="voxel0xa84680">
<volumeref ref="voxel0xa83bc0"/>
<position name="voxel0xa84680_pos" unit="mm" x="-60" y="0" z="-90"/>
<physvol name="voxel0xfafa20">
<volumeref ref="voxel0xfaef60"/>
<position name="voxel0xfafa20_pos" unit="mm" x="-60" y="0" z="-90"/>
</physvol>
<physvol name="voxel0xa850a0">
<volumeref ref="voxel0xa83bc0"/>
<position name="voxel0xa850a0_pos" unit="mm" x="-40" y="0" z="-90"/>
<physvol name="voxel0xfb04c0">
<volumeref ref="voxel0xfaef60"/>
<position name="voxel0xfb04c0_pos" unit="mm" x="-40" y="0" z="-90"/>
</physvol>
<physvol name="voxel0xa85120">
<volumeref ref="voxel0xa83bc0"/>
<position name="voxel0xa85120_pos" unit="mm" x="-20" y="0" z="-90"/>
<physvol name="voxel0xfb0540">
<volumeref ref="voxel0xfaef60"/>
<position name="voxel0xfb0540_pos" unit="mm" x="-20" y="0" z="-90"/>
</physvol>
<physvol name="voxel0xa851a0">
<volumeref ref="voxel0xa83bc0"/>
<position name="voxel0xa851a0_pos" unit="mm" x="0" y="0" z="-90"/>
<physvol name="voxel0xfb05c0">
<volumeref ref="voxel0xfaef60"/>
<position name="voxel0xfb05c0_pos" unit="mm" x="0" y="0" z="-90"/>
</physvol>
<physvol name="voxel0xa85220">
<volumeref ref="voxel0xa83bc0"/>
<position name="voxel0xa85220_pos" unit="mm" x="20" y="0" z="-90"/>
<physvol name="voxel0xfb0640">
<volumeref ref="voxel0xfaef60"/>
<position name="voxel0xfb0640_pos" unit="mm" x="20" y="0" z="-90"/>
</physvol>
<physvol name="voxel0xa852a0">
<volumeref ref="voxel0xa83bc0"/>
<position name="voxel0xa852a0_pos" unit="mm" x="40" y="0" z="-90"/>
<physvol name="voxel0xfb06c0">
<volumeref ref="voxel0xfaef60"/>
<position name="voxel0xfb06c0_pos" unit="mm" x="40" y="0" z="-90"/>
</physvol>
<physvol name="voxel0xa85320">
<volumeref ref="voxel0xa83bc0"/>
<position name="voxel0xa85320_pos" unit="mm" x="60" y="0" z="-90"/>
<physvol name="voxel0xfb0740">
<volumeref ref="voxel0xfaef60"/>
<position name="voxel0xfb0740_pos" unit="mm" x="60" y="0" z="-90"/>
</physvol>
<physvol name="voxel0xa853a0">
<volumeref ref="voxel0xa83bc0"/>
<position name="voxel0xa853a0_pos" unit="mm" x="80" y="0" z="-90"/>
<physvol name="voxel0xfb07c0">
<volumeref ref="voxel0xfaef60"/>
<position name="voxel0xfb07c0_pos" unit="mm" x="80" y="0" z="-90"/>
</physvol>
<physvol name="voxel0xa85420">
<volumeref ref="voxel0xa83bc0"/>
<position name="voxel0xa85420_pos" unit="mm" x="100" y="0" z="-90"/>
<physvol name="voxel0xfb0840">
<volumeref ref="voxel0xfaef60"/>
<position name="voxel0xfb0840_pos" unit="mm" x="100" y="0" z="-90"/>
</physvol>
<physvol name="voxel0xa854a0">
<volumeref ref="voxel0xa83bc0"/>
<position name="voxel0xa854a0_pos" unit="mm" x="120" y="0" z="-90"/>
<physvol name="voxel0xfb08c0">
<volumeref ref="voxel0xfaef60"/>
<position name="voxel0xfb08c0_pos" unit="mm" x="120" y="0" z="-90"/>
</physvol>
<physvol name="voxel0xa85520">
<volumeref ref="voxel0xa83bc0"/>
<position name="voxel0xa85520_pos" unit="mm" x="140" y="0" z="-90"/>
<physvol name="voxel0xfb0940">
<volumeref ref="voxel0xfaef60"/>
<position name="voxel0xfb0940_pos" unit="mm" x="140" y="0" z="-90"/>
</physvol>
<physvol name="voxel0xa855a0">
<volumeref ref="voxel0xa83bc0"/>
<position name="voxel0xa855a0_pos" unit="mm" x="-140" y="0" z="-70"/>
<physvol name="voxel0xfb09c0">
<volumeref ref="voxel0xfaef60"/>
<position name="voxel0xfb09c0_pos" unit="mm" x="-140" y="0" z="-70"/>
</physvol>
<physvol name="voxel0xa85620">
<volumeref ref="voxel0xa83bc0"/>
<position name="voxel0xa85620_pos" unit="mm" x="-120" y="0" z="-70"/>
<physvol name="voxel0xfb0a40">
<volumeref ref="voxel0xfaef60"/>
<position name="voxel0xfb0a40_pos" unit="mm" x="-120" y="0" z="-70"/>
</physvol>
<physvol name="voxel0xa856a0">
<volumeref ref="voxel0xa83bc0"/>
<position name="voxel0xa856a0_pos" unit="mm" x="-100" y="0" z="-70"/>
<physvol name="voxel0xfb0ac0">
<volumeref ref="voxel0xfaef60"/>
<position name="voxel0xfb0ac0_pos" unit="mm" x="-100" y="0" z="-70"/>
</physvol>
<physvol name="voxel0xa85720">
<volumeref ref="voxel0xa83bc0"/>
<position name="voxel0xa85720_pos" unit="mm" x="-80" y="0" z="-70"/>
<physvol name="voxel0xfb0b40">
<volumeref ref="voxel0xfaef60"/>
<position name="voxel0xfb0b40_pos" unit="mm" x="-80" y="0" z="-70"/>
</physvol>
<physvol name="voxel0xa857a0">
<volumeref ref="voxel0xa83bc0"/>
<position name="voxel0xa857a0_pos" unit="mm" x="-60" y="0" z="-70"/>
<physvol name="voxel0xfb0bc0">
<volumeref ref="voxel0xfaef60"/>
<position name="voxel0xfb0bc0_pos" unit="mm" x="-60" y="0" z="-70"/>
</physvol>
<physvol name="voxel0xa85820">
<volumeref ref="voxel0xa83bc0"/>
<position name="voxel0xa85820_pos" unit="mm" x="-40" y="0" z="-70"/>
<physvol name="voxel0xfb0c40">
<volumeref ref="voxel0xfaef60"/>
<position name="voxel0xfb0c40_pos" unit="mm" x="-40" y="0" z="-70"/>
</physvol>
<physvol name="voxel0xa858a0">
<volumeref ref="voxel0xa83bc0"/>
<position name="voxel0xa858a0_pos" unit="mm" x="-20" y="0" z="-70"/>
<physvol name="voxel0xfb0cc0">
<volumeref ref="voxel0xfaef60"/>
<position name="voxel0xfb0cc0_pos" unit="mm" x="-20" y="0" z="-70"/>
</physvol>
<physvol name="voxel0xa85920">
<volumeref ref="voxel0xa83bc0"/>
<position name="voxel0xa85920_pos" unit="mm" x="0" y="0" z="-70"/>
<physvol name="voxel0xfb0d40">
<volumeref ref="voxel0xfaef60"/>
<position name="voxel0xfb0d40_pos" unit="mm" x="0" y="0" z="-70"/>
</physvol>
<physvol name="voxel0xa859a0">
<volumeref ref="voxel0xa83bc0"/>
<position name="voxel0xa859a0_pos" unit="mm" x="20" y="0" z="-70"/>
<physvol name="voxel0xfb0dc0">
<volumeref ref="voxel0xfaef60"/>
<position name="voxel0xfb0dc0_pos" unit="mm" x="20" y="0" z="-70"/>
</physvol>
<physvol name="voxel0xa85a20">
<volumeref ref="voxel0xa83bc0"/>
<position name="voxel0xa85a20_pos" unit="mm" x="40" y="0" z="-70"/>
<physvol name="voxel0xfb0e40">
<volumeref ref="voxel0xfaef60"/>
<position name="voxel0xfb0e40_pos" unit="mm" x="40" y="0" z="-70"/>
</physvol>
<physvol name="voxel0xa85aa0">
<volumeref ref="voxel0xa83bc0"/>
<position name="voxel0xa85aa0_pos" unit="mm" x="60" y="0" z="-70"/>
<physvol name="voxel0xfb0ec0">
<volumeref ref="voxel0xfaef60"/>
<position name="voxel0xfb0ec0_pos" unit="mm" x="60" y="0" z="-70"/>
</physvol>
<physvol name="voxel0xa85b20">
<volumeref ref="voxel0xa83bc0"/>
<position name="voxel0xa85b20_pos" unit="mm" x="80" y="0" z="-70"/>
<physvol name="voxel0xfb0f40">
<volumeref ref="voxel0xfaef60"/>
<position name="voxel0xfb0f40_pos" unit="mm" x="80" y="0" z="-70"/>
</physvol>
<physvol name="voxel0xa85ba0">
<volumeref ref="voxel0xa83bc0"/>
<position name="voxel0xa85ba0_pos" unit="mm" x="100" y="0" z="-70"/>
<physvol name="voxel0xfb0fc0">
<volumeref ref="voxel0xfaef60"/>
<position name="voxel0xfb0fc0_pos" unit="mm" x="100" y="0" z="-70"/>
</physvol>
<physvol name="voxel0xa85c20">
<volumeref ref="voxel0xa83bc0"/>
<position name="voxel0xa85c20_pos" unit="mm" x="120" y="0" z="-70"/>
<physvol name="voxel0xfb1040">
<volumeref ref="voxel0xfaef60"/>
<position name="voxel0xfb1040_pos" unit="mm" x="120" y="0" z="-70"/>
</physvol>
<physvol name="voxel0xa85ca0">
<volumeref ref="voxel0xa83bc0"/>
<position name="voxel0xa85ca0_pos" unit="mm" x="140" y="0" z="-70"/>
<physvol name="voxel0xfb10c0">
<volumeref ref="voxel0xfaef60"/>
<position name="voxel0xfb10c0_pos" unit="mm" x="140" y="0" z="-70"/>
</physvol>
<physvol name="voxel0xa85d20">
<volumeref ref="voxel0xa83bc0"/>
<position name="voxel0xa85d20_pos" unit="mm" x="-140" y="0" z="-50"/>
<physvol name="voxel0xfb1140">
<volumeref ref="voxel0xfaef60"/>
<position name="voxel0xfb1140_pos" unit="mm" x="-140" y="0" z="-50"/>
</physvol>
<physvol name="voxel0xa85da0">
<volumeref ref="voxel0xa83bc0"/>
<position name="voxel0xa85da0_pos" unit="mm" x="-120" y="0" z="-50"/>
<physvol name="voxel0xfb11c0">
<volumeref ref="voxel0xfaef60"/>
<position name="voxel0xfb11c0_pos" unit="mm" x="-120" y="0" z="-50"/>
</physvol>
<physvol name="voxel0xa85e20">
<volumeref ref="voxel0xa83bc0"/>
<position name="voxel0xa85e20_pos" unit="mm" x="-100" y="0" z="-50"/>
<physvol name="voxel0xfb1240">
<volumeref ref="voxel0xfaef60"/>
<position name="voxel0xfb1240_pos" unit="mm" x="-100" y="0" z="-50"/>
</physvol>
<physvol name="voxel0xa85ea0">
<volumeref ref="voxel0xa83bc0"/>
<position name="voxel0xa85ea0_pos" unit="mm" x="-80" y="0" z="-50"/>
<physvol name="voxel0xfb12c0">
<volumeref ref="voxel0xfaef60"/>
<position name="voxel0xfb12c0_pos" unit="mm" x="-80" y="0" z="-50"/>
</physvol>
<physvol name="voxel0xa85f20">
<volumeref ref="voxel0xa83bc0"/>
<position name="voxel0xa85f20_pos" unit="mm" x="-60" y="0" z="-50"/>
<physvol name="voxel0xfb1340">
<volumeref ref="voxel0xfaef60"/>
<position name="voxel0xfb1340_pos" unit="mm" x="-60" y="0" z="-50"/>
</physvol>
<physvol name="voxel0xa84e60">
<volumeref ref="voxel0xa83bc0"/>
<position name="voxel0xa84e60_pos" unit="mm" x="-40" y="0" z="-50"/>
<physvol name="voxel0xfaf530">
<volumeref ref="voxel0xfaef60"/>
<position name="voxel0xfaf530_pos" unit="mm" x="-40" y="0" z="-50"/>
</physvol>
<physvol name="voxel0xa84ee0">
<volumeref ref="voxel0xa83bc0"/>
<position name="voxel0xa84ee0_pos" unit="mm" x="-20" y="0" z="-50"/>
<physvol name="voxel0xfb0280">
<volumeref ref="voxel0xfaef60"/>
<position name="voxel0xfb0280_pos" unit="mm" x="-20" y="0" z="-50"/>
</physvol>
<physvol name="voxel0xa84f60">
<volumeref ref="voxel0xa83bc0"/>
<position name="voxel0xa84f60_pos" unit="mm" x="0" y="0" z="-50"/>
<physvol name="voxel0xfb0300">
<volumeref ref="voxel0xfaef60"/>
<position name="voxel0xfb0300_pos" unit="mm" x="0" y="0" z="-50"/>
</physvol>
<physvol name="voxel0xa84fe0">
<volumeref ref="voxel0xa83bc0"/>
<position name="voxel0xa84fe0_pos" unit="mm" x="20" y="0" z="-50"/>
<physvol name="voxel0xfb0380">
<volumeref ref="voxel0xfaef60"/>
<position name="voxel0xfb0380_pos" unit="mm" x="20" y="0" z="-50"/>
</physvol>
<physvol name="voxel0xa86380">
<volumeref ref="voxel0xa83bc0"/>
<position name="voxel0xa86380_pos" unit="mm" x="40" y="0" z="-50"/>
<physvol name="voxel0xfb0400">
<volumeref ref="voxel0xfaef60"/>
<position name="voxel0xfb0400_pos" unit="mm" x="40" y="0" z="-50"/>
</physvol>
<physvol name="voxel0xa86400">
<volumeref ref="voxel0xa83bc0"/>
<position name="voxel0xa86400_pos" unit="mm" x="60" y="0" z="-50"/>
<physvol name="voxel0xfb17a0">
<volumeref ref="voxel0xfaef60"/>
<position name="voxel0xfb17a0_pos" unit="mm" x="60" y="0" z="-50"/>
</physvol>
<physvol name="voxel0xa86480">
<volumeref ref="voxel0xa83bc0"/>
<position name="voxel0xa86480_pos" unit="mm" x="80" y="0" z="-50"/>
<physvol name="voxel0xfb1820">
<volumeref ref="voxel0xfaef60"/>
<position name="voxel0xfb1820_pos" unit="mm" x="80" y="0" z="-50"/>
</physvol>
<physvol name="voxel0xa86500">
<volumeref ref="voxel0xa83bc0"/>
<position name="voxel0xa86500_pos" unit="mm" x="100" y="0" z="-50"/>
<physvol name="voxel0xfb18a0">
<volumeref ref="voxel0xfaef60"/>
<position name="voxel0xfb18a0_pos" unit="mm" x="100" y="0" z="-50"/>
</physvol>
<physvol name="voxel0xa86580">
<volumeref ref="voxel0xa83bc0"/>
<position name="voxel0xa86580_pos" unit="mm" x="120" y="0" z="-50"/>
<physvol name="voxel0xfb1920">
<volumeref ref="voxel0xfaef60"/>
<position name="voxel0xfb1920_pos" unit="mm" x="120" y="0" z="-50"/>
</physvol>
<physvol name="voxel0xa86600">
<volumeref ref="voxel0xa83bc0"/>
<position name="voxel0xa86600_pos" unit="mm" x="140" y="0" z="-50"/>
<physvol name="voxel0xfb19a0">
<volumeref ref="voxel0xfaef60"/>
<position name="voxel0xfb19a0_pos" unit="mm" x="140" y="0" z="-50"/>
</physvol>
<physvol name="cal0xa86b40">
<volumeref ref="cal0xa86a10"/>
<position name="cal0xa86b40_pos" unit="mm" x="-100" y="0" z="20"/>
<physvol name="cal0xfb1ee0">
<volumeref ref="cal0xfb1db0"/>
<position name="cal0xfb1ee0_pos" unit="mm" x="-100" y="0" z="20"/>
</physvol>
<physvol name="cal0xa86bc0">
<volumeref ref="cal0xa86a10"/>
<position name="cal0xa86bc0_pos" unit="mm" x="-50" y="0" z="20"/>
<physvol name="cal0xfb1f60">
<volumeref ref="cal0xfb1db0"/>
<position name="cal0xfb1f60_pos" unit="mm" x="-50" y="0" z="20"/>
</physvol>
<physvol name="cal0xa86c40">
<volumeref ref="cal0xa86a10"/>
<position name="cal0xa86c40_pos" unit="mm" x="0" y="0" z="20"/>
<physvol name="cal0xfb1fe0">
<volumeref ref="cal0xfb1db0"/>
<position name="cal0xfb1fe0_pos" unit="mm" x="0" y="0" z="20"/>
</physvol>
<physvol name="cal0xa86cc0">
<volumeref ref="cal0xa86a10"/>
<position name="cal0xa86cc0_pos" unit="mm" x="50" y="0" z="20"/>
<physvol name="cal0xfb2060">
<volumeref ref="cal0xfb1db0"/>
<position name="cal0xfb2060_pos" unit="mm" x="50" y="0" z="20"/>
</physvol>
<physvol name="cal0xa86d40">
<volumeref ref="cal0xa86a10"/>
<position name="cal0xa86d40_pos" unit="mm" x="100" y="0" z="20"/>
<physvol name="cal0xfb20e0">
<volumeref ref="cal0xfb1db0"/>
<position name="cal0xfb20e0_pos" unit="mm" x="100" y="0" z="20"/>
</physvol>
</volume>
</structure>
<setup name="Default" version="1.0">
<world ref="AREA_LV0xa833f0"/>
<world ref="AREA_LV0xfae790"/>
</setup>
</gdml>
+2 -2
View File
@@ -1,5 +1,5 @@
# $Id: GNUmakefile,v 1.4 2008/12/01 07:23:29 kmura Exp $
# $Name: geant4-09-02 $
# $Id: GNUmakefile,v 1.4 2008-12-01 07:23:29 kmura Exp $
# $Name: not supported by cvs2svn $
# ===========================================================
# Makefile for building Geant4Py site-modules
# ===========================================================
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: ExN01DetectorConstruction.cc,v 1.4 2006/06/29 15:29:10 gunter Exp $
// $Name: geant4-09-02 $
// $Id: ExN01DetectorConstruction.cc,v 1.4 2006-06-29 15:29:10 gunter Exp $
// $Name: not supported by cvs2svn $
// ====================================================================
// ExN01DetectorConstruction.cc
//
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: ExN01DetectorConstruction.hh,v 1.4 2006/06/29 15:29:12 gunter Exp $
// $Name: geant4-09-02 $
// $Id: ExN01DetectorConstruction.hh,v 1.4 2006-06-29 15:29:12 gunter Exp $
// $Name: not supported by cvs2svn $
// ====================================================================
// ExN01DetectorConstruction.hh
//
@@ -1,5 +1,5 @@
# $Id: GNUmakefile,v 1.2 2006/04/25 10:25:12 kmura Exp $
# $Name: geant4-09-02 $
# $Id: GNUmakefile,v 1.2 2006-04-25 10:25:12 kmura Exp $
# $Name: not supported by cvs2svn $
# ===========================================================
# Makefile for building Geant4Py modules
# ===========================================================
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: pyExN01geom.cc,v 1.4 2006/06/29 15:29:14 gunter Exp $
// $Name: geant4-09-02 $
// $Id: pyExN01geom.cc,v 1.4 2006-06-29 15:29:14 gunter Exp $
// $Name: not supported by cvs2svn $
// ====================================================================
// pyExN01geom.cc
//
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: ExN03DetectorConstruction.cc,v 1.5 2006/12/01 02:37:01 kmura Exp $
// GEANT4 tag $Name: geant4-09-02 $
// $Id: ExN03DetectorConstruction.cc,v 1.5 2006-12-01 02:37:01 kmura Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
//
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: ExN03DetectorConstruction.hh,v 1.5 2006/12/01 02:37:01 kmura Exp $
// GEANT4 tag $Name: geant4-09-02 $
// $Id: ExN03DetectorConstruction.hh,v 1.5 2006-12-01 02:37:01 kmura Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
//
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: ExN03DetectorMessenger.cc,v 1.1 2006/12/01 02:37:01 kmura Exp $
// GEANT4 tag $Name: geant4-09-02 $
// $Id: ExN03DetectorMessenger.cc,v 1.1 2006-12-01 02:37:01 kmura Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
//
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: ExN03DetectorMessenger.hh,v 1.1 2006/12/01 02:37:01 kmura Exp $
// GEANT4 tag $Name: geant4-09-02 $
// $Id: ExN03DetectorMessenger.hh,v 1.1 2006-12-01 02:37:01 kmura Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
//
@@ -1,5 +1,5 @@
# $Id: GNUmakefile,v 1.2 2006/04/25 10:25:12 kmura Exp $
# $Name: geant4-09-02 $
# $Id: GNUmakefile,v 1.2 2006-04-25 10:25:12 kmura Exp $
# $Name: not supported by cvs2svn $
# ===========================================================
# Makefile for building Geant4Py modules
# ===========================================================
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: pyExN03geom.cc,v 1.4 2006/06/29 15:29:21 gunter Exp $
// $Name: geant4-09-02 $
// $Id: pyExN03geom.cc,v 1.4 2006-06-29 15:29:21 gunter Exp $
// $Name: not supported by cvs2svn $
// ====================================================================
// pyExN03geom.cc
//
@@ -1,5 +1,5 @@
# $Id: GNUmakefile,v 1.3 2008/12/01 07:07:05 kmura Exp $
# $Name: geant4-09-02 $
# $Id: GNUmakefile,v 1.3 2008-12-01 07:07:05 kmura Exp $
# $Name: not supported by cvs2svn $
# ===========================================================
# Makefile for building Geant4Py site-modules
# ===========================================================
@@ -1,5 +1,5 @@
# $Id: GNUmakefile,v 1.2 2006/04/25 10:25:12 kmura Exp $
# $Name: geant4-09-02 $
# $Id: GNUmakefile,v 1.2 2006-04-25 10:25:12 kmura Exp $
# $Name: not supported by cvs2svn $
# ===========================================================
# Makefile for building Geant4Py modules
# ===========================================================
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: QDetectorConstruction.cc,v 1.4 2006/06/29 15:29:24 gunter Exp $
// $Name: geant4-09-02 $
// $Id: QDetectorConstruction.cc,v 1.4 2006-06-29 15:29:24 gunter Exp $
// $Name: not supported by cvs2svn $
// ====================================================================
// QDetectorConstruction.cc
//
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: QDetectorConstruction.hh,v 1.4 2006/06/29 15:29:26 gunter Exp $
// $Name: geant4-09-02 $
// $Id: QDetectorConstruction.hh,v 1.4 2006-06-29 15:29:26 gunter Exp $
// $Name: not supported by cvs2svn $
// ====================================================================
// QDetectorConstruction.hh
//
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: pyQgeom.cc,v 1.4 2006/06/29 15:29:29 gunter Exp $
// $Name: geant4-09-02 $
// $Id: pyQgeom.cc,v 1.4 2006-06-29 15:29:29 gunter Exp $
// $Name: not supported by cvs2svn $
// ====================================================================
// pyQgeom.cc
//
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: EzDetectorConstruction.cc,v 1.1 2008/12/01 07:07:34 kmura Exp $
// $Name: geant4-09-02 $
// $Id: EzDetectorConstruction.cc,v 1.1 2008-12-01 07:07:34 kmura Exp $
// $Name: not supported by cvs2svn $
// ====================================================================
// EzDetectorConstruction.cc
//
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: EzDetectorConstruction.hh,v 1.1 2008/12/01 07:07:34 kmura Exp $
// $Name: geant4-09-02 $
// $Id: EzDetectorConstruction.hh,v 1.1 2008-12-01 07:07:34 kmura Exp $
// $Name: not supported by cvs2svn $
// ====================================================================
// EzDetectorConstruction.hh
//
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4EzVolume.cc,v 1.1 2008/12/01 07:07:34 kmura Exp $
// $Name: geant4-09-02 $
// $Id: G4EzVolume.cc,v 1.1 2008-12-01 07:07:34 kmura Exp $
// $Name: not supported by cvs2svn $
// ====================================================================
// G4EzVolume.cc
//
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4EzVolume.hh,v 1.1 2008/12/01 07:07:34 kmura Exp $
// $Name: geant4-09-02 $
// $Id: G4EzVolume.hh,v 1.1 2008-12-01 07:07:34 kmura Exp $
// $Name: not supported by cvs2svn $
// ====================================================================
// G4EzVolume.hh
//
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4EzVoxelParameterization.cc,v 1.1 2008/12/01 07:07:34 kmura Exp $
// $Name: geant4-09-02 $
// $Id: G4EzVoxelParameterization.cc,v 1.1 2008-12-01 07:07:34 kmura Exp $
// $Name: not supported by cvs2svn $
// ====================================================================
// G4EzVoxelParameterization.cc
//
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4EzVoxelParameterization.hh,v 1.1 2008/12/01 07:07:34 kmura Exp $
// $Name: geant4-09-02 $
// $Id: G4EzVoxelParameterization.hh,v 1.1 2008-12-01 07:07:34 kmura Exp $
// $Name: not supported by cvs2svn $
// ====================================================================
// G4EzVoxelParameterization.hh
//
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4EzWorld.cc,v 1.1 2008/12/01 07:07:34 kmura Exp $
// $Name: geant4-09-02 $
// $Id: G4EzWorld.cc,v 1.1 2008-12-01 07:07:34 kmura Exp $
// $Name: not supported by cvs2svn $
// ====================================================================
// G4EzWorld.cc
//
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4EzWorld.hh,v 1.1 2008/12/01 07:07:34 kmura Exp $
// $Name: geant4-09-02 $
// $Id: G4EzWorld.hh,v 1.1 2008-12-01 07:07:34 kmura Exp $
// $Name: not supported by cvs2svn $
// ====================================================================
// G4EzWorld.hh
//
@@ -1,5 +1,5 @@
# $Id: GNUmakefile,v 1.1 2008/12/01 07:07:34 kmura Exp $
# $Name: geant4-09-02 $
# $Id: GNUmakefile,v 1.1 2008-12-01 07:07:34 kmura Exp $
# $Name: not supported by cvs2svn $
# ===========================================================
# Makefile for building Geant4Py modules
# ===========================================================
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: pyEzgeom.cc,v 1.1 2008/12/01 07:07:34 kmura Exp $
// $Name: geant4-09-02 $
// $Id: pyEzgeom.cc,v 1.1 2008-12-01 07:07:34 kmura Exp $
// $Name: not supported by cvs2svn $
// ====================================================================
// pyEZgeom.cc
//
@@ -1,5 +1,5 @@
# $Id: GNUmakefile,v 1.2 2006/04/25 10:28:34 kmura Exp $
# $Name: geant4-09-02 $
# $Id: GNUmakefile,v 1.2 2006-04-25 10:28:34 kmura Exp $
# $Name: not supported by cvs2svn $
# ===========================================================
# Makefile for building Geant4Py site-modules
# ===========================================================
@@ -1,5 +1,5 @@
# $Id: GNUmakefile,v 1.2 2006/04/25 10:28:34 kmura Exp $
# $Name: geant4-09-02 $
# $Id: GNUmakefile,v 1.2 2006-04-25 10:28:34 kmura Exp $
# $Name: not supported by cvs2svn $
# ===========================================================
# Makefile for building Geant4Py modules
# ===========================================================
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: NISTmaterials.cc,v 1.4 2006/06/29 15:29:32 gunter Exp $
// $Name: geant4-09-02 $
// $Id: NISTmaterials.cc,v 1.4 2006-06-29 15:29:32 gunter Exp $
// $Name: not supported by cvs2svn $
// ====================================================================
// NISTmaterials.cc
//
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: pyNISTmaterials.cc,v 1.4 2006/06/29 15:29:34 gunter Exp $
// $Name: geant4-09-02 $
// $Id: pyNISTmaterials.cc,v 1.4 2006-06-29 15:29:34 gunter Exp $
// $Name: not supported by cvs2svn $
// ====================================================================
// pyNISTmaterials.cc
//
@@ -1,5 +1,5 @@
# $Id: GNUmakefile,v 1.2 2006/04/25 10:28:36 kmura Exp $
# $Name: geant4-09-02 $
# $Id: GNUmakefile,v 1.2 2006-04-25 10:28:36 kmura Exp $
# $Name: not supported by cvs2svn $
# ===========================================================
# Makefile for building Geant4Py modules
# ===========================================================
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: Qmaterials.cc,v 1.4 2006/06/29 15:29:37 gunter Exp $
// $Name: geant4-09-02 $
// $Id: Qmaterials.cc,v 1.4 2006-06-29 15:29:37 gunter Exp $
// $Name: not supported by cvs2svn $
// ====================================================================
// Qmaterials.cc
//
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: pyQmaterials.cc,v 1.4 2006/06/29 15:29:40 gunter Exp $
// $Name: geant4-09-02 $
// $Id: pyQmaterials.cc,v 1.4 2006-06-29 15:29:40 gunter Exp $
// $Name: not supported by cvs2svn $
// ====================================================================
// pyQmaterials.cc
//
@@ -1,14 +0,0 @@
# $Id: GNUmakefile,v 1.1 2006/07/12 08:46:18 kmura Exp $
# $Name: geant4-09-02 $
# ===========================================================
# Makefile for building Geant4Py modules
# ===========================================================
include ../../../config/config.gmk
# python module name
MODULE := EMLowEpl#
include $(G4PY_INSTALL)/config/g4py.gmk
include $(G4PY_INSTALL)/config/module.gmk
include $(G4PY_INSTALL)/config/site-install.gmk
@@ -1,135 +0,0 @@
//
// ********************************************************************
// * License and Disclaimer *
// * *
// * The Geant4 software is copyright of the Copyright Holders of *
// * the Geant4 Collaboration. It is provided under the terms and *
// * conditions of the Geant4 Software License, included in the file *
// * LICENSE and available at http://cern.ch/geant4/license . These *
// * include a list of copyright holders. *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. Please see the license in the file LICENSE and URL above *
// * for the full disclaimer and the limitation of liability. *
// * *
// * This code implementation is the result of the scientific and *
// * technical work of the GEANT4 collaboration. *
// * By using, copying, modifying or distributing the software (or *
// * any work based on the software) you agree to acknowledge its *
// * use in resulting scientific publications, and indicate your *
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: PhysicsListEMlowE.cc,v 1.2 2010/06/21 12:29:42 kmura Exp $
// $Name: geant4-09-04-beta-01 $
// ====================================================================
// PhysicsListEMlowE.cc
//
// 2006 Q
// ====================================================================
#include "PhysicsListEMlowE.hh"
#include "G4ProcessManager.hh"
#include "G4ParticleDefinition.hh"
#include "G4Gamma.hh"
#include "G4Electron.hh"
#include "G4Positron.hh"
#include "G4LowEnergyCompton.hh"
#include "G4LowEnergyGammaConversion.hh"
#include "G4LowEnergyPhotoElectric.hh"
#include "G4LowEnergyRayleigh.hh"
#include "G4LowEnergyIonisation.hh"
#include "G4LowEnergyBremsstrahlung.hh"
#include "G4eplusAnnihilation.hh"
#include "G4eMultipleScattering.hh"
// ====================================================================
//
// class description
//
// ====================================================================
//////////////////////////////////////
PhysicsListEMlowE::PhysicsListEMlowE()
//////////////////////////////////////
{
SetVerboseLevel(1);
defaultCutValue = 1.*mm; // default cut value (1.0mm)
}
///////////////////////////////////////
PhysicsListEMlowE::~PhysicsListEMlowE()
///////////////////////////////////////
{
}
///////////////////////////////////////////
void PhysicsListEMlowE::ConstructParticle()
///////////////////////////////////////////
{
G4Gamma::GammaDefinition();
G4Electron::ElectronDefinition();
G4Positron::PositronDefinition();
}
//////////////////////////////////////////
void PhysicsListEMlowE::ConstructProcess()
//////////////////////////////////////////
{
AddTransportation();
G4ProcessManager* pm;
// ----------------------------------------------------------
// gamma physics
// ----------------------------------------------------------
pm= G4Gamma::Gamma()-> GetProcessManager();
pm-> AddDiscreteProcess(new G4LowEnergyPhotoElectric);
pm-> AddDiscreteProcess(new G4LowEnergyCompton);
pm-> AddDiscreteProcess(new G4LowEnergyGammaConversion);
pm-> AddDiscreteProcess(new G4LowEnergyRayleigh);
// ----------------------------------------------------------
// electron physics
// ----------------------------------------------------------
G4LowEnergyIonisation* eion= new G4LowEnergyIonisation;
G4LowEnergyBremsstrahlung* ebrems= new G4LowEnergyBremsstrahlung;
G4eMultipleScattering* msc= new G4eMultipleScattering;
pm= G4Electron::Electron()-> GetProcessManager();
pm-> AddProcess(msc, ordInActive, 1, 1);
pm-> AddProcess(eion, ordInActive, 2, 2);
pm-> AddProcess(ebrems, ordInActive, ordInActive, 3);
// ----------------------------------------------------------
// positron physics
// ----------------------------------------------------------
eion= new G4LowEnergyIonisation;
ebrems= new G4LowEnergyBremsstrahlung;
msc= new G4eMultipleScattering;
G4eplusAnnihilation* annihilation= new G4eplusAnnihilation;
pm= G4Positron::Positron()-> GetProcessManager();
pm-> AddProcess(msc, ordInActive, 1, 1);
pm-> AddProcess(eion, ordInActive, 2, 2);
pm-> AddProcess(ebrems, ordInActive, ordInActive, 3);
pm-> AddProcess(annihilation, 0, ordInActive, 4);
}
/////////////////////////////////
void PhysicsListEMlowE::SetCuts()
/////////////////////////////////
{
SetCutsWithDefault();
}
@@ -1,60 +0,0 @@
//
// ********************************************************************
// * License and Disclaimer *
// * *
// * The Geant4 software is copyright of the Copyright Holders of *
// * the Geant4 Collaboration. It is provided under the terms and *
// * conditions of the Geant4 Software License, included in the file *
// * LICENSE and available at http://cern.ch/geant4/license . These *
// * include a list of copyright holders. *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. Please see the license in the file LICENSE and URL above *
// * for the full disclaimer and the limitation of liability. *
// * *
// * This code implementation is the result of the scientific and *
// * technical work of the GEANT4 collaboration. *
// * By using, copying, modifying or distributing the software (or *
// * any work based on the software) you agree to acknowledge its *
// * use in resulting scientific publications, and indicate your *
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: PhysicsListEMlowE.hh,v 1.1 2006/07/12 08:46:18 kmura Exp $
// $Name: geant4-09-02 $
// ====================================================================
// PhysicsListEMlowE.hh
//
// Physics list for electron/positron/gamma
// model: EM-lowE package
//
// 2006 Q
// ====================================================================
#ifndef PHYSICS_LIST_EMLOWE_H
#define PHYSICS_LIST_EMLOWE_H
#include "G4VUserPhysicsList.hh"
// ====================================================================
//
// class definition
//
// ====================================================================
class PhysicsListEMlowE : public G4VUserPhysicsList {
public:
PhysicsListEMlowE();
~PhysicsListEMlowE();
virtual void ConstructParticle();
virtual void ConstructProcess();
virtual void SetCuts();
};
#endif
@@ -1,77 +0,0 @@
//
// ********************************************************************
// * License and Disclaimer *
// * *
// * The Geant4 software is copyright of the Copyright Holders of *
// * the Geant4 Collaboration. It is provided under the terms and *
// * conditions of the Geant4 Software License, included in the file *
// * LICENSE and available at http://cern.ch/geant4/license . These *
// * include a list of copyright holders. *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. Please see the license in the file LICENSE and URL above *
// * for the full disclaimer and the limitation of liability. *
// * *
// * This code implementation is the result of the scientific and *
// * technical work of the GEANT4 collaboration. *
// * By using, copying, modifying or distributing the software (or *
// * any work based on the software) you agree to acknowledge its *
// * use in resulting scientific publications, and indicate your *
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: pyEMLowEpl.cc,v 1.2 2006/07/12 09:18:08 kmura Exp $
// $Name: geant4-09-02 $
// ====================================================================
// pyEMLowEpl.cc
//
// [Qgeom]
// a site-module of Geant4Py
//
// Electron/Gamma EM-lowE physics list
//
// 2005 Q
// ====================================================================
#include <boost/python.hpp>
#include "G4RunManager.hh"
#include "PhysicsListEMlowE.hh"
using namespace boost::python;
// ====================================================================
// thin wrappers
// ====================================================================
namespace pyEMLowEpl {
PhysicsListEMlowE* Construct()
{
PhysicsListEMlowE* pl= new PhysicsListEMlowE;
G4RunManager* runMgr= G4RunManager::GetRunManager();
runMgr-> SetUserInitialization(pl);
return pl;
}
};
using namespace pyEMLowEpl;
// ====================================================================
// Expose to Python
// ====================================================================
BOOST_PYTHON_MODULE(EMLowEpl) {
class_<PhysicsListEMlowE, PhysicsListEMlowE*, bases<G4VUserPhysicsList> >
("PhysicsListEMlowE", "Electron/Gamma EM-lowE physics list")
;
// ---
def("Construct", Construct,
return_value_policy<reference_existing_object>());
}
@@ -1,5 +1,5 @@
# $Id: GNUmakefile,v 1.2 2006/04/25 10:31:40 kmura Exp $
# $Name: geant4-09-02 $
# $Id: GNUmakefile,v 1.2 2006-04-25 10:31:40 kmura Exp $
# $Name: not supported by cvs2svn $
# ===========================================================
# Makefile for building Geant4Py modules
# ===========================================================
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: PhysicsListEMstd.cc,v 1.6 2010/06/04 05:45:57 kmura Exp $
// $Name: geant4-09-04-beta-01 $
// $Id: PhysicsListEMstd.cc,v 1.6 2010-06-04 05:45:57 kmura Exp $
// $Name: not supported by cvs2svn $
// ====================================================================
// PhysicsListEMstd.cc
//
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: PhysicsListEMstd.hh,v 1.4 2006/06/29 15:29:46 gunter Exp $
// $Name: geant4-09-02 $
// $Id: PhysicsListEMstd.hh,v 1.4 2006-06-29 15:29:46 gunter Exp $
// $Name: not supported by cvs2svn $
// ====================================================================
// PhysicsListEMstd.hh
//
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: pyEMSTDpl.cc,v 1.4 2006/06/29 15:29:49 gunter Exp $
// $Name: geant4-09-02 $
// $Id: pyEMSTDpl.cc,v 1.4 2006-06-29 15:29:49 gunter Exp $
// $Name: not supported by cvs2svn $
// ====================================================================
// pyEMSTDpl.cc
//
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: ExN01PhysicsList.cc,v 1.4 2006/06/29 15:29:52 gunter Exp $
// $Name: geant4-09-02 $
// $Id: ExN01PhysicsList.cc,v 1.4 2006-06-29 15:29:52 gunter Exp $
// $Name: not supported by cvs2svn $
// ====================================================================
// ExN01PhysicsList.cc
//
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: ExN01PhysicsList.hh,v 1.4 2006/06/29 15:29:55 gunter Exp $
// $Name: geant4-09-02 $
// $Id: ExN01PhysicsList.hh,v 1.4 2006-06-29 15:29:55 gunter Exp $
// $Name: not supported by cvs2svn $
// ====================================================================
// ExN01PhysicsList.hh
//
@@ -1,5 +1,5 @@
# $Id: GNUmakefile,v 1.2 2006/04/25 10:31:40 kmura Exp $
# $Name: geant4-09-02 $
# $Id: GNUmakefile,v 1.2 2006-04-25 10:31:40 kmura Exp $
# $Name: not supported by cvs2svn $
# ===========================================================
# Makefile for building Geant4Py modules
# ===========================================================
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: pyExN01pl.cc,v 1.4 2006/06/29 15:29:58 gunter Exp $
// $Name: geant4-09-02 $
// $Id: pyExN01pl.cc,v 1.4 2006-06-29 15:29:58 gunter Exp $
// $Name: not supported by cvs2svn $
// ====================================================================
// pyExN01pl.cc
//
@@ -1,5 +1,5 @@
# $Id: GNUmakefile,v 1.1 2006/04/25 10:32:41 kmura Exp $
# $Name: geant4-09-02 $
# $Id: GNUmakefile,v 1.1 2006-04-25 10:32:41 kmura Exp $
# $Name: not supported by cvs2svn $
# ===========================================================
# Makefile for building Geant4Py modules
# ===========================================================
@@ -24,181 +24,162 @@
// ********************************************************************
//
//
// $Id: ExN03PhysicsList.cc,v 1.5 2010/06/04 05:45:57 kmura Exp $
// GEANT4 tag $Name: geant4-09-04-beta-01 $
// $Id: PhysicsList.cc,v 1.1 2010-10-18 15:56:17 maire Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
#include "ExN03PhysicsList.hh"
#include "PhysicsList.hh"
#include "G4ProcessManager.hh"
#include "G4ParticleTypes.hh"
#include "G4BosonConstructor.hh"
#include "G4LeptonConstructor.hh"
#include "G4MesonConstructor.hh"
#include "G4BosonConstructor.hh"
#include "G4BaryonConstructor.hh"
#include "G4IonConstructor.hh"
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
ExN03PhysicsList::ExN03PhysicsList(): G4VUserPhysicsList()
PhysicsList::PhysicsList(): G4VUserPhysicsList()
{
defaultCutValue = 1.0*mm;
SetVerboseLevel(1);
defaultCutValue = 1.0*mm;
SetVerboseLevel(1);
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
ExN03PhysicsList::~ExN03PhysicsList()
PhysicsList::~PhysicsList()
{}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
void ExN03PhysicsList::ConstructParticle()
void PhysicsList::ConstructParticle()
{
// In this method, static member functions should be called
// for all particles which you want to use.
// This ensures that objects of these particle types will be
// created in the program.
ConstructBosons();
ConstructLeptons();
ConstructMesons();
ConstructBaryons();
G4BosonConstructor pBosonConstructor;
pBosonConstructor.ConstructParticle();
G4LeptonConstructor pLeptonConstructor;
pLeptonConstructor.ConstructParticle();
G4MesonConstructor pMesonConstructor;
pMesonConstructor.ConstructParticle();
G4BaryonConstructor pBaryonConstructor;
pBaryonConstructor.ConstructParticle();
G4IonConstructor pIonConstructor;
pIonConstructor.ConstructParticle();
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
void ExN03PhysicsList::ConstructBosons()
{
// pseudo-particles
G4Geantino::GeantinoDefinition();
G4ChargedGeantino::ChargedGeantinoDefinition();
// gamma
G4Gamma::GammaDefinition();
// optical photon
G4OpticalPhoton::OpticalPhotonDefinition();
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
void ExN03PhysicsList::ConstructLeptons()
{
// leptons
G4Electron::ElectronDefinition();
G4Positron::PositronDefinition();
G4MuonPlus::MuonPlusDefinition();
G4MuonMinus::MuonMinusDefinition();
G4NeutrinoE::NeutrinoEDefinition();
G4AntiNeutrinoE::AntiNeutrinoEDefinition();
G4NeutrinoMu::NeutrinoMuDefinition();
G4AntiNeutrinoMu::AntiNeutrinoMuDefinition();
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
void ExN03PhysicsList::ConstructMesons()
{
// mesons
G4PionPlus::PionPlusDefinition();
G4PionMinus::PionMinusDefinition();
G4PionZero::PionZeroDefinition();
G4Eta::EtaDefinition();
G4EtaPrime::EtaPrimeDefinition();
G4KaonPlus::KaonPlusDefinition();
G4KaonMinus::KaonMinusDefinition();
G4KaonZero::KaonZeroDefinition();
G4AntiKaonZero::AntiKaonZeroDefinition();
G4KaonZeroLong::KaonZeroLongDefinition();
G4KaonZeroShort::KaonZeroShortDefinition();
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
void ExN03PhysicsList::ConstructBaryons()
{
// barions
G4Proton::ProtonDefinition();
G4AntiProton::AntiProtonDefinition();
G4Neutron::NeutronDefinition();
G4AntiNeutron::AntiNeutronDefinition();
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
void ExN03PhysicsList::ConstructProcess()
void PhysicsList::ConstructProcess()
{
AddTransportation();
ConstructEM();
ConstructGeneral();
ConstructDecay();
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
#include "G4PhysicsListHelper.hh"
#include "G4ComptonScattering.hh"
#include "G4GammaConversion.hh"
#include "G4PhotoElectricEffect.hh"
#include "G4eMultipleScattering.hh"
#include "G4MuMultipleScattering.hh"
#include "G4hMultipleScattering.hh"
#include "G4eIonisation.hh"
#include "G4eBremsstrahlung.hh"
#include "G4eplusAnnihilation.hh"
#include "G4MuMultipleScattering.hh"
#include "G4MuIonisation.hh"
#include "G4MuBremsstrahlung.hh"
#include "G4MuPairProduction.hh"
#include "G4hMultipleScattering.hh"
#include "G4hIonisation.hh"
#include "G4hBremsstrahlung.hh"
#include "G4hPairProduction.hh"
#include "G4ionIonisation.hh"
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
void ExN03PhysicsList::ConstructEM()
void PhysicsList::ConstructEM()
{
G4PhysicsListHelper* ph = G4PhysicsListHelper::GetPhysicsListHelper();
theParticleIterator->reset();
while( (*theParticleIterator)() ){
G4ParticleDefinition* particle = theParticleIterator->value();
G4ProcessManager* pmanager = particle->GetProcessManager();
G4String particleName = particle->GetParticleName();
if (particleName == "gamma") {
// gamma
pmanager->AddDiscreteProcess(new G4PhotoElectricEffect);
pmanager->AddDiscreteProcess(new G4ComptonScattering);
pmanager->AddDiscreteProcess(new G4GammaConversion);
ph->RegisterProcess(new G4PhotoElectricEffect, particle);
ph->RegisterProcess(new G4ComptonScattering, particle);
ph->RegisterProcess(new G4GammaConversion, particle);
} else if (particleName == "e-") {
//electron
pmanager->AddProcess(new G4eMultipleScattering,-1, 1,1);
pmanager->AddProcess(new G4eIonisation, -1, 2,2);
pmanager->AddProcess(new G4eBremsstrahlung, -1, 3,3);
ph->RegisterProcess(new G4eMultipleScattering, particle);
ph->RegisterProcess(new G4eIonisation, particle);
//ph->RegisterProcess(new G4eBremsstrahlung, particle);
} else if (particleName == "e+") {
//positron
pmanager->AddProcess(new G4eMultipleScattering,-1, 1,1);
pmanager->AddProcess(new G4eIonisation, -1, 2,2);
pmanager->AddProcess(new G4eBremsstrahlung, -1, 3,3);
pmanager->AddProcess(new G4eplusAnnihilation, 0,-1,4);
ph->RegisterProcess(new G4eMultipleScattering, particle);
ph->RegisterProcess(new G4eIonisation, particle);
//ph->RegisterProcess(new G4eBremsstrahlung, particle);
ph->RegisterProcess(new G4eplusAnnihilation, particle);
} else if( particleName == "mu+" ||
particleName == "mu-" ) {
//muon
pmanager->AddProcess(new G4MuMultipleScattering,-1, 1,1);
pmanager->AddProcess(new G4MuIonisation, -1, 2,2);
pmanager->AddProcess(new G4MuBremsstrahlung, -1, 3,3);
pmanager->AddProcess(new G4MuPairProduction, -1, 4,4);
ph->RegisterProcess(new G4MuMultipleScattering, particle);
ph->RegisterProcess(new G4MuIonisation, particle);
ph->RegisterProcess(new G4MuBremsstrahlung, particle);
ph->RegisterProcess(new G4MuPairProduction, particle);
} else if( particleName == "proton" ||
particleName == "pi-" ||
particleName == "pi+" ) {
//proton
ph->RegisterProcess(new G4hMultipleScattering, particle);
ph->RegisterProcess(new G4hIonisation, particle);
ph->RegisterProcess(new G4hBremsstrahlung, particle);
ph->RegisterProcess(new G4hPairProduction, particle);
} else if ((!particle->IsShortLived()) &&
} else if( particleName == "alpha" ||
particleName == "He3" ) {
//alpha
ph->RegisterProcess(new G4hMultipleScattering, particle);
ph->RegisterProcess(new G4ionIonisation, particle);
} else if( particleName == "GenericIon" ) {
//Ions
ph->RegisterProcess(new G4hMultipleScattering, particle);
ph->RegisterProcess(new G4ionIonisation, particle);
} else if ((!particle->IsShortLived()) &&
(particle->GetPDGCharge() != 0.0) &&
(particle->GetParticleName() != "chargedgeantino")) {
//all others charged particles except geantino
pmanager->AddProcess(new G4hMultipleScattering,-1, 1,1);
pmanager->AddProcess(new G4hIonisation, -1, 2,2);
}
ph->RegisterProcess(new G4hMultipleScattering, particle);
ph->RegisterProcess(new G4hIonisation, particle);
}
}
}
@@ -206,29 +187,27 @@ void ExN03PhysicsList::ConstructEM()
#include "G4Decay.hh"
void ExN03PhysicsList::ConstructGeneral()
void PhysicsList::ConstructDecay()
{
G4PhysicsListHelper* ph = G4PhysicsListHelper::GetPhysicsListHelper();
// Add Decay Process
G4Decay* theDecayProcess = new G4Decay();
G4Decay* theDecayProcess = new G4Decay();
theParticleIterator->reset();
while( (*theParticleIterator)() ){
G4ParticleDefinition* particle = theParticleIterator->value();
G4ProcessManager* pmanager = particle->GetProcessManager();
if (theDecayProcess->IsApplicable(*particle)) {
pmanager ->AddProcess(theDecayProcess);
// set ordering for PostStepDoIt and AtRestDoIt
pmanager ->SetProcessOrdering(theDecayProcess, idxPostStep);
pmanager ->SetProcessOrdering(theDecayProcess, idxAtRest);
ph->RegisterProcess(theDecayProcess, particle);
}
}
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
void ExN03PhysicsList::SetCuts()
void PhysicsList::SetCuts()
{
if (verboseLevel >0){
G4cout << "ExN03PhysicsList::SetCuts:";
G4cout << "PhysicsList::SetCuts:";
G4cout << "CutLength : " << G4BestUnit(defaultCutValue,"Length") << G4endl;
}
@@ -238,6 +217,7 @@ void ExN03PhysicsList::SetCuts()
SetCutValue(defaultCutValue, "gamma");
SetCutValue(defaultCutValue, "e-");
SetCutValue(defaultCutValue, "e+");
SetCutValue(defaultCutValue, "proton");
if (verboseLevel>0) DumpCutValuesTable();
}
@@ -24,47 +24,39 @@
// ********************************************************************
//
//
// $Id: ExN03PhysicsList.hh,v 1.4 2006/06/29 15:30:04 gunter Exp $
// GEANT4 tag $Name: geant4-09-02 $
// $Id: PhysicsList.hh,v 1.1 2010-10-18 15:56:17 maire Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
#ifndef ExN03PhysicsList_h
#define ExN03PhysicsList_h 1
#ifndef PhysicsList_h
#define PhysicsList_h 1
#include "G4VUserPhysicsList.hh"
#include "globals.hh"
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
class ExN03PhysicsList: public G4VUserPhysicsList
class PhysicsList: public G4VUserPhysicsList
{
public:
ExN03PhysicsList();
~ExN03PhysicsList();
public:
PhysicsList();
virtual ~PhysicsList();
protected:
// Construct particle and physics
void ConstructParticle();
void ConstructProcess();
// Construct particle and physics
void ConstructParticle();
void ConstructProcess();
void SetCuts();
void SetCuts();
protected:
// these methods Construct particles
void ConstructBosons();
void ConstructLeptons();
void ConstructMesons();
void ConstructBaryons();
private:
protected:
// these methods Construct physics processes and register them
void ConstructGeneral();
void ConstructEM();
// these methods Construct physics processes and register them
void ConstructDecay();
void ConstructEM();
};
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......

Some files were not shown because too many files have changed in this diff Show More