Import Geant4 11.0.0.beta source tree
This commit is contained in:
@@ -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