[d2n-analysis-talk] L_s1_t_pads, L_s2_t_pads Check
David Flay
flay at jlab.org
Wed Dec 8 15:17:59 EST 2010
Hi Brad,
This morning we discussed the possible issue with the *.t_pads variable...
after printing this variable, it is clear that it seems to be returning
the wrong paddle (in both S2m and S1). In which case, I've made some
histograms (see attached plot).
How these histograms were filled:
Since originally, we plotted say L_s1_rt_c[%d]:L_s1_t_pads[0], I filled
the histogram as:
S1TPads->Fill(L_s1_t_pads[0]); for each event.
For my own t_pads, I have:
MyS1TPads->Fill(L_s1_my_t_pads);
where, for each event when paddle k fires in S1, I do:
L_s1_my_t_pads = k;
So, my variable is declared as an scalar variable -- an Int_t, as opposed
to an array of Double_t (which is what L_s1_t_pads[] is declared as).
The same may be said for S2m.
You'll notice the distributions are different -- most notably in the S1
paddles; s2m is somewhat more consistent between my calculation and what
the analyzer generates.
>From this quick analysis, it's clear that L_s1_t_pads is grabbing the
wrong paddle that we want...
-------------------------------------------------
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_and_s2m_paddle_count_20676_12_8_10.png
Type: image/png
Size: 23900 bytes
Desc: not available
Url : https://mailman.jlab.org/pipermail/d2n-analysis-talk/attachments/20101208/a1b5d8c9/attachment-0001.png
More information about the d2n-analysis-talk
mailing list