Message: Re: Problems with GPS and position and direction distributions? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Problems with GPS and position and direction distributions? 

Keywords: GPS, position and direction distributions, biasing, usr-defined histograms
Forum: Particles
Re: Question Problems with GPS and position and direction distributions? (Shahrokh)
Date: 02 Nov, 2007
From: Fan Lei <Fan Lei>

There is no direct method in GPS for sampling the position distribution following 2(3) 1-D histogram distribution in X/Y(/Z). However there is a possible solution by combining the plane distribution and biasing:

1) Define the position distibution as in a plane type /gps/pos/type Plane /gps/pos/shape Rectangle /gps/pos/centre x y z cm (from you should be able to work out the values) /gps/pos/halfx X cm /gps/pos/halfy Y cm (again, you should know what X,Y are)

2) Force the GPS to sample the X,Y position following the 2 1D histograms /gps/hist/type biasx /gps/hist/point x1 p1 ... /gps/hist/type biasy /gps/hist/point y1,d1 ...

Have not tried it myself, but I think it should work.

Fan

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

 Add Message Add Message
to: "Re: Problems with GPS and position and direction distributions?"

 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 ]