Problem 889

Summary: LXe example, Segmentation fault
Product: Examples/Extended Reporter: gum
Component: optical/LXeAssignee: 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
As reported by amaresh kumar in the "Examples Forum" the LXe example core dumps
on startup.
Comment 1 gum 2006-09-14 17:32:59 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