<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    <div class="moz-forward-container"><br>
      <br>
      -------- Forwarded Message --------
      <table class="moz-email-headers-table" border="0" cellpadding="0"
        cellspacing="0">
        <tbody>
          <tr>
            <th align="RIGHT" nowrap="nowrap" valign="BASELINE">Subject:
            </th>
            <td>mcsmear</td>
          </tr>
          <tr>
            <th align="RIGHT" nowrap="nowrap" valign="BASELINE">Date: </th>
            <td>Wed, 03 Jun 2015 12:07:55 -0600</td>
          </tr>
          <tr>
            <th align="RIGHT" nowrap="nowrap" valign="BASELINE">From: </th>
            <td>beattite <a class="moz-txt-link-rfc2396E" href="mailto:beattite@uregina.ca"><beattite@uregina.ca></a></td>
          </tr>
          <tr>
            <th align="RIGHT" nowrap="nowrap" valign="BASELINE">To: </th>
            <td>Sean Dobbs <a class="moz-txt-link-rfc2396E" href="mailto:s-dobbs@northwestern.edu"><s-dobbs@northwestern.edu></a>, Mark Ito
              <a class="moz-txt-link-rfc2396E" href="mailto:marki@jlab.org"><marki@jlab.org></a>, Justin Stevens
              <a class="moz-txt-link-rfc2396E" href="mailto:jrsteven@mit.edu"><jrsteven@mit.edu></a>, David Lawrence
              <a class="moz-txt-link-rfc2396E" href="mailto:davidl@jlab.org"><davidl@jlab.org></a></td>
          </tr>
          <tr>
            <th align="RIGHT" nowrap="nowrap" valign="BASELINE">CC: </th>
            <td>Will Levine <a class="moz-txt-link-rfc2396E" href="mailto:wlevine@gmail.com"><wlevine@gmail.com></a>, Will McGinley
              <a class="moz-txt-link-rfc2396E" href="mailto:wmcginle@andrew.cmu.edu"><wmcginle@andrew.cmu.edu></a>, Elton Smith
              <a class="moz-txt-link-rfc2396E" href="mailto:elton@jlab.org"><elton@jlab.org></a>, Zisis Papandreou
              <a class="moz-txt-link-rfc2396E" href="mailto:zisis@uregina.ca"><zisis@uregina.ca></a></td>
          </tr>
        </tbody>
      </table>
      <br>
      <br>
      <pre>Hello.

I just checked in a change to 
/src/programs/Simulation/HDGeant/hitBCal.cc (revision 18639).  There was 
a problem with one of the changes I made to the bcal truth cell method 
that should be working normally again now.  The problem can be seen in 
the attachment 'codeproblem.pdf,' which shows a drastic reduction of 
counts above energy thresholds in diphoton mass histograms.

The attachement 'BCAL_inv_mass.pdf' shows the progress so far in 
comparing the new and old code (with the new fix implemented).  The fits 
are a Gaussian (par[0] - par[2]) plus a fifth-degree polynomial (par[3] 
- par[8]).  The number of pi0s in the peak (estimated by sqrt(2 pi) * 
par[0] * par[2] * #bins/GeV) is given at the bottom of the stats box for 
each fit.

The peak is sitting on about 0.1 GeV, and we aren't sure why, exactly.  
It's in the same place using the old code and the new code.  Is this 
normal for a bggen sample?  The plots are built using the following 
plugin: 
<a class="moz-txt-link-freetext" href="https://halldsvn.jlab.org/repos/trunk/online/packages/monitoring/src/plugins/BCAL_inv_mass">https://halldsvn.jlab.org/repos/trunk/online/packages/monitoring/src/plugins/BCAL_inv_mass</a>
</pre>
      <br>
    </div>
    <br>
  </body>
</html>