<br><br><div class="gmail_quote">On Fri, Aug 27, 2010 at 10:52 AM, David Flay <<a href="mailto:flay@jlab.org">flay@jlab.org</a>> wrote:<br><blockquote class="gmail_quote">
Hey Brad,<br>
<br>
I was poking around the source code, and I'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's labeled as a 'trigger offset for paddles.' Looking<br>
at the source code, it shows up in the ReadDatabase method (after it'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<fNelem && fgets( buf, LEN, fi ) && ! strchr(buf,'[') ) {<br>
char *ptr = buf;<br>
int pos=0;<br>
while ( cnt < fNelem && sscanf(ptr,"%lf%n",&fTrigOff[cnt],&pos)>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>