Message: How to define cylindrical volume source using GPS? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question How to define cylindrical volume source using GPS? 

Forum: Particles
Date: 21 Oct, 2009
From: Anil <Anil>

Hello,

I need to visualise the isotropic emission of single energy particles, but I need these to be associated with a cylindrical volume using General Particle Source (GPS). I am using HepRApp driver and GPS commands as given below.

 /gps/particle gamma
 /gps/pos/type Volume
 /gps/pos/shape Cylinder
 /gps/pos/centre 0. 0. 0. mm
 /gps/pos/radius 10. mm
 /gps/pos/halfz 5. mm
 /gps/ang/type iso
 /gps/energy 1000. keV
 /gps/number 100
 /vis/open HepRepFile
 /vis/drawVolume
 /vis/scene/add/trajectories
 /vis/scene/add/hits
 /run/beamOn 1

But, the particle are appearing as such they are emitting from a point source but not from a whole cylindrical volume. Anything wrong in the above commands? How do I configure the GPS to actually distribute the particles uniformly throughout my volume?

Thanks in advance!!

Anil

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

1 Feedback: Re: How to define cylindrical volume source using GPS?   (Giovanni Santin - 06 Nov, 2009)
(_ Question: Re: How to define cylindrical volume source using GPS?   (Anil - 09 Nov, 2009)
(_ Feedback: Re: How to define cylindrical volume source using GPS?   (Giovanni Santin - 11 Nov, 2009)
(_ None: Re: How to define cylindrical volume source using GPS?   (Anil - 13 Nov, 2009)
 Add Message Add Message
to: "How to define cylindrical volume source using 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 ]