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

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

Forum: Geometry
Re: None Generating random point in volume, not on surface (Henrik)
Re: None Re: Generating random point in volume, not on surface (John Apostolakis)
Re: None Re: Generating random point in volume, not on surface (Henrik)
Re: None Re: Generating random point in volume, not on surface (John Apostolakis)
Re: None 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:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: Generating random point in volume, not on surface   (Henrik - 30 Oct, 2007)
(_ None: Re: Generating random point in volume, not on surface   (Henrik - 30 Oct, 2007)
 Add Message Add Message
to: "Re: Generating random point in volume, not on surface"

 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 ]