Message: Re: GPS(GeneralParticleSource) on hemisphere volume Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: GPS(GeneralParticleSource) on hemisphere volume 

Forum: Particles
Re: Question GPS(GeneralParticleSource) on hemisphere volume (Wonmo)
Date: 23 Nov, 2011
From: Fan Lei <Fan Lei>

This is a late reply. Hope you have find a solution already. Anyhow you were right that "biasing" is the right approach to use. In GPS you can bias any of the source distributions, position, direction, energy etc. In your case, assuming you want a hemisphere in +Z only, you need to apply biasing to the postion distribution in the z-direction:

/gps/hist/type biasz /gps/hist/point 0. 0. /gps/hist/point 0.5 0. /gps/hist/point 1. 1

Please refer to the online GPS SUM and examples for more help

 http://reat.space.qinetiq.com/gps/new_gps_sum_files/Document.htm#gh
 http://reat.space.qinetiq.com/gps/examples/examples.htm

 Add Message Add Message
to: "Re: GPS(GeneralParticleSource) on hemisphere volume"

 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 ]