Import Geant4 3.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-08 15:55:53 +02:00
parent e7d7193284
commit cfcb558cfe
3050 changed files with 91703 additions and 48310 deletions
@@ -53,6 +53,7 @@
delete result1;
// prepare the fragment
G4Fragment anInitialState;
G4int anA=theNucleus->GetMassNumber();
@@ -133,15 +134,25 @@
// call pre-compound
const G4Fragment aFragment(anInitialState);
G4ReactionProductVector * aPreResult = theDeExcitation->DeExcite(aFragment);
// fill pre-compound part into the result, and return
for(G4int ll=0; ll<aPreResult->entries(); ll++)
if(theDeExcitation)
{
theTotalResult->insert(aPreResult->at(ll));
}
delete aPreResult;
G4ReactionProductVector * aPreResult = theDeExcitation->DeExcite(aFragment);
// fill pre-compound part into the result, and return
for(G4int ll=0; ll<aPreResult->entries(); ll++)
{
theTotalResult->insert(aPreResult->at(ll));
}
delete aPreResult;
}
else
{
// G4Exception("Please register an evaporation phase with G4GeneratorPrecompoundInterface.");
}
// now return
result->clearAndDestroy();
delete result;
return theTotalResult;
}