Message: Re: Multiple source from different locations using GPS Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Multiple source from different locations using GPS 

Forum: Particles
Re: Question Multiple source from different locations using GPS (Shivang Tripathi)
Date: 25 Oct, 2016
From: Youming Yang <Youming Yang>

Simply use (pg. 22 of AppliDev manual)

  /gps/source/add <intensity>

and then re-define your source from the new origin, with new

Adding multiple sources of the same intensity will give them an equal probability of emitting a particle.

Side note: One history from each source you've added will be generated per BeamOn Therefore if you've added 4 sources, and executed

  /run/beamOn 10

40 histories should transport

You may change this behavior by toggling:

  /gps/source/multiplevertex <true/false>

Selecting false would transport 10 histories using the above scenario, randomly selected from the 4 sources.

directionality.On Tue, 25 Oct 2016 09:25:46 GMT, Shivang Tripathi wrote:

> Hello Experts,
> I want to simulate multiple sources originating from different locations
> in world volume with direction of the particles focused on the detector
> surface using gps, as shown in attached image_1.
> I tried with
> /gps/ang/type iso and /gps/ang/type cos
> but not able to focus particles towards detector direction except in
> z-direction.
> Also, not able to understand /gps/ang/mintheta and maxtheta..
> kindly help me to understand & implement such kind of multiple source.
> -Thank you
> Shivang

 Add Message Add Message
to: "Re: Multiple source from different locations 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 ]