<br><br><div class="gmail_quote">On Fri, Aug 27, 2010 at 10:52 AM, David Flay &lt;<a href="mailto:flay@jlab.org">flay@jlab.org</a>&gt; wrote:<br><blockquote class="gmail_quote">
Hey Brad,<br>
<br>
I was poking around the source code, and I&#39;ve found an interesting<br>
quantity in the THaScintillator class: a data member called fTrigOff,<br>
which eventually finds its way into the ROOTfile as L.s2.troff (for S2m,<br>
for instance).  It&#39;s labeled as a &#39;trigger offset for paddles.&#39;  Looking<br>
at the source code, it shows up in the ReadDatabase method (after it&#39;s<br>
been initialized to 0):<br>
<br>
  while ( ReadComment( fi, buf, LEN ) ) {}<br>
  // trigger timing offsets<br>
  {<br>
    int cnt=0;<br>
    while ( cnt&lt;fNelem &amp;&amp; fgets( buf, LEN, fi ) &amp;&amp; ! strchr(buf,&#39;[&#39;) ) {<br>
      char *ptr = buf;<br>
      int pos=0;<br>
      while ( cnt &lt; fNelem &amp;&amp; sscanf(ptr,&quot;%lf%n&quot;,&amp;fTrigOff[cnt],&amp;pos)&gt;0 ) {<br>
        ptr += pos;<br>
        cnt++;<br>
      }<br>
    }<br>
  }<br></blockquote><div><br>to elaborate on this -- from THaScintillator.h:<br><br>   Double_t*   fTrigOff;     // [fNelem] Induced offset of trigger time from<br>                                     // diff between trigger and retiming.<br>
                                     // Visible in coincidence data.<br><br></div></div><br><br clear="all"><br>-- <br>-----------------------------------------------------------<br>David Flay<br>Physics Department<br>Temple University<br>
Philadelphia, PA 19122 <br><br>office: Barton Hall, BA319<br>phone: (215) 204-1331<br><br>e-mail: <a href="mailto:flay@jlab.org">flay@jlab.org</a> <br>            <a href="mailto:flay@temple.edu">flay@temple.edu</a><br>
<br>website: <a href="http://www.jlab.org/%7Eflay">http://www.jlab.org/~flay</a><br>              <a href="http://quarks.temple.edu">http://quarks.temple.edu</a><br>-----------------------------------------------------------<br>
<br><br>