Message: modifying Lxe example Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question modifying Lxe example 

Forum: Processes Involving Optical Photons
Date: May 09, 03:31
From: Simone <Simone>


I have tried to use the "Lxe" example to build my own BGO scintillator. However when I try to change the material in the detectorconstruction

 //Liquid Xenon 
 // fLXe = new G4Material("LXe",z=54.,a=131.29*g/mole,density=3.020*g/cm3); //old material definition
  fLXe = G4NistManager::Instance()->FindOrBuildMaterial("G4_BGO");//new material definition

the example can compile, but I get an error at runtime:

Idle> /run/beamOn 10 /run/beamOn 10

-------- EEEE ------- G4Exception-START -------- EEEE -------
*** G4Exception : GeomMgt0002
      issued by : G4Region::ScanVolumeTree()
Logical volume <scint_log>
does not have a valid material pointer.
A logical volume belonging to the (tracking) world volume must have a valid material.Check your geometry construction.

*** Fatal Exception *** core dump ***
 **** Track information is not available at this moment
 **** Step information is not available at this moment

-------- EEEE -------- G4Exception-END --------- EEEE -------

*** G4Exception: Aborting execution ***

just changing the material shouldn't induce such problems I believe, so I am not sure how should I act

any idea would be appreciated

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 Idea: Re: modifying Lxe example   (Michael H. Kelsey - May 09, 14:35) newer
 Add Message Add Message
to: "modifying Lxe example"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews