Import Geant4 10.5.0 source tree

This commit is contained in:
Gabriele Cosmo
2018-12-07 15:15:39 +01:00
parent 6aa23be517
commit db49709b53
11370 changed files with 187480 additions and 160142 deletions
@@ -23,7 +23,6 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4FTFPPiKBuilder.cc 103555 2017-04-18 09:04:37Z gcosmo $
//
//---------------------------------------------------------------------------
//
@@ -44,16 +43,15 @@
#include "G4ParticleDefinition.hh"
#include "G4ParticleTable.hh"
#include "G4ProcessManager.hh"
#include "G4PiNuclearCrossSection.hh"
#include "G4CrossSectionPairGG.hh"
#include "G4CrossSectionDataSetRegistry.hh"
#include "G4BGGPionInelasticXS.hh"
#include "G4HadronicParameters.hh"
G4FTFPPiKBuilder::
G4FTFPPiKBuilder(G4bool quasiElastic)
{
thePiData = new G4CrossSectionPairGG((G4PiNuclearCrossSection*)G4CrossSectionDataSetRegistry::Instance()->GetCrossSectionDataSet(G4PiNuclearCrossSection::Default_Name()), 91*GeV);
theMin = 4*GeV;
theMax = 100*TeV;
theMax = G4HadronicParameters::Instance()->GetMaxEnergy();
theModel = new G4TheoFSGenerator("FTFP");
theStringModel = new G4FTFModel;
@@ -72,7 +70,7 @@ G4FTFPPiKBuilder(G4bool quasiElastic)
theModel->SetTransport(theCascade);
theModel->SetMinEnergy(theMin);
theModel->SetMaxEnergy(100*TeV);
theModel->SetMaxEnergy(theMax);
}
G4FTFPPiKBuilder::~G4FTFPPiKBuilder()
@@ -88,7 +86,7 @@ Build(G4PionPlusInelasticProcess * aP)
{
theModel->SetMinEnergy(theMin);
theModel->SetMaxEnergy(theMax);
aP->AddDataSet(thePiData);
aP->AddDataSet( new G4BGGPionInelasticXS( G4PionPlus::Definition() ) );
aP->RegisterMe(theModel);
}
@@ -97,7 +95,7 @@ Build(G4PionMinusInelasticProcess * aP)
{
theModel->SetMinEnergy(theMin);
theModel->SetMaxEnergy(theMax);
aP->AddDataSet(thePiData);
aP->AddDataSet( new G4BGGPionInelasticXS( G4PionMinus::Definition() ) );
aP->RegisterMe(theModel);
}