Message: Re: GPS Primary particle source as Circle Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: GPS Primary particle source as Circle  

Forum: Event and Track Management
Re: Question GPS Primary particle source as Circle (Bogdanov Aleksey)
Re: None Re: GPS Primary particle source as Circle (Bogdanov Aleksey)
Date: 02 May, 2014
From: michel maire <michel maire>

On Wed, 30 Apr 2014 16:19:10 GMT, Bogdanov Aleksey wrote:
> thank you for quick reply,
>  but i do not want to simulate isotropic by angular(cos(phi), cos(theta)). 
> i want to run uniform distribution of primary point 0<=x<=radius in plane of circle shape with gps.
> 
 It is rather simple to do by direct coding:
 theta = twopi*G4UniformRand();
 r = Rmax*std::sqrt(G4UniformRand());

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

1 Question: Re: GPS Primary particle source as Circle   (Bogdanov Aleksey - 05 May, 2014)
 Add Message Add Message
to: "Re: GPS Primary particle source as Circle "

 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 ]