Import Geant4 10.1.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-10 12:08:39 +02:00
parent 286caacf06
commit c9b32a6c0a
5770 changed files with 1050949 additions and 367105 deletions
@@ -26,7 +26,7 @@
#include "G4LENDFission.hh"
#include "G4SystemOfUnits.hh"
#include "G4Nucleus.hh"
#include "G4ParticleTable.hh"
#include "G4IonTable.hh"
G4HadFinalState * G4LENDFission::ApplyYourself(const G4HadProjectile& aTrack, G4Nucleus& aTarg )
{
@@ -55,6 +55,7 @@ G4HadFinalState * G4LENDFission::ApplyYourself(const G4HadProjectile& aTrack, G4
{
G4int jZ = (*products)[j].Z;
G4int jA = (*products)[j].A;
G4int jM = (*products)[j].m;
//G4cout << "Z = " << (*products)[j].Z
// << ", A = " << (*products)[j].A
@@ -68,8 +69,7 @@ G4HadFinalState * G4LENDFission::ApplyYourself(const G4HadProjectile& aTrack, G4
if ( jZ > 0 )
{
//Ex j?
theSec->SetDefinition( G4ParticleTable::GetParticleTable()->FindIon( jZ, jA , 0, 0 ) );
theSec->SetDefinition( G4IonTable::GetIonTable()->GetIon( jZ, jA , jM ) );
}
else if ( jA == 1 && jZ == 0 )
{
@@ -92,3 +92,9 @@ G4HadFinalState * G4LENDFission::ApplyYourself(const G4HadProjectile& aTrack, G4
return theResult;
}
const std::pair<G4double, G4double> G4LENDFission::GetFatalEnergyCheckLevels() const
{
// max energy non-conservation is mass of heavy nucleus
//return std::pair<G4double, G4double>(5*perCent,250*GeV);
return std::pair<G4double, G4double>(5*perCent,DBL_MAX);
}