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: G4BinaryPiKBuilder.cc 103555 2017-04-18 09:04:37Z gcosmo $
//
//---------------------------------------------------------------------------
//
@@ -42,12 +41,12 @@
#include "G4ParticleDefinition.hh"
#include "G4ParticleTable.hh"
#include "G4ProcessManager.hh"
#include "G4CrossSectionDataSetRegistry.hh"
#include "G4BGGPionInelasticXS.hh"
G4BinaryPiKBuilder::
G4BinaryPiKBuilder()
{
thePiData = (G4PiNuclearCrossSection*)G4CrossSectionDataSetRegistry::Instance()->GetCrossSectionDataSet(G4PiNuclearCrossSection::Default_Name());
theMin = 0*GeV;
theMax = 1.3*GeV;
theModel = new G4BinaryCascade();
@@ -60,6 +59,7 @@ Build(G4PionPlusInelasticProcess * aP)
{
theModel->SetMinEnergy(theMin);
theModel->SetMaxEnergy(theMax);
aP->AddDataSet( new G4BGGPionInelasticXS( G4PionPlus::Definition() ) );
aP->RegisterMe(theModel);
}
@@ -68,6 +68,7 @@ Build(G4PionMinusInelasticProcess * aP)
{
theModel->SetMinEnergy(theMin);
theModel->SetMaxEnergy(theMax);
aP->AddDataSet( new G4BGGPionInelasticXS( G4PionMinus::Definition() ) );
aP->RegisterMe(theModel);
}