Import Geant4 7.1.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 12:11:21 +02:00
parent 516dbf1a58
commit d93e1e39a9
5384 changed files with 125662 additions and 82444 deletions
@@ -143,13 +143,13 @@ G4ReactionProductVector * G4ExcitationHandler::BreakItUp(const G4Fragment &theIn
if( A < GetMaxA() && Z < GetMaxZ() )
// && exEnergy>G4NucleiPropertiesTable::GetBindingEnergy(Z,A))
{
// Fermi Breakup
theTempResult = theFermiModel->BreakItUp(theExcitedNucleus);
if (theTempResult->size() == 1)
{
std::for_each(theTempResult->begin(),theTempResult->end(),DeleteFragment());
delete theTempResult;
}
// Fermi Breakup not now called for for exotic fragments for good reasons...
// theTempResult = theFermiModel->BreakItUp(theExcitedNucleus);
//if (theTempResult->size() == 1)
// {
// std::for_each(theTempResult->begin(),theTempResult->end(), G4Delete());
// delete theTempResult;
// }
theTempResult = theEvaporation->BreakItUp(theExcitedNucleus);
}
else
@@ -178,7 +178,7 @@ G4ReactionProductVector * G4ExcitationHandler::BreakItUp(const G4Fragment &theIn
{
// it doesn't matter, we Follow with the next fragment but
// I have to clean up
std::for_each(theTempResult->begin(),theTempResult->end(),DeleteFragment());
std::for_each(theTempResult->begin(),theTempResult->end(), G4Delete());
delete theTempResult;
}
}