Message: Hemispherical particle source - GPS Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Hemispherical particle source - GPS 

Keywords: GPS hemisphere
Forum: Particles
Date: 22 Apr, 2008
From: valentina <valentina>

Hi all!

I have a question about the use of GPS, and in particular the way to generate particles from an hemisperical surface.

I know that I have to bias the angular distribution and that there is an example (test32.g4mac) but I'm not sure to do the right thing.

Suppose that I have my detector on the XY plane and I want to generate the photons from an hemisphere above the detector. The theta distribution is from 0 to 90 deg respect to the normal of the surface.

This is the macro I wrote:

/gps/particle gamma

/gps/pos/type Surface

/gps/pos/shape Sphere

/gps/pos/centre 0. 0. 0. mm

/gps/pos/radius 100. mm

/gps/ang/type cos

/gps/ang/mintheta 0. deg

/gps/ang/maxtheta 90. deg

/gps/energy 100. keV

/gps/hist/type biaspt

/gps/hist/point 0. 0.

/gps/hist/point 0.5 0.

/gps/hist/point 1. 1.

/gps/hist/type biaspp

/gps/hist/point 0. 1.

/gps/hist/point 0.75 1.

/gps/hist/point 1. 1.

I bias the theta and phi position, but I don't know if it's right.

Someone can help me?

Thank you for every comment/help!


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

 Add Message Add Message
to: "Hemispherical particle source - GPS"

 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 ]