<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Bradley,<br>
    <br>
    Great work. Is this cut unique for Mollers or similar thing may be
    in the trident generator.<br>
    <br>
    Stepan<br>
    <br>
    <div class="moz-cite-prefix">On 5/13/16 3:25 AM, Bradley T Yale
      wrote:<br>
    </div>
    <blockquote
cite="mid:CY1PR0401MB095587AAAD375AEC9D0C9A8486740@CY1PR0401MB0955.namprd04.prod.outlook.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
      <div id="divtagdefaultwrapper" style="font-size:12pt;
        color:#000000; background-color:#FFFFFF;
        font-family:Calibri,Arial,Helvetica,sans-serif">
        <p>I think I found the real problem with how the Moller
          generator was initially set up.<br>
        </p>
        <p>This one affects the generated distribution a LOT more than
          the RNG precision probably did, and explains the remaining
          strangeness in the generated distribution.<br>
        </p>
        <p><br>
        </p>
        <p>Looking at the egs5 Moller procedure, the angular cut was
          defined as:<br>
        </p>
        <p><br>
        </p>
        <p>abs(v(np)) > 0.010 radians <br>
        </p>
        <p><br>
        </p>
        <p>where v(np) is supposed to be theta.</p>
        <p>However, the variables u, v, and w in egs are actually <b>directional
            cosines</b>, p_x = p*u,   p_y = p*v,   and   p_z = p*w.<br>
        </p>
        <p><br>
        </p>
        <p>So this means that in reality, the generator was saving
          Moller events such that</p>
        <p>abs [ sin(theta)*sin(phi) ] > 0.010<br>
        </p>
        <div id="Signature">
          <div id="divtagdefaultwrapper" style="font-size:12pt;
            color:#000000; background-color:#FFFFFF;
            font-family:Calibri,Arial,Helvetica,sans-serif">
            <p><br>
            </p>
            <p>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!</p>
            <br>
            The scattered beam simulation does correctly define theta
            though:<br>
            sqrt[ u^2 + v^2 ]<br>
            <br>
            I made a moller_v3 procedure with this correction (still
            with a >10 mrad cut), and the comparison between before
            and after is shown.<br>
            The generated events now agree with the calculated cross
            section (XS curve is shown on the 'bad' plot), and no
            apparent missing events.<br>
            <br>
            These will be run through recon to see if we can finally get
            good Moller agreement with data.<br>
            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.<br>
            -Brad<br>
          </div>
        </div>
      </div>
      <br>
      <hr>
      <p align="left">
        Use REPLY-ALL to reply to list</p>
      <p align="center">To unsubscribe from the HPS-SOFTWARE list, click
        the following link:<br>
        <a moz-do-not-send="true"
href="https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=HPS-SOFTWARE&A=1"
          target="_blank">https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=HPS-SOFTWARE&A=1</a>
      </p>
    </blockquote>
    <br>
  </body>
</html>