Import Geant4 10.4.0.beta source tree
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user