[Gate-users] NEMA_IEC_2001 phantom in example_PHANTOM_SOURCE folder

Marc Chamberland mchamber at connect.carleton.ca
Wed Apr 18 19:24:53 CEST 2012


(I forgot to reply to the mailing list in my original message.)

Hi Sam!

The error is telling you that your maximum radius is smaller than your minimum radius (6 < 10). Since the macro file does not specify the minimum radius for sphere10, then the minimum radius must be getting a default value when a sphere is created.

If you look in the source code (file GateSphere.cc), you'll see that it is indeed the case: if you don't specify a minimum radius for a sphere, it gets a default minimum radius of 1 cm.

So, just manually add a minimum radius in the macro file.

Cheers!
Marc



__________________________


Marc Chamberland, MSc
PhD candidate
Department of Physics
Carleton University
Ottawa (ON)

Le 2012-04-18 à 1:15 PM, Lee, Sam (SAM LEE) a écrit :

> Hey,
> 
> Has anyone tried using NEMA_IEC_2001.mac phantom contained in example_PHANTOM_SOURCE folder?
> 
> I am getting the following errors:
> 
> [Core-0] Initialization of geometry
> [G4-cerr] ERROR - G4Sphere()::G4Sphere(): sphere10_solid
> [G4-cerr]         Invalide values for radii ! -         pRmin = 10, pRmax = 6
> [G4-cerr]
> [G4-cerr] *** G4Exception : InvalidSetup
> [G4-cerr]       issued by : G4Sphere::G4Sphere()
> [G4-cerr] Invalid radii
> [G4-cerr] *** Fatal Exception *** core dump ***
> [G4-cerr]
> [G4-cerr] *** G4Exception: Aborting execution ***
> 
> It looks like there are something wrong in the macro?
> 
> Sanghyeb(Sam) Lee
> 
> PhD Candidate
> Department of Electrical Engineering and Computer Science
> University of Tennessee, Knoxville
> 
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users



More information about the Gate-users mailing list