[Hps-analysis] Moller Generator Fixed! (again)
Bradley T Yale
btu29 at wildcats.unh.edu
Fri May 13 03:25:02 EDT 2016
I think I found the real problem with how the Moller generator was initially set up.
This one affects the generated distribution a LOT more than the RNG precision probably did, and explains the remaining strangeness in the generated distribution.
Looking at the egs5 Moller procedure, the angular cut was defined as:
abs(v(np)) > 0.010 radians
where v(np) is supposed to be theta.
However, the variables u, v, and w in egs are actually directional cosines, p_x = p*u, p_y = p*v, and p_z = p*w.
So this means that in reality, the generator was saving Moller events such that
abs [ sin(theta)*sin(phi) ] > 0.010
which has a periodic nature to it. Plot this equation for some value of phi (or just think about it) and you'll see what was likely making these strange hills and gaps in the energy distribution - full-wave rectified Mollers!
The scattered beam simulation does correctly define theta though:
sqrt[ u^2 + v^2 ]
I made a moller_v3 procedure with this correction (still with a >10 mrad cut), and the comparison between before and after is shown.
The generated events now agree with the calculated cross section (XS curve is shown on the 'bad' plot), and no apparent missing events.
These will be run through recon to see if we can finally get good Moller agreement with data.
I'm also going to try changing the scattered beam energy cut shown in the software meeting to see if it fixes Tim's phi vs. energy discrepancy.
-Brad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.jlab.org/pipermail/hps-analysis/attachments/20160513/2477adc8/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: BadMollers.png
Type: image/png
Size: 99079 bytes
Desc: BadMollers.png
URL: <https://mailman.jlab.org/pipermail/hps-analysis/attachments/20160513/2477adc8/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2pt3_mol_v3_moller_E.png
Type: image/png
Size: 15064 bytes
Desc: 2pt3_mol_v3_moller_E.png
URL: <https://mailman.jlab.org/pipermail/hps-analysis/attachments/20160513/2477adc8/attachment-0003.png>
More information about the Hps-analysis
mailing list