| Summary: | G4PhotoNuclearCrossSection.cc causes full G4 crash when photonuclear process is used. | ||
|---|---|---|---|
| Product: | Geant4 | Reporter: | a.s.howard |
| Component: | processes/hadronic/cross_sections | Assignee: | fwj |
| Status: | RESOLVED FIXED | ||
| Severity: | critical | ||
| Priority: | P1 | ||
| Version: | other | ||
| Hardware: | PC | ||
| OS: | Linux | ||
Problem fixed in patch-01. Thanks. |
The file source/processes/hadronic/cross_sections/src/G4PhotoNuclearCrossSection.cc has two lines missing from it: 134,135d133 < GDR.push_back(lastGDR); // added GDR, AH 10/7/02 < HEN.push_back(lastHEN); // added HEN, AH 10/7/02 in lines 134 and 135 i.e. immediately before: eTH.push_back(lastTH); // Threshold Energy spA.push_back(lastSP); // Pomeron Shadowing Without these extra lines it is impossible to use the photonuclear process with Geant4.1