Import Geant4 11.2.0.beta source tree
This commit is contained in:
@@ -1,99 +0,0 @@
|
||||
# ---------------------------------------------------------------------------
|
||||
# GNUmakefile for physics_lists/lists library. Gunter Folger 25-Oct-2006.
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
name := G4phys_lists
|
||||
|
||||
ifndef G4INSTALL
|
||||
G4INSTALL = ../../..
|
||||
endif
|
||||
|
||||
include $(G4INSTALL)/config/architecture.gmk
|
||||
|
||||
CPPFLAGS += -DG4PROCESSES_EXPORT
|
||||
|
||||
CPPFLAGS += -I$(G4BASE)/global/management/include \
|
||||
-I$(G4BASE)/global/HEPRandom/include \
|
||||
-I$(G4BASE)/global/HEPGeometry/include \
|
||||
-I$(G4BASE)/geometry/volumes/include \
|
||||
-I$(G4BASE)/geometry/management/include \
|
||||
-I$(G4BASE)/geometry/magneticfield/include \
|
||||
-I$(G4BASE)/geometry/navigation/include \
|
||||
-I$(G4BASE)/intercoms/include \
|
||||
-I$(G4BASE)/track/include \
|
||||
-I$(G4BASE)/event/include \
|
||||
-I$(G4BASE)/particles/shortlived/include \
|
||||
-I$(G4BASE)/particles/management/include \
|
||||
-I$(G4BASE)/particles/leptons/include \
|
||||
-I$(G4BASE)/particles/bosons/include \
|
||||
-I$(G4BASE)/particles/hadrons/mesons/include \
|
||||
-I$(G4BASE)/particles/hadrons/barions/include \
|
||||
-I$(G4BASE)/particles/hadrons/ions/include \
|
||||
-I$(G4BASE)/run/include \
|
||||
-I$(G4BASE)/tracking/include \
|
||||
-I$(G4BASE)/digits_hits/hits/include \
|
||||
-I$(G4BASE)/digits_hits/digits/include \
|
||||
-I$(G4BASE)/physics_lists/builders/include \
|
||||
-I$(G4BASE)/physics_lists/constructors/decay/include \
|
||||
-I$(G4BASE)/physics_lists/constructors/electromagnetic/include \
|
||||
-I$(G4BASE)/physics_lists/constructors/factory/include \
|
||||
-I$(G4BASE)/physics_lists/constructors/gamma_lepto_nuclear/include \
|
||||
-I$(G4BASE)/physics_lists/constructors/hadron_elastic/include \
|
||||
-I$(G4BASE)/physics_lists/constructors/hadron_inelastic/include \
|
||||
-I$(G4BASE)/physics_lists/constructors/ions/include \
|
||||
-I$(G4BASE)/physics_lists/constructors/limiters/include \
|
||||
-I$(G4BASE)/physics_lists/constructors/stopping/include \
|
||||
-I$(G4BASE)/physics_lists/util/include \
|
||||
-I$(G4BASE)/processes/management/include \
|
||||
-I$(G4BASE)/processes/decay/include \
|
||||
-I$(G4BASE)/processes/cuts/include \
|
||||
-I$(G4BASE)/processes/optical/include \
|
||||
-I$(G4BASE)/processes/transportation/include \
|
||||
-I$(G4BASE)/processes/electromagnetic/dna/include \
|
||||
-I$(G4BASE)/processes/electromagnetic/lowenergy/include \
|
||||
-I$(G4BASE)/processes/electromagnetic/highenergy/include \
|
||||
-I$(G4BASE)/processes/electromagnetic/standard/include \
|
||||
-I$(G4BASE)/processes/electromagnetic/muons/include \
|
||||
-I$(G4BASE)/processes/electromagnetic/utils/include \
|
||||
-I$(G4BASE)/processes/electromagnetic/xrays/include \
|
||||
-I$(G4BASE)/processes/hadronic/cross_sections/include \
|
||||
-I$(G4BASE)/processes/hadronic/stopping/include \
|
||||
-I$(G4BASE)/processes/hadronic/management/include \
|
||||
-I$(G4BASE)/processes/hadronic/processes/include \
|
||||
-I$(G4BASE)/processes/hadronic/util/include \
|
||||
-I$(G4BASE)/physics_lists/builders/include \
|
||||
-I$(G4BASE)/physics_lists/constructors/limiters/include \
|
||||
-I$(G4BASE)/processes/hadronic/models/binary_cascade/include \
|
||||
-I$(G4BASE)/processes/hadronic/models/cascade/cascade/include \
|
||||
-I$(G4BASE)/processes/hadronic/models/cascade/evaporation/include \
|
||||
-I$(G4BASE)/processes/hadronic/models/cascade/utils/include \
|
||||
-I$(G4BASE)/processes/hadronic/models/coherent_elastic/include \
|
||||
-I$(G4BASE)/processes/hadronic/models/de_excitation/evaporation/include \
|
||||
-I$(G4BASE)/processes/hadronic/models/de_excitation/fermi_breakup/include \
|
||||
-I$(G4BASE)/processes/hadronic/models/de_excitation/fission/include \
|
||||
-I$(G4BASE)/processes/hadronic/models/de_excitation/gem_evaporation/include \
|
||||
-I$(G4BASE)/processes/hadronic/models/de_excitation/handler/include \
|
||||
-I$(G4BASE)/processes/hadronic/models/de_excitation/management/include \
|
||||
-I$(G4BASE)/processes/hadronic/models/de_excitation/multifragmentation/include \
|
||||
-I$(G4BASE)/processes/hadronic/models/de_excitation/photon_evaporation/include \
|
||||
-I$(G4BASE)/processes/hadronic/models/de_excitation/util/include \
|
||||
-I$(G4BASE)/processes/hadronic/models/im_r_matrix/include \
|
||||
-I$(G4BASE)/processes/hadronic/models/inclxx/utils/include \
|
||||
-I$(G4BASE)/processes/hadronic/models/inclxx/incl_physics/include \
|
||||
-I$(G4BASE)/processes/hadronic/models/inclxx/interface/include \
|
||||
-I$(G4BASE)/processes/hadronic/models/isotope_production/include \
|
||||
-I$(G4BASE)/processes/hadronic/models/lend/include \
|
||||
-I$(G4BASE)/processes/hadronic/models/lepto_nuclear/include \
|
||||
-I$(G4BASE)/processes/hadronic/models/particle_hp/include \
|
||||
-I$(G4BASE)/processes/hadronic/models/parton_string/diffraction/include \
|
||||
-I$(G4BASE)/processes/hadronic/models/parton_string/hadronization/include \
|
||||
-I$(G4BASE)/processes/hadronic/models/parton_string/management/include \
|
||||
-I$(G4BASE)/processes/hadronic/models/parton_string/qgsm/include \
|
||||
-I$(G4BASE)/processes/hadronic/models/photolepton_hadron/muon_nuclear/include \
|
||||
-I$(G4BASE)/processes/hadronic/models/pre_equilibrium/exciton_model/include \
|
||||
-I$(G4BASE)/processes/hadronic/models/radioactive_decay/include \
|
||||
-I$(G4BASE)/processes/hadronic/models/theo_high_energy/include \
|
||||
-I$(G4BASE)/processes/hadronic/util/include \
|
||||
-I$(G4BASE)/materials/include
|
||||
|
||||
include $(G4INSTALL)/config/common.gmk
|
||||
@@ -4,6 +4,45 @@ See `CONTRIBUTING.rst` for details of **required** info/format for each entry,
|
||||
which **must** added in reverse chronological order (newest at the top). It must **not**
|
||||
be used as a substitute for writing good git commit messages!
|
||||
|
||||
## 2023-05-15 Alberto Ribon (phys-lists-V11-01-03)
|
||||
- Use the new class G4StoppingPhysicsWithINCLXX (instead of G4StoppingPhysics)
|
||||
in INCLXXPhysicsListHelper : all the INCLXX-based physics lists use INCLXX
|
||||
for the antiproton annihilation at rest.
|
||||
|
||||
## 2023-05-10 Alberto Ribon (phys-lists-V11-01-02)
|
||||
- G4PhysListFactory : introduced the new physics list names `Shielding_HP` and
|
||||
`ShieldingM_HP` as alias of, respectively, `Shielding` and `ShieldingM`;
|
||||
replaced `Shielding_T` and `ShieldingM_T` with, respectively, `Shielding_HPT`
|
||||
and `ShieldingM_HPT`.
|
||||
These new aliases allow to have a consistent notation `_HPT` for all the
|
||||
HP-based physics lists when the special elastic scattering treatment of
|
||||
thermal neutrons is enabled.
|
||||
- Shielding : inform the user that the new physics list names (to be used
|
||||
with the physics list factory) `Shielding_HP` and `ShieldingM_HP` are
|
||||
equivalent to, respectively, `Shielding` and `ShieldingM`.
|
||||
|
||||
## 2023-04-19 Alberto Ribon (phys-lists-V11-01-01)
|
||||
- Created the new class QBBC_ABLA, which is similar to QBBC, except that for
|
||||
hadron inelastic the constructor G4HadronInelasticQBBC_ABLA is used
|
||||
(instead of G4HadronInelasticQBBC): this means that the physics list
|
||||
QBBC_ABLA behaves as QBBC, with the only difference that for the final-state
|
||||
of nuclear inelastic interactions of charged pions and nucleons projectiles,
|
||||
the ABLA model (instead of the usual Precompound/de-excitation) is utilized
|
||||
for nuclear de-excitation.
|
||||
|
||||
## 2023-04-13 Alberto Ribon (phys-lists-V11-01-00)
|
||||
- Created the new class QGSP_BIC_HPT, which is similar to QGSP_BIC_HP, but with
|
||||
special treatment of elastic scattering of thermal neutrons activated.
|
||||
- G4PhysListFactory : added 6 new physics lists, corresponding to "HPT" variants
|
||||
(i.e. with special treatment of elastic scattering of thermal neutrons) of
|
||||
physics lists with "HP" already present (FTFP_BERT_HPT, QGSP_BERT_HPT,
|
||||
FTFP_INCLXX_HPT, QGSP_INCLXX_HPT, QGSP_BIC_HPT, QGSP_BIC_AllHPT,
|
||||
Shielding_T, ShieldingM_T). Of these, only one (QGSP_BIC_HPT) corresponds
|
||||
to a concrete new physics list, whereas the others are obtained from the
|
||||
"HP" physics lists by adding the physics constructor G4ThermalNeutrons.
|
||||
- G4PhysListFactoryMessenger : added the new UI command
|
||||
"/physics_lists/factory/addThermal" to enable the special treatment of
|
||||
elastic scattering of thermal neutrons for HP-based physics lists.
|
||||
|
||||
## 2021-12-10 Ben Morgan (phys-lists-V11-00-00)
|
||||
- Change to new Markdown History format
|
||||
|
||||
@@ -28,11 +28,7 @@
|
||||
//
|
||||
// ClassName: G4PhysListFactoryMessenger
|
||||
//
|
||||
// Author: 2002 J.P. Wellisch
|
||||
//
|
||||
// Modified:
|
||||
// 09.11.2005 V.Ivanchenko edit to provide a standard
|
||||
// 19.06.2006 V.Ivanchenko add mu-nuclear process
|
||||
// Author: 2017 V.Ivanchenko
|
||||
//
|
||||
//----------------------------------------------------------------------------
|
||||
//
|
||||
@@ -59,6 +55,7 @@ private:
|
||||
G4VModularPhysicsList* thePhysList;
|
||||
G4UIcommand* theRadDecay;
|
||||
G4UIcommand* theOptical;
|
||||
G4UIcommand* theThermal;
|
||||
G4UIdirectory* theDir;
|
||||
};
|
||||
|
||||
|
||||
@@ -52,6 +52,7 @@
|
||||
#include "G4EmExtraPhysics.hh"
|
||||
#include "G4IonINCLXXPhysics.hh"
|
||||
#include "G4StoppingPhysics.hh"
|
||||
#include "G4StoppingPhysicsWithINCLXX.hh"
|
||||
#include "G4HadronElasticPhysics.hh"
|
||||
#include "G4HadronElasticPhysicsHP.hh"
|
||||
#include "G4NeutronTrackingCut.hh"
|
||||
@@ -99,7 +100,7 @@ template<class T, bool withNeutronHP, bool withFTFP> TINCLXXPhysicsListHelper<T,
|
||||
this->RegisterPhysics( new G4HadronPhysicsINCLXX(G4String(1,static_cast<char>(ver)),true,withNeutronHP,withFTFP));
|
||||
|
||||
// Stopping Physics
|
||||
this->RegisterPhysics( new G4StoppingPhysics(ver) );
|
||||
this->RegisterPhysics( new G4StoppingPhysicsWithINCLXX(ver) );
|
||||
|
||||
// Ion Physics
|
||||
this->RegisterPhysics( new G4IonINCLXXPhysics(ver));
|
||||
|
||||
@@ -0,0 +1,60 @@
|
||||
//
|
||||
// ********************************************************************
|
||||
// * 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. *
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
//---------------------------------------------------------------------------
|
||||
//
|
||||
// ClassName: QBBC_ABLA
|
||||
//
|
||||
// Author: Alberto Ribon (CERN), April 2023
|
||||
//
|
||||
// The new, experimental physics list QBBC_ABLA is similar to the reference
|
||||
// physics list QBBC, except that for hadron inelastic the physics constructor
|
||||
// G4HadronInelasticQBBC_ABLA is used (instead of G4HadronInelasticQBBC):
|
||||
// in practice, QBBC_ABLA behaves as QBBC, with the only difference that for
|
||||
// the final-state of nuclear inelastic interactions of charged pions and
|
||||
// nucleons projectiles, the ABLA model (instead of the usual
|
||||
// Precompound/de-excitation) is utilized for nuclear de-excitation.
|
||||
//
|
||||
// Modified:
|
||||
//
|
||||
//----------------------------------------------------------------------------
|
||||
//
|
||||
#ifndef QBBC_ABLA_h
|
||||
#define QBBC_ABLA_h 1
|
||||
|
||||
#include "globals.hh"
|
||||
#include "G4VModularPhysicsList.hh"
|
||||
|
||||
|
||||
class QBBC_ABLA : public G4VModularPhysicsList {
|
||||
public:
|
||||
explicit QBBC_ABLA( G4int ver = 1, const G4String& type = "QBBC_ABLA" );
|
||||
virtual ~QBBC_ABLA() = default;
|
||||
QBBC_ABLA( const QBBC_ABLA& ) = delete;
|
||||
QBBC_ABLA& operator=( const QBBC_ABLA& right ) = delete;
|
||||
};
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,58 @@
|
||||
//
|
||||
// ********************************************************************
|
||||
// * 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. *
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
//---------------------------------------------------------------------------
|
||||
//
|
||||
// ClassName: QGSP_BIC_HPT
|
||||
//
|
||||
// Author: Alberto Ribon (CERN), April 2023
|
||||
//
|
||||
// Similar to QGSP_BIC_HP, with the special treatment of elastic scattering
|
||||
// of thermal neutrons (i.e. with kinetic energy below 4 eV) activated.
|
||||
// This special treatment, called Thermal Scattering Law (TSL), is based on
|
||||
// the S(alpha, beta) approach, which relies on both experimental measurements
|
||||
// and molecular dynamics calculations.
|
||||
//
|
||||
// Modified:
|
||||
//
|
||||
//----------------------------------------------------------------------------
|
||||
//
|
||||
#ifndef QGSP_BIC_HPT_h
|
||||
#define QGSP_BIC_HPT_h 1
|
||||
|
||||
#include "globals.hh"
|
||||
#include "G4VModularPhysicsList.hh"
|
||||
|
||||
|
||||
class QGSP_BIC_HPT : public G4VModularPhysicsList {
|
||||
public:
|
||||
QGSP_BIC_HPT( G4int ver = 1 );
|
||||
virtual ~QGSP_BIC_HPT() = default;
|
||||
QGSP_BIC_HPT( const QGSP_BIC_HPT &) = delete;
|
||||
QGSP_BIC_HPT & operator=( const QGSP_BIC_HPT &right ) = delete;
|
||||
};
|
||||
|
||||
#endif
|
||||
@@ -16,11 +16,13 @@ geant4_add_module(G4phys_lists
|
||||
LBE.hh
|
||||
NuBeam.hh
|
||||
QBBC.hh
|
||||
QBBC_ABLA.hh
|
||||
QGS_BIC.hh
|
||||
QGSP_BERT.hh
|
||||
QGSP_BERT_HP.hh
|
||||
QGSP_BIC.hh
|
||||
QGSP_BIC_HP.hh
|
||||
QGSP_BIC_HPT.hh
|
||||
QGSP_BIC_AllHP.hh
|
||||
QGSP_FTFP_BERT.hh
|
||||
INCLXXPhysicsListHelper.hh
|
||||
@@ -49,12 +51,14 @@ geant4_add_module(G4phys_lists
|
||||
LBE.cc
|
||||
NuBeam.cc
|
||||
QBBC.cc
|
||||
QBBC_ABLA.cc
|
||||
QGS_BIC.cc
|
||||
QGSP_BERT.cc
|
||||
QGSP_BERT_HP.cc
|
||||
QGSP_BIC_AllHP.cc
|
||||
QGSP_BIC.cc
|
||||
QGSP_BIC_HP.cc
|
||||
QGSP_BIC_HPT.cc
|
||||
QGSP_FTFP_BERT.cc
|
||||
Shielding.cc)
|
||||
|
||||
|
||||
@@ -32,6 +32,7 @@
|
||||
//
|
||||
// Modified:
|
||||
//
|
||||
// 2023.04.12 A.Ribon added _HPT variants (i.e. HP + thermal scattering)
|
||||
// 2014.08.05 K.L.Genser used provision for Hadronic Physics Variant M in
|
||||
// Shielding for ShieldingM
|
||||
//
|
||||
@@ -53,6 +54,7 @@
|
||||
#include "QGSP_BERT_HP.hh"
|
||||
#include "QGSP_BIC.hh"
|
||||
#include "QGSP_BIC_HP.hh"
|
||||
#include "QGSP_BIC_HPT.hh"
|
||||
#include "QGSP_BIC_AllHP.hh"
|
||||
#include "QGSP_FTFP_BERT.hh"
|
||||
#include "QGS_BIC.hh"
|
||||
@@ -61,6 +63,7 @@
|
||||
#include "Shielding.hh"
|
||||
#include "ShieldingLEND.hh"
|
||||
#include "NuBeam.hh"
|
||||
#include "G4ThermalNeutrons.hh"
|
||||
|
||||
#include "G4EmStandardPhysics.hh"
|
||||
#include "G4EmStandardPhysics_option1.hh"
|
||||
@@ -79,13 +82,16 @@
|
||||
G4PhysListFactory::G4PhysListFactory(G4int ver)
|
||||
: defName("FTFP_BERT"),verbose(ver),theMessenger(nullptr)
|
||||
{
|
||||
nlists_hadr = 23;
|
||||
G4String ss[23] = {
|
||||
nlists_hadr = 33;
|
||||
G4String ss[33] = {
|
||||
"FTFP_BERT","FTFP_BERT_TRV","FTFP_BERT_ATL","FTFP_BERT_HP","FTFQGSP_BERT",
|
||||
"FTFP_INCLXX","FTFP_INCLXX_HP","FTF_BIC", "LBE","QBBC",
|
||||
"QGSP_BERT","QGSP_BERT_HP","QGSP_BIC","QGSP_BIC_HP","QGSP_BIC_AllHP",
|
||||
"QGSP_FTFP_BERT","QGSP_INCLXX","QGSP_INCLXX_HP","QGS_BIC",
|
||||
"Shielding","ShieldingLEND","ShieldingM","NuBeam"};
|
||||
"Shielding","ShieldingLEND","ShieldingM","NuBeam",
|
||||
"Shielding_HP","ShieldingM_HP",
|
||||
"FTFP_BERT_HPT", "FTFP_INCLXX_HPT", "QGSP_BERT_HPT", "QGSP_BIC_HPT",
|
||||
"QGSP_BIC_AllHPT", "QGSP_INCLXX_HPT", "Shielding_HPT", "ShieldingM_HPT" };
|
||||
for(size_t i=0; i<nlists_hadr; ++i) {
|
||||
listnames_hadr.push_back(ss[i]);
|
||||
}
|
||||
@@ -177,6 +183,23 @@ G4PhysListFactory::GetReferencePhysList(const G4String& name)
|
||||
else if(had_name == "ShieldingLEND") {p = new ShieldingLEND(verbose);}
|
||||
else if(had_name == "ShieldingM") {p = new Shielding(verbose,"HP","M");}
|
||||
else if(had_name == "NuBeam") {p = new NuBeam(verbose);}
|
||||
else if(had_name == "Shielding_HP") {p = new Shielding(verbose);}
|
||||
else if(had_name == "ShieldingM_HP") {p = new Shielding(verbose,"HP","M");}
|
||||
else if(had_name == "FTFP_BERT_HPT") {p = new FTFP_BERT_HP(verbose);
|
||||
p->RegisterPhysics(new G4ThermalNeutrons);}
|
||||
else if(had_name == "FTFP_INCLXX_HPT"){p = new FTFP_INCLXX_HP(verbose);
|
||||
p->RegisterPhysics(new G4ThermalNeutrons);}
|
||||
else if(had_name == "QGSP_BERT_HPT") {p = new QGSP_BERT_HP(verbose);
|
||||
p->RegisterPhysics(new G4ThermalNeutrons);}
|
||||
else if(had_name == "QGSP_BIC_HPT") {p = new QGSP_BIC_HPT(verbose);}
|
||||
else if(had_name == "QGSP_BIC_AllHPT"){p = new QGSP_BIC_AllHP(verbose);
|
||||
p->RegisterPhysics(new G4ThermalNeutrons);}
|
||||
else if(had_name == "QGSP_INCLXX_HPT"){p = new QGSP_INCLXX_HP(verbose);
|
||||
p->RegisterPhysics(new G4ThermalNeutrons);}
|
||||
else if(had_name == "Shielding_HPT") {p = new Shielding(verbose);
|
||||
p->RegisterPhysics(new G4ThermalNeutrons);}
|
||||
else if(had_name == "ShieldingM_HPT") {p = new Shielding(verbose,"HP","M");
|
||||
p->RegisterPhysics(new G4ThermalNeutrons);}
|
||||
else {
|
||||
p = new FTFP_BERT(verbose);
|
||||
G4ExceptionDescription ed;
|
||||
|
||||
@@ -37,6 +37,8 @@
|
||||
#include "G4VModularPhysicsList.hh"
|
||||
#include "G4RadioactiveDecayPhysics.hh"
|
||||
#include "G4OpticalPhysics.hh"
|
||||
#include "G4ThermalNeutrons.hh"
|
||||
|
||||
|
||||
G4PhysListFactoryMessenger::G4PhysListFactoryMessenger(G4VModularPhysicsList* pl)
|
||||
{
|
||||
@@ -53,10 +55,16 @@ G4PhysListFactoryMessenger::G4PhysListFactoryMessenger(G4VModularPhysicsList* pl
|
||||
theOptical = new G4UIcommand("/physics_lists/factory/addOptical",this);
|
||||
theOptical->SetGuidance("Enable optical physics.");
|
||||
theOptical->AvailableForStates(G4State_PreInit);
|
||||
|
||||
theThermal = new G4UIcommand("/physics_lists/factory/addThermal",this);
|
||||
theThermal->SetGuidance("Enable special elastic scattering of thermal neutrons (Ekin < 4 eV).");
|
||||
theThermal->SetGuidance("Important note: to be used only with HP-based physics lists!");
|
||||
theThermal->AvailableForStates(G4State_PreInit);
|
||||
}
|
||||
|
||||
G4PhysListFactoryMessenger::~G4PhysListFactoryMessenger()
|
||||
{
|
||||
delete theThermal;
|
||||
delete theOptical;
|
||||
delete theRadDecay;
|
||||
delete theDir;
|
||||
@@ -69,5 +77,7 @@ void G4PhysListFactoryMessenger::SetNewValue(G4UIcommand* aComm, G4String)
|
||||
thePhysList->RegisterPhysics(new G4RadioactiveDecayPhysics(ver));
|
||||
} else if(aComm == theOptical) {
|
||||
thePhysList->RegisterPhysics(new G4OpticalPhysics(ver));
|
||||
} else if(aComm == theThermal) {
|
||||
thePhysList->RegisterPhysics(new G4ThermalNeutrons(ver));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,74 @@
|
||||
//
|
||||
// ********************************************************************
|
||||
// * 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. *
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
//---------------------------------------------------------------------------
|
||||
//
|
||||
// ClassName: QBBC_ABLA
|
||||
//
|
||||
// Author: Alberto Ribon (CERN), April 2023
|
||||
//
|
||||
// The new, experimental physics list QBBC_ABLA is similar to the reference
|
||||
// physics list QBBC, except that for hadron inelastic the physics constructor
|
||||
// G4HadronInelasticQBBC_ABLA is used (instead of G4HadronInelasticQBBC):
|
||||
// in practice, QBBC_ABLA behaves as QBBC, with the only difference that for
|
||||
// the final-state of nuclear inelastic interactions of charged pions and
|
||||
// nucleons projectiles, the ABLA model (instead of the usual
|
||||
// Precompound/de-excitation) is utilized for nuclear de-excitation.
|
||||
//
|
||||
// Modified:
|
||||
//
|
||||
//----------------------------------------------------------------------------
|
||||
//
|
||||
|
||||
#include "QBBC_ABLA.hh"
|
||||
#include "globals.hh"
|
||||
#include "G4PhysicalConstants.hh"
|
||||
#include "G4SystemOfUnits.hh"
|
||||
#include "G4DecayPhysics.hh"
|
||||
#include "G4EmStandardPhysics.hh"
|
||||
#include "G4EmExtraPhysics.hh"
|
||||
#include "G4StoppingPhysics.hh"
|
||||
#include "G4HadronInelasticQBBC_ABLA.hh"
|
||||
#include "G4HadronElasticPhysicsXS.hh"
|
||||
#include "G4IonPhysicsXS.hh"
|
||||
#include "G4IonElasticPhysics.hh"
|
||||
#include "G4NeutronTrackingCut.hh"
|
||||
|
||||
|
||||
QBBC_ABLA::QBBC_ABLA( G4int ver, const G4String& ) {
|
||||
if ( ver > 0 ) G4cout << "<<< Experimental Reference Physics List QBBC_ABLA " << G4endl;
|
||||
defaultCutValue = 0.7*CLHEP::mm;
|
||||
SetVerboseLevel( ver );
|
||||
RegisterPhysics( new G4EmStandardPhysics(ver) );
|
||||
RegisterPhysics( new G4EmExtraPhysics(ver) );
|
||||
RegisterPhysics( new G4DecayPhysics(ver) );
|
||||
RegisterPhysics( new G4HadronElasticPhysicsXS(ver) );
|
||||
RegisterPhysics( new G4StoppingPhysics(ver) );
|
||||
RegisterPhysics( new G4IonPhysicsXS(ver) );
|
||||
RegisterPhysics( new G4IonElasticPhysics(ver) );
|
||||
RegisterPhysics( new G4HadronInelasticQBBC_ABLA(ver) );
|
||||
RegisterPhysics( new G4NeutronTrackingCut(ver) );
|
||||
}
|
||||
@@ -0,0 +1,86 @@
|
||||
//
|
||||
// ********************************************************************
|
||||
// * 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. *
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
//---------------------------------------------------------------------------
|
||||
//
|
||||
// ClassName: QGSP_BIC_HPT
|
||||
//
|
||||
// Author: Alberto Ribon (CERN), April 2023
|
||||
//
|
||||
// Similar to QGSP_BIC_HP, with the special treatment of elastic scattering
|
||||
// of thermal neutrons (i.e. with kinetic energy below 4 eV) activated.
|
||||
// This special treatment, called Thermal Scattering Law (TSL), is based on
|
||||
// the S(alpha, beta) approach, which relies on both experimental measurements
|
||||
// and molecular dynamics calculations.
|
||||
//
|
||||
// Modified:
|
||||
//
|
||||
//----------------------------------------------------------------------------
|
||||
//
|
||||
|
||||
#include "G4DecayPhysics.hh"
|
||||
#include "G4RadioactiveDecayPhysics.hh"
|
||||
#include "G4EmStandardPhysics_option4.hh"
|
||||
#include "G4EmExtraPhysics.hh"
|
||||
#include "G4IonPhysics.hh"
|
||||
#include "G4IonElasticPhysics.hh"
|
||||
#include "G4StoppingPhysics.hh"
|
||||
#include "G4HadronElasticPhysicsHPT.hh"
|
||||
#include "QGSP_BIC_HPT.hh"
|
||||
#include "G4HadronPhysicsQGSP_BIC_HP.hh"
|
||||
|
||||
|
||||
QGSP_BIC_HPT::QGSP_BIC_HPT( G4int ver ) {
|
||||
if ( ver > 0 ) {
|
||||
G4cout << "<<< Geant4 Physics List simulation engine: QGSP_BIC_HPT" << G4endl << G4endl;
|
||||
}
|
||||
defaultCutValue = 0.7*CLHEP::mm;
|
||||
SetCutValue( 0.0, "proton" );
|
||||
SetVerboseLevel( ver );
|
||||
|
||||
// EM Physics
|
||||
RegisterPhysics( new G4EmStandardPhysics_option4(ver) );
|
||||
|
||||
// Synchroton Radiation & GN Physics
|
||||
RegisterPhysics( new G4EmExtraPhysics(ver) );
|
||||
|
||||
// Decays
|
||||
RegisterPhysics( new G4DecayPhysics(ver) );
|
||||
RegisterPhysics( new G4RadioactiveDecayPhysics(ver) );
|
||||
|
||||
// Hadron Elastic scattering
|
||||
RegisterPhysics( new G4HadronElasticPhysicsHPT(ver) );
|
||||
|
||||
// Hadron Physics
|
||||
RegisterPhysics( new G4HadronPhysicsQGSP_BIC_HP(ver) );
|
||||
|
||||
// Stopping Physics
|
||||
RegisterPhysics( new G4StoppingPhysics(ver) );
|
||||
|
||||
// Ion Physics
|
||||
RegisterPhysics( new G4IonElasticPhysics(ver) );
|
||||
RegisterPhysics( new G4IonPhysics(ver) );
|
||||
}
|
||||
@@ -82,8 +82,12 @@ Shielding::Shielding(G4int verbose, const G4String& n_model,
|
||||
if(verbose > 0) {
|
||||
G4cout << "<<< Geant4 Physics List simulation engine: Shielding"
|
||||
<< HadrPhysVariant << G4endl;
|
||||
if ( LEN_model=="LEND" )
|
||||
if ( LEN_model=="LEND" ) {
|
||||
G4cout << "<<< LEND will be used for low energy neutron and gamma projectiles" << G4endl;
|
||||
} else {
|
||||
G4cout << "<<< (Note that Shielding" << HadrPhysVariant << " and Shielding"
|
||||
<< HadrPhysVariant << "_HP are equivalent!)" << G4endl;
|
||||
}
|
||||
}
|
||||
defaultCutValue = 0.7*CLHEP::mm;
|
||||
SetCutValue(0, "proton");
|
||||
|
||||
Reference in New Issue
Block a user