[d2n-analysis-talk] BB TDC cuts
posik at jlab.org
posik at jlab.org
Sat May 22 18:15:31 EDT 2010
Hi Brad,
So I think I finally got the BB cer multihit TDCs working right. I just
use TString cuts for all hits in the TDC. For example the beam line side
has 6 hits, so I do something like
TString tdc1_1 =
"DL.BBcerT01[Ndata.DL.BBcerT01-1]>xx&&DL.BBcerT01[Ndata.DL.BBcerT01-1]<xx"
Where this is the cut for TDC 1 and the first hit. the xx are just hi and
low channels that I cut on. This is done for all hits, and all TDCs on
both the beam line and rhrs side.
I am able to have cut on all beam line TDCs and RHRS side TDCs. However in
the final TDC cut we want
TString bb_tdc = "beamline_tdc || rhrs_tdc"
Where beamline_tdc has cuts for all hits of all the TDCs on the beamline
side and the rhrs has cuts for all hits of all the TDCs on the rhrs side.
But when I try to make this cut I get an error saying that there are too
many operators. I looked over the code and every thing looks fine.
So I converted every thing to TCut rather than TString, thinking maybe it
was some sort of memeroy thing with ROOT and TString. I now get the
following error from ROOT when I try to apply the bb_tdc cut:
Limitation: Statement too long tdc_test_2.C:166:
cint: Security mode 0x7:0x2 *** Fatal error in interpreter... restarting
interpreter ***
I was wondering if you had ever come across such an error?
Thanks
Matt
More information about the d2n-analysis-talk
mailing list