54 if(std::getenv(
"G4ParticleHPDebug"))
G4cout <<
"G4ParticleHPIsoData::Init = "<< filename <<
" "<< A <<
" " << Z <<
G4endl;
59 if(std::getenv(
"G4ParticleHPDebug"))
G4cout <<
"Skipped = "<< filename <<
" "<<A<<
" "<<Z<<G4endl;
65 if(!theChannel) {;
return false;}
67 if(theChannel.eof()) {;
return false;}
68 if(!theChannel) {;
return false;}
70 theChannel >> dummy >> dummy;
97 particleName =
"Proton";
99 particleName =
"Deuteron";
101 particleName =
"Triton";
103 particleName =
"He3";
105 particleName =
"Alpha";
107 G4String message(
"G4ParticleHPInelastic may only be called for neutron, proton, deuteron, triton, He3 or alpha, while it is called for " + projectile->
GetParticleName());
112 if ( std::getenv( dataDirVariable ) ) {
113 baseName = std::getenv( dataDirVariable );
115 baseName = std::getenv(
"G4PARTICLEHPDATA" );
116 baseName +=
"/" + particleName;
122 dirName = baseName+
"/Fission";
127 Init(A, Z, M, abun, dirName,
"/CrossSection");
136 dirName = baseName+
"/Capture";
138 Init(A, Z, M, abun, dirName,
"/CrossSection");
142 dirName = baseName+
"/Elastic";
144 Init(A, Z, M, abun, dirName,
"/CrossSection");
149 dirName = baseName+
"/Inelastic";
151 Init(A, Z, M, abun, dirName,
"/CrossSection");