Import Geant4 10.5.0 source tree
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user