Import Geant4 10.4.0 source tree

This commit is contained in:
Gabriele Cosmo
2017-12-08 12:52:30 +01:00
parent 98e455a940
commit fc6af9e721
2166 changed files with 276760 additions and 100873 deletions
@@ -45,6 +45,7 @@ G4ParticleHPManager::G4ParticleHPManager()
,NEGLECT_DOPPLER(false)
,DO_NOT_ADJUST_FINAL_STATE(false)
,PRODUCE_FISSION_FRAGMENTS(false)
,USE_NRESP71_MODEL(false)
,theElasticCrossSections(NULL)
,theCaptureCrossSections(NULL)
//,theInelasticCrossSections(NULL)
@@ -66,6 +67,7 @@ G4ParticleHPManager::G4ParticleHPManager()
if ( getenv( "G4NEUTRONHP_NEGLECT_DOPPLER" ) || getenv("G4PHP_NEGLECT_DOPPLER") ) NEGLECT_DOPPLER = true;
if ( getenv( "G4NEUTRONHP_SKIP_MISSING_ISOTOPES" ) ) SKIP_MISSING_ISOTOPES = true;
if ( getenv( "G4NEUTRONHP_PRODUCE_FISSION_FRAGMENTS" ) ) PRODUCE_FISSION_FRAGMENTS = true;
if ( getenv( "G4PHP_USE_NRESP71_MODEL" ) ) USE_NRESP71_MODEL = true;
}
G4ParticleHPManager::~G4ParticleHPManager()
{
@@ -99,6 +101,7 @@ void G4ParticleHPManager::CloseReactionWhiteBoard()
#include <fstream>
void G4ParticleHPManager::GetDataStream( G4String filename , std::istringstream& iss )
{
//if ( getenv( "TEST04" ) && filename != "INVALID" ) G4cout << "Reading " << filename << G4endl;
G4String* data=NULL;
G4String compfilename(filename);
compfilename += ".z";