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
+1 -1
View File
@@ -1,4 +1,4 @@
$Id: History,v 1.4 2010/12/03 08:19:59 kmura Exp $
$Id: History,v 1.4 2010-12-03 08:19:59 kmura Exp $
-------------------------------------------------------------------
=========================================================
+1 -1
View File
@@ -1,4 +1,4 @@
$Id: README,v 1.3 2010/05/18 06:09:09 kmura Exp $
$Id: README,v 1.3 2010-05-18 06:09:09 kmura Exp $
==========================================================================
Geant4 MPI Interface
@@ -1,5 +1,5 @@
# $Id: GNUmakefile,v 1.2 2010/01/11 16:53:51 gcosmo Exp $
# $Name: geant4-09-04-beta-01 $
# $Id: GNUmakefile,v 1.2 2010-01-11 16:53:51 gcosmo Exp $
# $Name: not supported by cvs2svn $
# ===========================================================
# Makefile for building G4 MPI aplication
# ===========================================================
@@ -1,4 +1,4 @@
$Id: History,v 1.3 2010/06/06 05:07:23 perl Exp $
$Id: History,v 1.3 2010-06-06 05:07:23 perl Exp $
-------------------------------------------------------------------
=========================================================
@@ -1,4 +1,4 @@
$Id: README,v 1.1 2007/11/16 14:16:46 kmura Exp $
$Id: README,v 1.1 2007-11-16 14:16:46 kmura Exp $
-------------------------------------------------------------------
Example MPI01
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: exMPI01.cc,v 1.2 2010/05/18 06:07:43 kmura Exp $
// $Name: geant4-09-04-beta-01 $
// $Id: exMPI01.cc,v 1.2 2010-05-18 06:07:43 kmura Exp $
// $Name: not supported by cvs2svn $
//
// ====================================================================
// exMPI01.cc
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: DetectorConstruction.hh,v 1.1 2007/11/16 14:16:46 kmura Exp $
// $Name: geant4-09-02 $
// $Id: DetectorConstruction.hh,v 1.1 2007-11-16 14:16:46 kmura Exp $
// $Name: not supported by cvs2svn $
//
// ====================================================================
// DetectorConstruction.hh
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: Materials.hh,v 1.1 2007/11/16 14:16:46 kmura Exp $
// $Name: geant4-09-02 $
// $Id: Materials.hh,v 1.1 2007-11-16 14:16:46 kmura Exp $
// $Name: not supported by cvs2svn $
//
// ====================================================================
// Materials.hh
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: Particles.hh,v 1.1 2007/11/16 14:16:46 kmura Exp $
// $Name: geant4-09-02 $
// $Id: Particles.hh,v 1.1 2007-11-16 14:16:46 kmura Exp $
// $Name: not supported by cvs2svn $
//
// ====================================================================
// Particles.hh
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: PhysicsList.hh,v 1.1 2007/11/16 14:16:46 kmura Exp $
// $Name: geant4-09-02 $
// $Id: PhysicsList.hh,v 1.1 2007-11-16 14:16:46 kmura Exp $
// $Name: not supported by cvs2svn $
//
// ====================================================================
// PhysicsList.hh
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: PhysicsListEMstd.hh,v 1.1 2007/11/16 14:16:46 kmura Exp $
// $Name: geant4-09-02 $
// $Id: PhysicsListEMstd.hh,v 1.1 2007-11-16 14:16:46 kmura Exp $
// $Name: not supported by cvs2svn $
//
// ====================================================================
// PhysicsListEMstd.hh
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: PrimaryGeneratorAction.hh,v 1.1 2007/11/16 14:16:46 kmura Exp $
// $Name: geant4-09-02 $
// $Id: PrimaryGeneratorAction.hh,v 1.1 2007-11-16 14:16:46 kmura Exp $
// $Name: not supported by cvs2svn $
//
// ====================================================================
// PrimaryGeneratorAction.hh
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: DetectorConstruction.cc,v 1.1 2007/11/16 14:16:46 kmura Exp $
// $Name: geant4-09-02 $
// $Id: DetectorConstruction.cc,v 1.1 2007-11-16 14:16:46 kmura Exp $
// $Name: not supported by cvs2svn $
//
// ====================================================================
// DetectorConstruction.cc
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: Materials.cc,v 1.1 2007/11/16 14:16:46 kmura Exp $
// $Name: geant4-09-02 $
// $Id: Materials.cc,v 1.1 2007-11-16 14:16:46 kmura Exp $
// $Name: not supported by cvs2svn $
//
// ====================================================================
// Materials.cc
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: Particles.cc,v 1.1 2007/11/16 14:16:46 kmura Exp $
// $Name: geant4-09-02 $
// $Id: Particles.cc,v 1.1 2007-11-16 14:16:46 kmura Exp $
// $Name: not supported by cvs2svn $
//
// ====================================================================
// Particles.cc
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: PhysicsList.cc,v 1.1 2007/11/16 14:16:46 kmura Exp $
// $Name: geant4-09-02 $
// $Id: PhysicsList.cc,v 1.1 2007-11-16 14:16:46 kmura Exp $
// $Name: not supported by cvs2svn $
//
// ====================================================================
// PhysicsList.cc
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: PhysicsListEMstd.cc,v 1.2 2010/05/13 03:12:00 kmura Exp $
// $Name: geant4-09-04-beta-01 $
// $Id: PhysicsListEMstd.cc,v 1.2 2010-05-13 03:12:00 kmura Exp $
// $Name: not supported by cvs2svn $
//
// ====================================================================
// PhysicsListEMstd.cc
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: PrimaryGeneratorAction.cc,v 1.1 2007/11/16 14:16:46 kmura Exp $
// $Name: geant4-09-02 $
// $Id: PrimaryGeneratorAction.cc,v 1.1 2007-11-16 14:16:46 kmura Exp $
// $Name: not supported by cvs2svn $
//
// ====================================================================
// PrimaryGeneratorAction.cc
@@ -1,5 +1,5 @@
# $Id: GNUmakefile,v 1.2 2010/01/11 16:55:08 gcosmo Exp $
# $Name: geant4-09-04-beta-01 $
# $Id: GNUmakefile,v 1.2 2010-01-11 16:55:08 gcosmo Exp $
# $Name: not supported by cvs2svn $
# ===========================================================
# Makefile for building G4 MPI aplication
# ===========================================================
@@ -1,4 +1,4 @@
$Id: History,v 1.3 2010/06/06 05:07:23 perl Exp $
$Id: History,v 1.3 2010-06-06 05:07:23 perl Exp $
-------------------------------------------------------------------
=========================================================
@@ -1,4 +1,4 @@
$Id: README,v 1.1 2007/11/16 14:28:34 kmura Exp $
$Id: README,v 1.1 2007-11-16 14:28:34 kmura Exp $
-------------------------------------------------------------------
Example MPI02
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: exMPI02.cc,v 1.2 2010/05/18 06:08:30 kmura Exp $
// $Name: geant4-09-04-beta-01 $
// $Id: exMPI02.cc,v 1.2 2010-05-18 06:08:30 kmura Exp $
// $Name: not supported by cvs2svn $
//
// ====================================================================
// exMPI02.cc
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: Analysis.hh,v 1.1 2007/11/16 14:29:32 kmura Exp $
// $Name: geant4-09-02 $
// $Id: Analysis.hh,v 1.1 2007-11-16 14:29:32 kmura Exp $
// $Name: not supported by cvs2svn $
//
// ====================================================================
// Analysis.hh
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: DetectorConstruction.hh,v 1.1 2007/11/16 14:29:32 kmura Exp $
// $Name: geant4-09-02 $
// $Id: DetectorConstruction.hh,v 1.1 2007-11-16 14:29:32 kmura Exp $
// $Name: not supported by cvs2svn $
//
// ====================================================================
// DetectorConstruction.hh
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: EventAction.hh,v 1.2 2007/12/10 16:28:34 gunter Exp $
// $Name: geant4-09-02 $
// $Id: EventAction.hh,v 1.2 2007-12-10 16:28:34 gunter Exp $
// $Name: not supported by cvs2svn $
// ====================================================================
// EventAction.hh
//
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: MedicalBeam.hh,v 1.1 2007/11/16 14:29:33 kmura Exp $
// $Name: geant4-09-02 $
// $Id: MedicalBeam.hh,v 1.1 2007-11-16 14:29:33 kmura Exp $
// $Name: not supported by cvs2svn $
// ====================================================================
// MedicalBeam.hh
//
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: RunAction.hh,v 1.2 2007/12/10 16:28:39 gunter Exp $
// $Name: geant4-09-02 $
// $Id: RunAction.hh,v 1.2 2007-12-10 16:28:39 gunter Exp $
// $Name: not supported by cvs2svn $
// ====================================================================
// RunAction.hh
//
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: VoxelParam.hh,v 1.1 2007/11/16 14:29:33 kmura Exp $
// $Name: geant4-09-02 $
// $Id: VoxelParam.hh,v 1.1 2007-11-16 14:29:33 kmura Exp $
// $Name: not supported by cvs2svn $
//
// ====================================================================
// VoxelParam.hh
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: VoxelSD.hh,v 1.1 2007/11/16 14:29:33 kmura Exp $
// $Name: geant4-09-02 $
// $Id: VoxelSD.hh,v 1.1 2007-11-16 14:29:33 kmura Exp $
// $Name: not supported by cvs2svn $
//
// ====================================================================
// VoxelSD.hh
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: Analysis.cc,v 1.1 2007/11/16 14:29:33 kmura Exp $
// $Name: geant4-09-02 $
// $Id: Analysis.cc,v 1.1 2007-11-16 14:29:33 kmura Exp $
// $Name: not supported by cvs2svn $
//
// ====================================================================
// Analysis.cc
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: DetectorConstruction.cc,v 1.1 2007/11/16 14:29:33 kmura Exp $
// $Name: geant4-09-02 $
// $Id: DetectorConstruction.cc,v 1.1 2007-11-16 14:29:33 kmura Exp $
// $Name: not supported by cvs2svn $
//
// ====================================================================
// DetectorConstruction.cc
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: EventAction.cc,v 1.2 2007/12/10 16:28:52 gunter Exp $
// $Name: geant4-09-02 $
// $Id: EventAction.cc,v 1.2 2007-12-10 16:28:52 gunter Exp $
// $Name: not supported by cvs2svn $
// ====================================================================
// EventAction.cc
//
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: MedicalBeam.cc,v 1.1 2007/11/16 14:29:33 kmura Exp $
// $Name: geant4-09-02 $
// $Id: MedicalBeam.cc,v 1.1 2007-11-16 14:29:33 kmura Exp $
// $Name: not supported by cvs2svn $
// ====================================================================
// MedicalBeam.cc
//
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: RunAction.cc,v 1.2 2007/12/10 16:28:54 gunter Exp $
// $Name: geant4-09-02 $
// $Id: RunAction.cc,v 1.2 2007-12-10 16:28:54 gunter Exp $
// $Name: not supported by cvs2svn $
// ====================================================================
// RunAction.cc
//
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: VoxelParam.cc,v 1.1 2007/11/16 14:29:33 kmura Exp $
// $Name: geant4-09-02 $
// $Id: VoxelParam.cc,v 1.1 2007-11-16 14:29:33 kmura Exp $
// $Name: not supported by cvs2svn $
//
// ====================================================================
// VoxelParam.cc
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: VoxelSD.cc,v 1.1 2007/11/16 14:29:33 kmura Exp $
// $Name: geant4-09-02 $
// $Id: VoxelSD.cc,v 1.1 2007-11-16 14:29:33 kmura Exp $
// $Name: not supported by cvs2svn $
//
// ====================================================================
// VoxelSD.cc
@@ -1,5 +1,5 @@
# $Id: G4MPI-lam.gmk,v 1.1 2007/11/16 13:32:56 kmura Exp $
# $Name: geant4-09-02 $
# $Id: G4MPI-lam.gmk,v 1.1 2007-11-16 13:32:56 kmura Exp $
# $Name: not supported by cvs2svn $
# ===========================================================
# Makefile for building G4MPI (LAM)
# ===========================================================
@@ -1,5 +1,5 @@
# $Id: G4MPI-mpich2.gmk,v 1.1 2007/11/16 13:32:56 kmura Exp $
# $Name: geant4-09-02 $
# $Id: G4MPI-mpich2.gmk,v 1.1 2007-11-16 13:32:56 kmura Exp $
# $Name: not supported by cvs2svn $
# ===========================================================
# Makefile for building G4MPI (MPICH2)
# ===========================================================
@@ -1,5 +1,5 @@
# $Id: G4MPI-openmpi.gmk,v 1.3 2010/05/18 06:02:01 kmura Exp $
# $Name: geant4-09-04-beta-01 $
# $Id: G4MPI-openmpi.gmk,v 1.3 2010-05-18 06:02:01 kmura Exp $
# $Name: not supported by cvs2svn $
# ===========================================================
# Makefile for building G4MPI (OpenMPI)
# ===========================================================
@@ -1,5 +1,5 @@
# $Id: G4MPI.gmk,v 1.3 2010/05/18 06:01:09 kmura Exp $
# $Name: geant4-09-04-beta-01 $
# $Id: G4MPI.gmk,v 1.3 2010-05-18 06:01:09 kmura Exp $
# $Name: not supported by cvs2svn $
# ===========================================================
# Makefile for building G4MPI (OpenMPI)
# ===========================================================
@@ -1,5 +1,5 @@
# $Id: GNUmakefile,v 1.1 2007/11/16 13:32:56 kmura Exp $
# $Name: geant4-09-02 $
# $Id: GNUmakefile,v 1.1 2007-11-16 13:32:56 kmura Exp $
# $Name: not supported by cvs2svn $
# ===========================================================
# Makefile for building MPI interface
# ===========================================================
@@ -1,4 +1,4 @@
$Id: History,v 1.2 2010/05/18 06:00:40 kmura Exp $
$Id: History,v 1.2 2010-05-18 06:00:40 kmura Exp $
-------------------------------------------------------------------
=========================================================
@@ -1,4 +1,4 @@
$Id: README,v 1.2 2010/05/18 06:00:18 kmura Exp $
$Id: README,v 1.2 2010-05-18 06:00:18 kmura Exp $
==========================================================================
Geant4 MPI Interface
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4MPIbatch.hh,v 1.1 2007/11/16 14:05:39 kmura Exp $
// $Name: geant4-09-02 $
// $Id: G4MPIbatch.hh,v 1.1 2007-11-16 14:05:39 kmura Exp $
// $Name: not supported by cvs2svn $
//
// ====================================================================
// G4MPIbatch.hh
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4MPImanager.hh,v 1.2 2010/05/18 06:03:27 kmura Exp $
// $Name: geant4-09-04-beta-01 $
// $Id: G4MPImanager.hh,v 1.2 2010-05-18 06:03:27 kmura Exp $
// $Name: not supported by cvs2svn $
//
// ====================================================================
// G4MPImanager.hh
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4MPImessenger.hh,v 1.3 2010/12/03 08:21:29 kmura Exp $
// $Name: geant4-09-04 $
// $Id: G4MPImessenger.hh,v 1.3 2010-12-03 08:21:29 kmura Exp $
// $Name: not supported by cvs2svn $
//
// ====================================================================
// G4MPImessenger.hh
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4MPIrandomSeedGenerator.hh,v 1.1 2007/11/16 14:05:40 kmura Exp $
// $Name: geant4-09-02 $
// $Id: G4MPIrandomSeedGenerator.hh,v 1.1 2007-11-16 14:05:40 kmura Exp $
// $Name: not supported by cvs2svn $
//
// ====================================================================
// G4MPIrandomSeedGenerator.hh
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4MPIsession.hh,v 1.1 2007/11/16 14:05:41 kmura Exp $
// $Name: geant4-09-02 $
// $Id: G4MPIsession.hh,v 1.1 2007-11-16 14:05:41 kmura Exp $
// $Name: not supported by cvs2svn $
//
// ====================================================================
// G4MPIsession.hh
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4MPIstatus.hh,v 1.1 2007/11/16 14:05:41 kmura Exp $
// $Name: geant4-09-02 $
// $Id: G4MPIstatus.hh,v 1.1 2007-11-16 14:05:41 kmura Exp $
// $Name: not supported by cvs2svn $
//
// ====================================================================
// G4MPIstatus.hh
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4UImpish.hh,v 1.1 2007/11/16 14:05:41 kmura Exp $
// $Name: geant4-09-02 $
// $Id: G4UImpish.hh,v 1.1 2007-11-16 14:05:41 kmura Exp $
// $Name: not supported by cvs2svn $
//
// ====================================================================
// G4UImpish.hh
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4VMPIseedGenerator.hh,v 1.1 2007/11/16 14:05:41 kmura Exp $
// $Name: geant4-09-02 $
// $Id: G4VMPIseedGenerator.hh,v 1.1 2007-11-16 14:05:41 kmura Exp $
// $Name: not supported by cvs2svn $
//
// ====================================================================
// G4VMPIseedGenerator.hh
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4VMPIsession.hh,v 1.2 2010/05/18 06:05:05 kmura Exp $
// $Name: geant4-09-04-beta-01 $
// $Id: G4VMPIsession.hh,v 1.2 2010-05-18 06:05:05 kmura Exp $
// $Name: not supported by cvs2svn $
//
// ====================================================================
// G4VMPIsession.hh
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4MPIbatch.cc,v 1.3 2010/12/03 08:21:29 kmura Exp $
// $Name: geant4-09-04 $
// $Id: G4MPIbatch.cc,v 1.3 2010-12-03 08:21:29 kmura Exp $
// $Name: not supported by cvs2svn $
//
// ====================================================================
// G4MPIsession.cc
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4MPImanager.cc,v 1.2 2010/05/18 06:06:21 kmura Exp $
// $Name: geant4-09-04-beta-01 $
// $Id: G4MPImanager.cc,v 1.2 2010-05-18 06:06:21 kmura Exp $
// $Name: not supported by cvs2svn $
//
// ====================================================================
// G4MPImanager.cc
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4MPImessenger.cc,v 1.3 2010/12/03 08:21:29 kmura Exp $
// $Name: geant4-09-04 $
// $Id: G4MPImessenger.cc,v 1.3 2010-12-03 08:21:29 kmura Exp $
// $Name: not supported by cvs2svn $
//
// ====================================================================
// G4MPImessenger.cc
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4MPIrandomSeedGenerator.cc,v 1.1 2007/11/16 14:05:41 kmura Exp $
// $Name: geant4-09-02 $
// $Id: G4MPIrandomSeedGenerator.cc,v 1.1 2007-11-16 14:05:41 kmura Exp $
// $Name: not supported by cvs2svn $
//
// ====================================================================
// G4MPIrandomSeedGenerator.cc
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4MPIsession.cc,v 1.2 2010/05/18 06:06:21 kmura Exp $
// $Name: geant4-09-04-beta-01 $
// $Id: G4MPIsession.cc,v 1.2 2010-05-18 06:06:21 kmura Exp $
// $Name: not supported by cvs2svn $
//
// ====================================================================
// G4MPIsession.cc
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4MPIstatus.cc,v 1.2 2010/05/18 06:06:21 kmura Exp $
// $Name: geant4-09-04-beta-01 $
// $Id: G4MPIstatus.cc,v 1.2 2010-05-18 06:06:21 kmura Exp $
// $Name: not supported by cvs2svn $
//
// ====================================================================
// G4MPIstatus.cc
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4UImpish.cc,v 1.1 2007/11/16 14:05:41 kmura Exp $
// $Name: geant4-09-02 $
// $Id: G4UImpish.cc,v 1.1 2007-11-16 14:05:41 kmura Exp $
// $Name: not supported by cvs2svn $
//
// ====================================================================
// G4UImpish.cc
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4VMPIseedGenerator.cc,v 1.1 2007/11/16 14:05:41 kmura Exp $
// $Name: geant4-09-02 $
// $Id: G4VMPIseedGenerator.cc,v 1.1 2007-11-16 14:05:41 kmura Exp $
// $Name: not supported by cvs2svn $
// ====================================================================
// G4VMPIseedGenerator.cc
//
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4VMPIsession.cc,v 1.2 2010/05/18 06:06:21 kmura Exp $
// $Name: geant4-09-04-beta-01 $
// $Id: G4VMPIsession.cc,v 1.2 2010-05-18 06:06:21 kmura Exp $
// $Name: not supported by cvs2svn $
//
// ====================================================================
// G4VMPIsession.cc
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4HCofThisEvent.hh,v 1.3 2006/06/29 17:33:53 gunter Exp $
// GEANT4 tag $Name: geant4-09-02 $
// $Id: G4HCofThisEvent.hh,v 1.3 2006-06-29 17:33:53 gunter Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
#ifndef G4HCofThisEvent_h
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4THitsCollection.hh,v 1.3 2006/06/29 17:33:58 gunter Exp $
// GEANT4 tag $Name: geant4-09-02 $
// $Id: G4THitsCollection.hh,v 1.3 2006-06-29 17:33:58 gunter Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
#ifndef G4THitsCollection_h
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4VHitsCollection.hh,v 1.3 2006/06/29 17:34:00 gunter Exp $
// GEANT4 tag $Name: geant4-09-02 $
// $Id: G4VHitsCollection.hh,v 1.3 2006-06-29 17:34:00 gunter Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
#ifndef G4VHitsCollection_h
@@ -1,4 +1,4 @@
# $Id: GNUmakefile,v 1.2 2010/01/11 16:56:29 gcosmo Exp $
# $Id: GNUmakefile,v 1.2 2010-01-11 16:56:29 gcosmo Exp $
# --------------------------------------------------------------
# GNUmakefile for examples module. Gabriele Cosmo, 06/04/98.
# --------------------------------------------------------------
+6 -1
View File
@@ -1,4 +1,4 @@
$Id: History,v 1.14 2010/11/05 09:28:00 allison Exp $
$Id: History,v 1.14 2010-11-05 09:28:00 allison Exp $
-------------------------------------------------------------------
=========================================================
@@ -15,6 +15,11 @@ track of all tags.
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
April 13, 2011 - G.Cosmo - ParN02-V09-04-00
------------------------
- Synchronised with current version of novice example N02.
Includes fixes and missing migrations...
November 5, 2010 - J.Allison - ParN02-V09-03-01
-------------------------
- Introduced G4UIExecutive.
@@ -1,4 +1,4 @@
# $Id: ParGNUmakefile,v 1.6 2007/05/25 17:27:20 cooperma Exp $
# $Id: ParGNUmakefile,v 1.6 2007-05-25 17:27:20 cooperma Exp $
# --------------------------------------------------------------
#This file should be included in GNUmakefile of local directory.
+2 -2
View File
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: ParN02.cc,v 1.6 2010/11/05 09:28:00 allison Exp $
// GEANT4 tag $Name: geant4-09-04 $
// $Id: ParN02.cc,v 1.6 2010-11-05 09:28:00 allison 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: ParTopC.icc,v 1.2 2006/06/29 17:33:49 gunter Exp $
// GEANT4 tag $Name: geant4-09-02 $
// $Id: ParTopC.icc,v 1.2 2006-06-29 17:33:49 gunter Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
// --------------------------------------------------------------------
// Parallel Library for Geant4
@@ -1,4 +1,4 @@
$Id: README,v 1.1 2002/03/05 15:21:55 gcosmo Exp $
$Id: README,v 1.1 2002-03-05 15:21:55 gcosmo Exp $
-------------------------------------------------------------------
=========================================================
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: ExN02ChamberParameterisation.hh,v 1.4 2006/06/29 17:34:02 gunter Exp $
// GEANT4 tag $Name: geant4-09-02 $
// $Id: ExN02ChamberParameterisation.hh,v 1.4 2006-06-29 17:34:02 gunter Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
//
// A parameterisation that describes a series of boxes along Z
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: ExN02DetectorConstruction.hh,v 1.2 2006/06/29 17:34:05 gunter Exp $
// GEANT4 tag $Name: geant4-09-02 $
// $Id: ExN02DetectorConstruction.hh,v 1.10 2008-09-22 16:41:20 maire Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -41,6 +41,8 @@ class G4Box;
class G4LogicalVolume;
class G4VPhysicalVolume;
class G4Material;
class G4VPVParameterisation;
class G4UserLimits;
class ExN02DetectorMessenger;
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -65,6 +67,7 @@ class ExN02DetectorConstruction : public G4VUserDetectorConstruction
void setTargetMaterial (G4String);
void setChamberMaterial(G4String);
void SetMagField(G4double);
void SetMaxStep (G4double);
private:
@@ -85,7 +88,11 @@ class ExN02DetectorConstruction : public G4VUserDetectorConstruction
G4VPhysicalVolume* physiChamber; // pointer to the physical Chamber
G4Material* TargetMater; // pointer to the target material
G4Material* ChamberMater; // pointer to the chamber material
G4Material* ChamberMater; // pointer to the chamber material
G4VPVParameterisation* chamberParam; // pointer to chamber parameterisation
G4UserLimits* stepLimit; // pointer to user step limits
ExN02MagneticField* fpMagField; // pointer to the magnetic field
ExN02DetectorMessenger* detectorMessenger; // pointer to the Messenger
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: ExN02DetectorMessenger.hh,v 1.3 2006/06/29 17:34:08 gunter Exp $
// GEANT4 tag $Name: geant4-09-02 $
// $Id: ExN02DetectorMessenger.hh,v 1.9 2008-09-22 16:41:20 maire Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -59,6 +59,7 @@ class ExN02DetectorMessenger: public G4UImessenger
G4UIcmdWithAString* TargMatCmd;
G4UIcmdWithAString* ChamMatCmd;
G4UIcmdWithADoubleAndUnit* FieldCmd;
G4UIcmdWithADoubleAndUnit* StepMaxCmd;
};
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: ExN02EventAction.hh,v 1.2 2006/06/29 17:34:10 gunter Exp $
// GEANT4 tag $Name: geant4-09-02 $
// $Id: ExN02EventAction.hh,v 1.2 2006-06-29 17:34:10 gunter Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: ExN02MagneticField.hh,v 1.2 2006/06/29 17:34:12 gunter Exp $
// GEANT4 tag $Name: geant4-09-02 $
// $Id: ExN02MagneticField.hh,v 1.8 2007-08-22 13:11:51 gcosmo Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
//
// A class for control of the Magnetic Field of the detector.
@@ -53,8 +53,8 @@ class ExN02MagneticField: public G4UniformMagField
~ExN02MagneticField();
//Set the field (fieldValue,0,0)
void SetFieldValue(G4double fieldValue);
void SetFieldValue(G4ThreeVector fieldVector);
void SetMagFieldValue(G4double fieldValue);
void SetMagFieldValue(G4ThreeVector fieldVector);
G4ThreeVector GetConstantFieldValue();
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: ExN02PhysicsList.hh,v 1.2 2006/06/29 17:34:14 gunter Exp $
// GEANT4 tag $Name: geant4-09-02 $
// $Id: ExN02PhysicsList.hh,v 1.12 2008-09-22 16:41:20 maire Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -63,6 +63,7 @@ class ExN02PhysicsList: public G4VUserPhysicsList
// these methods Construct physics processes and register them
void ConstructGeneral();
void ConstructEM();
void AddStepMax();
};
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: ExN02PrimaryGeneratorAction.hh,v 1.2 2006/06/29 17:34:17 gunter Exp $
// GEANT4 tag $Name: geant4-09-02 $
// $Id: ExN02PrimaryGeneratorAction.hh,v 1.2 2006-06-29 17:34:17 gunter Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: ExN02RunAction.hh,v 1.3 2006/07/05 12:46:00 gcosmo Exp $
// GEANT4 tag $Name: geant4-09-02 $
// $Id: ExN02RunAction.hh,v 1.8 2006-06-29 17:47:45 gunter Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -48,6 +48,7 @@ class ExN02RunAction : public G4UserRunAction
public:
void BeginOfRunAction(const G4Run*);
void EndOfRunAction(const G4Run*);
};
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: ExN02SteppingAction.hh,v 1.2 2006/06/29 17:34:21 gunter Exp $
// GEANT4 tag $Name: geant4-09-02 $
// $Id: ExN02SteppingAction.hh,v 1.2 2006-06-29 17:34:21 gunter Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: ExN02SteppingVerbose.hh,v 1.2 2006/06/29 17:34:23 gunter Exp $
// GEANT4 tag $Name: geant4-09-02 $
// $Id: ExN02SteppingVerbose.hh,v 1.2 2006-06-29 17:34:23 gunter Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
// This class manages the verbose outputs in G4SteppingManager.
// It inherits from G4SteppingVerbose.
@@ -24,16 +24,9 @@
// ********************************************************************
//
//
// --------------------------------------------------------------
// GEANT 4 - Underground Dark Matter Detector Advanced Example
//
// For information related to this code contact: Alex Howard
// e-mail: a.s.howard@ic.ac.uk
// --------------------------------------------------------------
// Comments
//
//
// TrackerHit header
// $Id: ExN02TrackerHit.hh,v 1.8 2006-06-29 17:47:53 gunter Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
// --------------------------------------------------------------
#ifndef ExN02TrackerHit_h
@@ -60,7 +53,7 @@ class ExN02TrackerHit : public G4VHit
ExN02TrackerHit(const ExN02TrackerHit&);
const ExN02TrackerHit& operator=(const ExN02TrackerHit&);
int operator==(const ExN02TrackerHit&) const;
G4int operator==(const ExN02TrackerHit&) const;
inline void* operator new(size_t);
inline void operator delete(void*);
@@ -89,15 +82,15 @@ class ExN02TrackerHit : public G4VHit
public:
inline void SetTrackID (G4int track) {trackID = track; };
inline void SetChamberNb(G4int chamb) {chamberNb = chamb; };
inline void SetEdep(G4double de) {edep=de;};
inline void SetPos(G4ThreeVector xyz) {pos=xyz;};
inline void SetTrackID (G4int track) {trackID = track; }
inline void SetChamberNb(G4int chamb) {chamberNb = chamb; }
inline void SetEdep(G4double de) {edep=de;}
inline void SetPos(G4ThreeVector xyz) {pos=xyz;}
inline G4int GetTrackID() const {return trackID; };
inline G4int GetChamberNb() const {return chamberNb; };
inline G4double GetEdep() const {return edep;};
inline G4ThreeVector GetPos() const {return pos;};
inline G4int GetTrackID() const {return trackID; }
inline G4int GetChamberNb() const {return chamberNb; }
inline G4double GetEdep() const {return edep;}
inline G4ThreeVector GetPos() const {return pos;}
};
//MSH_END
@@ -105,24 +98,18 @@ class ExN02TrackerHit : public G4VHit
// vector collection of one type of hits
typedef G4THitsCollection<ExN02TrackerHit> ExN02TrackerHitsCollection;
extern G4Allocator<ExN02TrackerHit> ExN02TrackerHitAllocator;
inline void* ExN02TrackerHit::operator new(size_t) {
inline void* ExN02TrackerHit::operator new(size_t)
{
void* aHit;
aHit = (void*) ExN02TrackerHitAllocator.MallocSingle();
return aHit;
}
inline void ExN02TrackerHit::operator delete(void* aHit) {
inline void ExN02TrackerHit::operator delete(void* aHit)
{
ExN02TrackerHitAllocator.FreeSingle((ExN02TrackerHit*) aHit);
}
#endif
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: ExN02TrackerSD.hh,v 1.2 2006/06/29 17:34:28 gunter Exp $
// GEANT4 tag $Name: geant4-09-02 $
// $Id: ExN02TrackerSD.hh,v 1.2 2006-06-29 17:34:28 gunter 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: ParRunManager.hh,v 1.3 2006/06/29 17:34:30 gunter Exp $
// GEANT4 tag $Name: geant4-09-02 $
// $Id: ParRunManager.hh,v 1.3 2006-06-29 17:34:30 gunter Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
// --------------------------------------------------------------------
// Parallel Library for Geant4
+1 -1
View File
@@ -1,4 +1,4 @@
# $Id: run1.mac,v 1.1 2002/03/05 15:21:54 gcosmo Exp $
# $Id: run1.mac,v 1.1 2002-03-05 15:21:54 gcosmo Exp $
#
# Macro file for "ParN02.cc"
#
+2 -2
View File
@@ -1,4 +1,4 @@
# $Id: run2.mac,v 1.1 2002/03/05 15:21:54 gcosmo Exp $
# $Id: run2.mac,v 1.1 2002-03-05 15:21:54 gcosmo Exp $
#
# Macro file for "ParN02.cc"
#
@@ -17,7 +17,7 @@
# set a magnetic field
# 1 events; print the hits
#
/mydet/setField 2 tesla
/N02/det/setField 2 tesla
/tracking/verbose 0
/hits/verbose 1
/run/beamOn 1
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: ExN02ChamberParameterisation.cc,v 1.3 2006/06/29 17:34:32 gunter Exp $
// GEANT4 tag $Name: geant4-09-02 $
// $Id: ExN02ChamberParameterisation.cc,v 1.3 2006-06-29 17:34:32 gunter Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: ExN02DetectorConstruction.cc,v 1.3 2006/06/29 17:34:35 gunter Exp $
// GEANT4 tag $Name: geant4-09-02 $
// $Id: ExN02DetectorConstruction.cc,v 1.22 2010-01-22 11:57:03 maire Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -42,6 +42,8 @@
#include "G4PVPlacement.hh"
#include "G4PVParameterised.hh"
#include "G4SDManager.hh"
#include "G4GeometryTolerance.hh"
#include "G4GeometryManager.hh"
#include "G4UserLimits.hh"
@@ -57,7 +59,8 @@ ExN02DetectorConstruction::ExN02DetectorConstruction()
solidTarget(0), logicTarget(0), physiTarget(0),
solidTracker(0),logicTracker(0),physiTracker(0),
solidChamber(0),logicChamber(0),physiChamber(0),
TargetMater(0), ChamberMater(0),fpMagField(0),
TargetMater(0), ChamberMater(0),chamberParam(0),
stepLimit(0), fpMagField(0),
fWorldLength(0.), fTargetLength(0.), fTrackerLength(0.),
NbOfChambers(0) , ChamberWidth(0.), ChamberSpacing(0.)
{
@@ -70,6 +73,8 @@ ExN02DetectorConstruction::ExN02DetectorConstruction()
ExN02DetectorConstruction::~ExN02DetectorConstruction()
{
delete fpMagField;
delete stepLimit;
delete chamberParam;
delete detectorMessenger;
}
@@ -98,7 +103,7 @@ G4VPhysicalVolume* ExN02DetectorConstruction::Construct()
//Xenon gas
G4Material* Xenon =
new G4Material("XenonGas", z=54., a=131.29*g/mole, density= 5.458*mg/cm3,
kStateGas, temperature= 1*atmosphere, pressure= 293.15*kelvin);
kStateGas, temperature= 293.15*kelvin, pressure= 1*atmosphere);
// Print all the materials defined.
//
@@ -129,9 +134,14 @@ G4VPhysicalVolume* ExN02DetectorConstruction::Construct()
//------------------------------
G4double HalfWorldLength = 0.5*fWorldLength;
solidWorld= new G4Box("world",HalfWorldLength,HalfWorldLength,HalfWorldLength);
logicWorld= new G4LogicalVolume( solidWorld, Air, "World", 0, 0, 0);
G4GeometryManager::GetInstance()->SetWorldMaximumExtent(fWorldLength);
G4cout << "Computed tolerance = "
<< G4GeometryTolerance::GetInstance()->GetSurfaceTolerance()/mm
<< " mm" << G4endl;
solidWorld= new G4Box("world",HalfWorldLength,HalfWorldLength,HalfWorldLength);
logicWorld= new G4LogicalVolume( solidWorld, Air, "World", 0, 0, 0);
// Must place the World Physical volume unrotated at (0,0,0).
//
@@ -141,7 +151,7 @@ G4VPhysicalVolume* ExN02DetectorConstruction::Construct()
"World", // its name
0, // its mother volume
false, // no boolean operations
0); // no field specific to volume
0); // copy number
//------------------------------
// Target
@@ -157,7 +167,7 @@ G4VPhysicalVolume* ExN02DetectorConstruction::Construct()
"Target", // its name
logicWorld, // its mother volume
false, // no boolean operations
0); // no particular field
0); // copy number
G4cout << "Target is " << fTargetLength/cm << " cm of "
<< TargetMater->GetName() << G4endl;
@@ -176,7 +186,7 @@ G4VPhysicalVolume* ExN02DetectorConstruction::Construct()
"Tracker", // its name
logicWorld, // its mother volume
false, // no boolean operations
0); // no particular field
0); // copy number
//------------------------------
// Tracker segments
@@ -192,7 +202,7 @@ G4VPhysicalVolume* ExN02DetectorConstruction::Construct()
G4double firstLength = fTrackerLength/10;
G4double lastLength = fTrackerLength;
G4VPVParameterisation* chamberParam = new ExN02ChamberParameterisation(
chamberParam = new ExN02ChamberParameterisation(
NbOfChambers, // NoChambers
firstPosition, // Z of center of first
ChamberSpacing, // Z spacing of centers
@@ -239,11 +249,18 @@ G4VPhysicalVolume* ExN02DetectorConstruction::Construct()
//--------- example of User Limits -------------------------------
// below is an example of how to set tracking constraints in a given
// logical volume(see also in N02PhysicsList how to setup the process
// G4UserSpecialCuts).
// Sets a max Step length in the tracker region
// G4double maxStep = 0.5*ChamberWidth, maxLength = 2*fTrackerLength;
// G4double maxTime = 0.1*ns, minEkin = 10*MeV;
// logical volume(see also in N02PhysicsList how to setup the processes
// G4StepLimiter or G4UserSpecialCuts).
// Sets a max Step length in the tracker region, with G4StepLimiter
//
G4double maxStep = 0.5*ChamberWidth;
stepLimit = new G4UserLimits(maxStep);
logicTracker->SetUserLimits(stepLimit);
// Set additional contraints on the track, with G4UserSpecialCuts
//
// G4double maxLength = 2*fTrackerLength, maxTime = 0.1*ns, minEkin = 10*MeV;
// logicTracker->SetUserLimits(new G4UserLimits(maxStep,maxLength,maxTime,
// minEkin));
@@ -282,7 +299,14 @@ void ExN02DetectorConstruction::setChamberMaterial(G4String materialName)
void ExN02DetectorConstruction::SetMagField(G4double fieldValue)
{
fpMagField->SetFieldValue(fieldValue);
fpMagField->SetMagFieldValue(fieldValue);
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
void ExN02DetectorConstruction::SetMaxStep(G4double maxStep)
{
if ((stepLimit)&&(maxStep>0.)) stepLimit->SetMaxAllowedStep(maxStep);
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: ExN02DetectorMessenger.cc,v 1.4 2006/06/29 17:34:38 gunter Exp $
// GEANT4 tag $Name: geant4-09-02 $
// $Id: ExN02DetectorMessenger.cc,v 1.12 2008-09-22 16:41:20 maire Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -63,9 +63,14 @@ ExN02DetectorMessenger::ExN02DetectorMessenger(ExN02DetectorConstruction* myDet)
FieldCmd->SetGuidance("Define magnetic field.");
FieldCmd->SetGuidance("Magnetic field will be in X direction.");
FieldCmd->SetParameterName("Bx",false);
FieldCmd->SetDefaultUnit("tesla");
FieldCmd->SetUnitCategory("Magnetic flux density");
FieldCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
FieldCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
StepMaxCmd = new G4UIcmdWithADoubleAndUnit("/N02/det/stepMax",this);
StepMaxCmd->SetGuidance("Define a step max");
StepMaxCmd->SetParameterName("stepMax",false);
StepMaxCmd->SetUnitCategory("Length");
StepMaxCmd->AvailableForStates(G4State_Idle);
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -75,6 +80,7 @@ ExN02DetectorMessenger::~ExN02DetectorMessenger()
delete TargMatCmd;
delete ChamMatCmd;
delete FieldCmd;
delete StepMaxCmd;
delete detDir;
delete N02Dir;
}
@@ -91,6 +97,9 @@ void ExN02DetectorMessenger::SetNewValue(G4UIcommand* command,G4String newValue)
if( command == FieldCmd )
{ myDetector->SetMagField(FieldCmd->GetNewDoubleValue(newValue));}
if( command == StepMaxCmd )
{ myDetector->SetMaxStep(StepMaxCmd->GetNewDoubleValue(newValue));}
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: ExN02EventAction.cc,v 1.3 2010/06/06 05:08:01 perl Exp $
// GEANT4 tag $Name: geant4-09-04-beta-01 $
// $Id: ExN02EventAction.cc,v 1.11 2006-06-29 17:48:05 gunter Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -35,6 +35,7 @@
#include "G4Event.hh"
#include "G4EventManager.hh"
#include "G4TrajectoryContainer.hh"
#include "G4Trajectory.hh"
#include "G4ios.hh"
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: ExN02MagneticField.cc,v 1.2 2006/06/29 17:34:44 gunter Exp $
// GEANT4 tag $Name: geant4-09-02 $
// $Id: ExN02MagneticField.cc,v 1.9 2007-08-22 13:11:51 gcosmo Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
// User Field class implementation.
//
@@ -34,6 +34,7 @@
#include "ExN02MagneticField.hh"
#include "G4FieldManager.hh"
#include "G4TransportationManager.hh"
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -55,45 +56,42 @@ ExN02MagneticField::ExN02MagneticField(G4ThreeVector fieldVector)
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
ExN02MagneticField::~ExN02MagneticField()
{
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
// Set the value of the Global Field to fieldValue along X
//
void ExN02MagneticField::SetFieldValue(G4double fieldValue)
void ExN02MagneticField::SetMagFieldValue(G4double fieldValue)
{
G4UniformMagField::SetFieldValue(G4ThreeVector(fieldValue,0,0));
SetMagFieldValue(G4ThreeVector(fieldValue,0,0));
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
// Set the value of the Global Field
//
void ExN02MagneticField::SetFieldValue(G4ThreeVector fieldVector)
void ExN02MagneticField::SetMagFieldValue(G4ThreeVector fieldVector)
{
// Find the Field Manager for the global field
G4FieldManager* fieldMgr= GetGlobalFieldManager();
if(fieldVector!=G4ThreeVector(0.,0.,0.))
{
G4UniformMagField::SetFieldValue(fieldVector);
SetFieldValue(fieldVector);
fieldMgr->SetDetectorField(this);
} else {
// If the new field's value is Zero, then it is best to
// insure that it is not used for propagation.
G4MagneticField* magField = NULL;
G4MagneticField* magField = 0;
fieldMgr->SetDetectorField(magField);
}
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
ExN02MagneticField::~ExN02MagneticField()
{
// GetGlobalFieldManager()->SetDetectorField(0);
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
#include "G4TransportationManager.hh"
G4FieldManager* ExN02MagneticField::GetGlobalFieldManager()
{
return G4TransportationManager::GetTransportationManager()->GetFieldManager();
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: ExN02PhysicsList.cc,v 1.4 2006/06/29 17:34:47 gunter Exp $
// GEANT4 tag $Name: geant4-09-02 $
// $Id: ExN02PhysicsList.cc,v 1.27 2009-11-15 14:27:30 maire Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -33,14 +33,8 @@
#include "globals.hh"
#include "ExN02PhysicsList.hh"
#include "G4ParticleDefinition.hh"
#include "G4ProcessManager.hh"
#include "G4ProcessVector.hh"
#include "G4ParticleTypes.hh"
#include "G4ParticleTable.hh"
#include "G4Material.hh"
#include "G4ios.hh"
#include <iomanip>
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -68,7 +62,6 @@ void ExN02PhysicsList::ConstructParticle()
ConstructLeptons();
ConstructMesons();
ConstructBaryons();
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -140,6 +133,7 @@ void ExN02PhysicsList::ConstructProcess()
AddTransportation();
ConstructEM();
ConstructGeneral();
AddStepMax();
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -148,19 +142,22 @@ void ExN02PhysicsList::ConstructProcess()
#include "G4GammaConversion.hh"
#include "G4PhotoElectricEffect.hh"
#include "G4MultipleScattering.hh"
#include "G4eMultipleScattering.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 "G4UserSpecialCuts.hh"
#include "G4ionIonisation.hh"
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -180,32 +177,51 @@ void ExN02PhysicsList::ConstructEM()
} else if (particleName == "e-") {
//electron
pmanager->AddProcess(new G4MultipleScattering,-1, 1,1);
pmanager->AddProcess(new G4eIonisation, -1, 2,2);
pmanager->AddProcess(new G4eBremsstrahlung, -1, 3,3);
pmanager->AddProcess(new G4eMultipleScattering, -1, 1, 1);
pmanager->AddProcess(new G4eIonisation, -1, 2, 2);
pmanager->AddProcess(new G4eBremsstrahlung, -1, 3, 3);
} else if (particleName == "e+") {
//positron
pmanager->AddProcess(new G4MultipleScattering,-1, 1,1);
pmanager->AddProcess(new G4eIonisation, -1, 2,2);
pmanager->AddProcess(new G4eBremsstrahlung, -1, 3,3);
pmanager->AddProcess(new G4eplusAnnihilation, 0,-1,4);
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);
} else if( particleName == "mu+" ||
particleName == "mu-" ) {
//muon
pmanager->AddProcess(new G4MultipleScattering,-1, 1,1);
pmanager->AddProcess(new G4MuIonisation, -1, 2,2);
pmanager->AddProcess(new G4MuBremsstrahlung, -1, 3,3);
pmanager->AddProcess(new G4MuPairProduction, -1, 4,4);
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);
} else if( particleName == "proton" ||
particleName == "pi-" ||
particleName == "pi+" ) {
//proton
pmanager->AddProcess(new G4hMultipleScattering, -1, 1, 1);
pmanager->AddProcess(new G4hIonisation, -1, 2, 2);
pmanager->AddProcess(new G4hBremsstrahlung, -1, 3, 3);
pmanager->AddProcess(new G4hPairProduction, -1, 4, 4);
} else if( particleName == "alpha" ||
particleName == "He3" ) {
//alpha
pmanager->AddProcess(new G4hMultipleScattering, -1, 1, 1);
pmanager->AddProcess(new G4ionIonisation, -1, 2, 2);
} else if( particleName == "GenericIon" ) {
//Ions
pmanager->AddProcess(new G4hMultipleScattering, -1, 1, 1);
pmanager->AddProcess(new G4ionIonisation, -1, 2, 2);
} else if ((!particle->IsShortLived()) &&
(particle->GetPDGCharge() != 0.0) &&
(particle->GetParticleName() != "chargedgeantino")) {
//all others charged particles except geantino
pmanager->AddProcess(new G4MultipleScattering,-1, 1,1);
pmanager->AddProcess(new G4hIonisation, -1, 2,2);
///pmanager->AddProcess(new G4hUserSpecialCuts, -1,-1,3);
pmanager->AddProcess(new G4hMultipleScattering, -1, 1, 1);
pmanager->AddProcess(new G4hIonisation, -1, 2, 2);
}
}
}
@@ -213,6 +229,7 @@ void ExN02PhysicsList::ConstructEM()
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
#include "G4Decay.hh"
void ExN02PhysicsList::ConstructGeneral()
{
// Add Decay Process
@@ -229,6 +246,30 @@ void ExN02PhysicsList::ConstructGeneral()
}
}
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
#include "G4StepLimiter.hh"
#include "G4UserSpecialCuts.hh"
void ExN02PhysicsList::AddStepMax()
{
// Step limitation seen as a process
G4StepLimiter* stepLimiter = new G4StepLimiter();
////G4UserSpecialCuts* userCuts = new G4UserSpecialCuts();
theParticleIterator->reset();
while ((*theParticleIterator)()){
G4ParticleDefinition* particle = theParticleIterator->value();
G4ProcessManager* pmanager = particle->GetProcessManager();
if (particle->GetPDGCharge() != 0.0)
{
pmanager ->AddDiscreteProcess(stepLimiter);
////pmanager ->AddDiscreteProcess(userCuts);
}
}
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: ExN02PrimaryGeneratorAction.cc,v 1.2 2006/06/29 17:34:50 gunter Exp $
// GEANT4 tag $Name: geant4-09-02 $
// $Id: ExN02PrimaryGeneratorAction.cc,v 1.2 2006-06-29 17:34:50 gunter Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: ExN02RunAction.cc,v 1.3 2006/07/05 12:46:00 gcosmo Exp $
// GEANT4 tag $Name: geant4-09-02 $
// $Id: ExN02RunAction.cc,v 1.9 2006-06-29 17:48:16 gunter Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -33,8 +33,6 @@
#include "ExN02RunAction.hh"
#include "G4Run.hh"
#include "G4UImanager.hh"
#include "G4ios.hh"
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -55,5 +53,10 @@ void ExN02RunAction::BeginOfRunAction(const G4Run* aRun)
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
void ExN02RunAction::EndOfRunAction(const G4Run*)
{ }
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: ExN02SteppingAction.cc,v 1.2 2006/06/29 17:35:04 gunter Exp $
// GEANT4 tag $Name: geant4-09-02 $
// $Id: ExN02SteppingAction.cc,v 1.2 2006-06-29 17:35:04 gunter Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: ExN02SteppingVerbose.cc,v 1.4 2006/06/29 17:35:07 gunter Exp $
// GEANT4 tag $Name: geant4-09-02 $
// $Id: ExN02SteppingVerbose.cc,v 1.12 2006-06-29 17:48:21 gunter Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -101,35 +101,24 @@ void ExN02SteppingVerbose::StepInfo()
fN2ndariesAlongStepDoIt +
fN2ndariesPostStepDoIt;
if(tN2ndariesTot>0){
G4cout << " :----- List of 2ndaries - "
<< "#SpawnInStep=" << std::setw(3) << tN2ndariesTot
<< "(Rest=" << std::setw(2) << fN2ndariesAtRestDoIt
<< ",Along=" << std::setw(2) << fN2ndariesAlongStepDoIt
<< ",Post=" << std::setw(2) << fN2ndariesPostStepDoIt
<< "), "
<< "#SpawnTotal=" << std::setw(3) << (*fSecondary).size()
<< " ---------------"
G4cout << "\n :----- List of secondaries ----------------"
<< G4endl;
for(size_t lp1=(*fSecondary).size()-tN2ndariesTot;
lp1<(*fSecondary).size(); lp1++){
G4cout << " : "
G4cout << " "
<< std::setw(13)
<< (*fSecondary)[lp1]->GetDefinition()->GetParticleName()
<< ": energy ="
<< std::setw(6)
<< G4BestUnit((*fSecondary)[lp1]->GetPosition().x(),"Length")
<< G4BestUnit((*fSecondary)[lp1]->GetKineticEnergy(),"Energy")
<< " time ="
<< std::setw(6)
<< G4BestUnit((*fSecondary)[lp1]->GetPosition().y(),"Length")
<< std::setw(6)
<< G4BestUnit((*fSecondary)[lp1]->GetPosition().z(),"Length")
<< std::setw(6)
<< G4BestUnit((*fSecondary)[lp1]->GetKineticEnergy(),"Energy")
<< std::setw(10)
<< (*fSecondary)[lp1]->GetDefinition()->GetParticleName();
<< G4BestUnit((*fSecondary)[lp1]->GetGlobalTime(),"Time");
G4cout << G4endl;
}
G4cout << " :-----------------------------"
<< "----------------------------------"
<< "-- EndOf2ndaries Info ---------------"
G4cout << " :------------------------------------------"
<< G4endl;
}
}
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: ExN02TrackerHit.cc,v 1.3 2006/06/29 17:35:09 gunter Exp $
// GEANT4 tag $Name: geant4-09-02 $
// $Id: ExN02TrackerHit.cc,v 1.10 2006-06-29 17:48:24 gunter Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -84,7 +84,7 @@ void ExN02TrackerHit::Draw()
if(pVVisManager)
{
G4Circle circle(pos);
circle.SetScreenSize(0.04);
circle.SetScreenSize(2.);
circle.SetFillStyle(G4Circle::filled);
G4Colour colour(1.,0.,0.);
G4VisAttributes attribs(colour);
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: ExN02TrackerSD.cc,v 1.3 2006/06/29 17:35:11 gunter Exp $
// GEANT4 tag $Name: geant4-09-02 $
// $Id: ExN02TrackerSD.cc,v 1.9 2006-06-29 17:48:27 gunter Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -72,8 +72,8 @@ G4bool ExN02TrackerSD::ProcessHits(G4Step* aStep,G4TouchableHistory*)
ExN02TrackerHit* newHit = new ExN02TrackerHit();
newHit->SetTrackID (aStep->GetTrack()->GetTrackID());
newHit->SetChamberNb(aStep->GetPreStepPoint()->GetTouchable()
->GetReplicaNumber());
newHit->SetChamberNb(aStep->GetPreStepPoint()->GetTouchableHandle()
->GetCopyNumber());
newHit->SetEdep (edep);
newHit->SetPos (aStep->GetPostStepPoint()->GetPosition());
trackerCollection->insert( newHit );
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4HCofThisEvent.hh,v 1.3 2006/06/29 17:35:30 gunter Exp $
// GEANT4 tag $Name: geant4-09-02 $
// $Id: G4HCofThisEvent.hh,v 1.3 2006-06-29 17:35:30 gunter Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
#ifndef G4HCofThisEvent_h
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4THitsCollection.hh,v 1.3 2006/06/29 17:35:35 gunter Exp $
// GEANT4 tag $Name: geant4-09-02 $
// $Id: G4THitsCollection.hh,v 1.3 2006-06-29 17:35:35 gunter Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
#ifndef G4THitsCollection_h
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4VHitsCollection.hh,v 1.3 2006/06/29 17:35:37 gunter Exp $
// GEANT4 tag $Name: geant4-09-02 $
// $Id: G4VHitsCollection.hh,v 1.3 2006-06-29 17:35:37 gunter Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
#ifndef G4VHitsCollection_h

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