CDC prototype more on timing 3

From GlueXWiki
Revision as of 09:26, 26 March 2012 by Nsjarvis (Talk | contribs)

Jump to: navigation, search

Latest approach to hit finding is as follows:

  1. Find a hit channel and filter events
    1. Calculate mean pedestal Pm & s.d. (σ) for first 100 samples in 100 events (trigger is approx sample 200)
    2. Set a threshold Tpm (eg 3.5 σ) for further investigation, eg Pm + Tpm , select events & channels where adc value exceeds this
  2. Calculate event pedestal
    1. Calculate event pedestal Pevt for current event & channel, as mean of 100 samples ending 10 samples before trigger time
  3. Use event pedestal to find high threshold time and new local pedestal
    1. Upsample data from samples 150 to 350 (max drift time + trigger time is approx sample 290)
    2. Select events where adc value goes over a high threshold Tpe + Pevt at point x (Tpe ~ 5sigma))
    3. Find a local pedestal Ploc as adc value at Np upsampled points (minisamples) before x (eg Np=15)
  4. Use local pedestal to find high and low threshold times
    1. Search forward from x-Np to find point x1 where data goes over a slightly less high threshold Th + Ploc where Th ~ 4 σ
    2. Search backward from x1 to find point x2 where data goes below low threshold Tl + Ploc where Tl ~ σ

To find where to take local pedestal:

Mean change in ADC value
Mean change in ADC value
Distribution of ADC values after subtracting pedestal at different Np
20 minisamples before threshold crossing
15 minisamples before threshold crossing
12 minisamples before threshold crossing
10 minisamples before threshold crossing
5 minisamples before threshold crossing
ADC values after subtracting pedestal at different Np
20 minisamples before threshold crossing
15 minisamples before threshold crossing
12 minisamples before threshold crossing
10 minisamples before threshold crossing
5 minisamples before threshold crossing
Resolution after subtracting pedestal at different Np for Th1 unused, Th2 = 4sigma, Th1 = 1sigma
20 minisamples before threshold crossing (tz=8)
15 minisamples before threshold crossing (tz=7)
12 minisamples before threshold crossing (tz=6)
10 minisamples before threshold crossing (tz=6)
5 minisamples before threshold crossing (tz=6)