I tried to set a photon source with Gaussian distribution in position, the FWHM of source is 100um. Then I set the following command.
/gps/pos/type Beam
/gps/pos/sigma_r 42.462 um
May I ask if my settings are correct?
Besides, I have another question, is the meaning of sigma_r (or sigma_x, sigma_y) in ‘gps’ command consistent with the standard deviation in Gaussian distribution formulas?
Not an answer but maybe you could store the positions of the track passing a plane into a 2D histogram to check what you need, e.g., in your SteppingAction.cc