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
@@ -658,12 +658,14 @@ G4KineticTrackVector* G4KineticTrack::Decay()
G4DecayProducts* theDecayProducts = thePhaseSpaceDecayChannel.DecayIt();
if(!theDecayProducts)
{
G4cerr << "Error condition encountered in G4KineticTrack::Decay()"<<G4endl;
G4cerr << " phase-space decay failed."<<G4endl;
G4cerr << " particle was "<<thisDefinition->GetParticleName()<<G4endl;
G4cerr << " channel index "<< chosench << "of "<<nChannels<<"channels"<<G4endl;
G4cerr << " "<<theNumberOfDaughters<< " Daughter particles: "
<< theDaughtersName1<<" "<<theDaughtersName2<<" "<<theDaughtersName3<<" "<<theDaughtersName4<<G4endl;
G4ExceptionDescription ed;
ed << "Error condition encountered: phase-space decay failed." << G4endl
<< "\t the decaying particle is: " << thisDefinition->GetParticleName() << G4endl
<< "\t the channel index is: "<< chosench << " of "<< nChannels << "channels" << G4endl
<< "\t " << theNumberOfDaughters << " daughter particles: "
<< theDaughtersName1 << " " << theDaughtersName2 << " " << theDaughtersName3 << " "
<< theDaughtersName4 << G4endl;
G4Exception( "G4KineticTrack::Decay ", "HAD_KINTRACK_001", JustWarning, ed );
return 0;
}