Import Geant4 6.1.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 10:49:58 +02:00
parent 96686e0c8f
commit 1d812b78b1
4545 changed files with 24433 additions and 175005 deletions
+4 -1
View File
@@ -1,4 +1,4 @@
# $Id: GNUmakefile,v 1.6 2003/10/15 17:58:11 duns Exp $
# $Id: GNUmakefile,v 1.7 2004/01/30 00:56:53 tkoi Exp $
# --------------------------------------------------------------
# GNUmakefile for examples module
# --------------------------------------------------------------
@@ -14,6 +14,9 @@ endif
.PHONY: all
all: lib bin
# A01PhysicsList use hadronic-lists, so it needs below include command.
include hadlist.gmk
include $(G4INSTALL)/config/binmake.gmk
CXXFLAGS_WITHOUT_O := $(filter-out -O% , $(CXXFLAGS))
+6 -1
View File
@@ -1,4 +1,4 @@
$Id: History,v 1.21 2003/12/01 19:12:36 perl Exp $
$Id: History,v 1.22 2004/02/09 22:21:58 asaim Exp $
-------------------------------------------------------------------
=========================================================
@@ -11,6 +11,11 @@ $Id: History,v 1.21 2003/12/01 19:12:36 perl Exp $
---------------------------------------------------------------------------
9th February 2004 Makoto Asai (exampleA01-V06-00-00)
- Fix EM part of the physics list to use the new
processes introduced at 6.0.
- Reference output is updated accordingly.
1st December 2003 Joseph Perl
- Removed endOfEventAction.mac since new vis policy provides such a flush
automatically.
@@ -0,0 +1,76 @@
#
# GNUmakefile for A01 had_lists
#
# by T. Koi SLAC 28-Jan-04
#
# Based on
## --------------------------------------------------------------
## GNUmakefile for physics list user.
## JPW. Fri Jul 25 10:39:58 CEST 2003
## --------------------------------------------------------------
#
ifndef G4LISTS_BASE
EXTRALIBS += -L$(G4LIB)/.lists_build/$(G4SYSTEM)
G4LISTS_BASE = $(G4INSTALL)/hadronic_lists
else
EXTRALIBS += -L$(G4LISTS_BASE)/lists/.lists_build/lib/$(G4SYSTEM)
endif
# Select your physics lists to link against.
#
EXTRALIBS += -lQGSP_BERT
EXTRALIBS += -lQGSP_BIC
EXTRALIBS += -lPackaging
EXTRALIBS += -lG4hadronic_proc
EXTRALIBS += -lG4hadronic_HE
EXTRALIBS += -lG4hadronic_LE
EXTRALIBS += -lG4hadronic_iso
EXTRALIBS += -lG4had_neu_hp
EXTRALIBS += -lG4hadronic_coherent_elastic
EXTRALIBS += -lG4hadronic_hetcpp_evaporation
EXTRALIBS += -lG4hadronic_hetcpp_utils
EXTRALIBS += -lG4hadronic_bert_cascade
EXTRALIBS += -lG4hadronic_interface_ci
EXTRALIBS += -lG4hadronic_body_ci
EXTRALIBS += -lG4hadronic_leading_particle
EXTRALIBS += -lG4hadronic_stop
EXTRALIBS += -lG4hadronic_radioactivedecay
EXTRALIBS += -lG4had_theo_max
EXTRALIBS += -lG4hadronic_qgstring
EXTRALIBS += -lG4had_string_diff
EXTRALIBS += -lG4had_string_frag
EXTRALIBS += -lG4had_string_man
EXTRALIBS += -lG4hadronic_binary
EXTRALIBS += -lG4had_im_r_matrix
EXTRALIBS += -lG4had_preequ_exciton
EXTRALIBS += -lG4hadronic_deex_evaporation
EXTRALIBS += -lG4hadronic_deex_fermi_breakup
EXTRALIBS += -lG4hadronic_deex_fission
EXTRALIBS += -lG4hadronic_deex_gem_evaporation
EXTRALIBS += -lG4hadronic_deex_handler
EXTRALIBS += -lG4hadronic_deex_management
EXTRALIBS += -lG4hadronic_deex_multifragmentation
EXTRALIBS += -lG4hadronic_deex_photon_evaporation
EXTRALIBS += -lG4hadronic_deex_util
EXTRALIBS += -lG4had_mod_man
EXTRALIBS += -lG4had_mod_util
EXTRALIBS += -lG4hadronic_mgt
EXTRALIBS += -lG4hadronic_xsect
EXTRALIBS += -lG4hadronic_util
EXTRALIBS += -lG4shortlived
CPPFLAGS += -I$(G4LISTS_BASE)/lists/Packaging/include
CPPFLAGS += -I$(G4LISTS_BASE)/lists/QGSP_BERT/include
CPPFLAGS += -I$(G4LISTS_BASE)/lists/QGSP_BIC/include
CXXFLAGS_WITHOUT_O := $(filter-out -O% , $(CXXFLAGS))
CXXFLAGS_WITHOUT_O := $(filter-out +O% , $(CXXFLAGS_WITHOUT_O))
@@ -20,8 +20,9 @@
// * statement, and all its terms. *
// ********************************************************************
//
// $Id: A01IonPhysics.hh,v 1.4 2003/10/11 02:59:59 tkoi Exp $
// $Id: A01IonPhysics.hh,v 1.5 2004/01/06 02:53:22 tkoi Exp $
// --------------------------------------------------------------
// 05-Jan-2004 Add G4ionIonisation T. Koi
//
#ifndef A01IonPhysics_h
@@ -45,6 +46,7 @@
#include "G4LEAlphaInelastic.hh"
#include "G4hIonisation.hh"
#include "G4ionIonisation.hh"
#include "G4MultipleScattering.hh"
class A01IonPhysics : public G4VPhysicsConstructor
@@ -20,11 +20,12 @@
// * statement, and all its terms. *
// ********************************************************************
//
// $Id: A01EMPhysics.cc,v 1.5 2003/10/11 03:00:00 tkoi Exp $
// $Id: A01EMPhysics.cc,v 1.6 2004/01/06 02:53:22 tkoi Exp $
// --------------------------------------------------------------
//
//
// 09-Oct-2003 Chhange gamma, electron, positorn process T. Koi
// 09-Oct-2003 Change gamma, electron, positorn process T. Koi
// 10-Jan-2004 Add Brems. of AlongStepDoIt for e+- T. Koi
#include "A01EMPhysics.hh"
@@ -94,6 +95,7 @@ void A01EMPhysics::ConstructProcess()
// set ordering for AlongStepDoIt
pManager->SetProcessOrdering(theeminusMultipleScattering, idxAlongStep,1);
pManager->SetProcessOrdering(theeminusIonisation, idxAlongStep,2);
pManager->SetProcessOrdering(theeminusBremsstrahlung, idxAlongStep,3);
//
// set ordering for PostStepDoIt
pManager->SetProcessOrdering(theeminusMultipleScattering, idxPostStep,1);
@@ -118,6 +120,7 @@ void A01EMPhysics::ConstructProcess()
// set ordering for AlongStepDoIt
pManager->SetProcessOrdering(theeplusMultipleScattering, idxAlongStep,1);
pManager->SetProcessOrdering(theeplusIonisation, idxAlongStep,2);
pManager->SetProcessOrdering(theeplusBremsstrahlung, idxAlongStep,3);
//
// set ordering for PostStepDoIt
pManager->SetProcessOrdering(theeplusMultipleScattering, idxPostStep,1);
@@ -20,10 +20,12 @@
// * statement, and all its terms. *
// ********************************************************************
//
// $Id: A01IonPhysics.cc,v 1.6 2003/10/14 00:15:48 tkoi Exp $
// $Id: A01IonPhysics.cc,v 1.7 2004/01/06 02:53:22 tkoi Exp $
// --------------------------------------------------------------
//
// 13-Oct-2003 Add Comment for Ionization of Generic Ion by T. Koi
// 13-Oct-2003 Add Comment for Ionisation of Generic Ion by T. Koi
// 05-Jan-2004 Change G. Ion Ionisation from G4hIonisation
// to G4ionIonisation T. Koi
#include "A01IonPhysics.hh"
@@ -71,7 +73,10 @@ void A01IonPhysics::ConstructProcess()
//
// G4hIonization may be not able to use for Geanric Ion in future
// Please take care using this physics list after v5.2.p02
G4VProcess* thegionIonisation = new G4hIonisation();
// G4VProcess* thegionIonisation = new G4hIonisation();
//
// From V6.0 hIonisation does not work for GenericIon
G4VProcess* thegionIonisation = new G4ionIonisation();
//
pManager->AddProcess(thegionIonisation);
pManager->AddProcess(thegionMultipleScattering);
@@ -20,10 +20,11 @@
// * statement, and all its terms. *
// ********************************************************************
//
// $Id: A01MuonPhysics.cc,v 1.5 2003/10/11 03:00:00 tkoi Exp $
// $Id: A01MuonPhysics.cc,v 1.6 2004/01/06 02:53:22 tkoi Exp $
// --------------------------------------------------------------
//
// 09-Oct-2003 mu+- tau+- processes are changed by T. Koi
// 05-Jan-2004 Add Brem. and PairProd. of AlongStepDoit for mu+- by T. Koi
#include "A01MuonPhysics.hh"
@@ -92,6 +93,9 @@ void A01MuonPhysics::ConstructProcess()
// set ordering for AlongStepDoIt
pManager->SetProcessOrdering(thempMultipleScattering, idxAlongStep,1);
pManager->SetProcessOrdering(thempIonisation, idxAlongStep,2);
pManager->SetProcessOrdering(thempBremsstrahlung, idxAlongStep,3);
pManager->SetProcessOrdering(thempPairProduction, idxAlongStep,4);
// set ordering for PostStepDoIt
pManager->SetProcessOrdering(thempMultipleScattering, idxPostStep,1);
pManager->SetProcessOrdering(thempIonisation, idxPostStep,2);
@@ -99,6 +103,7 @@ void A01MuonPhysics::ConstructProcess()
pManager->SetProcessOrdering(thempPairProduction, idxPostStep,4);
//Muon-
pManager = G4MuonMinus::MuonMinus()->GetProcessManager();
G4VProcess* themmMultipleScattering = new G4MultipleScattering();
G4VProcess* themmBremsstrahlung = new G4MuBremsstrahlung();
G4VProcess* themmPairProduction = new G4MuPairProduction();
@@ -113,6 +118,8 @@ void A01MuonPhysics::ConstructProcess()
// set ordering for AlongStepDoIt
pManager->SetProcessOrdering(themmMultipleScattering, idxAlongStep,1);
pManager->SetProcessOrdering(themmIonisation, idxAlongStep,2);
pManager->SetProcessOrdering(themmBremsstrahlung, idxAlongStep,3);
pManager->SetProcessOrdering(themmPairProduction, idxAlongStep,4);
// set ordering for PostStepDoIt
pManager->SetProcessOrdering(themmMultipleScattering, idxPostStep,1);
pManager->SetProcessOrdering(themmIonisation, idxPostStep,2);
@@ -20,9 +20,10 @@
// * statement, and all its terms. *
// ********************************************************************
//
// $Id: A01PhysicsList.cc,v 1.5 2003/10/11 03:00:00 tkoi Exp $
// $Id: A01PhysicsList.cc,v 1.6 2004/01/30 00:56:55 tkoi Exp $
// --------------------------------------------------------------
//
// 28-Jan-04 Add QGSP_BERT and QGSP_BIC for hadronic lists. T. Koi
#include "A01PhysicsList.hh"
@@ -46,6 +47,9 @@
#include "A01HadronPhysics.hh"
#include "A01IonPhysics.hh"
#include "HadronPhysicsQGSP_BERT.hh"
#include "HadronPhysicsQGSP_BIC.hh"
A01PhysicsList::A01PhysicsList(): G4VModularPhysicsList()
{
// default cut value (1.0mm)
@@ -62,12 +66,13 @@ A01PhysicsList::A01PhysicsList(): G4VModularPhysicsList()
RegisterPhysics( new A01MuonPhysics("muon"));
// Hadron Physics
RegisterPhysics( new A01HadronPhysics("hadron"));
//RegisterPhysics( new A01HadronPhysics("hadron"));
RegisterPhysics( new HadronPhysicsQGSP_BERT("hadron"));
//RegisterPhysics( new HadronPhysicsQGSP_BIC("hadron"));
// Ion Physics
RegisterPhysics( new A01IonPhysics("ion"));
}
A01PhysicsList::~A01PhysicsList()
+2 -2
View File
@@ -4,8 +4,8 @@
# reference input test.in
# reference output test.out
# test.out was created with RH9.0, gcc3.2.2
# geant4.5.2.ref05,clhep 1.8.0.2
# on 10-Nov-2003 T. Koi SLAC
# geant4.6.0, clhep 1.8.1.0, HadronPhysicsQGSP_BERT
# on 29-Jan-2004 T. Koi SLAC
#
# turn off randomization
#
File diff suppressed because it is too large Load Diff
@@ -22,7 +22,7 @@
//
//
// $Id: AnaEx01.cc,v 1.9 2003/12/03 10:33:39 gcosmo Exp $
// GEANT4 tag $Name: geant4-06-00 $
// GEANT4 tag $Name: geant4-06-00-patch-01 $
//
//
// --------------------------------------------------------------
@@ -22,7 +22,7 @@
//
//
// $Id: AnaEx01AnalysisManager.hh,v 1.6 2003/06/20 14:55:44 gbarrand Exp $
// GEANT4 tag $Name: geant4-06-00 $
// GEANT4 tag $Name: geant4-05-02-patch-01 $
//
//
@@ -22,7 +22,7 @@
//
//
// $Id: AnaEx01CalorHit.hh,v 1.3 2003/06/20 14:55:44 gbarrand Exp $
// GEANT4 tag $Name: geant4-06-00 $
// GEANT4 tag $Name: geant4-05-02-patch-01 $
//
//
@@ -22,7 +22,7 @@
//
//
// $Id: AnaEx01CalorimeterSD.hh,v 1.3 2003/06/20 14:55:44 gbarrand Exp $
// GEANT4 tag $Name: geant4-06-00 $
// GEANT4 tag $Name: geant4-05-02-patch-01 $
//
//
@@ -22,7 +22,7 @@
//
//
// $Id: AnaEx01DetectorConstruction.hh,v 1.3 2003/06/20 14:55:44 gbarrand Exp $
// GEANT4 tag $Name: geant4-06-00 $
// GEANT4 tag $Name: geant4-05-02-patch-01 $
//
//
@@ -22,7 +22,7 @@
//
//
// $Id: AnaEx01DetectorMessenger.hh,v 1.3 2003/06/20 14:55:45 gbarrand Exp $
// GEANT4 tag $Name: geant4-06-00 $
// GEANT4 tag $Name: geant4-05-02-patch-01 $
//
//
@@ -22,7 +22,7 @@
//
//
// $Id: AnaEx01EventAction.hh,v 1.5 2003/06/20 14:55:45 gbarrand Exp $
// GEANT4 tag $Name: geant4-06-00 $
// GEANT4 tag $Name: geant4-05-02-patch-01 $
//
//
@@ -22,7 +22,7 @@
//
//
// $Id: AnaEx01PhysicsList.hh,v 1.3 2003/06/20 14:55:45 gbarrand Exp $
// GEANT4 tag $Name: geant4-06-00 $
// GEANT4 tag $Name: geant4-05-02-patch-01 $
//
//
@@ -22,7 +22,7 @@
//
//
// $Id: AnaEx01PrimaryGeneratorAction.hh,v 1.3 2003/06/20 14:55:45 gbarrand Exp $
// GEANT4 tag $Name: geant4-06-00 $
// GEANT4 tag $Name: geant4-05-02-patch-01 $
//
//
@@ -22,7 +22,7 @@
//
//
// $Id: AnaEx01PrimaryGeneratorMessenger.hh,v 1.3 2003/06/20 14:55:45 gbarrand Exp $
// GEANT4 tag $Name: geant4-06-00 $
// GEANT4 tag $Name: geant4-05-02-patch-01 $
//
//
@@ -22,7 +22,7 @@
//
//
// $Id: AnaEx01RunAction.hh,v 1.5 2003/06/20 14:55:45 gbarrand Exp $
// GEANT4 tag $Name: geant4-06-00 $
// GEANT4 tag $Name: geant4-05-02-patch-01 $
//
//
@@ -22,7 +22,7 @@
//
//
// $Id: AnaEx01SteppingAction.hh,v 1.5 2003/06/20 14:55:45 gbarrand Exp $
// GEANT4 tag $Name: geant4-06-00 $
// GEANT4 tag $Name: geant4-05-02-patch-01 $
//
//
@@ -22,7 +22,7 @@
//
//
// $Id: AnaEx01SteppingVerbose.hh,v 1.3 2003/06/20 14:55:45 gbarrand Exp $
// GEANT4 tag $Name: geant4-06-00 $
// GEANT4 tag $Name: geant4-05-02-patch-01 $
//
//
//---------------------------------------------------------------
@@ -22,7 +22,7 @@
//
//
// $Id: AnaEx01VisManager.hh,v 1.3 2003/06/20 14:55:45 gbarrand Exp $
// GEANT4 tag $Name: geant4-06-00 $
// GEANT4 tag $Name: geant4-05-02-patch-01 $
//
//
@@ -22,7 +22,7 @@
//
//
// $Id: AnaEx01AnalysisManager.cc,v 1.12 2003/06/20 14:55:45 gbarrand Exp $
// GEANT4 tag $Name: geant4-06-00 $
// GEANT4 tag $Name: geant4-05-02-patch-01 $
//
//
// Guy Barrand 14th Septembre 2000.
@@ -22,7 +22,7 @@
//
//
// $Id: AnaEx01CalorHit.cc,v 1.5 2003/12/03 10:33:21 gcosmo Exp $
// GEANT4 tag $Name: geant4-06-00 $
// GEANT4 tag $Name: geant4-06-00-patch-01 $
//
//
@@ -22,7 +22,7 @@
//
//
// $Id: AnaEx01CalorimeterSD.cc,v 1.4 2003/12/03 10:33:21 gcosmo Exp $
// GEANT4 tag $Name: geant4-06-00 $
// GEANT4 tag $Name: geant4-06-00-patch-01 $
//
//
@@ -22,7 +22,7 @@
//
//
// $Id: AnaEx01DetectorConstruction.cc,v 1.4 2003/06/20 14:55:45 gbarrand Exp $
// GEANT4 tag $Name: geant4-06-00 $
// GEANT4 tag $Name: geant4-05-02-patch-01 $
//
//
@@ -22,7 +22,7 @@
//
//
// $Id: AnaEx01DetectorMessenger.cc,v 1.4 2002/12/05 00:24:22 asaim Exp $
// GEANT4 tag $Name: geant4-06-00 $
// GEANT4 tag $Name: geant4-05-02-patch-01 $
//
//
@@ -22,7 +22,7 @@
//
//
// $Id: AnaEx01EventAction.cc,v 1.5 2001/11/16 14:31:12 barrand Exp $
// GEANT4 tag $Name: geant4-06-00 $
// GEANT4 tag $Name: geant4-05-02-patch-01 $
//
//
@@ -22,7 +22,7 @@
//
//
// $Id: AnaEx01PhysicsList.cc,v 1.4 2003/06/20 14:55:45 gbarrand Exp $
// GEANT4 tag $Name: geant4-06-00 $
// GEANT4 tag $Name: geant4-05-02-patch-01 $
//
//
@@ -22,7 +22,7 @@
//
//
// $Id: AnaEx01PrimaryGeneratorAction.cc,v 1.4 2003/06/20 14:55:45 gbarrand Exp $
// GEANT4 tag $Name: geant4-06-00 $
// GEANT4 tag $Name: geant4-05-02-patch-01 $
//
//
@@ -22,7 +22,7 @@
//
//
// $Id: AnaEx01PrimaryGeneratorMessenger.cc,v 1.4 2002/12/05 00:24:22 asaim Exp $
// GEANT4 tag $Name: geant4-06-00 $
// GEANT4 tag $Name: geant4-05-02-patch-01 $
//
//
@@ -22,7 +22,7 @@
//
//
// $Id: AnaEx01RunAction.cc,v 1.6 2003/06/20 14:55:45 gbarrand Exp $
// GEANT4 tag $Name: geant4-06-00 $
// GEANT4 tag $Name: geant4-05-02-patch-01 $
//
//
@@ -22,7 +22,7 @@
//
//
// $Id: AnaEx01SteppingAction.cc,v 1.6 2003/06/20 14:55:45 gbarrand Exp $
// GEANT4 tag $Name: geant4-06-00 $
// GEANT4 tag $Name: geant4-05-02-patch-01 $
//
//
@@ -22,7 +22,7 @@
//
//
// $Id: AnaEx01SteppingVerbose.cc,v 1.6 2003/06/20 14:55:45 gbarrand Exp $
// GEANT4 tag $Name: geant4-06-00 $
// GEANT4 tag $Name: geant4-05-02-patch-01 $
//
//
//---------------------------------------------------------------
@@ -22,7 +22,7 @@
//
//
// $Id: AnaEx01VisManager.cc,v 1.7 2003/10/17 10:19:57 gbarrand Exp $
// GEANT4 tag $Name: geant4-06-00 $
// GEANT4 tag $Name: geant4-06-00-patch-01 $
//
//
// John Allison 24th January 1998.