Problem 390 - G4PhotoNuclearCrossSection.cc causes full G4 crash when photonuclear process is used.
Summary: G4PhotoNuclearCrossSection.cc causes full G4 crash when photonuclear process ...
Status: RESOLVED FIXED
Alias: None
Product: Geant4
Classification: Unclassified
Component: processes/hadronic/cross_sections (show other problems)
Version: other
Hardware: PC Linux
: P1 critical
Assignee: fwj
URL:
Depends on:
Blocks:
 
Reported: 2002-07-12 06:46 CEST by a.s.howard
Modified: 2002-08-06 08:23 CEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
Description a.s.howard 2002-07-12 06:46:19 CEST
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
Comment 1 Gabriele Cosmo 2002-08-06 08:23:59 CEST
Problem fixed in patch-01. Thanks.