Message: Re: /gps/pos/confine causes error Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Re: /gps/pos/confine causes error 

Forum: Particles
Re: None /gps/pos/confine causes error (Jeremy McCormick)
Re: None Re: /gps/pos/confine causes error (Jeremy McCormick)
Date: 14 Mar, 2010
From: Suhaili Zakaria <Suhaili Zakaria>

On Fri, 28 Jan 2005 20:19:24 GMT, Jeremy McCormick wrote:
> This error occurs seemingly regardless of the source type I specify, 
> i.e. even if my detector wholly contains a sphere of 1.0 mm radius at
> (0, 0, 0), as in the following.
> 
> /gps/pos/confine pv_det_envelope_0
> /gps/pos/type Volume
> /gps/pos/shape Sphere
> /gps/pos/inner_radius 0
> /gps/pos/radius 1 mm
> /gps/pos/centre 0 0 0
> 
> /gps/ene/mono 10 GeV
> 
> /gps/ang/type iso
> 
> /gps/particle mu-
> 
> I still get the same error message (see parent post).
> 
> Apparently, the GPS thinks that the generated points
> are outside the specified volume when, in fact, they
> are not.
> 
> Simple gps macros such as mono energy with a fixed
> position and momentum work fine.
> 

Hi,

This is an old problem, but I just came across it. I tried to defined my source as volume with inner radius but problem occurs. I believe the problem is due to the fact that inner_radius is only set for plane annulus source.

Can I know how you solve the issue? I might get some ideas on how to solve mine.

Many thanks

Suhaili

 Add Message Add Message
to: "Re: /gps/pos/confine causes error"

 Subscribe Subscribe

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


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]