Rectangular beam profile
Created by: moukaddam
Salut, Often in in-beam fragmentation experiments the beam profile looks more like a rectangular profile with gaussian borders (see image). If we normally have the data we can use the ProfilePath option to reproduce a very realistic beam profile. However, if one wants to replecate in a simple way the profile from an image of the beam it might be useful to have a "rectangular" distribution for X an Y, this will only move the centroid of the beam within a rectangle centered at the beam position. If you think that's interesting for the collaboration I can push in my changes. The same thing could be said about the beam energy, it would be nice to have the option of uniform distribution arounf the beam energy in addition to the gaussian.