[d2n-analysis-talk] ROOT TH2D Fit Trouble: S1 Timewalk
David Flay
flay at jlab.org
Mon Mar 22 12:59:17 EDT 2010
Hi all,
I am trying to check on how good the current timewalk factors for S1 are
in my DB, so I plot:
1e+9*(L.s1.lt_c[i]):1.0/sqrt(L.s1.la_c[i])
which puts the TDC variable in nanoseconds.
After drawing this histo (object name = h), I use:
h->Fit("pol1");
The result I get is attached. I'm trying to figure out how to get the fit
to actually fit the dark band, where the majority of the events are. If I
use a fitting range, I get 'no fit' -- I get a black line along the
x-axis.
Has anyone had issues with trying to fit such a scatter plot like this
before (in particular, a TH2D)?
Thanks,
Dave
-------------------------------------------------
David Flay
Physics Department
Temple University
Philadelphia, PA 19122
office: Barton Hall, BA319
phone: (215) 204-1331
e-mail: flay at jlab.org
flay at temple.edu
website: http://www.jlab.org/~flay
http://quarks.temple.edu
-------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: s1_L_timewalk_fit_3_22_10.png
Type: image/png
Size: 58931 bytes
Desc: not available
Url : https://mailman.jlab.org/pipermail/d2n-analysis-talk/attachments/20100322/4fd9b1a8/attachment-0001.png
More information about the d2n-analysis-talk
mailing list