CharPedPatternV1R0
Purpose
This test extracts the baseline
level, its uncertainty, the pedestal
pattern and the RMS fluctuation on each sample for use in subsequent
analyses.
Rationale
All
digitizers on the DOM produce a non-negative output from zero
input from the PMT. There is a
pattern imprinted on the digitized
result of zero input which is
elevated by a certain amount from the
zero-output line. The general offset
is called baseline (a line
without any other features). The
pattern that is seen on top of it is
called the pedestal pattern.
Pedestal patterns don't have any
extension in the y-direction, they
are centered around the value of
zero. The baseline level corresponds
to the zero-level of a given
channel, and the pedestal pattern
can be thought of as a
finer-resolution correction to it.
Meaningful waveform analyses will
require knowledge of the baseline
level and of the pattern.
Pedestal patterns must be
established for each ATWD channel in both
chips separately and for the FADC
channel for each DOM.
The actual test is fairly straight
forward. The optimum frontend bias
voltage (DAC\_PMT\_FE\_PEDESTAL, a
DC offset to the input level of the
digitizers) has been determined
through another test before. The DOM
undergiong the pedestal pattern test
is then set with this optimum
bias voltage.

Each pedestal pattern can only be determined up to a
certain uncertainty. The RMS on the measured data serves to estimate
the uncertainty.

Illustration of the distribution of pedestal entries around
the mean and the width of this distribution.
Triggering on commands issued by the onboard CPU, it is unlikely to
catch a random signal along with these so-called CPU triggers. Still,
all hit records get inspected for (better: against) pulses. The
patterns are averaged together and their flatness and consistency is
evaluated (judged). To this end the RMS of the patterns across all
samples ('flatness-RMS') is computed. All really badly shaped patterns
(bathtub shape, large slope, or generally inconsistent patterns)
should reveal themselves by a large value of their flatness-RMS value
so they can get de-selected. The patterns get stored for later
reference and use in analyses.
Data Recording Example
- HV off
- Trigger: CPU
- Set DAC\_PMT\_FE\_PEDESTAL to optimum as determined by other
tests or to a value of 1925 if this number is not available
- set digitizers to full readout, that is both ATWDs active, 128
samples deep, FADC active, 255 samples deep
- Record around 1000 hit records (pedestal patterns)
External Input
optimum bias voltage in
order to cut on their actual setting
Monitor Limits
- DOM ID
- stable: Temp
- fixed: frontend bias voltage (the actual limits are queried from
the database by the sequencer or get inserted into the xml steering
file by hand)
Analysis Products
In each leaf the following
products need to be present:
- all fields in the pedestal pattern object as of the leaf:
- pedestal pattern, its RMS uncertainty, baseline level and its
uncertainty as part of the XML data output.
For each digitizer device:
- variable (store) counter for the number of hit records that have
been used
- variable (store) flatness-RMS of the average pedestal pattern
computed across all available samples
Analysis Strategy
1. Init
Query the database for the
optimum bias voltage for each DOM at this
temperature
2. Define Tree Hierarchy
Two levels currently:
- DOM ID
- DAC PMT FE PEDESTAL
3. Process Records
For each
channel:
- Make sure that the pattern is not closer to the edges of the
dynamic range than 25 (TBD)
ticks (0 through 256 for 8 bit resolution or 0 through 1024 for 16 bit
resolution are the available values)
- Add the pattern for each channel to the averaged pattern for this
channel (division by the number of records is done later)
- Square all the entries in the pattern and add them for each
channel to the RMS estimator for later division of the number of
hitrecords for this channel
- Increment the hit records counter for this channel
4. Finish analysis
- carry out the averaging for each sample
- divide by the number of entries and draw the square root to
arrive at the RMS value for each sample
- compute the flatness-RMS of the averaged pedestal pattern across
all samples of this channel
- fill the pedestal pattern and the RMS pattern of each channel
into the xml result data holder object
Judgement Products
pass / fail / incomplete
decision
Judgement Strategy
- check completeness criteria, throw incomplete if violated
- check fail criteria, throw fail appropriately
- pass else
Judgement Criteria:
number of hitrecords per channel is not equal to or above 1000 (TBD)
RMS across samples is larger than 20 ticks (TBD) for any of the channels
else
Analyze
- check completeness criteria,
throw incomplete if violated
- check fail criteria, throw
fail appropriately
- pass else
Glossary
- FADC
- ATWD0, ATWD1
- Available Scalers on a DOM
- hardware state event
- engineering format
- pedestal pattern, pedestal RMS
pattern
- channel
- sample