Import Geant4 11.0.0.beta source tree
This commit is contained in:
@@ -1,17 +0,0 @@
|
||||
#------------------------------------------------------------------------------
|
||||
# CMakeLists.txt
|
||||
# Module : G4phys_lists
|
||||
# Package: Geant4.src.G4physicslists.G4phys_lists
|
||||
#
|
||||
# CMakeLists.txt for building a single granular library.
|
||||
#
|
||||
# Generated on : 24/9/2010
|
||||
#
|
||||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
if(GEANT4_BUILD_GRANULAR_LIBS)
|
||||
include(Geant4MacroLibraryTargets)
|
||||
GEANT4_GRANULAR_LIBRARY_TARGET(COMPONENT sources.cmake)
|
||||
endif()
|
||||
|
||||
@@ -33,7 +33,7 @@ CPPFLAGS += -I$(G4BASE)/global/management/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/builders/include \
|
||||
-I$(G4BASE)/physics_lists/constructors/decay/include \
|
||||
-I$(G4BASE)/physics_lists/constructors/electromagnetic/include \
|
||||
-I$(G4BASE)/physics_lists/constructors/factory/include \
|
||||
@@ -59,13 +59,10 @@ CPPFLAGS += -I$(G4BASE)/global/management/include \
|
||||
-I$(G4BASE)/processes/hadronic/cross_sections/include \
|
||||
-I$(G4BASE)/processes/hadronic/stopping/include \
|
||||
-I$(G4BASE)/processes/hadronic/management/include \
|
||||
-I$(G4BASE)/processes/hadronic/models/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/management/include \
|
||||
-I$(G4BASE)/processes/hadronic/models/util/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 \
|
||||
|
||||
@@ -13,7 +13,34 @@ introduced in the code and keeptrack of all tags.
|
||||
* Reverse chronological order (last date on top), please *
|
||||
----------------------------------------------------------
|
||||
|
||||
17-February-2021 Robert Hatcher (phys-lists-V10-06-03)
|
||||
28-April-2021 R. Hatcher (phys-lists-V10-07-08)
|
||||
- corresponding changes to G4PhysListFactoryAlt ctor to maintain drop-in
|
||||
compatibility with older factory.
|
||||
|
||||
24-April-2021 V.Ivanchenko (phys-lists-V10-07-07)
|
||||
- in all Physics List protect banners by verbosity level
|
||||
- G4PhysListFactory add verbosity level to constructor and
|
||||
propagate to constructed Physics List
|
||||
|
||||
16-April-2021 Ben Morgan (phys-lists-V10-07-06)
|
||||
- Migrate build to modular CMake API
|
||||
|
||||
13-April-2021 Alberto Ribon (phys-lists-V10-07-05)
|
||||
- GNUmakefile, sources.cmake : removed dependency on hadronic/model/util
|
||||
and hadronic/model/management (that have been now deleted, with their
|
||||
classes moved to hadronic/util and hadronic/management).
|
||||
|
||||
18-March-2021 Alberto Ribon (phys-lists-V10-07-04)
|
||||
- LBE.cc : renamed G4HadronCaptureProcess as G4NeutronCaptureProcess.
|
||||
|
||||
04-March-2021 Alberto Ribon (phys-lists-V10-07-03)
|
||||
- LBE.cc : replaced particle-specific hadronic inelastic processes
|
||||
(that have been deleted) with G4HadronInelasticProcess.
|
||||
|
||||
24-February-2021 Daren Sawkey (phys-lists-V10-07-02)
|
||||
- LBE.cc. Remove deprecated optical commands.
|
||||
|
||||
17-February-2021 Robert Hatcher (phys-lists-V10-07-01)
|
||||
- Update list of EM extension shorthands known to extensible factory to
|
||||
match old factory
|
||||
|
||||
|
||||
@@ -46,7 +46,7 @@ class G4PhysListFactory
|
||||
{
|
||||
public:
|
||||
|
||||
G4PhysListFactory();
|
||||
G4PhysListFactory(G4int ver = 1);
|
||||
|
||||
~G4PhysListFactory();
|
||||
|
||||
@@ -56,7 +56,7 @@ public:
|
||||
G4VModularPhysicsList* ReferencePhysList();
|
||||
// instantiate PhysList by environment variable "PHYSLIST"
|
||||
|
||||
G4bool IsReferencePhysList(const G4String&);
|
||||
G4bool IsReferencePhysList(const G4String&) const;
|
||||
// check if the name is in the list of PhysLists names
|
||||
|
||||
const std::vector<G4String>& AvailablePhysLists() const;
|
||||
|
||||
@@ -46,7 +46,7 @@ class G4PhysListFactory
|
||||
{
|
||||
public:
|
||||
|
||||
G4PhysListFactory();
|
||||
G4PhysListFactory(G4int verbose = 1);
|
||||
|
||||
~G4PhysListFactory();
|
||||
|
||||
@@ -60,7 +60,7 @@ public:
|
||||
// set a prefered list in case where $PHYSLIST isn't defined
|
||||
// if not set (or called with "") this falls back to system default
|
||||
|
||||
G4bool IsReferencePhysList(const G4String&);
|
||||
G4bool IsReferencePhysList(const G4String&) const;
|
||||
// check if the name is in the list of PhysLists names
|
||||
|
||||
const std::vector<G4String>& AvailablePhysLists() const;
|
||||
|
||||
@@ -51,9 +51,9 @@ class G4PhysListFactoryMessenger: public G4UImessenger
|
||||
{
|
||||
public:
|
||||
G4PhysListFactoryMessenger(G4VModularPhysicsList* pl);
|
||||
virtual ~G4PhysListFactoryMessenger();
|
||||
~G4PhysListFactoryMessenger() override;
|
||||
|
||||
void SetNewValue(G4UIcommand* aComm, G4String aS);
|
||||
void SetNewValue(G4UIcommand* aComm, G4String aS) override;
|
||||
|
||||
private:
|
||||
G4VModularPhysicsList* thePhysList;
|
||||
|
||||
@@ -1,157 +1,108 @@
|
||||
#------------------------------------------------------------------------------
|
||||
# sources.cmake
|
||||
# Module : G4phys_lists
|
||||
# Package: Geant4.src.G4physicslists.G4phys_lists
|
||||
#
|
||||
# Sources description for a library.
|
||||
# Lists the sources and headers of the code explicitely.
|
||||
# Lists include paths needed.
|
||||
# Lists the internal granular and global dependencies of the library.
|
||||
# Source specific properties should be added at the end.
|
||||
#
|
||||
# Generated on : 24/9/2010
|
||||
#
|
||||
#
|
||||
#------------------------------------------------------------------------------
|
||||
# - G4phys_lists module build definition
|
||||
|
||||
#
|
||||
# Define the Geant4 Module.
|
||||
#
|
||||
GEANT4_DEFINE_MODULE(NAME G4phys_lists
|
||||
HEADERS
|
||||
FTF_BIC.hh
|
||||
FTFP_BERT.hh
|
||||
FTFP_BERT_HP.hh
|
||||
FTFP_BERT_TRV.hh
|
||||
FTFP_BERT_ATL.hh
|
||||
FTFQGSP_BERT.hh
|
||||
G4GenericPhysicsList.hh
|
||||
G4GenericPhysicsList.icc
|
||||
G4PhysListFactory.hh
|
||||
G4PhysListFactoryMessenger.hh
|
||||
LBE.hh
|
||||
NuBeam.hh
|
||||
QBBC.hh
|
||||
QGS_BIC.hh
|
||||
QGSP_BERT.hh
|
||||
QGSP_BERT_HP.hh
|
||||
QGSP_BIC.hh
|
||||
QGSP_BIC_HP.hh
|
||||
QGSP_BIC_AllHP.hh
|
||||
QGSP_FTFP_BERT.hh
|
||||
INCLXXPhysicsListHelper.hh
|
||||
INCLXXPhysicsListHelper.icc
|
||||
QGSP_INCLXX.hh
|
||||
QGSP_INCLXX_HP.hh
|
||||
FTFP_INCLXX.hh
|
||||
FTFP_INCLXX_HP.hh
|
||||
Shielding.hh
|
||||
ShieldingLEND.hh
|
||||
G4PhysListRegistry.hh
|
||||
G4PhysListStamper.hh
|
||||
G4PhysListFactoryAlt.hh
|
||||
G4RegisterPhysLists.icc
|
||||
SOURCES
|
||||
FTF_BIC.cc
|
||||
FTFP_BERT_ATL.cc
|
||||
FTFP_BERT.cc
|
||||
FTFP_BERT_HP.cc
|
||||
FTFP_BERT_TRV.cc
|
||||
FTFQGSP_BERT.cc
|
||||
G4PhysListFactoryAlt.cc
|
||||
G4PhysListFactory.cc
|
||||
G4PhysListFactoryMessenger.cc
|
||||
G4PhysListRegistry.cc
|
||||
LBE.cc
|
||||
NuBeam.cc
|
||||
QBBC.cc
|
||||
QGS_BIC.cc
|
||||
QGSP_BERT.cc
|
||||
QGSP_BERT_HP.cc
|
||||
QGSP_BIC_AllHP.cc
|
||||
QGSP_BIC.cc
|
||||
QGSP_BIC_HP.cc
|
||||
QGSP_FTFP_BERT.cc
|
||||
Shielding.cc
|
||||
GRANULAR_DEPENDENCIES
|
||||
G4baryons
|
||||
G4bosons
|
||||
G4cuts
|
||||
G4decay
|
||||
G4digits
|
||||
G4emhighenergy
|
||||
G4emlowenergy
|
||||
G4emstandard
|
||||
G4emutils
|
||||
G4event
|
||||
G4geometrymng
|
||||
G4globman
|
||||
G4had_im_r_matrix
|
||||
G4had_lend
|
||||
G4had_mod_man
|
||||
G4had_mod_util
|
||||
G4had_lept_nuclear
|
||||
G4had_preequ_exciton
|
||||
G4had_string_diff
|
||||
G4had_string_frag
|
||||
G4had_string_man
|
||||
G4had_theo_max
|
||||
G4hadronic_bert_cascade
|
||||
G4hadronic_binary
|
||||
G4hadronic_coherent_elastic
|
||||
G4hadronic_deex_evaporation
|
||||
G4hadronic_deex_fermi_breakup
|
||||
G4hadronic_deex_fission
|
||||
G4hadronic_deex_gem_evaporation
|
||||
G4hadronic_deex_handler
|
||||
G4hadronic_deex_management
|
||||
G4hadronic_deex_multifragmentation
|
||||
G4hadronic_deex_photon_evaporation
|
||||
G4hadronic_deex_util
|
||||
G4hadronic_inclxx_interface
|
||||
G4hadronic_inclxx_physics
|
||||
G4hadronic_inclxx_utils
|
||||
G4hadronic_mgt
|
||||
G4hadronic_proc
|
||||
G4hadronic_qgstring
|
||||
G4hadronic_radioactivedecay
|
||||
G4hadronic_stop
|
||||
G4hadronic_util
|
||||
G4hadronic_xsect
|
||||
G4hits
|
||||
G4intercoms
|
||||
G4ions
|
||||
G4leptons
|
||||
G4magneticfield
|
||||
G4materials
|
||||
G4mesons
|
||||
G4muons
|
||||
G4navigation
|
||||
G4optical
|
||||
G4partman
|
||||
G4phys_builders
|
||||
G4procman
|
||||
G4run
|
||||
G4shortlived
|
||||
G4track
|
||||
G4tracking
|
||||
G4transportation
|
||||
G4volumes
|
||||
G4xrays
|
||||
GLOBAL_DEPENDENCIES
|
||||
G4digits_hits
|
||||
G4event
|
||||
G4geometry
|
||||
G4global
|
||||
G4intercoms
|
||||
G4materials
|
||||
G4particles
|
||||
G4processes
|
||||
G4run
|
||||
G4track
|
||||
G4tracking
|
||||
LINK_LIBRARIES
|
||||
)
|
||||
|
||||
# List any source specific properties here
|
||||
geant4_add_module(G4phys_lists
|
||||
PUBLIC_HEADERS
|
||||
FTF_BIC.hh
|
||||
FTFP_BERT.hh
|
||||
FTFP_BERT_HP.hh
|
||||
FTFP_BERT_TRV.hh
|
||||
FTFP_BERT_ATL.hh
|
||||
FTFQGSP_BERT.hh
|
||||
G4GenericPhysicsList.hh
|
||||
G4GenericPhysicsList.icc
|
||||
G4PhysListFactory.hh
|
||||
G4PhysListFactoryMessenger.hh
|
||||
LBE.hh
|
||||
NuBeam.hh
|
||||
QBBC.hh
|
||||
QGS_BIC.hh
|
||||
QGSP_BERT.hh
|
||||
QGSP_BERT_HP.hh
|
||||
QGSP_BIC.hh
|
||||
QGSP_BIC_HP.hh
|
||||
QGSP_BIC_AllHP.hh
|
||||
QGSP_FTFP_BERT.hh
|
||||
INCLXXPhysicsListHelper.hh
|
||||
INCLXXPhysicsListHelper.icc
|
||||
QGSP_INCLXX.hh
|
||||
QGSP_INCLXX_HP.hh
|
||||
FTFP_INCLXX.hh
|
||||
FTFP_INCLXX_HP.hh
|
||||
Shielding.hh
|
||||
ShieldingLEND.hh
|
||||
G4PhysListRegistry.hh
|
||||
G4PhysListStamper.hh
|
||||
G4PhysListFactoryAlt.hh
|
||||
G4RegisterPhysLists.icc
|
||||
SOURCES
|
||||
FTF_BIC.cc
|
||||
FTFP_BERT_ATL.cc
|
||||
FTFP_BERT.cc
|
||||
FTFP_BERT_HP.cc
|
||||
FTFP_BERT_TRV.cc
|
||||
FTFQGSP_BERT.cc
|
||||
G4PhysListFactoryAlt.cc
|
||||
G4PhysListFactory.cc
|
||||
G4PhysListFactoryMessenger.cc
|
||||
G4PhysListRegistry.cc
|
||||
LBE.cc
|
||||
NuBeam.cc
|
||||
QBBC.cc
|
||||
QGS_BIC.cc
|
||||
QGSP_BERT.cc
|
||||
QGSP_BERT_HP.cc
|
||||
QGSP_BIC_AllHP.cc
|
||||
QGSP_BIC.cc
|
||||
QGSP_BIC_HP.cc
|
||||
QGSP_FTFP_BERT.cc
|
||||
Shielding.cc)
|
||||
|
||||
geant4_module_link_libraries(G4phys_lists
|
||||
PUBLIC
|
||||
G4globman
|
||||
G4intercoms
|
||||
G4materials
|
||||
G4partman
|
||||
G4phys_ctor_decay
|
||||
G4phys_ctor_em
|
||||
G4phys_ctor_factory
|
||||
G4phys_ctor_glnuclear
|
||||
G4phys_ctor_helastic
|
||||
G4phys_ctor_hinelastic
|
||||
G4phys_ctor_ions
|
||||
G4phys_ctor_limiters
|
||||
G4phys_ctor_stopping
|
||||
G4physlist_util
|
||||
G4procman
|
||||
G4run
|
||||
PRIVATE
|
||||
G4baryons
|
||||
G4cuts
|
||||
G4decay
|
||||
G4emhighenergy
|
||||
G4emlowenergy
|
||||
G4emstandard
|
||||
G4emutils
|
||||
G4had_par_hp
|
||||
G4had_preequ_exciton
|
||||
G4had_string_diff
|
||||
G4had_string_frag
|
||||
G4had_theo_max
|
||||
G4hadronic_bert_cascade
|
||||
G4hadronic_binary
|
||||
G4hadronic_coherent_elastic
|
||||
G4hadronic_deex_handler
|
||||
G4hadronic_deex_management
|
||||
G4hadronic_deex_photon_evaporation
|
||||
G4hadronic_proc
|
||||
G4hadronic_radioactivedecay
|
||||
G4hadronic_stop
|
||||
G4hadronic_util
|
||||
G4hadronic_xsect
|
||||
G4ions
|
||||
G4mesons
|
||||
G4muons
|
||||
G4optical
|
||||
G4shortlived
|
||||
G4xrays)
|
||||
|
||||
@@ -47,13 +47,6 @@
|
||||
|
||||
#include "globals.hh"
|
||||
#include "G4ios.hh"
|
||||
#include "G4ProcessManager.hh"
|
||||
#include "G4ProcessVector.hh"
|
||||
#include "G4ParticleTypes.hh"
|
||||
#include "G4ParticleTable.hh"
|
||||
|
||||
#include "G4Material.hh"
|
||||
#include "G4MaterialTable.hh"
|
||||
|
||||
#include "G4DecayPhysics.hh"
|
||||
#include "G4EmStandardPhysics.hh"
|
||||
@@ -68,10 +61,10 @@
|
||||
|
||||
FTFP_BERT::FTFP_BERT(G4int ver)
|
||||
{
|
||||
// default cut value (1.0mm)
|
||||
// defaultCutValue = 1.0*CLHEP::mm;
|
||||
G4cout << "<<< Geant4 Physics List simulation engine: FTFP_BERT"<<G4endl;
|
||||
G4cout <<G4endl;
|
||||
if(ver > 0) {
|
||||
G4cout << "<<< Geant4 Physics List simulation engine: FTFP_BERT"<<G4endl;
|
||||
G4cout <<G4endl;
|
||||
}
|
||||
defaultCutValue = 0.7*CLHEP::mm;
|
||||
SetVerboseLevel(ver);
|
||||
|
||||
|
||||
@@ -39,13 +39,6 @@
|
||||
|
||||
#include "globals.hh"
|
||||
#include "G4ios.hh"
|
||||
#include "G4ProcessManager.hh"
|
||||
#include "G4ProcessVector.hh"
|
||||
#include "G4ParticleTypes.hh"
|
||||
#include "G4ParticleTable.hh"
|
||||
|
||||
#include "G4Material.hh"
|
||||
#include "G4MaterialTable.hh"
|
||||
|
||||
#include "G4DecayPhysics.hh"
|
||||
#include "G4EmStandardPhysics.hh"
|
||||
@@ -60,19 +53,17 @@
|
||||
|
||||
#include "G4WarnPLStatus.hh"
|
||||
|
||||
|
||||
FTFP_BERT_ATL::FTFP_BERT_ATL(G4int ver)
|
||||
{
|
||||
// default cut value (1.0mm)
|
||||
// defaultCutValue = 1.0*CLHEP::mm;
|
||||
G4cout << "<<< Geant4 Physics List simulation engine: FTFP_BERT_ATL"<<G4endl;
|
||||
G4cout <<G4endl;
|
||||
if(ver > 0) {
|
||||
G4cout << "<<< Geant4 Physics List simulation engine: FTFP_BERT_ATL"<<G4endl;
|
||||
G4cout <<G4endl;
|
||||
G4WarnPLStatus exp;
|
||||
exp.Experimental("FTFP_BERT_ATL");
|
||||
}
|
||||
defaultCutValue = 0.7*CLHEP::mm;
|
||||
SetVerboseLevel(ver);
|
||||
|
||||
G4WarnPLStatus exp;
|
||||
exp.Experimental("FTFP_BERT_ATL");
|
||||
|
||||
// EM Physics
|
||||
RegisterPhysics( new G4EmStandardPhysics(ver));
|
||||
|
||||
|
||||
@@ -33,13 +33,6 @@
|
||||
|
||||
#include "globals.hh"
|
||||
#include "G4ios.hh"
|
||||
#include "G4ProcessManager.hh"
|
||||
#include "G4ProcessVector.hh"
|
||||
#include "G4ParticleTypes.hh"
|
||||
#include "G4ParticleTable.hh"
|
||||
|
||||
#include "G4Material.hh"
|
||||
#include "G4MaterialTable.hh"
|
||||
|
||||
#include "G4DecayPhysics.hh"
|
||||
#include "G4RadioactiveDecayPhysics.hh"
|
||||
@@ -54,10 +47,10 @@
|
||||
|
||||
FTFP_BERT_HP::FTFP_BERT_HP(G4int ver)
|
||||
{
|
||||
// default cut value (1.0mm)
|
||||
// defaultCutValue = 1.0*CLHEP::mm;
|
||||
G4cout << "<<< Geant4 Physics List simulation engine: FTFP_BERT_HP"<<G4endl;
|
||||
G4cout <<G4endl;
|
||||
if(ver > 0) {
|
||||
G4cout << "<<< Geant4 Physics List simulation engine: FTFP_BERT_HP"<<G4endl;
|
||||
G4cout <<G4endl;
|
||||
}
|
||||
defaultCutValue = 0.7*CLHEP::mm;
|
||||
SetVerboseLevel(ver);
|
||||
|
||||
|
||||
@@ -47,13 +47,6 @@
|
||||
|
||||
#include "globals.hh"
|
||||
#include "G4ios.hh"
|
||||
#include "G4ProcessManager.hh"
|
||||
#include "G4ProcessVector.hh"
|
||||
#include "G4ParticleTypes.hh"
|
||||
#include "G4ParticleTable.hh"
|
||||
|
||||
#include "G4Material.hh"
|
||||
#include "G4MaterialTable.hh"
|
||||
|
||||
#include "G4DecayPhysics.hh"
|
||||
#include "G4EmStandardPhysics.hh"
|
||||
@@ -74,16 +67,15 @@
|
||||
|
||||
FTFP_BERT_TRV::FTFP_BERT_TRV(G4int ver)
|
||||
{
|
||||
// default cut value (1.0mm)
|
||||
// defaultCutValue = 1.0*CLHEP::mm;
|
||||
G4cout << "<<< Geant4 Physics List simulation engine: FTFP_BERT_TRV "<<G4endl;
|
||||
G4cout <<G4endl;
|
||||
if(ver > 0) {
|
||||
G4cout << "<<< Geant4 Physics List simulation engine: FTFP_BERT_TRV "<<G4endl;
|
||||
G4cout <<G4endl;
|
||||
G4WarnPLStatus exp;
|
||||
exp.Experimental("FTFP_BERT_TRV");
|
||||
}
|
||||
defaultCutValue = 0.7*CLHEP::mm;
|
||||
SetVerboseLevel(ver);
|
||||
|
||||
G4WarnPLStatus exp;
|
||||
exp.Experimental("FTFP_BERT_TRV");
|
||||
|
||||
// EM Physics
|
||||
G4EmStandardPhysicsGS* gsPhysics = new G4EmStandardPhysicsGS( ver );
|
||||
G4EmParameters::Instance()->SetMscStepLimitType( fUseSafety );
|
||||
|
||||
@@ -40,13 +40,6 @@
|
||||
|
||||
#include "globals.hh"
|
||||
#include "G4ios.hh"
|
||||
#include "G4ProcessManager.hh"
|
||||
#include "G4ProcessVector.hh"
|
||||
#include "G4ParticleTypes.hh"
|
||||
#include "G4ParticleTable.hh"
|
||||
|
||||
#include "G4Material.hh"
|
||||
#include "G4MaterialTable.hh"
|
||||
|
||||
#include "G4DecayPhysics.hh"
|
||||
#include "G4EmStandardPhysics.hh"
|
||||
@@ -64,14 +57,15 @@
|
||||
|
||||
FTFQGSP_BERT::FTFQGSP_BERT(G4int ver)
|
||||
{
|
||||
G4cout << "<<< Geant4 Physics List simulation engine: FTFQGSP_BERT"<<G4endl;
|
||||
G4cout <<G4endl;
|
||||
if(ver > 0) {
|
||||
G4cout << "<<< Geant4 Physics List simulation engine: FTFQGSP_BERT"<<G4endl;
|
||||
G4cout <<G4endl;
|
||||
G4WarnPLStatus exp;
|
||||
exp.Experimental("FTFQGSP_BERT");
|
||||
}
|
||||
defaultCutValue = 0.7*CLHEP::mm;
|
||||
SetVerboseLevel(ver);
|
||||
|
||||
G4WarnPLStatus exp;
|
||||
exp.Experimental("FTFQGSP_BERT");
|
||||
|
||||
// EM Physics
|
||||
RegisterPhysics( new G4EmStandardPhysics(ver) );
|
||||
|
||||
|
||||
@@ -43,13 +43,6 @@
|
||||
|
||||
#include "globals.hh"
|
||||
#include "G4ios.hh"
|
||||
#include "G4ProcessManager.hh"
|
||||
#include "G4ProcessVector.hh"
|
||||
#include "G4ParticleTypes.hh"
|
||||
#include "G4ParticleTable.hh"
|
||||
|
||||
#include "G4Material.hh"
|
||||
#include "G4MaterialTable.hh"
|
||||
|
||||
#include "G4DecayPhysics.hh"
|
||||
#include "G4EmStandardPhysics.hh"
|
||||
@@ -66,18 +59,16 @@
|
||||
|
||||
FTF_BIC::FTF_BIC(G4int ver)
|
||||
{
|
||||
// default cut value (1.0mm)
|
||||
// defaultCutValue = 1.0*CLHEP::mm;
|
||||
|
||||
G4cout << "<<< Geant4 Physics List simulation engine: FTF_BIC"<<G4endl;
|
||||
G4cout <<G4endl;
|
||||
if(ver > 0) {
|
||||
G4cout << "<<< Geant4 Physics List simulation engine: FTF_BIC"<<G4endl;
|
||||
G4cout <<G4endl;
|
||||
G4WarnPLStatus exp;
|
||||
exp.Experimental("FTF_BIC");
|
||||
}
|
||||
|
||||
defaultCutValue = 0.7*CLHEP::mm;
|
||||
SetVerboseLevel(ver);
|
||||
|
||||
G4WarnPLStatus exp;
|
||||
exp.Experimental("FTF_BIC");
|
||||
|
||||
// EM Physics
|
||||
RegisterPhysics( new G4EmStandardPhysics(ver) );
|
||||
|
||||
|
||||
@@ -76,8 +76,8 @@
|
||||
#include "G4PhysListFactoryMessenger.hh"
|
||||
#include "G4UImessenger.hh"
|
||||
|
||||
G4PhysListFactory::G4PhysListFactory()
|
||||
: defName("FTFP_BERT"),verbose(1),theMessenger(nullptr)
|
||||
G4PhysListFactory::G4PhysListFactory(G4int ver)
|
||||
: defName("FTFP_BERT"),verbose(ver),theMessenger(nullptr)
|
||||
{
|
||||
nlists_hadr = 23;
|
||||
G4String ss[23] = {
|
||||
@@ -178,15 +178,13 @@ G4PhysListFactory::GetReferencePhysList(const G4String& name)
|
||||
else if(had_name == "ShieldingM") {p = new Shielding(verbose,"HP","M");}
|
||||
else if(had_name == "NuBeam") {p = new NuBeam(verbose);}
|
||||
else {
|
||||
G4cout << "### G4PhysListFactory WARNING: "
|
||||
<< "PhysicsList " << had_name << " is not known"
|
||||
<< G4endl;
|
||||
p = new FTFP_BERT(verbose);
|
||||
G4ExceptionDescription ed;
|
||||
ed << "PhysicsList " << had_name << " is not known;"
|
||||
<< " the default FTFP_BERT is created";
|
||||
G4Exception("G4PhysListFactory: ","pl0003",JustWarning,ed,"");
|
||||
}
|
||||
if(p) {
|
||||
G4cout << "<<< Reference Physics List " << had_name
|
||||
<< em_name << " is built" << G4endl;
|
||||
G4int ver = p->GetVerboseLevel();
|
||||
p->SetVerboseLevel(0);
|
||||
if(nullptr != p) {
|
||||
if(0 < em_opt && had_name != "LBE") {
|
||||
if(1 == em_opt) {
|
||||
p->ReplacePhysics(new G4EmStandardPhysics_option1(verbose));
|
||||
@@ -212,14 +210,13 @@ G4PhysListFactory::GetReferencePhysList(const G4String& name)
|
||||
p->ReplacePhysics(new G4EmLowEPPhysics(verbose));
|
||||
}
|
||||
}
|
||||
p->SetVerboseLevel(ver);
|
||||
theMessenger = new G4PhysListFactoryMessenger(p);
|
||||
}
|
||||
G4cout << G4endl;
|
||||
if(0 < verbose) G4cout << G4endl;
|
||||
return p;
|
||||
}
|
||||
|
||||
G4bool G4PhysListFactory::IsReferencePhysList(const G4String& name)
|
||||
G4bool G4PhysListFactory::IsReferencePhysList(const G4String& name) const
|
||||
{
|
||||
G4bool res = false;
|
||||
size_t n = name.size();
|
||||
|
||||
@@ -40,8 +40,9 @@
|
||||
|
||||
namespace g4alt {
|
||||
|
||||
G4PhysListFactory::G4PhysListFactory()
|
||||
G4PhysListFactory::G4PhysListFactory(G4int verbose)
|
||||
{
|
||||
SetVerbose(verbose);
|
||||
}
|
||||
|
||||
G4PhysListFactory::~G4PhysListFactory()
|
||||
@@ -64,7 +65,7 @@ G4PhysListFactory::GetReferencePhysList(const G4String& name)
|
||||
return G4PhysListRegistry::Instance()->GetModularPhysicsList(name);
|
||||
}
|
||||
|
||||
G4bool G4PhysListFactory::IsReferencePhysList(const G4String& name)
|
||||
G4bool G4PhysListFactory::IsReferencePhysList(const G4String& name) const
|
||||
{
|
||||
return G4PhysListRegistry::Instance()->IsReferencePhysList(name);
|
||||
}
|
||||
|
||||
@@ -48,11 +48,11 @@ G4PhysListFactoryMessenger::G4PhysListFactoryMessenger(G4VModularPhysicsList* pl
|
||||
|
||||
theRadDecay = new G4UIcommand("/physics_lists/factory/addRadioactiveDecay",this);
|
||||
theRadDecay->SetGuidance("Enable radioactive decay.");
|
||||
theRadDecay->AvailableForStates(G4State_PreInit,G4State_Init,G4State_Idle);
|
||||
theRadDecay->AvailableForStates(G4State_PreInit);
|
||||
|
||||
theOptical = new G4UIcommand("/physics_lists/factory/addOptical",this);
|
||||
theOptical->SetGuidance("Enable optical physics.");
|
||||
theOptical->AvailableForStates(G4State_PreInit,G4State_Init,G4State_Idle);
|
||||
theOptical->AvailableForStates(G4State_PreInit);
|
||||
}
|
||||
|
||||
G4PhysListFactoryMessenger::~G4PhysListFactoryMessenger()
|
||||
@@ -64,9 +64,10 @@ G4PhysListFactoryMessenger::~G4PhysListFactoryMessenger()
|
||||
|
||||
void G4PhysListFactoryMessenger::SetNewValue(G4UIcommand* aComm, G4String)
|
||||
{
|
||||
G4int ver = thePhysList->GetVerboseLevel();
|
||||
if(aComm == theRadDecay) {
|
||||
thePhysList->RegisterPhysics(new G4RadioactiveDecayPhysics(1));
|
||||
thePhysList->RegisterPhysics(new G4RadioactiveDecayPhysics(ver));
|
||||
} else if(aComm == theOptical) {
|
||||
thePhysList->RegisterPhysics(new G4OpticalPhysics(1));
|
||||
thePhysList->RegisterPhysics(new G4OpticalPhysics(ver));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -76,12 +76,12 @@
|
||||
// Constructor /////////////////////////////////////////////////////////////
|
||||
LBE::LBE(G4int ver)
|
||||
{
|
||||
|
||||
G4cout << "You are using the simulation engine: LBE"<<G4endl;
|
||||
G4cout <<G4endl<<G4endl;
|
||||
if(ver > 0) {
|
||||
G4cout << "You are using the simulation engine: LBE"<<G4endl;
|
||||
G4cout <<G4endl;
|
||||
}
|
||||
defaultCutValue = 1.0*CLHEP::micrometer; //
|
||||
cutForGamma = defaultCutValue;
|
||||
// cutForElectron = 1.0*CLHEP::nanometer;
|
||||
cutForElectron = 1.0*CLHEP::micrometer;
|
||||
cutForPositron = defaultCutValue;
|
||||
//not used:
|
||||
@@ -443,8 +443,6 @@ LBE::~LBE()
|
||||
G4Scintillation* theScintProcessDef = new G4Scintillation("Scintillation");
|
||||
// theScintProcessDef->DumpPhysicsTable();
|
||||
theScintProcessDef->SetTrackSecondariesFirst(true);
|
||||
theScintProcessDef->SetScintillationYieldFactor(1.0); //
|
||||
theScintProcessDef->SetScintillationExcitationRatio(0.0); //
|
||||
theScintProcessDef->SetVerboseLevel(OpVerbLevel);
|
||||
|
||||
// scintillation process for alpha:
|
||||
@@ -452,8 +450,6 @@ LBE::~LBE()
|
||||
G4Scintillation* theScintProcessAlpha = new G4Scintillation("Scintillation");
|
||||
// theScintProcessNuc->DumpPhysicsTable();
|
||||
theScintProcessAlpha->SetTrackSecondariesFirst(true);
|
||||
theScintProcessAlpha->SetScintillationYieldFactor(1.1);
|
||||
theScintProcessAlpha->SetScintillationExcitationRatio(1.0);
|
||||
theScintProcessAlpha->SetVerboseLevel(OpVerbLevel);
|
||||
|
||||
// scintillation process for heavy nuclei
|
||||
@@ -461,8 +457,6 @@ LBE::~LBE()
|
||||
G4Scintillation* theScintProcessNuc = new G4Scintillation("Scintillation");
|
||||
// theScintProcessNuc->DumpPhysicsTable();
|
||||
theScintProcessNuc->SetTrackSecondariesFirst(true);
|
||||
theScintProcessNuc->SetScintillationYieldFactor(0.2);
|
||||
theScintProcessNuc->SetScintillationExcitationRatio(1.0);
|
||||
theScintProcessNuc->SetVerboseLevel(OpVerbLevel);
|
||||
|
||||
// optical processes
|
||||
@@ -526,7 +520,7 @@ LBE::~LBE()
|
||||
|
||||
// Elastic processes:
|
||||
#include "G4HadronElasticProcess.hh"
|
||||
#include "G4HadronCaptureProcess.hh"
|
||||
#include "G4NeutronCaptureProcess.hh"
|
||||
#include "G4HadronElastic.hh"
|
||||
#include "G4ChipsElasticModel.hh"
|
||||
#include "G4ElasticHadrNucleusHE.hh"
|
||||
@@ -543,19 +537,7 @@ LBE::~LBE()
|
||||
#include "G4CrossSectionElastic.hh"
|
||||
|
||||
// Inelastic processes:
|
||||
#include "G4PionPlusInelasticProcess.hh"
|
||||
#include "G4PionMinusInelasticProcess.hh"
|
||||
#include "G4KaonPlusInelasticProcess.hh"
|
||||
#include "G4KaonZeroSInelasticProcess.hh"
|
||||
#include "G4KaonZeroLInelasticProcess.hh"
|
||||
#include "G4KaonMinusInelasticProcess.hh"
|
||||
#include "G4ProtonInelasticProcess.hh"
|
||||
#include "G4AntiProtonInelasticProcess.hh"
|
||||
#include "G4NeutronInelasticProcess.hh"
|
||||
#include "G4AntiNeutronInelasticProcess.hh"
|
||||
#include "G4DeuteronInelasticProcess.hh"
|
||||
#include "G4TritonInelasticProcess.hh"
|
||||
#include "G4AlphaInelasticProcess.hh"
|
||||
#include "G4HadronInelasticProcess.hh"
|
||||
|
||||
// FTFP + BERT model
|
||||
#include "G4TheoFSGenerator.hh"
|
||||
@@ -672,7 +654,7 @@ LBE::~LBE()
|
||||
theElasticProcess->RegisterMe( elastic_he );
|
||||
pmanager->AddDiscreteProcess( theElasticProcess );
|
||||
// Inelastic scattering
|
||||
G4PionPlusInelasticProcess* theInelasticProcess = new G4PionPlusInelasticProcess("inelastic");
|
||||
G4HadronInelasticProcess* theInelasticProcess = new G4HadronInelasticProcess( "inelastic", G4PionPlus::Definition() );
|
||||
theInelasticProcess->AddDataSet( new G4BGGPionInelasticXS( G4PionPlus::Definition() ) );
|
||||
theInelasticProcess->RegisterMe( theFTFModel1 );
|
||||
theInelasticProcess->RegisterMe( theBERTModel0 );
|
||||
@@ -687,7 +669,7 @@ LBE::~LBE()
|
||||
theElasticProcess->RegisterMe( elastic_he );
|
||||
pmanager->AddDiscreteProcess( theElasticProcess );
|
||||
// Inelastic scattering
|
||||
G4PionMinusInelasticProcess* theInelasticProcess = new G4PionMinusInelasticProcess("inelastic");
|
||||
G4HadronInelasticProcess* theInelasticProcess = new G4HadronInelasticProcess( "inelastic", G4PionMinus::Definition() );
|
||||
theInelasticProcess->AddDataSet( new G4BGGPionInelasticXS( G4PionMinus::Definition() ) );
|
||||
theInelasticProcess->RegisterMe( theFTFModel1 );
|
||||
theInelasticProcess->RegisterMe( theBERTModel0 );
|
||||
@@ -702,7 +684,8 @@ LBE::~LBE()
|
||||
theElasticProcess->AddDataSet( G4CrossSectionDataSetRegistry::Instance()->GetCrossSectionDataSet(G4ChipsKaonPlusElasticXS::Default_Name()));
|
||||
pmanager->AddDiscreteProcess( theElasticProcess );
|
||||
// Inelastic scattering
|
||||
G4KaonPlusInelasticProcess* theInelasticProcess = new G4KaonPlusInelasticProcess("inelastic");
|
||||
G4HadronInelasticProcess* theInelasticProcess = new G4HadronInelasticProcess( "inelastic", G4KaonPlus::Definition() );
|
||||
|
||||
theInelasticProcess->AddDataSet( G4CrossSectionDataSetRegistry::Instance()->GetCrossSectionDataSet(G4ChipsKaonPlusInelasticXS::Default_Name()));
|
||||
theInelasticProcess->RegisterMe( theFTFModel1 );
|
||||
theInelasticProcess->RegisterMe( theBERTModel0 );
|
||||
@@ -717,7 +700,7 @@ LBE::~LBE()
|
||||
theElasticProcess->AddDataSet( G4CrossSectionDataSetRegistry::Instance()->GetCrossSectionDataSet(G4ChipsKaonZeroElasticXS::Default_Name()));
|
||||
pmanager->AddDiscreteProcess( theElasticProcess );
|
||||
// Inelastic scattering
|
||||
G4KaonZeroSInelasticProcess* theInelasticProcess = new G4KaonZeroSInelasticProcess("inelastic");
|
||||
G4HadronInelasticProcess* theInelasticProcess = new G4HadronInelasticProcess( "inelastic", G4KaonZeroShort::Definition() );
|
||||
theInelasticProcess->AddDataSet( G4CrossSectionDataSetRegistry::Instance()->GetCrossSectionDataSet(G4ChipsKaonZeroInelasticXS::Default_Name()));
|
||||
theInelasticProcess->RegisterMe( theFTFModel1 );
|
||||
theInelasticProcess->RegisterMe( theBERTModel0 );
|
||||
@@ -732,7 +715,8 @@ LBE::~LBE()
|
||||
theElasticProcess->AddDataSet( G4CrossSectionDataSetRegistry::Instance()->GetCrossSectionDataSet(G4ChipsKaonZeroElasticXS::Default_Name()));
|
||||
pmanager->AddDiscreteProcess( theElasticProcess );
|
||||
// Inelastic scattering
|
||||
G4KaonZeroLInelasticProcess* theInelasticProcess = new G4KaonZeroLInelasticProcess("inelastic");
|
||||
//G4KaonZeroLInelasticProcess* theInelasticProcess = new G4KaonZeroLInelasticProcess("inelastic");
|
||||
G4HadronInelasticProcess* theInelasticProcess = new G4HadronInelasticProcess( "inelastic", G4KaonZeroLong::Definition() );
|
||||
theInelasticProcess->AddDataSet( G4CrossSectionDataSetRegistry::Instance()->GetCrossSectionDataSet(G4ChipsKaonZeroInelasticXS::Default_Name()));
|
||||
theInelasticProcess->RegisterMe( theFTFModel1 );
|
||||
theInelasticProcess->RegisterMe( theBERTModel0 );
|
||||
@@ -747,7 +731,7 @@ LBE::~LBE()
|
||||
theElasticProcess->AddDataSet( G4CrossSectionDataSetRegistry::Instance()->GetCrossSectionDataSet(G4ChipsKaonMinusElasticXS::Default_Name()));
|
||||
pmanager->AddDiscreteProcess( theElasticProcess );
|
||||
// Inelastic scattering
|
||||
G4KaonMinusInelasticProcess* theInelasticProcess = new G4KaonMinusInelasticProcess("inelastic");
|
||||
G4HadronInelasticProcess* theInelasticProcess = new G4HadronInelasticProcess( "inelastic", G4KaonMinus::Definition() );
|
||||
theInelasticProcess->AddDataSet( G4CrossSectionDataSetRegistry::Instance()->GetCrossSectionDataSet(G4ChipsKaonMinusInelasticXS::Default_Name()));
|
||||
theInelasticProcess->RegisterMe( theFTFModel1 );
|
||||
theInelasticProcess->RegisterMe( theBERTModel0 );
|
||||
@@ -763,7 +747,7 @@ LBE::~LBE()
|
||||
theElasticProcess->RegisterMe( elastic_chip );
|
||||
pmanager->AddDiscreteProcess( theElasticProcess );
|
||||
// Inelastic scattering
|
||||
G4ProtonInelasticProcess* theInelasticProcess = new G4ProtonInelasticProcess("inelastic");
|
||||
G4HadronInelasticProcess* theInelasticProcess = new G4HadronInelasticProcess( "inelastic", G4Proton::Definition() );
|
||||
theInelasticProcess->AddDataSet( new G4BGGNucleonInelasticXS( G4Proton::Proton() ) );
|
||||
theInelasticProcess->RegisterMe( theFTFModel1 );
|
||||
theInelasticProcess->RegisterMe( theBERTModel0 );
|
||||
@@ -779,7 +763,7 @@ LBE::~LBE()
|
||||
theElasticProcess->RegisterMe( elastic_anuc );
|
||||
pmanager->AddDiscreteProcess( theElasticProcess );
|
||||
// Inelastic scattering
|
||||
G4AntiProtonInelasticProcess* theInelasticProcess = new G4AntiProtonInelasticProcess("inelastic");
|
||||
G4HadronInelasticProcess* theInelasticProcess = new G4HadronInelasticProcess( "inelastic", G4AntiProton::Definition() );
|
||||
theInelasticProcess->AddDataSet( theAntiNucleonData );
|
||||
theInelasticProcess->RegisterMe( theFTFModel0 );
|
||||
pmanager->AddDiscreteProcess( theInelasticProcess );
|
||||
@@ -799,7 +783,7 @@ LBE::~LBE()
|
||||
theElasticProcess->AddDataSet( new G4ParticleHPElasticData );
|
||||
pmanager->AddDiscreteProcess( theElasticProcess );
|
||||
// inelastic scattering
|
||||
G4NeutronInelasticProcess* theInelasticProcess = new G4NeutronInelasticProcess("inelastic");
|
||||
G4HadronInelasticProcess* theInelasticProcess = new G4HadronInelasticProcess( "inelastic", G4Neutron::Definition() );
|
||||
theInelasticProcess->AddDataSet( new G4BGGNucleonInelasticXS( G4Neutron::Neutron() ) );
|
||||
theInelasticProcess->RegisterMe( theFTFModel1 );
|
||||
theInelasticProcess->RegisterMe( theBERTModel1 );
|
||||
@@ -810,7 +794,7 @@ LBE::~LBE()
|
||||
theInelasticProcess->AddDataSet( new G4ParticleHPInelasticData );
|
||||
pmanager->AddDiscreteProcess(theInelasticProcess);
|
||||
// capture
|
||||
G4HadronCaptureProcess* theCaptureProcess = new G4HadronCaptureProcess;
|
||||
G4NeutronCaptureProcess* theCaptureProcess = new G4NeutronCaptureProcess;
|
||||
G4ParticleHPCapture * theNeutronCaptureHPModel = new G4ParticleHPCapture;
|
||||
theNeutronCaptureHPModel->SetMinEnergy( theHPMin );
|
||||
theNeutronCaptureHPModel->SetMaxEnergy( theHPMax );
|
||||
@@ -831,7 +815,7 @@ LBE::~LBE()
|
||||
theElasticProcess->RegisterMe( elastic_anuc );
|
||||
pmanager->AddDiscreteProcess( theElasticProcess );
|
||||
// Inelastic scattering
|
||||
G4AntiNeutronInelasticProcess* theInelasticProcess = new G4AntiNeutronInelasticProcess("inelastic");
|
||||
G4HadronInelasticProcess* theInelasticProcess = new G4HadronInelasticProcess( "inelastic", G4AntiNeutron::Definition() );
|
||||
theInelasticProcess->AddDataSet( theAntiNucleonData );
|
||||
theInelasticProcess->RegisterMe( theFTFModel0 );
|
||||
pmanager->AddDiscreteProcess( theInelasticProcess );
|
||||
@@ -845,7 +829,7 @@ LBE::~LBE()
|
||||
theElasticProcess->AddDataSet( theGGNuclNuclData );
|
||||
pmanager->AddDiscreteProcess( theElasticProcess );
|
||||
// Inelastic scattering
|
||||
G4DeuteronInelasticProcess* theInelasticProcess = new G4DeuteronInelasticProcess("inelastic");
|
||||
G4HadronInelasticProcess* theInelasticProcess = new G4HadronInelasticProcess( "inelastic", G4Deuteron::Definition() );
|
||||
theInelasticProcess->AddDataSet( theGGNuclNuclData );
|
||||
theInelasticProcess->RegisterMe( theFTFModel1 );
|
||||
theInelasticProcess->RegisterMe( theIonBC );
|
||||
@@ -860,7 +844,7 @@ LBE::~LBE()
|
||||
theElasticProcess->AddDataSet( theGGNuclNuclData );
|
||||
pmanager->AddDiscreteProcess( theElasticProcess );
|
||||
// Inelastic scattering
|
||||
G4TritonInelasticProcess* theInelasticProcess = new G4TritonInelasticProcess("inelastic");
|
||||
G4HadronInelasticProcess* theInelasticProcess = new G4HadronInelasticProcess( "inelastic", G4Triton::Definition() );
|
||||
theInelasticProcess->AddDataSet( theGGNuclNuclData );
|
||||
theInelasticProcess->RegisterMe( theFTFModel1 );
|
||||
theInelasticProcess->RegisterMe( theIonBC );
|
||||
@@ -875,7 +859,7 @@ LBE::~LBE()
|
||||
theElasticProcess->AddDataSet( theGGNuclNuclData );
|
||||
pmanager->AddDiscreteProcess( theElasticProcess );
|
||||
// Inelastic scattering
|
||||
G4AlphaInelasticProcess* theInelasticProcess = new G4AlphaInelasticProcess("inelastic");
|
||||
G4HadronInelasticProcess* theInelasticProcess = new G4HadronInelasticProcess( "inelastic", G4Alpha::Definition() );
|
||||
theInelasticProcess->AddDataSet( theGGNuclNuclData );
|
||||
theInelasticProcess->RegisterMe( theFTFModel1 );
|
||||
theInelasticProcess->RegisterMe( theIonBC );
|
||||
|
||||
@@ -40,13 +40,6 @@
|
||||
|
||||
#include "globals.hh"
|
||||
#include "G4ios.hh"
|
||||
#include "G4ProcessManager.hh"
|
||||
#include "G4ProcessVector.hh"
|
||||
#include "G4ParticleTypes.hh"
|
||||
#include "G4ParticleTable.hh"
|
||||
|
||||
#include "G4Material.hh"
|
||||
#include "G4MaterialTable.hh"
|
||||
|
||||
#include "G4DecayPhysics.hh"
|
||||
#include "G4EmStandardPhysics.hh"
|
||||
@@ -61,9 +54,10 @@
|
||||
|
||||
NuBeam::NuBeam(G4int ver)
|
||||
{
|
||||
|
||||
G4cout << "<<< Geant4 Physics List simulation engine: NuBeam" << G4endl;
|
||||
G4cout <<G4endl;
|
||||
if(ver > 0) {
|
||||
G4cout << "<<< Geant4 Physics List simulation engine: NuBeam" << G4endl;
|
||||
G4cout <<G4endl;
|
||||
}
|
||||
|
||||
defaultCutValue = 0.7*CLHEP::mm;
|
||||
SetVerboseLevel(ver);
|
||||
|
||||
@@ -44,7 +44,6 @@
|
||||
#include "globals.hh"
|
||||
#include "G4PhysicalConstants.hh"
|
||||
#include "G4SystemOfUnits.hh"
|
||||
#include "G4ParticleDefinition.hh"
|
||||
|
||||
#include "G4DecayPhysics.hh"
|
||||
#include "G4EmStandardPhysics.hh"
|
||||
@@ -63,9 +62,10 @@
|
||||
|
||||
QBBC::QBBC( G4int ver, const G4String&)
|
||||
{
|
||||
G4cout << "<<< Reference Physics List QBBC " <<G4endl;
|
||||
if(ver > 0)
|
||||
G4cout << "<<< Reference Physics List QBBC " <<G4endl;
|
||||
|
||||
defaultCutValue = 0.7*mm;
|
||||
defaultCutValue = 0.7*CLHEP::mm;
|
||||
SetVerboseLevel(ver);
|
||||
|
||||
// EM Physics
|
||||
|
||||
@@ -51,13 +51,6 @@
|
||||
|
||||
#include "globals.hh"
|
||||
#include "G4ios.hh"
|
||||
#include "G4ProcessManager.hh"
|
||||
#include "G4ProcessVector.hh"
|
||||
#include "G4ParticleTypes.hh"
|
||||
#include "G4ParticleTable.hh"
|
||||
|
||||
#include "G4Material.hh"
|
||||
#include "G4MaterialTable.hh"
|
||||
|
||||
#include "G4DecayPhysics.hh"
|
||||
#include "G4EmStandardPhysics.hh"
|
||||
@@ -72,9 +65,10 @@
|
||||
|
||||
QGSP_BERT::QGSP_BERT(G4int ver)
|
||||
{
|
||||
|
||||
G4cout << "<<< Geant4 Physics List simulation engine: QGSP_BERT"<<G4endl;
|
||||
G4cout <<G4endl;
|
||||
if(ver > 0) {
|
||||
G4cout << "<<< Geant4 Physics List simulation engine: QGSP_BERT"<<G4endl;
|
||||
G4cout <<G4endl;
|
||||
}
|
||||
|
||||
defaultCutValue = 0.7*CLHEP::mm;
|
||||
SetVerboseLevel(ver);
|
||||
|
||||
@@ -50,13 +50,6 @@
|
||||
|
||||
#include "globals.hh"
|
||||
#include "G4ios.hh"
|
||||
#include "G4ProcessManager.hh"
|
||||
#include "G4ProcessVector.hh"
|
||||
#include "G4ParticleTypes.hh"
|
||||
#include "G4ParticleTable.hh"
|
||||
|
||||
#include "G4Material.hh"
|
||||
#include "G4MaterialTable.hh"
|
||||
|
||||
#include "G4DecayPhysics.hh"
|
||||
#include "G4RadioactiveDecayPhysics.hh"
|
||||
@@ -71,9 +64,10 @@
|
||||
|
||||
QGSP_BERT_HP::QGSP_BERT_HP(G4int ver)
|
||||
{
|
||||
|
||||
G4cout << "<<< Geant4 Physics List simulation engine: QGSP_BERT_HP"<<G4endl;
|
||||
G4cout <<G4endl<<G4endl;
|
||||
if(ver > 0) {
|
||||
G4cout << "<<< Geant4 Physics List simulation engine: QGSP_BERT_HP"<<G4endl;
|
||||
G4cout <<G4endl;
|
||||
}
|
||||
|
||||
defaultCutValue = 0.7*CLHEP::mm;
|
||||
SetVerboseLevel(ver);
|
||||
|
||||
@@ -63,8 +63,10 @@
|
||||
|
||||
QGSP_BIC::QGSP_BIC(G4int ver)
|
||||
{
|
||||
G4cout << "<<< Geant4 Physics List simulation engine: QGSP_BIC"<<G4endl;
|
||||
G4cout <<G4endl;
|
||||
if(ver > 0) {
|
||||
G4cout << "<<< Geant4 Physics List simulation engine: QGSP_BIC"<<G4endl;
|
||||
G4cout <<G4endl;
|
||||
}
|
||||
|
||||
defaultCutValue = 0.7*CLHEP::mm;
|
||||
SetVerboseLevel(ver);
|
||||
|
||||
@@ -49,8 +49,10 @@
|
||||
|
||||
QGSP_BIC_AllHP::QGSP_BIC_AllHP(G4int ver)
|
||||
{
|
||||
G4cout << "<<< Geant4 Physics List simulation engine: QGSP_BIC_AllHP"<<G4endl;
|
||||
G4cout <<G4endl;
|
||||
if(ver > 0) {
|
||||
G4cout << "<<< Geant4 Physics List simulation engine: QGSP_BIC_AllHP"<<G4endl;
|
||||
G4cout <<G4endl;
|
||||
}
|
||||
|
||||
defaultCutValue = 0.7*CLHEP::mm;
|
||||
SetCutValue(0, "proton");
|
||||
|
||||
@@ -55,9 +55,10 @@
|
||||
|
||||
QGSP_BIC_HP::QGSP_BIC_HP(G4int ver)
|
||||
{
|
||||
G4cout << "<<< Geant4 Physics List simulation engine: QGSP_BIC_HP"<<G4endl;
|
||||
G4cout <<G4endl;
|
||||
|
||||
if(ver > 0) {
|
||||
G4cout << "<<< Geant4 Physics List simulation engine: QGSP_BIC_HP"<<G4endl;
|
||||
G4cout <<G4endl;
|
||||
}
|
||||
defaultCutValue = 0.7*CLHEP::mm;
|
||||
SetCutValue(0, "proton");
|
||||
SetVerboseLevel(ver);
|
||||
|
||||
@@ -46,13 +46,6 @@
|
||||
|
||||
#include "globals.hh"
|
||||
#include "G4ios.hh"
|
||||
#include "G4ProcessManager.hh"
|
||||
#include "G4ProcessVector.hh"
|
||||
#include "G4ParticleTypes.hh"
|
||||
#include "G4ParticleTable.hh"
|
||||
|
||||
#include "G4Material.hh"
|
||||
#include "G4MaterialTable.hh"
|
||||
|
||||
#include "G4DecayPhysics.hh"
|
||||
#include "G4EmStandardPhysics.hh"
|
||||
@@ -67,9 +60,10 @@
|
||||
|
||||
QGSP_FTFP_BERT::QGSP_FTFP_BERT(G4int ver)
|
||||
{
|
||||
|
||||
G4cout << "<<< Geant4 Physics List simulation engine: QGSP_FTFP_BERT"<<G4endl;
|
||||
G4cout <<G4endl;
|
||||
if(ver > 0) {
|
||||
G4cout << "<<< Geant4 Physics List simulation engine: QGSP_FTFP_BERT"<<G4endl;
|
||||
G4cout <<G4endl;
|
||||
}
|
||||
|
||||
defaultCutValue = 0.7*CLHEP::mm;
|
||||
SetVerboseLevel(ver);
|
||||
|
||||
@@ -45,13 +45,6 @@
|
||||
|
||||
#include "globals.hh"
|
||||
#include "G4ios.hh"
|
||||
#include "G4ProcessManager.hh"
|
||||
#include "G4ProcessVector.hh"
|
||||
#include "G4ParticleTypes.hh"
|
||||
#include "G4ParticleTable.hh"
|
||||
|
||||
#include "G4Material.hh"
|
||||
#include "G4MaterialTable.hh"
|
||||
|
||||
#include "G4DecayPhysics.hh"
|
||||
#include "G4EmStandardPhysics.hh"
|
||||
@@ -68,18 +61,15 @@
|
||||
|
||||
QGS_BIC::QGS_BIC(G4int ver)
|
||||
{
|
||||
// default cut value (1.0mm)
|
||||
// defaultCutValue = 1.0*CLHEP::mm;
|
||||
|
||||
G4cout << "<<< Geant4 Physics List simulation engine: QGS_BIC"<<G4endl;
|
||||
G4cout <<G4endl;
|
||||
|
||||
if(ver > 0) {
|
||||
G4cout << "<<< Geant4 Physics List simulation engine: QGS_BIC"<<G4endl;
|
||||
G4cout <<G4endl;
|
||||
G4WarnPLStatus exp;
|
||||
exp.Experimental("QGS_BIC");
|
||||
}
|
||||
defaultCutValue = 0.7*CLHEP::mm;
|
||||
SetVerboseLevel(ver);
|
||||
|
||||
G4WarnPLStatus exp;
|
||||
exp.Experimental("QGS_BIC");
|
||||
|
||||
// EM Physics
|
||||
RegisterPhysics( new G4EmStandardPhysics(ver) );
|
||||
|
||||
|
||||
@@ -51,7 +51,6 @@
|
||||
|
||||
#include "G4DecayPhysics.hh"
|
||||
#include "G4RadioactiveDecayPhysics.hh"
|
||||
#include "G4EmParameters.hh"
|
||||
#include "G4EmStandardPhysics.hh"
|
||||
#include "G4EmStandardPhysics_option4.hh"
|
||||
#include "G4EmExtraPhysics.hh"
|
||||
@@ -80,12 +79,12 @@ Shielding::Shielding(G4int verbose, const G4String& n_model,
|
||||
LEN_model="LEND";
|
||||
}
|
||||
|
||||
G4cout << "<<< Geant4 Physics List simulation engine: Shielding"
|
||||
<< HadrPhysVariant << G4endl;
|
||||
if ( LEN_model=="LEND" ) G4cout <<
|
||||
"<<< LEND will be used for low energy neutron and gamma projectiles"
|
||||
<< G4endl;
|
||||
|
||||
if(verbose > 0) {
|
||||
G4cout << "<<< Geant4 Physics List simulation engine: Shielding"
|
||||
<< HadrPhysVariant << G4endl;
|
||||
if ( LEN_model=="LEND" )
|
||||
G4cout << "<<< LEND will be used for low energy neutron and gamma projectiles" << G4endl;
|
||||
}
|
||||
defaultCutValue = 0.7*CLHEP::mm;
|
||||
SetCutValue(0, "proton");
|
||||
SetVerboseLevel(verbose);
|
||||
@@ -116,10 +115,12 @@ Shielding::Shielding(G4int verbose, const G4String& n_model,
|
||||
}
|
||||
else
|
||||
{
|
||||
G4cout << "Shielding Physics List: Warning!" <<G4endl;
|
||||
G4cout << "\"" << LEN_model
|
||||
<< "\" is not valid for the low energy neutron model." <<G4endl;
|
||||
G4cout << "Neutron HP package will be used." <<G4endl;
|
||||
if(verbose > 0) {
|
||||
G4cout << "Shielding Physics List: Warning!" <<G4endl;
|
||||
G4cout << "\"" << LEN_model
|
||||
<< "\" is not valid for the low energy neutron model." <<G4endl;
|
||||
G4cout << "Neutron HP package will be used." <<G4endl;
|
||||
}
|
||||
RegisterPhysics( new G4HadronElasticPhysicsHP(verbose) );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user