FatSpeDiscThrV1R0
Purpose
Determine
the nominal discriminator threshold from a pulse height
spectrum in the input datafile.
Rationale
This test will determine which discriminator threshold is the optimal
one. In the FAT test sequence, the single photo electron spectra have
been recorded using a standard value of DAC=550. This results in a
pulse area spectrum that can be used to determine the gain. The pulse
height spectrum drawn from such a spectrum will be used in this test to
determine the optimal discriminator threshold for regular data
recording.
The optimal discriminator threshold is defined as one that allows the
DOM to trigger on everything whose signal level crosses 25% of the
average SPE pulse height.
Therefore in this test the pulse height spectrum is created and 25% of
the average SPE pulse height is determined as a result.
Data Recording Example
HV
to optimal value, if unknown use 1500V
Trigger on pulses
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 both ATWDs active, channel 0 32
samples deep, 8~bit resolution, all other channels 0 samples deep. FADC
inactive, that is 0 samples deep
Record 100~s worth of data at each
HV, that is roughly 30 minutes in total
External Input
Retrieve from the database:
- pedestal pattern and uncertainty together with baseline value and
its uncertainty
- calibration constants from the tick to mV scales for ATWD
channel~0 the width of all samples in time
Monitor Limits
stable temperature
stable high voltage
Analysis Products
- IHistogram1D histPulseHeightSpectrum -- stores the pulse height
spectrum for each HV and temperature [min, max, nXbins]. (stored)
- Variable varExponentialFitHeightParam0 -- for the multiplicative
constant of the fit parameters describing the pulse height histogram (stored)
- Variable varExponentialFitHeightParam1 -- for the fit parameter
that is part of the exponent in the fit describing the pulse height
histogram (stored)
- Variable varGaussianFitHeightParam0 -- for the multiplicative
factor to the gaussian describing the pulse height histogram (stored)
- Variable varGaussianFitHeightParam1 -- for the width of the
gaussian fit to the pulse height histogram (stored)
- Variable varSPEPulseHeight -- for the value of the pulse height
corresponding to single photo electron pulses as determined from the
pulse height histogram fit parameters (stored)
Analysis Strategy
1. Init
Retrieve the
- pedestal pattern and uncertainty together with baseline value and
its uncertainty
- calibration constants from the tick to mV scales for ATWD
channel~0 the width of all samples in time
from the database and fill the corresponding fields in the leaves
resp.ectively create such an entry in the leaf.
2. Define Tree Hierarchy
DOM ID
Temperature
High voltage monitor value
3. Process Records
- subtract the pedestal pattern
- subtract the baseline
- find the pulse height of the first pulse in the waveform
- fill this value into the histogram histPulseHeightSpectrum
4. Finish analysis
- fit an exponential plus
gaussian function to all pulse height spectra
- determine the SPE pulse
heights varSPEPulseHeight from the fit parameters
Judgement Products
- Completeness decision result (incomplete or pass)
- Variable varOptDiscThr -- for the value of the optimal
discriminator threshold determined in this analysis (stored)
Judgement Strategy
Judgement Criteria: