General Particle Source class

Hi all,

I have a question about some options in the gps class.
If I write:

/gps/pos/shape Circle
/gps/pos/centre 0. 0. 0. mm
/gps/pos/radius 1. mm
/gps/pos/sigma_r .2 mm
/gps/direction 0 0 1

what is the physical meaning of sigma_r? How can I imagine my beam? And what changes if I write /gps/pos/sigma_x(or y)?


The “sigma” arguments represent the “spread” of the beam, as a Gaussian distribution in the given direction.

Hi @mkelsey,

Thanks. Ok, I imagined the answer was this one.

So, if I put sigma_r =0 I can simulate an ideal collimated beam. Is it right?

If sigma_r is different from 0 I should imagine my radius r in the range [r - sigma, r + sigma]. Is it right?

Yes, exactly so.

You can imagine it that way, but not exactly. Most (68%) of your beam will be contained in that annulus, but there will be tails (16% each) out to larger and smaller radii. The distribution will be a Gaussian, centered on the /gps/pos/radius value.

1 Like