Import Geant4 10.3.0.beta source tree

This commit is contained in:
Gabriele Cosmo
2016-06-30 14:12:05 +02:00
parent a654a7ab1f
commit 4ec577e5c4
2021 changed files with 100995 additions and 78277 deletions
@@ -84,14 +84,16 @@
if ( HasFSData() && !G4ParticleHPManager::GetInstance()->GetUseOnlyPhotoEvaporation() )
{
//NDL has final state data
if ( hasExactMF6 )
{
if ( hasExactMF6 ) {
theMF6FinalState.SetTarget(theTarget);
theMF6FinalState.SetProjectileRP(theNeutron);
thePhotons = theMF6FinalState.Sample( eKinetic );
}
else
} else {
thePhotons = theFinalStatePhotons.GetPhotons(eKinetic);
}
if ( thePhotons == NULL ) {
throw G4HadronicException(__FILE__, __LINE__, "Final state data for photon is not properly allocated");
}
}
else
{
@@ -141,7 +143,7 @@
// add them to the final state
G4int nPhotons = 0;
if(thePhotons!=0) nPhotons=thePhotons->size();
nPhotons=thePhotons->size();
///*
if ( DoNotAdjustFinalState() ) {