Message: Re: Generating random point in volume, not on surface Not Logged In (login)

## Re: Generating random point in volume, not on surface

Forum: Geometry
Re: Generating random point in volume, not on surface (Henrik)
Re: Re: Generating random point in volume, not on surface (John Apostolakis)
Re: Re: Generating random point in volume, not on surface (Henrik)
Re: Re: Generating random point in volume, not on surface (John Apostolakis)
Re: Re: Generating random point in volume, not on surface (Henrik)
Date: 29 Oct, 2007
From: John Allison <John Allison>

 Why not use the General Particle Source, defining a volume coincident wuth your radioactive volume? Should work. See Geant4 home page, User Support, 10 b, and geant4/examples//extended/eventgenerator/exgps. To quote from the GPS documentation: "The position distribution can be defined by using several basic shapes to contain the starting positions of the particles. The easiest source distribution to define is a point source. One could also define planar sources, where the particles emanate from circles, annuli, ellipses, squares or rectangles. There are also methods for defining 1D or 2D accelerator beam spots. More complicated still, one can define surface or volume sources where the input particles can be confined to either the surface of a three dimensional shape or to within its entire volume. The four 3D shapes used within G4GeneralParticleSource are sphere, ellipsoid, cylinder and parallelepiped."

 Inline Depth: Outline Depth: Add message:

1 Re: Generating random point in volume, not on surface   (Henrik - 30 Oct, 2007)
Re: Generating random point in volume, not on surface   (Henrik - 30 Oct, 2007)
 to: "Re: Generating random point in volume, not on surface"
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 ]