| Summary: | LXe example, Segmentation fault | ||
|---|---|---|---|
| Product: | Examples/Extended | Reporter: | gum |
| Component: | optical/LXe | Assignee: | gum |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | P5 | ||
| Version: | 8.1 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| URL: | http://geant4-hn.slac.stanford.edu:5090/HyperNews/public/get/docsexamples/285.html | ||
|
Description
gum
2006-09-14 17:19:56 CEST
Set the pointers to G4MaterialPropertiesTable LXe_mt and MPTPStyrene to NULL in
the class constructor of LXeDetectorConstruction. This fixes the core dump in
method SetDefaults at:
if(LXe_mt)LXe_mt->AddConstProperty("SCINTILLATIONYIELD",12000./MeV);
if(MPTPStyrene)MPTPStyrene->AddConstProperty("SCINTILLATIONYIELD",10./keV);
on program start-up
Fix is tagged as LXe-V08-01-00
|