From hujl@sitka.triumf.ca Thu Jun 19 14:57:11 2003
Date: Wed, 11 Jun 2003 10:28:54 -0700
From: Jingliang Hu <hujl@sitka.triumf.ca>
To: "Frank, James  S" <frank@bnl.gov>
Cc: "Kettell, Steven" <kettell@bnl.gov>
Subject: RE: TN for beam analysis review.

Jim,

thanks for the questions.

> 1) If both TDC and CCD hits exist, you use the
> time from the TDC.  What 'average' do you mean
> for the energy?  Do you mean the average of
> the ADC and the CCD energy?  Is the CCD energy
> from the pulse-finding, or does it come from
> the fitting?

in this case, i used the average of the ADC and 
CCD energy for this hit's energy. actually, i
tested with 3 assignments: 1. use ADC, 2. use CCD energy,
3. use the 'average' (suggested by Steve and Laur).
and it is found the method 3 has a best output
in rejection/acceptance study.

the CCD energy is from the ccd_pulsate.
 
> 2) What happens when you have 2 ccd hits?
> a) separated, or b) uses pulsate.

i don't quite understand this question. when
we combine the TDC hits and CCD hits. the 
only occasions that could happen are:
  1. both TDC and CCD hits exist
  2. no TDC, but CCD hit exists
  3. no CCD, but TDC hit exists
 
> I'm finding that the pulsate algorithm,
> applied to target pulses gets energies
> that are too high.  Do you see similar
> in the B4, and if so, do you do any 
> correction for this?

I found this problem before- and got it
corrected by redoing the CCD energy calibrations.
when i did the CCD energy calibration with
regard to the ADC calibrated energy, i put a
very strict cut to get rid of those events with
multiple CCD hits inside ADC window. Even so, 
when i plotted the distribution of CCDenergy/ADCenergy
i still found a tail in lower region. so, i just
limited the fit range around the peak, otherwise a 
smaller parameter will be obtained. later, if we 
used a smaller parameter to transform CCD energy 
we would get a 'b4abm_ccd' higher than a 'b4abm_adc'. 

> 3) How do you define when a particle
> goes through the middle or the edge?
> Is it just if it hits an adjacent
> counter?  If so, I'd expect significantly
> more hits on the 'edge' than in the middle,
> which isn't indicated in Fig 8.

in pass2 ntuples i record the total number of hits 
(b4nhbm, b4nhrs) and total number of planes (b4npbm, 
b4nprs) for a 'family' at BM and RS time. 
  - b4nhbm.eq.2.and.b4npbm.eq.2 is applied to select 
    those 'middle' hit, 
  - b4nhbm.eq.4 is applied to select those 'edge' hit
but most of time we have b4nhbm.eq.3.and.b4npbm.eq.2, which
means we get 1 hit on one plane and 2 hits on the other. these
events were not included in Fig. 8 (M, E). Fig. 8 (A) includes
the all events.

jingliang

