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: G4FTFBinaryPiKBuilder.cc 103555 2017-04-18 09:04:37Z gcosmo $
|
||||
//
|
||||
//---------------------------------------------------------------------------
|
||||
//
|
||||
@@ -44,14 +43,13 @@
|
||||
#include "G4ParticleDefinition.hh"
|
||||
#include "G4ParticleTable.hh"
|
||||
#include "G4ProcessManager.hh"
|
||||
#include "G4PiNuclearCrossSection.hh"
|
||||
#include "G4CrossSectionPairGG.hh"
|
||||
#include "G4CrossSectionDataSetRegistry.hh"
|
||||
#include "G4BGGPionInelasticXS.hh"
|
||||
#include "G4HadronicParameters.hh"
|
||||
|
||||
|
||||
G4FTFBinaryPiKBuilder::
|
||||
G4FTFBinaryPiKBuilder(G4bool quasiElastic)
|
||||
{
|
||||
thePiData = new G4CrossSectionPairGG((G4PiNuclearCrossSection*)G4CrossSectionDataSetRegistry::Instance()->GetCrossSectionDataSet(G4PiNuclearCrossSection::Default_Name()), 91*GeV);
|
||||
theMin = 4*GeV;
|
||||
theModel = new G4TheoFSGenerator("FTFB");
|
||||
|
||||
@@ -71,14 +69,12 @@ G4FTFBinaryPiKBuilder(G4bool quasiElastic)
|
||||
|
||||
theModel->SetTransport(theCascade);
|
||||
theModel->SetMinEnergy(theMin);
|
||||
theModel->SetMaxEnergy(100*TeV);
|
||||
theModel->SetMaxEnergy( G4HadronicParameters::Instance()->GetMaxEnergy() );
|
||||
}
|
||||
|
||||
G4FTFBinaryPiKBuilder:: ~G4FTFBinaryPiKBuilder()
|
||||
{
|
||||
delete theStringDecay;
|
||||
delete theStringModel;
|
||||
//delete theModel;
|
||||
if ( theQuasiElastic ) delete theQuasiElastic;
|
||||
}
|
||||
|
||||
@@ -86,7 +82,7 @@ void G4FTFBinaryPiKBuilder::
|
||||
Build(G4PionPlusInelasticProcess * aP)
|
||||
{
|
||||
theModel->SetMinEnergy(theMin);
|
||||
aP->AddDataSet(thePiData);
|
||||
aP->AddDataSet( new G4BGGPionInelasticXS( G4PionPlus::Definition() ) );
|
||||
aP->RegisterMe(theModel);
|
||||
}
|
||||
|
||||
@@ -94,7 +90,7 @@ void G4FTFBinaryPiKBuilder::
|
||||
Build(G4PionMinusInelasticProcess * aP)
|
||||
{
|
||||
theModel->SetMinEnergy(theMin);
|
||||
aP->AddDataSet(thePiData);
|
||||
aP->AddDataSet( new G4BGGPionInelasticXS( G4PionMinus::Definition() ) );
|
||||
aP->RegisterMe(theModel);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user