Import Geant4 10.4.0.beta source tree
This commit is contained in:
@@ -31,6 +31,7 @@
|
||||
// ClassName: G4AlphaBuilder
|
||||
//
|
||||
// Author: 2013 P. Arce
|
||||
// 12.04.2017 A.Dotti move to new design with base class
|
||||
//
|
||||
//----------------------------------------------------------------------------
|
||||
//
|
||||
@@ -58,7 +59,13 @@
|
||||
theAlphaInelastic=new G4AlphaInelasticProcess;
|
||||
}
|
||||
|
||||
G4AlphaBuilder::
|
||||
~G4AlphaBuilder()
|
||||
{}
|
||||
void G4AlphaBuilder::RegisterMe(G4PhysicsBuilderInterface* ab) {
|
||||
auto bld = dynamic_cast<G4VAlphaBuilder*>(ab);
|
||||
if ( bld != nullptr ) {
|
||||
theModelCollections.push_back(bld);
|
||||
} else {
|
||||
G4PhysicsBuilderInterface::RegisterMe(ab);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -38,10 +38,6 @@ G4AlphaPHPBuilder()
|
||||
theParticlePHPModel = 0;
|
||||
}
|
||||
|
||||
G4AlphaPHPBuilder::
|
||||
~G4AlphaPHPBuilder()
|
||||
{}
|
||||
|
||||
void G4AlphaPHPBuilder::
|
||||
Build(G4HadronElasticProcess *)
|
||||
{
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: G4AntiBarionBuilder.cc 81935 2014-06-06 15:41:42Z gcosmo $
|
||||
// $Id: G4AntiBarionBuilder.cc 103801 2017-04-27 13:59:03Z gcosmo $
|
||||
//
|
||||
//---------------------------------------------------------------------------
|
||||
//
|
||||
@@ -32,6 +32,7 @@
|
||||
// Author: 2011 J. Apostolakis
|
||||
//
|
||||
// Modified:
|
||||
// 12.04.2017 A.Dotti move to new design with base class
|
||||
//
|
||||
//----------------------------------------------------------------------------
|
||||
//
|
||||
@@ -51,17 +52,6 @@ G4AntiBarionBuilder(): wasActivated(false)
|
||||
theAntiAlphaInelastic=new G4AntiAlphaInelasticProcess;
|
||||
}
|
||||
|
||||
G4AntiBarionBuilder::
|
||||
~G4AntiBarionBuilder(){
|
||||
/*
|
||||
delete theAntiProtonInelastic;
|
||||
delete theAntiNeutronInelastic;
|
||||
delete theAntiDeuteronInelastic;
|
||||
delete theAntiTritonInelastic;
|
||||
delete theAntiHe3Inelastic;
|
||||
delete theAntiAlphaInelastic;
|
||||
*/
|
||||
}
|
||||
|
||||
void G4AntiBarionBuilder::
|
||||
Build()
|
||||
@@ -98,3 +88,12 @@ Build()
|
||||
theProcMan->AddDiscreteProcess(theAntiAlphaInelastic);
|
||||
}
|
||||
|
||||
void G4AntiBarionBuilder::RegisterMe(G4PhysicsBuilderInterface* aB ) {
|
||||
auto bld = dynamic_cast<G4VAntiBarionBuilder*>(aB);
|
||||
if ( bld != nullptr ) {
|
||||
theModelCollections.push_back(bld);
|
||||
} else {
|
||||
G4PhysicsBuilderInterface::RegisterMe(aB);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: G4BertiniKaonBuilder.cc 81935 2014-06-06 15:41:42Z gcosmo $
|
||||
// $Id: G4BertiniKaonBuilder.cc 103555 2017-04-18 09:04:37Z gcosmo $
|
||||
//
|
||||
//---------------------------------------------------------------------------
|
||||
//
|
||||
@@ -62,15 +62,6 @@ G4BertiniKaonBuilder()
|
||||
theModel->SetMaxEnergy(theMax);
|
||||
}
|
||||
|
||||
G4BertiniKaonBuilder::~G4BertiniKaonBuilder()
|
||||
{
|
||||
/*
|
||||
delete ChipsKaonMinus;
|
||||
delete ChipsKaonPlus;
|
||||
delete ChipsKaonZero;
|
||||
*/
|
||||
}
|
||||
|
||||
void G4BertiniKaonBuilder::
|
||||
Build(G4KaonPlusInelasticProcess * aP)
|
||||
{
|
||||
@@ -107,7 +98,3 @@ Build(G4KaonZeroSInelasticProcess * aP)
|
||||
aP->AddDataSet(ChipsKaonZero);
|
||||
}
|
||||
|
||||
void G4BertiniKaonBuilder::
|
||||
Build(G4HadronElasticProcess * ) {}
|
||||
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: G4BertiniNeutronBuilder.cc 66892 2013-01-17 10:57:59Z gunter $
|
||||
// $Id: G4BertiniNeutronBuilder.cc 103555 2017-04-18 09:04:37Z gcosmo $
|
||||
//
|
||||
//---------------------------------------------------------------------------
|
||||
//
|
||||
@@ -33,6 +33,7 @@
|
||||
//
|
||||
// Modified:
|
||||
// 02.04.2009 V.Ivanchenko remove add cross section, string builderis reponsible
|
||||
// 12.04.2017 A.Dotti move to new design with base class
|
||||
//
|
||||
//----------------------------------------------------------------------------
|
||||
//
|
||||
@@ -58,24 +59,5 @@ Build(G4NeutronInelasticProcess * aP)
|
||||
aP->RegisterMe(theModel);
|
||||
}
|
||||
|
||||
G4BertiniNeutronBuilder::
|
||||
~G4BertiniNeutronBuilder()
|
||||
{
|
||||
}
|
||||
|
||||
void G4BertiniNeutronBuilder::
|
||||
Build(G4HadronElasticProcess * )
|
||||
{
|
||||
}
|
||||
|
||||
void G4BertiniNeutronBuilder::
|
||||
Build(G4HadronFissionProcess * )
|
||||
{
|
||||
}
|
||||
|
||||
void G4BertiniNeutronBuilder::
|
||||
Build(G4HadronCaptureProcess * )
|
||||
{
|
||||
}
|
||||
|
||||
// 2002 by J.P. Wellisch
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: G4BertiniPiKBuilder.cc 83699 2014-09-10 07:18:25Z gcosmo $
|
||||
// $Id: G4BertiniPiKBuilder.cc 103555 2017-04-18 09:04:37Z gcosmo $
|
||||
//
|
||||
//---------------------------------------------------------------------------
|
||||
//
|
||||
@@ -33,6 +33,7 @@
|
||||
//
|
||||
// Modified:
|
||||
// 02.04.2009 V.Ivanchenko remove add cross section, string builderis reponsible
|
||||
// 12.04.2017 A.Dotti move to new design with base class
|
||||
//
|
||||
//----------------------------------------------------------------------------
|
||||
//
|
||||
@@ -54,10 +55,6 @@ G4BertiniPiKBuilder()
|
||||
theModel->SetMaxEnergy(theMax);
|
||||
}
|
||||
|
||||
G4BertiniPiKBuilder::~G4BertiniPiKBuilder()
|
||||
{
|
||||
}
|
||||
|
||||
void G4BertiniPiKBuilder::
|
||||
Build(G4PionPlusInelasticProcess * aP)
|
||||
{
|
||||
@@ -74,9 +71,6 @@ Build(G4PionMinusInelasticProcess * aP)
|
||||
theModel->SetMaxEnergy(theMax);
|
||||
}
|
||||
|
||||
void G4BertiniPiKBuilder::
|
||||
Build(G4HadronElasticProcess * ) {}
|
||||
|
||||
void G4BertiniPiKBuilder::
|
||||
Build(G4KaonPlusInelasticProcess * aP)
|
||||
{
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: G4BertiniPionBuilder.cc 83699 2014-09-10 07:18:25Z gcosmo $
|
||||
// $Id: G4BertiniPionBuilder.cc 103555 2017-04-18 09:04:37Z gcosmo $
|
||||
//
|
||||
//---------------------------------------------------------------------------
|
||||
//
|
||||
@@ -34,6 +34,7 @@
|
||||
//
|
||||
// Modified:
|
||||
// 02.04.2009 V.Ivanchenko remove add cross section, string builderis reponsible
|
||||
// 12.04.2017 A.Dotti move to new design with base class
|
||||
//
|
||||
//----------------------------------------------------------------------------
|
||||
//
|
||||
@@ -55,10 +56,6 @@ G4BertiniPionBuilder()
|
||||
theModel->SetMaxEnergy(theMax);
|
||||
}
|
||||
|
||||
G4BertiniPionBuilder::~G4BertiniPionBuilder()
|
||||
{
|
||||
}
|
||||
|
||||
void G4BertiniPionBuilder::
|
||||
Build(G4PionPlusInelasticProcess * aP)
|
||||
{
|
||||
@@ -75,7 +72,5 @@ Build(G4PionMinusInelasticProcess * aP)
|
||||
theModel->SetMaxEnergy(theMax);
|
||||
}
|
||||
|
||||
void G4BertiniPionBuilder::
|
||||
Build(G4HadronElasticProcess * ) {}
|
||||
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: G4BertiniProtonBuilder.cc 66892 2013-01-17 10:57:59Z gunter $
|
||||
// $Id: G4BertiniProtonBuilder.cc 103555 2017-04-18 09:04:37Z gcosmo $
|
||||
//
|
||||
//---------------------------------------------------------------------------
|
||||
//
|
||||
@@ -33,6 +33,7 @@
|
||||
//
|
||||
// Modified:
|
||||
// 02.04.2009 V.Ivanchenko remove add cross section, string builderis reponsible
|
||||
// 12.04.2017 A.Dotti move to new design with base class
|
||||
//
|
||||
//----------------------------------------------------------------------------
|
||||
//
|
||||
@@ -50,16 +51,6 @@ G4BertiniProtonBuilder()
|
||||
theModel = new G4CascadeInterface;
|
||||
}
|
||||
|
||||
G4BertiniProtonBuilder::
|
||||
~G4BertiniProtonBuilder()
|
||||
{
|
||||
}
|
||||
|
||||
void G4BertiniProtonBuilder::
|
||||
Build(G4HadronElasticProcess * )
|
||||
{
|
||||
}
|
||||
|
||||
void G4BertiniProtonBuilder::
|
||||
Build(G4ProtonInelasticProcess * aP)
|
||||
{
|
||||
|
||||
@@ -33,6 +33,7 @@
|
||||
//
|
||||
// Modified:
|
||||
// 02.04.2009 V.Ivanchenko remove add cross section, string builderis reponsible
|
||||
// 12.04.2017 A.Dotti move to new design with base class
|
||||
//
|
||||
//----------------------------------------------------------------------------
|
||||
//
|
||||
@@ -58,14 +59,4 @@ Build(G4AlphaInelasticProcess * aP)
|
||||
aP->RegisterMe(theModel);
|
||||
}
|
||||
|
||||
G4BinaryAlphaBuilder::
|
||||
~G4BinaryAlphaBuilder()
|
||||
{
|
||||
}
|
||||
|
||||
void G4BinaryAlphaBuilder::
|
||||
Build(G4HadronElasticProcess * )
|
||||
{
|
||||
}
|
||||
|
||||
// 2002 by J.P. Wellisch
|
||||
|
||||
@@ -58,14 +58,4 @@ Build(G4DeuteronInelasticProcess * aP)
|
||||
aP->RegisterMe(theModel);
|
||||
}
|
||||
|
||||
G4BinaryDeuteronBuilder::
|
||||
~G4BinaryDeuteronBuilder()
|
||||
{
|
||||
}
|
||||
|
||||
void G4BinaryDeuteronBuilder::
|
||||
Build(G4HadronElasticProcess * )
|
||||
{
|
||||
}
|
||||
|
||||
// 2002 by J.P. Wellisch
|
||||
|
||||
@@ -58,14 +58,4 @@ Build(G4He3InelasticProcess * aP)
|
||||
aP->RegisterMe(theModel);
|
||||
}
|
||||
|
||||
G4BinaryHe3Builder::
|
||||
~G4BinaryHe3Builder()
|
||||
{
|
||||
}
|
||||
|
||||
void G4BinaryHe3Builder::
|
||||
Build(G4HadronElasticProcess * )
|
||||
{
|
||||
}
|
||||
|
||||
// 2002 by J.P. Wellisch
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: G4BinaryNeutronBuilder.cc 66892 2013-01-17 10:57:59Z gunter $
|
||||
// $Id: G4BinaryNeutronBuilder.cc 103555 2017-04-18 09:04:37Z gcosmo $
|
||||
//
|
||||
//---------------------------------------------------------------------------
|
||||
//
|
||||
@@ -32,7 +32,8 @@
|
||||
// Author: 2002 H.P. Wellisch
|
||||
//
|
||||
// Modified:
|
||||
// 02.04.2009 V.Ivanchenko remove add cross section, string builderis reponsible
|
||||
// 02.04.2009 V.Ivanchenko remove add cross section, string builderis reponsible
|
||||
// 12.04.2017 A.Dotti move to new design with base class
|
||||
//
|
||||
//----------------------------------------------------------------------------
|
||||
//
|
||||
@@ -58,23 +59,4 @@ G4BinaryNeutronBuilder()
|
||||
aP->RegisterMe(theModel);
|
||||
}
|
||||
|
||||
G4BinaryNeutronBuilder::~G4BinaryNeutronBuilder()
|
||||
{
|
||||
}
|
||||
|
||||
void G4BinaryNeutronBuilder::
|
||||
Build(G4HadronElasticProcess * )
|
||||
{
|
||||
}
|
||||
|
||||
void G4BinaryNeutronBuilder::
|
||||
Build(G4HadronFissionProcess * )
|
||||
{
|
||||
}
|
||||
|
||||
void G4BinaryNeutronBuilder::
|
||||
Build(G4HadronCaptureProcess * )
|
||||
{
|
||||
}
|
||||
|
||||
// 2002 by J.P. Wellisch
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: G4BinaryPiKBuilder.cc 83699 2014-09-10 07:18:25Z gcosmo $
|
||||
// $Id: G4BinaryPiKBuilder.cc 103555 2017-04-18 09:04:37Z gcosmo $
|
||||
//
|
||||
//---------------------------------------------------------------------------
|
||||
//
|
||||
@@ -33,6 +33,7 @@
|
||||
//
|
||||
// Modified:
|
||||
// 02.04.2009 V.Ivanchenko remove add cross section, string builderis reponsible
|
||||
// 12.04.2017 A.Dotti move to new design with base class
|
||||
//
|
||||
//----------------------------------------------------------------------------
|
||||
//
|
||||
@@ -54,14 +55,6 @@ G4BinaryPiKBuilder()
|
||||
theModel->SetMaxEnergy(theMax);
|
||||
}
|
||||
|
||||
G4BinaryPiKBuilder::
|
||||
~G4BinaryPiKBuilder()
|
||||
{
|
||||
}
|
||||
|
||||
void G4BinaryPiKBuilder::
|
||||
Build(G4HadronElasticProcess * ) {}
|
||||
|
||||
void G4BinaryPiKBuilder::
|
||||
Build(G4PionPlusInelasticProcess * aP)
|
||||
{
|
||||
@@ -78,24 +71,4 @@ Build(G4PionMinusInelasticProcess * aP)
|
||||
aP->RegisterMe(theModel);
|
||||
}
|
||||
|
||||
void G4BinaryPiKBuilder::
|
||||
Build(G4KaonPlusInelasticProcess * )
|
||||
{
|
||||
}
|
||||
|
||||
void G4BinaryPiKBuilder::
|
||||
Build(G4KaonMinusInelasticProcess * )
|
||||
{
|
||||
}
|
||||
|
||||
void G4BinaryPiKBuilder::
|
||||
Build(G4KaonZeroLInelasticProcess * )
|
||||
{
|
||||
}
|
||||
|
||||
void G4BinaryPiKBuilder::
|
||||
Build(G4KaonZeroSInelasticProcess * )
|
||||
{
|
||||
}
|
||||
|
||||
// 2002 by J.P. Wellisch
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: G4BinaryPionBuilder.cc 83699 2014-09-10 07:18:25Z gcosmo $
|
||||
// $Id: G4BinaryPionBuilder.cc 103555 2017-04-18 09:04:37Z gcosmo $
|
||||
//
|
||||
//---------------------------------------------------------------------------
|
||||
//
|
||||
@@ -31,6 +31,8 @@
|
||||
//
|
||||
// Author: 2011 Gunter Folger
|
||||
//
|
||||
// Modified:
|
||||
// 12.04.2017 A.Dotti move to new design with base class
|
||||
//
|
||||
//----------------------------------------------------------------------------
|
||||
//
|
||||
@@ -56,14 +58,6 @@ G4BinaryPionBuilder()
|
||||
theModel->SetMaxEnergy(theMax);
|
||||
}
|
||||
|
||||
G4BinaryPionBuilder::
|
||||
~G4BinaryPionBuilder()
|
||||
{
|
||||
}
|
||||
|
||||
void G4BinaryPionBuilder::
|
||||
Build(G4HadronElasticProcess * ) {}
|
||||
|
||||
void G4BinaryPionBuilder::
|
||||
Build(G4PionPlusInelasticProcess * aP)
|
||||
{
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: G4BinaryProtonBuilder.cc 66892 2013-01-17 10:57:59Z gunter $
|
||||
// $Id: G4BinaryProtonBuilder.cc 103555 2017-04-18 09:04:37Z gcosmo $
|
||||
//
|
||||
//---------------------------------------------------------------------------
|
||||
//
|
||||
@@ -58,14 +58,4 @@ Build(G4ProtonInelasticProcess * aP)
|
||||
aP->RegisterMe(theModel);
|
||||
}
|
||||
|
||||
G4BinaryProtonBuilder::
|
||||
~G4BinaryProtonBuilder()
|
||||
{
|
||||
}
|
||||
|
||||
void G4BinaryProtonBuilder::
|
||||
Build(G4HadronElasticProcess * )
|
||||
{
|
||||
}
|
||||
|
||||
// 2002 by J.P. Wellisch
|
||||
|
||||
@@ -33,6 +33,7 @@
|
||||
//
|
||||
// Modified:
|
||||
// 02.04.2009 V.Ivanchenko remove add cross section, string builderis reponsible
|
||||
// 12.04.2017 A.Dotti move to new design with base class
|
||||
//
|
||||
//----------------------------------------------------------------------------
|
||||
//
|
||||
@@ -58,14 +59,4 @@ Build(G4TritonInelasticProcess * aP)
|
||||
aP->RegisterMe(theModel);
|
||||
}
|
||||
|
||||
G4BinaryTritonBuilder::
|
||||
~G4BinaryTritonBuilder()
|
||||
{
|
||||
}
|
||||
|
||||
void G4BinaryTritonBuilder::
|
||||
Build(G4HadronElasticProcess * )
|
||||
{
|
||||
}
|
||||
|
||||
// 2002 by J.P. Wellisch
|
||||
|
||||
@@ -32,6 +32,8 @@
|
||||
//
|
||||
// Author: 2013 P. Arce
|
||||
//
|
||||
// Modified
|
||||
// 12.04.2017 A.Dotti move to new design with base class
|
||||
//----------------------------------------------------------------------------
|
||||
//
|
||||
#include "G4DeuteronBuilder.hh"
|
||||
@@ -58,7 +60,11 @@
|
||||
theDeuteronInelastic=new G4DeuteronInelasticProcess;
|
||||
}
|
||||
|
||||
G4DeuteronBuilder::
|
||||
~G4DeuteronBuilder()
|
||||
{}
|
||||
|
||||
void G4DeuteronBuilder::RegisterMe(G4PhysicsBuilderInterface* aB) {
|
||||
auto bld = dynamic_cast<G4VDeuteronBuilder*>(aB);
|
||||
if ( bld != nullptr ) {
|
||||
theModelCollections.push_back(bld);
|
||||
} else {
|
||||
G4PhysicsBuilderInterface::RegisterMe(aB);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,10 +38,6 @@ G4DeuteronPHPBuilder()
|
||||
theParticlePHPModel = 0;
|
||||
}
|
||||
|
||||
G4DeuteronPHPBuilder::
|
||||
~G4DeuteronPHPBuilder()
|
||||
{}
|
||||
|
||||
void G4DeuteronPHPBuilder::
|
||||
Build(G4HadronElasticProcess *)
|
||||
{
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: G4FTFBinaryNeutronBuilder.cc 83616 2014-09-04 13:30:16Z gcosmo $
|
||||
// $Id: G4FTFBinaryNeutronBuilder.cc 103555 2017-04-18 09:04:37Z gcosmo $
|
||||
//
|
||||
//---------------------------------------------------------------------------
|
||||
//
|
||||
@@ -35,6 +35,7 @@
|
||||
// 18.11.2010 G.Folger, use G4CrossSectionPairGG for relativistic rise of cross
|
||||
// section at high energies.
|
||||
// 30.03.2009 V.Ivanchenko create cross section by new
|
||||
// 12.04.2017 A.Dotti move to new design with base class
|
||||
//
|
||||
//----------------------------------------------------------------------------
|
||||
//
|
||||
@@ -78,21 +79,6 @@ G4FTFBinaryNeutronBuilder::
|
||||
if ( theQuasiElastic ) delete theQuasiElastic;
|
||||
}
|
||||
|
||||
void G4FTFBinaryNeutronBuilder::
|
||||
Build(G4HadronElasticProcess * )
|
||||
{
|
||||
}
|
||||
|
||||
void G4FTFBinaryNeutronBuilder::
|
||||
Build(G4HadronFissionProcess * )
|
||||
{
|
||||
}
|
||||
|
||||
void G4FTFBinaryNeutronBuilder::
|
||||
Build(G4HadronCaptureProcess * )
|
||||
{
|
||||
}
|
||||
|
||||
void G4FTFBinaryNeutronBuilder::
|
||||
Build(G4NeutronInelasticProcess * aP)
|
||||
{
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: G4FTFBinaryPiKBuilder.cc 83699 2014-09-10 07:18:25Z gcosmo $
|
||||
// $Id: G4FTFBinaryPiKBuilder.cc 103555 2017-04-18 09:04:37Z gcosmo $
|
||||
//
|
||||
//---------------------------------------------------------------------------
|
||||
//
|
||||
@@ -35,6 +35,7 @@
|
||||
// 18.11.2010 G.Folger, use G4CrossSectionPairGG for relativistic rise of cross
|
||||
// section at high energies.
|
||||
// 30.03.2009 V.Ivanchenko create cross section by new
|
||||
// 12.04.2017 A.Dotti move to new design with base class
|
||||
//
|
||||
//----------------------------------------------------------------------------
|
||||
//
|
||||
@@ -81,9 +82,6 @@ G4FTFBinaryPiKBuilder:: ~G4FTFBinaryPiKBuilder()
|
||||
if ( theQuasiElastic ) delete theQuasiElastic;
|
||||
}
|
||||
|
||||
void G4FTFBinaryPiKBuilder::
|
||||
Build(G4HadronElasticProcess * ) {}
|
||||
|
||||
void G4FTFBinaryPiKBuilder::
|
||||
Build(G4PionPlusInelasticProcess * aP)
|
||||
{
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: G4FTFBinaryPionBuilder.cc 83699 2014-09-10 07:18:25Z gcosmo $
|
||||
// $Id: G4FTFBinaryPionBuilder.cc 103555 2017-04-18 09:04:37Z gcosmo $
|
||||
//
|
||||
//---------------------------------------------------------------------------
|
||||
//
|
||||
@@ -82,9 +82,6 @@ G4FTFBinaryPionBuilder:: ~G4FTFBinaryPionBuilder()
|
||||
if ( theQuasiElastic ) delete theQuasiElastic;
|
||||
}
|
||||
|
||||
void G4FTFBinaryPionBuilder::
|
||||
Build(G4HadronElasticProcess * ) {}
|
||||
|
||||
void G4FTFBinaryPionBuilder::
|
||||
Build(G4PionPlusInelasticProcess * aP)
|
||||
{
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: G4FTFBinaryProtonBuilder.cc 83616 2014-09-04 13:30:16Z gcosmo $
|
||||
// $Id: G4FTFBinaryProtonBuilder.cc 103555 2017-04-18 09:04:37Z gcosmo $
|
||||
//
|
||||
//---------------------------------------------------------------------------
|
||||
//
|
||||
@@ -89,8 +89,3 @@ G4FTFBinaryProtonBuilder::
|
||||
//delete theModel;
|
||||
if ( theQuasiElastic ) delete theQuasiElastic;
|
||||
}
|
||||
|
||||
void G4FTFBinaryProtonBuilder::
|
||||
Build(G4HadronElasticProcess * )
|
||||
{
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: G4FTFPAntiBarionBuilder.cc 81935 2014-06-06 15:41:42Z gcosmo $
|
||||
// $Id: G4FTFPAntiBarionBuilder.cc 103555 2017-04-18 09:04:37Z gcosmo $
|
||||
// GEANT4 tag $Name: $
|
||||
//
|
||||
//---------------------------------------------------------------------------
|
||||
@@ -86,9 +86,6 @@ G4FTFPAntiBarionBuilder::~G4FTFPAntiBarionBuilder()
|
||||
//delete theAntiNucleonData;
|
||||
}
|
||||
|
||||
void G4FTFPAntiBarionBuilder::
|
||||
Build(G4HadronElasticProcess * ) {}
|
||||
|
||||
void G4FTFPAntiBarionBuilder::
|
||||
Build(G4AntiProtonInelasticProcess * aP)
|
||||
{
|
||||
|
||||
@@ -28,6 +28,7 @@
|
||||
//---------------------------------------------------------------------------
|
||||
//
|
||||
// Modified:
|
||||
// 12.04.2017 A.Dotti move to new design with base class
|
||||
//
|
||||
//----------------------------------------------------------------------------
|
||||
//
|
||||
@@ -73,9 +74,6 @@ G4FTFPKaonBuilder::~G4FTFPKaonBuilder()
|
||||
delete theLund;
|
||||
}
|
||||
|
||||
void G4FTFPKaonBuilder::
|
||||
Build(G4HadronElasticProcess * ) {}
|
||||
|
||||
void G4FTFPKaonBuilder::
|
||||
Build(G4KaonPlusInelasticProcess * aP)
|
||||
{
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: G4FTFPNeutronBuilder.cc 81935 2014-06-06 15:41:42Z gcosmo $
|
||||
// $Id: G4FTFPNeutronBuilder.cc 103555 2017-04-18 09:04:37Z gcosmo $
|
||||
//
|
||||
//---------------------------------------------------------------------------
|
||||
//
|
||||
@@ -35,6 +35,7 @@
|
||||
// 18.11.2010 G.Folger, use G4CrossSectionPairGG for relativistic rise of cross
|
||||
// section at high energies.
|
||||
// 30.03.2009 V.Ivanchenko create cross section by new
|
||||
// 12.04.2017 A.Dotti move to new design with base class
|
||||
//
|
||||
//----------------------------------------------------------------------------
|
||||
//
|
||||
@@ -81,21 +82,6 @@ G4FTFPNeutronBuilder::
|
||||
delete theLund;
|
||||
}
|
||||
|
||||
void G4FTFPNeutronBuilder::
|
||||
Build(G4HadronElasticProcess * )
|
||||
{
|
||||
}
|
||||
|
||||
void G4FTFPNeutronBuilder::
|
||||
Build(G4HadronFissionProcess * )
|
||||
{
|
||||
}
|
||||
|
||||
void G4FTFPNeutronBuilder::
|
||||
Build(G4HadronCaptureProcess * )
|
||||
{
|
||||
}
|
||||
|
||||
void G4FTFPNeutronBuilder::
|
||||
Build(G4NeutronInelasticProcess * aP)
|
||||
{
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: G4FTFPPiKBuilder.cc 83699 2014-09-10 07:18:25Z gcosmo $
|
||||
// $Id: G4FTFPPiKBuilder.cc 103555 2017-04-18 09:04:37Z gcosmo $
|
||||
//
|
||||
//---------------------------------------------------------------------------
|
||||
//
|
||||
@@ -35,6 +35,7 @@
|
||||
// 18.11.2010 G.Folger, use G4CrossSectionPairGG for relativistic rise of cross
|
||||
// section at high energies.
|
||||
// 30.03.2009 V.Ivanchenko create cross section by new
|
||||
// 12.04.2017 A.Dotti move to new design with base class
|
||||
//
|
||||
//----------------------------------------------------------------------------
|
||||
//
|
||||
@@ -82,9 +83,6 @@ G4FTFPPiKBuilder::~G4FTFPPiKBuilder()
|
||||
delete theLund;
|
||||
}
|
||||
|
||||
void G4FTFPPiKBuilder::
|
||||
Build(G4HadronElasticProcess * ) {}
|
||||
|
||||
void G4FTFPPiKBuilder::
|
||||
Build(G4PionPlusInelasticProcess * aP)
|
||||
{
|
||||
|
||||
@@ -28,6 +28,7 @@
|
||||
//---------------------------------------------------------------------------
|
||||
//
|
||||
// Modified:
|
||||
// 12.04.2017 A.Dotti move to new design with base class
|
||||
//
|
||||
//----------------------------------------------------------------------------
|
||||
//
|
||||
@@ -75,9 +76,6 @@ G4FTFPPionBuilder::~G4FTFPPionBuilder()
|
||||
delete theLund;
|
||||
}
|
||||
|
||||
void G4FTFPPionBuilder::
|
||||
Build(G4HadronElasticProcess * ) {}
|
||||
|
||||
void G4FTFPPionBuilder::
|
||||
Build(G4PionPlusInelasticProcess * aP)
|
||||
{
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: G4FTFPProtonBuilder.cc 81935 2014-06-06 15:41:42Z gcosmo $
|
||||
// $Id: G4FTFPProtonBuilder.cc 103555 2017-04-18 09:04:37Z gcosmo $
|
||||
//
|
||||
//---------------------------------------------------------------------------
|
||||
//
|
||||
@@ -90,9 +90,4 @@ G4FTFPProtonBuilder::
|
||||
delete theLund;
|
||||
}
|
||||
|
||||
void G4FTFPProtonBuilder::
|
||||
Build(G4HadronElasticProcess * )
|
||||
{
|
||||
}
|
||||
|
||||
// 2002 by J.P. Wellisch
|
||||
|
||||
@@ -32,6 +32,9 @@
|
||||
//
|
||||
// Author: 2013 P. Arce
|
||||
//
|
||||
// Modified
|
||||
// 12.04.2017 A.Dotti move to new design with base class
|
||||
//
|
||||
//----------------------------------------------------------------------------
|
||||
//
|
||||
#include "G4He3Builder.hh"
|
||||
@@ -58,7 +61,11 @@
|
||||
theHe3Inelastic=new G4He3InelasticProcess;
|
||||
}
|
||||
|
||||
G4He3Builder::
|
||||
~G4He3Builder()
|
||||
{}
|
||||
|
||||
void G4He3Builder::RegisterMe(G4PhysicsBuilderInterface* aB) {
|
||||
auto bld = dynamic_cast<G4VHe3Builder*>(aB);
|
||||
if ( bld != nullptr ) {
|
||||
theModelCollections.push_back(bld);
|
||||
} else {
|
||||
G4PhysicsBuilderInterface::RegisterMe(aB);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,10 +38,6 @@ G4He3PHPBuilder()
|
||||
theParticlePHPModel = 0;
|
||||
}
|
||||
|
||||
G4He3PHPBuilder::
|
||||
~G4He3PHPBuilder()
|
||||
{}
|
||||
|
||||
void G4He3PHPBuilder::
|
||||
Build(G4HadronElasticProcess *)
|
||||
{
|
||||
|
||||
@@ -63,27 +63,5 @@ Build(G4NeutronInelasticProcess * aP)
|
||||
aP->RegisterMe(theModel);
|
||||
aP->AddDataSet((G4NeutronInelasticXS*)G4CrossSectionDataSetRegistry::Instance()->GetCrossSectionDataSet(G4NeutronInelasticXS::Default_Name()));
|
||||
}
|
||||
|
||||
G4INCLXXNeutronBuilder::
|
||||
~G4INCLXXNeutronBuilder()
|
||||
{
|
||||
//delete theModel;
|
||||
}
|
||||
|
||||
void G4INCLXXNeutronBuilder::
|
||||
Build(G4HadronElasticProcess * )
|
||||
{
|
||||
}
|
||||
|
||||
void G4INCLXXNeutronBuilder::
|
||||
Build(G4HadronFissionProcess * )
|
||||
{
|
||||
}
|
||||
|
||||
void G4INCLXXNeutronBuilder::
|
||||
Build(G4HadronCaptureProcess * )
|
||||
{
|
||||
}
|
||||
|
||||
// 2011 by P. Kaitaniemi
|
||||
|
||||
|
||||
@@ -41,12 +41,6 @@
|
||||
thePiData = new G4PiNuclearCrossSection();
|
||||
}
|
||||
|
||||
G4INCLXXPionBuilder::
|
||||
~G4INCLXXPionBuilder()
|
||||
{
|
||||
//delete theModel;
|
||||
}
|
||||
|
||||
void G4INCLXXPionBuilder::
|
||||
Build(G4PionPlusInelasticProcess * aP)
|
||||
{
|
||||
@@ -65,8 +59,6 @@
|
||||
theModel->SetMaxEnergy(theMax);
|
||||
}
|
||||
|
||||
void G4INCLXXPionBuilder::
|
||||
Build(G4HadronElasticProcess * ) {}
|
||||
|
||||
// 2011 by P. Kaitaniemi
|
||||
|
||||
|
||||
@@ -47,17 +47,6 @@ G4INCLXXProtonBuilder()
|
||||
theModel = new G4INCLXXInterface(thePreCompoundModel);
|
||||
}
|
||||
|
||||
G4INCLXXProtonBuilder::
|
||||
~G4INCLXXProtonBuilder()
|
||||
{
|
||||
//delete theModel;
|
||||
}
|
||||
|
||||
void G4INCLXXProtonBuilder::
|
||||
Build(G4HadronElasticProcess * )
|
||||
{
|
||||
}
|
||||
|
||||
void G4INCLXXProtonBuilder::
|
||||
Build(G4ProtonInelasticProcess * aP)
|
||||
{
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: G4KaonBuilder.cc 81935 2014-06-06 15:41:42Z gcosmo $
|
||||
// $Id: G4KaonBuilder.cc 103801 2017-04-27 13:59:03Z gcosmo $
|
||||
//
|
||||
//---------------------------------------------------------------------------
|
||||
//
|
||||
@@ -33,6 +33,7 @@
|
||||
// devired from G4PiKBuilder
|
||||
//
|
||||
// Modified:
|
||||
// 12.04.2017 A.Dotti move to new design with base class
|
||||
//
|
||||
//----------------------------------------------------------------------------
|
||||
//
|
||||
@@ -50,10 +51,6 @@ G4KaonBuilder(): wasActivated(false)
|
||||
theKaonZeroSInelastic=new G4KaonZeroSInelasticProcess;
|
||||
}
|
||||
|
||||
G4KaonBuilder::
|
||||
~G4KaonBuilder()
|
||||
{}
|
||||
|
||||
void G4KaonBuilder::
|
||||
Build()
|
||||
{
|
||||
@@ -81,3 +78,13 @@ Build()
|
||||
theProcMan = G4KaonZeroShort::KaonZeroShort()->GetProcessManager();
|
||||
theProcMan->AddDiscreteProcess(theKaonZeroSInelastic);
|
||||
}
|
||||
|
||||
void G4KaonBuilder::RegisterMe(G4PhysicsBuilderInterface* aB) {
|
||||
auto bld = dynamic_cast<G4VKaonBuilder*>(aB);
|
||||
if ( bld != nullptr ) {
|
||||
theModelCollections.push_back(bld);
|
||||
} else {
|
||||
G4PhysicsBuilderInterface::RegisterMe(aB);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -33,6 +33,7 @@
|
||||
// Modified:
|
||||
// 16.11.2005 G.Folger: don't keep processes as data members, but new these
|
||||
// 13.06.2006 G.Folger: (re)move elastic scatterring
|
||||
// 12.04.2017 A.Dotti move to new design with base class
|
||||
//
|
||||
//----------------------------------------------------------------------------
|
||||
//
|
||||
@@ -53,10 +54,6 @@ G4NeutronBuilder(G4bool fissionFlag): wasActivated(false), isFissionActivated(fi
|
||||
}
|
||||
}
|
||||
|
||||
G4NeutronBuilder::
|
||||
~G4NeutronBuilder()
|
||||
{}
|
||||
|
||||
void G4NeutronBuilder::
|
||||
Build()
|
||||
{
|
||||
@@ -73,4 +70,13 @@ Build()
|
||||
theProcMan->AddDiscreteProcess(theNeutronCapture);
|
||||
if ( isFissionActivated ) theProcMan->AddDiscreteProcess(theNeutronFission);
|
||||
}
|
||||
|
||||
void G4NeutronBuilder::RegisterMe(G4PhysicsBuilderInterface* aB) {
|
||||
auto bld = dynamic_cast<G4VNeutronBuilder*>(aB);
|
||||
if ( bld != nullptr ) {
|
||||
theModelCollections.push_back(bld);
|
||||
} else {
|
||||
G4PhysicsBuilderInterface::RegisterMe(aB);
|
||||
}
|
||||
}
|
||||
// 2002 by J.P. Wellisch
|
||||
|
||||
@@ -51,11 +51,6 @@ G4NeutronLENDBuilder( G4String eva )
|
||||
evaluation = eva;
|
||||
|
||||
}
|
||||
|
||||
G4NeutronLENDBuilder::
|
||||
~G4NeutronLENDBuilder()
|
||||
{}
|
||||
|
||||
void G4NeutronLENDBuilder::
|
||||
Build(G4HadronElasticProcess * aP)
|
||||
{
|
||||
|
||||
@@ -51,10 +51,6 @@ G4NeutronPHPBuilder()
|
||||
|
||||
}
|
||||
|
||||
G4NeutronPHPBuilder::
|
||||
~G4NeutronPHPBuilder()
|
||||
{}
|
||||
|
||||
void G4NeutronPHPBuilder::
|
||||
Build(G4HadronElasticProcess * aP)
|
||||
{
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: G4PiKBuilder.cc 81935 2014-06-06 15:41:42Z gcosmo $
|
||||
// $Id: G4PiKBuilder.cc 103801 2017-04-27 13:59:03Z gcosmo $
|
||||
//
|
||||
//---------------------------------------------------------------------------
|
||||
//
|
||||
@@ -34,6 +34,7 @@
|
||||
// Modified:
|
||||
// 16.11.2005 G.Folger: don't keep processes as data members, but new these
|
||||
// 13.06.2006 G.Folger: (re)move elastic scatterring
|
||||
// 12.04.2017 A.Dotti move to new design with base class
|
||||
//
|
||||
//----------------------------------------------------------------------------
|
||||
//
|
||||
@@ -53,9 +54,6 @@ G4PiKBuilder(): wasActivated(false)
|
||||
theKaonZeroSInelastic=new G4KaonZeroSInelasticProcess;
|
||||
}
|
||||
|
||||
G4PiKBuilder::~G4PiKBuilder()
|
||||
{}
|
||||
|
||||
void G4PiKBuilder::
|
||||
Build()
|
||||
{
|
||||
@@ -90,4 +88,13 @@ Build()
|
||||
theProcMan = G4KaonZeroShort::KaonZeroShort()->GetProcessManager();
|
||||
theProcMan->AddDiscreteProcess(theKaonZeroSInelastic);
|
||||
}
|
||||
|
||||
void G4PiKBuilder::RegisterMe(G4PhysicsBuilderInterface* aB) {
|
||||
auto bld = dynamic_cast<G4VPiKBuilder*>(aB);
|
||||
if ( bld != nullptr ) {
|
||||
theModelCollections.push_back(bld);
|
||||
} else {
|
||||
G4PhysicsBuilderInterface::RegisterMe(aB);
|
||||
}
|
||||
}
|
||||
// 2002 by J.P. Wellisch
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: G4PionBuilder.cc 81935 2014-06-06 15:41:42Z gcosmo $
|
||||
// $Id: G4PionBuilder.cc 103801 2017-04-27 13:59:03Z gcosmo $
|
||||
//
|
||||
//---------------------------------------------------------------------------
|
||||
//
|
||||
@@ -33,6 +33,7 @@
|
||||
// devired from G4PiKBuilder
|
||||
//
|
||||
// Modified:
|
||||
// 12.04.2017 A.Dotti move to new design with base class
|
||||
//
|
||||
//----------------------------------------------------------------------------
|
||||
//
|
||||
@@ -48,9 +49,6 @@ G4PionBuilder(): wasActivated(false)
|
||||
thePionMinusInelastic=new G4PionMinusInelasticProcess;
|
||||
}
|
||||
|
||||
G4PionBuilder::~G4PionBuilder()
|
||||
{}
|
||||
|
||||
void G4PionBuilder::
|
||||
Build()
|
||||
{
|
||||
@@ -70,3 +68,12 @@ Build()
|
||||
theProcMan = G4PionMinus::PionMinus()->GetProcessManager();
|
||||
theProcMan->AddDiscreteProcess(thePionMinusInelastic);
|
||||
}
|
||||
|
||||
void G4PionBuilder::RegisterMe(G4PhysicsBuilderInterface* aB) {
|
||||
auto bld = dynamic_cast<G4VPionBuilder*>(aB);
|
||||
if ( bld != nullptr ) {
|
||||
theModelCollections.push_back(bld);
|
||||
} else {
|
||||
G4PhysicsBuilderInterface::RegisterMe(aB);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: G4PrecoNeutronBuilder.cc 81935 2014-06-06 15:41:42Z gcosmo $
|
||||
// $Id: G4PrecoNeutronBuilder.cc 103555 2017-04-18 09:04:37Z gcosmo $
|
||||
//
|
||||
//---------------------------------------------------------------------------
|
||||
//
|
||||
@@ -33,6 +33,7 @@
|
||||
//
|
||||
// Modified:
|
||||
// 30.03.2009 V.Ivanchenko create cross section by new
|
||||
// 12.04.2017 A.Dotti move to new design with base class
|
||||
//
|
||||
//----------------------------------------------------------------------------
|
||||
//
|
||||
@@ -51,26 +52,6 @@ G4PrecoNeutronBuilder()
|
||||
theModel = new G4PreCompoundModel(new G4ExcitationHandler);
|
||||
}
|
||||
|
||||
G4PrecoNeutronBuilder::
|
||||
~G4PrecoNeutronBuilder()
|
||||
{
|
||||
}
|
||||
|
||||
void G4PrecoNeutronBuilder::
|
||||
Build(G4HadronElasticProcess * )
|
||||
{
|
||||
}
|
||||
|
||||
void G4PrecoNeutronBuilder::
|
||||
Build(G4HadronFissionProcess * )
|
||||
{
|
||||
}
|
||||
|
||||
void G4PrecoNeutronBuilder::
|
||||
Build(G4HadronCaptureProcess * )
|
||||
{
|
||||
}
|
||||
|
||||
void G4PrecoNeutronBuilder::
|
||||
Build(G4NeutronInelasticProcess * aP)
|
||||
{
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: G4PrecoProtonBuilder.cc 66892 2013-01-17 10:57:59Z gunter $
|
||||
// $Id: G4PrecoProtonBuilder.cc 103555 2017-04-18 09:04:37Z gcosmo $
|
||||
//
|
||||
//---------------------------------------------------------------------------
|
||||
//
|
||||
@@ -53,14 +53,6 @@ G4PrecoProtonBuilder()
|
||||
theModel = new G4PreCompoundModel(new G4ExcitationHandler);
|
||||
}
|
||||
|
||||
G4PrecoProtonBuilder::
|
||||
~G4PrecoProtonBuilder() {}
|
||||
|
||||
void G4PrecoProtonBuilder::
|
||||
Build(G4HadronElasticProcess * )
|
||||
{
|
||||
}
|
||||
|
||||
void G4PrecoProtonBuilder::
|
||||
Build(G4ProtonInelasticProcess * aP)
|
||||
{
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: G4ProtonBuilder.cc 81935 2014-06-06 15:41:42Z gcosmo $
|
||||
// $Id: G4ProtonBuilder.cc 103801 2017-04-27 13:59:03Z gcosmo $
|
||||
//
|
||||
//---------------------------------------------------------------------------
|
||||
//
|
||||
@@ -34,6 +34,7 @@
|
||||
// Modified:
|
||||
// 16.11.2005 G.Folger: don't keep processes as data members, but new these
|
||||
// 13.06.2006 G.Folger: (re)move elastic scatterring
|
||||
// 12.04.2017 A.Dotti move to new design with base class
|
||||
//
|
||||
//----------------------------------------------------------------------------
|
||||
//
|
||||
@@ -61,9 +62,13 @@
|
||||
theProtonInelastic=new G4ProtonInelasticProcess;
|
||||
}
|
||||
|
||||
G4ProtonBuilder::
|
||||
~G4ProtonBuilder()
|
||||
{
|
||||
void G4ProtonBuilder::RegisterMe(G4PhysicsBuilderInterface* aB) {
|
||||
auto bld = dynamic_cast<G4VProtonBuilder*>(aB);
|
||||
if ( bld != nullptr ) {
|
||||
theModelCollections.push_back(bld);
|
||||
} else {
|
||||
G4PhysicsBuilderInterface::RegisterMe(aB);
|
||||
}
|
||||
}
|
||||
|
||||
// 2002 by J.P. Wellisch
|
||||
|
||||
@@ -38,10 +38,6 @@ G4ProtonPHPBuilder()
|
||||
theParticlePHPModel = 0;
|
||||
}
|
||||
|
||||
G4ProtonPHPBuilder::
|
||||
~G4ProtonPHPBuilder()
|
||||
{}
|
||||
|
||||
void G4ProtonPHPBuilder::
|
||||
Build(G4HadronElasticProcess *)
|
||||
{
|
||||
|
||||
@@ -28,6 +28,7 @@
|
||||
//---------------------------------------------------------------------------
|
||||
//
|
||||
// Modified:
|
||||
// 12.04.2017 A.Dotti move to new design with base class
|
||||
//
|
||||
//----------------------------------------------------------------------------
|
||||
//
|
||||
@@ -72,9 +73,6 @@ G4QGSBinaryKaonBuilder::
|
||||
delete theStringModel;
|
||||
}
|
||||
|
||||
void G4QGSBinaryKaonBuilder::
|
||||
Build(G4HadronElasticProcess * ) {}
|
||||
|
||||
void G4QGSBinaryKaonBuilder::
|
||||
Build(G4KaonPlusInelasticProcess * aP)
|
||||
{
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: G4QGSBinaryNeutronBuilder.cc 83616 2014-09-04 13:30:16Z gcosmo $
|
||||
// $Id: G4QGSBinaryNeutronBuilder.cc 103555 2017-04-18 09:04:37Z gcosmo $
|
||||
//
|
||||
//---------------------------------------------------------------------------
|
||||
//
|
||||
@@ -33,6 +33,7 @@
|
||||
//
|
||||
// Modified:
|
||||
// 30.03.2009 V.Ivanchenko create cross section by new
|
||||
// 12.04.2017 A.Dotti move to new design with base class
|
||||
//
|
||||
//----------------------------------------------------------------------------
|
||||
//
|
||||
@@ -73,21 +74,6 @@ G4QGSBinaryNeutronBuilder::
|
||||
if ( theQuasiElastic ) delete theQuasiElastic;
|
||||
}
|
||||
|
||||
void G4QGSBinaryNeutronBuilder::
|
||||
Build(G4HadronElasticProcess * )
|
||||
{
|
||||
}
|
||||
|
||||
void G4QGSBinaryNeutronBuilder::
|
||||
Build(G4HadronFissionProcess * )
|
||||
{
|
||||
}
|
||||
|
||||
void G4QGSBinaryNeutronBuilder::
|
||||
Build(G4HadronCaptureProcess * )
|
||||
{
|
||||
}
|
||||
|
||||
void G4QGSBinaryNeutronBuilder::
|
||||
Build(G4NeutronInelasticProcess * aP)
|
||||
{
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: G4QGSBinaryPiKBuilder.cc 83699 2014-09-10 07:18:25Z gcosmo $
|
||||
// $Id: G4QGSBinaryPiKBuilder.cc 103555 2017-04-18 09:04:37Z gcosmo $
|
||||
//
|
||||
//---------------------------------------------------------------------------
|
||||
//
|
||||
@@ -33,6 +33,7 @@
|
||||
//
|
||||
// Modified:
|
||||
// 30.03.2009 V.Ivanchenko create cross section by new
|
||||
// 12.04.2017 A.Dotti move to new design with base class
|
||||
//
|
||||
//----------------------------------------------------------------------------
|
||||
//
|
||||
@@ -81,9 +82,6 @@ G4QGSBinaryPiKBuilder::
|
||||
delete theStringModel;
|
||||
}
|
||||
|
||||
void G4QGSBinaryPiKBuilder::
|
||||
Build(G4HadronElasticProcess * ) {}
|
||||
|
||||
void G4QGSBinaryPiKBuilder::
|
||||
Build(G4PionPlusInelasticProcess * aP)
|
||||
{
|
||||
|
||||
@@ -28,6 +28,7 @@
|
||||
//---------------------------------------------------------------------------
|
||||
//
|
||||
// Modified:
|
||||
// 12.04.2017 A.Dotti move to new design with base class
|
||||
//
|
||||
//----------------------------------------------------------------------------
|
||||
//
|
||||
@@ -72,9 +73,6 @@ G4QGSBinaryPionBuilder::
|
||||
delete theStringModel;
|
||||
}
|
||||
|
||||
void G4QGSBinaryPionBuilder::
|
||||
Build(G4HadronElasticProcess * ) {}
|
||||
|
||||
void G4QGSBinaryPionBuilder::
|
||||
Build(G4PionPlusInelasticProcess * aP)
|
||||
{
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: G4QGSBinaryProtonBuilder.cc 83616 2014-09-04 13:30:16Z gcosmo $
|
||||
// $Id: G4QGSBinaryProtonBuilder.cc 103555 2017-04-18 09:04:37Z gcosmo $
|
||||
//
|
||||
//---------------------------------------------------------------------------
|
||||
//
|
||||
@@ -75,11 +75,6 @@ Build(G4ProtonInelasticProcess * aP)
|
||||
aP->RegisterMe(theModel);
|
||||
}
|
||||
|
||||
void G4QGSBinaryProtonBuilder::
|
||||
Build(G4HadronElasticProcess * )
|
||||
{
|
||||
}
|
||||
|
||||
G4QGSBinaryProtonBuilder::~G4QGSBinaryProtonBuilder()
|
||||
{
|
||||
if ( theQuasiElastic ) delete theQuasiElastic;
|
||||
|
||||
@@ -28,6 +28,7 @@
|
||||
//---------------------------------------------------------------------------
|
||||
//
|
||||
// Modified:
|
||||
// 12.04.2017 A.Dotti move to new design with base class
|
||||
//
|
||||
//----------------------------------------------------------------------------
|
||||
//
|
||||
|
||||
@@ -29,6 +29,7 @@
|
||||
// ClassName: QGSPStrFragmLundProtonBuilder
|
||||
//
|
||||
// Author: Julia Yarba, FNAL/CD (2014)
|
||||
// 12.04.2017 A.Dotti move to new design with base class
|
||||
//
|
||||
//
|
||||
//----------------------------------------------------------------------------
|
||||
@@ -73,11 +74,6 @@ Build(G4ProtonInelasticProcess * aP)
|
||||
aP->RegisterMe(theModel);
|
||||
}
|
||||
|
||||
void G4QGSPLundStrFragmProtonBuilder::
|
||||
Build(G4HadronElasticProcess * )
|
||||
{
|
||||
}
|
||||
|
||||
G4QGSPLundStrFragmProtonBuilder::~G4QGSPLundStrFragmProtonBuilder()
|
||||
{
|
||||
if ( theQuasiElastic ) delete theQuasiElastic;
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: G4QGSPNeutronBuilder.cc 83616 2014-09-04 13:30:16Z gcosmo $
|
||||
// $Id: G4QGSPNeutronBuilder.cc 103555 2017-04-18 09:04:37Z gcosmo $
|
||||
//
|
||||
//---------------------------------------------------------------------------
|
||||
//
|
||||
@@ -35,6 +35,7 @@
|
||||
// 17.11.2010 G.Folger, use G4CrossSectionPairGG for relativistic rise of cross
|
||||
// section at high energies.
|
||||
// 30.03.2009 V.Ivanchenko create cross section by new
|
||||
// 12.04.2017 A.Dotti move to new design with base class
|
||||
//
|
||||
//----------------------------------------------------------------------------
|
||||
//
|
||||
@@ -75,21 +76,6 @@ G4QGSPNeutronBuilder::~G4QGSPNeutronBuilder()
|
||||
delete theQGSM;
|
||||
}
|
||||
|
||||
void G4QGSPNeutronBuilder::
|
||||
Build(G4HadronElasticProcess * )
|
||||
{
|
||||
}
|
||||
|
||||
void G4QGSPNeutronBuilder::
|
||||
Build(G4HadronFissionProcess * )
|
||||
{
|
||||
}
|
||||
|
||||
void G4QGSPNeutronBuilder::
|
||||
Build(G4HadronCaptureProcess * )
|
||||
{
|
||||
}
|
||||
|
||||
void G4QGSPNeutronBuilder::
|
||||
Build(G4NeutronInelasticProcess * aP)
|
||||
{
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: G4QGSPPiKBuilder.cc 83699 2014-09-10 07:18:25Z gcosmo $
|
||||
// $Id: G4QGSPPiKBuilder.cc 103555 2017-04-18 09:04:37Z gcosmo $
|
||||
//
|
||||
//---------------------------------------------------------------------------
|
||||
//
|
||||
@@ -86,9 +86,6 @@ G4QGSPPiKBuilder::
|
||||
delete theQGSM;
|
||||
}
|
||||
|
||||
void G4QGSPPiKBuilder::
|
||||
Build(G4HadronElasticProcess * ) {}
|
||||
|
||||
void G4QGSPPiKBuilder::
|
||||
Build(G4PionPlusInelasticProcess * aP)
|
||||
{
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: G4QGSPPionBuilder.cc 83699 2014-09-10 07:18:25Z gcosmo $
|
||||
// $Id: G4QGSPPionBuilder.cc 103555 2017-04-18 09:04:37Z gcosmo $
|
||||
//
|
||||
//---------------------------------------------------------------------------
|
||||
//
|
||||
@@ -36,6 +36,7 @@
|
||||
// 17.11.2010 G.Folger, use G4CrossSectionPairGG for relativistic rise of cross
|
||||
// section at high energies.
|
||||
// 30.03.2009 V.Ivanchenko create cross section by new
|
||||
// 12.04.2017 A.Dotti move to new design with base class
|
||||
//
|
||||
//----------------------------------------------------------------------------
|
||||
//
|
||||
@@ -82,9 +83,6 @@ G4QGSPPionBuilder::
|
||||
delete theQGSM;
|
||||
}
|
||||
|
||||
void G4QGSPPionBuilder::
|
||||
Build(G4HadronElasticProcess * ) {}
|
||||
|
||||
void G4QGSPPionBuilder::
|
||||
Build(G4PionPlusInelasticProcess * aP)
|
||||
{
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: G4QGSPProtonBuilder.cc 83616 2014-09-04 13:30:16Z gcosmo $
|
||||
// $Id: G4QGSPProtonBuilder.cc 103555 2017-04-18 09:04:37Z gcosmo $
|
||||
//
|
||||
//---------------------------------------------------------------------------
|
||||
//
|
||||
@@ -35,6 +35,7 @@
|
||||
// 17.11.2010 G.Folger, use G4CrossSectionPairGG for relativistic rise of cross
|
||||
// section at high energies.
|
||||
// 30.03.2009 V.Ivanchenko create cross section by new
|
||||
// 12.04.2017 A.Dotti move to new design with base class
|
||||
//
|
||||
//----------------------------------------------------------------------------
|
||||
//
|
||||
@@ -77,11 +78,6 @@ Build(G4ProtonInelasticProcess * aP)
|
||||
aP->RegisterMe(theModel);
|
||||
}
|
||||
|
||||
void G4QGSPProtonBuilder::
|
||||
Build(G4HadronElasticProcess * )
|
||||
{
|
||||
}
|
||||
|
||||
G4QGSPProtonBuilder::~G4QGSPProtonBuilder()
|
||||
{
|
||||
if ( theQuasiElastic ) delete theQuasiElastic;
|
||||
|
||||
@@ -32,6 +32,9 @@
|
||||
//
|
||||
// Author: 2013 P. Arce
|
||||
//
|
||||
// Modified
|
||||
// 12.04.2017 A.Dotti move to new design with base class
|
||||
//
|
||||
//----------------------------------------------------------------------------
|
||||
//
|
||||
#include "G4TritonBuilder.hh"
|
||||
@@ -58,7 +61,11 @@
|
||||
theTritonInelastic=new G4TritonInelasticProcess;
|
||||
}
|
||||
|
||||
G4TritonBuilder::
|
||||
~G4TritonBuilder()
|
||||
{}
|
||||
|
||||
void G4TritonBuilder::RegisterMe(G4PhysicsBuilderInterface* aB) {
|
||||
auto bld = dynamic_cast<G4VTritonBuilder*>(aB);
|
||||
if ( bld != nullptr ) {
|
||||
theModelCollections.push_back(bld);
|
||||
} else {
|
||||
G4PhysicsBuilderInterface::RegisterMe(aB);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,10 +38,6 @@ G4TritonPHPBuilder()
|
||||
theParticlePHPModel = 0;
|
||||
}
|
||||
|
||||
G4TritonPHPBuilder::
|
||||
~G4TritonPHPBuilder()
|
||||
{}
|
||||
|
||||
void G4TritonPHPBuilder::
|
||||
Build(G4HadronElasticProcess *)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user