Import Geant4 9.1.0 source tree
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// GEANT4 tag $Name: geant4-09-00 $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
//
|
||||
//---------------------------------------------------------------------------
|
||||
//
|
||||
@@ -86,10 +86,13 @@ Build(G4HadronCaptureProcess * aP)
|
||||
void G4LEPNeutronBuilder::
|
||||
Build(G4NeutronInelasticProcess * aP)
|
||||
{
|
||||
theLENeutronModel = new G4LENeutronInelastic();
|
||||
theLENeutronModel->SetMinEnergy(theIMin);
|
||||
theLENeutronModel->SetMaxEnergy(theIMax);
|
||||
aP->RegisterMe(theLENeutronModel);
|
||||
if ( theIMax > 1.*eV )
|
||||
{
|
||||
theLENeutronModel = new G4LENeutronInelastic();
|
||||
theLENeutronModel->SetMinEnergy(theIMin);
|
||||
theLENeutronModel->SetMaxEnergy(theIMax);
|
||||
aP->RegisterMe(theLENeutronModel);
|
||||
}
|
||||
}
|
||||
|
||||
// 2002 by J.P. Wellisch
|
||||
|
||||
Reference in New Issue
Block a user