- Timestamp:
- Apr 6, 2009, 12:30:29 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/processes/hadronic/models/neutron_hp/src/G4NeutronHPNames.cc
r819 r962 34 34 // Natural Abundance data are allowed. by T. Koi 35 35 // 07-07-06 Allow _nat_ final state even for isotoped cross sections by T. Koi 36 // 08-09-01 Add protection that deuteron data do not selected for hydrogen and so on by T. Koi 36 37 // 37 38 #include "G4NeutronHPNames.hh" … … 319 320 else 320 321 { 321 G4cout << "NeutronHP: " << reac << " file for Z = " << Z << ", A = " << A << " is not found and NeutronHP will use " << result.GetName() << G4endl; 322 //080901 Add protection that deuteron data do not selected for hydrogen and so on by T. Koi 323 if ( (reac.find("Inelastic") != reac.size() && 324 ((Z == 1 && A == 1) || (Z == 2 && A == 4) ) ) 325 || 326 (reac.find("Capture") != reac.size() && (Z == 2 && A == 4) ) ) 327 { 328 G4String new_name = base+"/"+rest+"0_0_Zero"; 329 result.SetName( new_name ); 330 } 331 else 332 { 333 G4cout << "NeutronHP: " << reac << " file for Z = " << Z << ", A = " << A << " is not found and NeutronHP will use " << result.GetName() << G4endl; 334 } 322 335 } 323 336 }
Note: See TracChangeset
for help on using the changeset viewer.