Import Geant4 10.1.0 source tree
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: G4PhysListFactory.cc 68750 2013-04-05 10:19:04Z gcosmo $
|
||||
// $Id: G4PhysListFactory.cc 83413 2014-08-21 15:21:43Z gcosmo $
|
||||
//
|
||||
//---------------------------------------------------------------------------
|
||||
//
|
||||
@@ -33,6 +33,9 @@
|
||||
//
|
||||
// Modified:
|
||||
//
|
||||
// 2014.08.05 K.L.Genser used provision for Hadronic Physics Variant M in
|
||||
// Shielding for ShieldingM
|
||||
//
|
||||
//----------------------------------------------------------------------------
|
||||
//
|
||||
|
||||
@@ -54,6 +57,7 @@
|
||||
#include "QGSP_INCLXX.hh"
|
||||
#include "QGSP_INCLXX_HP.hh"
|
||||
#include "Shielding.hh"
|
||||
#include "NuBeam.hh"
|
||||
|
||||
#include "G4EmStandardPhysics.hh"
|
||||
#include "G4EmStandardPhysics_option1.hh"
|
||||
@@ -66,13 +70,13 @@
|
||||
G4PhysListFactory::G4PhysListFactory()
|
||||
: defName("FTFP_BERT"),verbose(1)
|
||||
{
|
||||
nlists_hadr = 18;
|
||||
G4String ss[18] = {
|
||||
nlists_hadr = 20;
|
||||
G4String ss[20] = {
|
||||
"FTFP_BERT","FTFP_BERT_TRV","FTFP_BERT_HP","FTFP_INCLXX",
|
||||
"FTFP_INCLXX_HP","FTF_BIC", "LBE","QBBC",
|
||||
"QGSP_BERT","QGSP_BERT_HP","QGSP_BIC","QGSP_BIC_HP",
|
||||
"QGSP_FTFP_BERT","QGSP_INCLXX","QGSP_INCLXX_HP","QGS_BIC",
|
||||
"Shielding","ShieldingLEND"};
|
||||
"Shielding","ShieldingLEND","ShieldingM","NuBeam"};
|
||||
for(size_t i=0; i<nlists_hadr; ++i) {
|
||||
listnames_hadr.push_back(ss[i]);
|
||||
}
|
||||
@@ -156,6 +160,8 @@ G4PhysListFactory::GetReferencePhysList(const G4String& name)
|
||||
else if(had_name == "QGS_BIC") {p = new QGS_BIC(verbose);}
|
||||
else if(had_name == "Shielding") {p = new Shielding(verbose);}
|
||||
else if(had_name == "ShieldingLEND") {p = new Shielding(verbose,"LEND");}
|
||||
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"
|
||||
|
||||
Reference in New Issue
Block a user