FAT Nonlinearity Scan
Purpose
- To determine the illumination level at which a 10% deviation from linear
behavior is first observed
- To check the droop of PMT response in long pulses at various illuminations
Rationale
The illumination of a PMT by a continuous stream of photons or by a "delta
function" with many phontons in a short time interval can cause the PMT to
behave in unpredictable and undesirable ways. We need to gain an understanding
of how each module behaves under these extreme conditions and also to remove
modules that exhibit behavior that does not meet the design criteria for these
extreme conditions, where the most interesting physics results may be found.
Data Recording
Section 1 (from Purpose):
- Set PMT HV to 1e7 gain.
- Record SPE triggers with the standard 0.25 SPE trigger setting. Require
local coincidence when available from the FPGA.
- Set LED pulser for 10ns optical pulse width at 10 Hz.
- Choose 10 pulse intensities separated by factors of 2-3, making sure to
cover the entire range from 1 PE/ns to 1000 PE/ns at the test stations. This
can be achieved by selecting from the transmission coefficients on the filter
wheel in combination with 2-3 LED intensities.
- For each LED brightness, wait to allow the LED to stabilize and then take
data for long enough to accumulate 10,000 PEs. Make sure the Hardware Event
monitor record rate is sufficient to allow there to be at least 10 records
within the data recording period.
Section 2:
Repeat the steps above using 1 micro-second pulses at 1 Hz.
Data Requirements / Completeness Criterion
1,000 (TBR) useable PEs accumulated in each leaf.
Analysis Products
- IHistogram1D prePulseRatio -- ratio of pre-pulse area to main pulse area
(stored)
- IHistogram1D afterPulseRatio -- ratio of after-pulse area to main pulse
area (stored)
- ITuple singleSecondEntries -- contains the start time, average firing
period, and firing period derivative for each second in the input. This entry
is filled only for the reference board and is used to determine whether each
individual signal seen in the test modules is suitable for analysis.
- ITuple triggerTimes -- stores the trigger times for the sync board. In
other branches, it remains empty.
- Variable averagePulseArea -- contains the area of the average pulse for a
given branch in PEs. (stored)
- Variable currentSecondStart -- the start time for the current second
- Variable fadcDroop -- The droop in the FADC recorded signal as a decimal.
- Variable firstTriggerTime -- contains the first time the sync board
triggered.
- Variable numWaveformsUsed -- contains a counter for the number of waveforms
used in the average and RMS waveforms.
- Variable PECount -- the total number of usable photo-electrons recorded in
this channel (stored)
- Waveform averageWaveform -- contains the running total for the average
waveform for this leaf. This cannot be booked by the framework, and
must be assigned manually in each branch the first time it is used.
- Waveform waveformRMS -- contains the running total for the RMS of the
average waveform for this leaf. Must be booked manually.
Monitor Limits
- Stable filter wheel setting
- Stable external LED brightness
- Stable external LED pulse duration (alt: pulser freq)
External Parameters
- Electrical reference board ID, which should be available from the database.
- Optical reference module ID, which should be available from the database.
- Offset between the reference board and the DOMs in the freezer. This should
be available from the database.
Tree Parameters
- DOM Id
- LED firing time (alt: pulser freq)
- LED brightness
- Filter Wheel setting
HitAnalysis Overview
1. Init
Book all quantities involved.
2. Process Records
For monitor records:
- Extract high voltage.
- Extract temperature.
- Extract front end bias.
For hit records (first time through):
- Collect the leading edge times of the sync signal and store them in
triggerTimes.
- After the first loop has completed, examine the collected timestamps to
compute the entries in singleSecondEntries, which are needed to project pulse
arrival times in the second loop. For a detailed description of the procedure
to calculate expected arrival times, see Time Resolution Analysis.
second time through:
- Check to make sure this is not the sync board. If not, continue.
- Get the pedestal patterns corresponding to the current monitor parameters
from the database and subtract the pedestal from the channels.
- Extract the waveform in each channel.
- Use the pedestal from above to set the baseline in each waveform.
- Determine which channel has the highest gain without overflowing.
- Compute the total area under the waveform for this channel.
- Convert this area to PEs and add the result to the running total.
- Re-sample the extracted waveform to 1ns samples.
- Get the timestamp for this record and find the most likely projected
time for this record.
- If the actual timestamp on the record agrees with the projected arrival
time within 50ns, proceed.
- Divide each sample in the new waveform by the area calculated above and add
the result to the appropriate sample in the running average.
- Divide each sample in the new waveform by the area and add the square of
the result to the running RMS.
- Increment the variable storing the number of waveforms used so far.
- Get the Peaks from the re-sampled Waveform.
- Find the tallest Peak and call this the "main pulse"
- Find the leading edge time of the main pulse, t0.
- Find the area of the Waveform from t0-10 to t0. This is the pre-pulse area.
- Find the area of the Waveform from t0 to t0+50. This is the main pulse
area.
- Find the area of the re-sampled Waveform recorded by the FADC from t0+100
to the end of the sample range. This is the after-pulse area.
- Record the ratios of pre-pulse and after-pulse areas to main pulse area in
the appropriate histograms.
3. Finish analysis
- Loop over each leaf in the Tree.
- Check to make sure this is not the electrical reference board. If not,
proceed.
- Convert the running average and RMS to true average and RMS waveforms.
- Find the tallest peak available in the average waveform and compute its
area.
- Store the result in averagePulseArea.
- Compute the error in the average pulse area using the RMS waveform and
store it in averagePulseArea.
- For each Leaf, find the droop, which is the % difference between the last
sample in the average FADC waveform with the first sample in the pulse.
Judgement Entries
Store only pass/fail/incomplete judgements and messages indicating why a
failure or incomplete result was delivered.
Temporary (for each DOM):
- Hashtable linearResponse -- stores a set of DataPoint objects that hold the
lowest number of PEs and the corresponding attenuation constant for each light
level. This will be the basis for computing the expected pulse integrals.
- DataPointSet pmtResponse -- stores a set of data points that describe PMT
response. The data points use expected number of PEs as the x-coordinate and
the number of measured PEs as the y-coordinate. For linear PMT behavior, the
points should have y=x within 10%.
- float nonlinearNumPEs -- stores the floating-point number of PEs at which
the response of the PMT first deviates from linear behavior by 10%.
- float prePulseRatio -- stores the ratio of pre-pulse area to main pulse
area for the data section closest to 100 PE for this DOM.
- float afterPulseRatio -- the complement of prePulseRatio
JudgementAnalysis Overview
Judgement Criteria:
- PMT remains linear until at least 200 PEs at gain 1e7
- Pre-pulsing fraction < 2% at gain 1e7
- After-pulsing fraction < 10% at gain 1e7
- Response droop of PMT after 1 micro-second < 10% at intensity 10 PE/ns
Analyze
- Find the LED firing voltage and attenuator setting for each Leaf. The LED
firing voltage can be used to find an integral and attenuator setting that
describe linear behavior. Use these to compute the expected number of PEs at
this attenuator setting and compute the number of measured PEs. Store the
results in a data point.
- Calculate the point at which the expected and measured values first differ
by 10%.
- For each DOM, find the Leaf for which closest to 100 PEs should be produced.
- Extract the average of the two histograms associated with this Leaf, and
store the resulting ratios.
- Find the Leaf which has a number of recorded PEs closest to 10,000. This
corresponds to 10 PE/ns for 1 micro-second.
- Extract the droop for the Leaf above and store it.
Finalize
Compare the results computed in "Analyze" to the criteria and issue
pass/fail/incomplete decisions. Issue description messages for fail/incomplete
results.
Store
Export the results from above to disk.
Glossary (Collection only)