fatDarkNoiseTestV1R0
Purpose
Determine dark noise rates obtained from both SPE scaler (monitor
records) and ATWD (hit records).
Rationale
Any data set collected from a DOM consists of a mixture of hit and
monitor records where the frequency at which monitor records are
collected is usually lower than that of hit records. The domtest
framework sorts all hit and monitor records in time. To any hit
analysis all hit records are presented sequentially, together with the
previous and the succeeding monitor record. The method processRecord()
is the place where each hit record pair can be processed,
one at a time. In this test, the rate at which DOM triggers occur is
evaluated once
from the counter (scaler) on the DOM mainboard (written into monitor
records) and in addition from the collected set of hits. The scaler on
the main board has essentially no dead time and counts the
discriminator threshold crossings during a fixed time interval of
0.1s as an estimate for the rate. Usually in the digitisation and
recording of hit records, a non-zero dead time is present, leading to
a lower number of hits collected than triggers counted in the scaler.
The scaler, on the other hand, does not keep any record of the arrival
time
distribution, which is sampled with hit records as permitted by the
given dead time. In this test, also the variation of the hit rate over
time for a given temperature
is judged. The algorithm to make sure that the rate does not behave
erratically but stays within reasonable ranges needs to be worked out
once real data become available.
Data Recording Example
(A typical and easy-to-achieve setup that will result in a dataset
suitable for this test.)
External Input
There is no external input necessary.
Monitor Limits
DOM ID
stable DOM Temperature
Analysis Products
1) For Spe_scaler rate
histogram:
histoSpeScalerRateHz: name
="histoSpeScalerRateHz"
content = distribution of dark noise rates as counted by SPE scaler
unit = Hz
range: between 0
and 3000 Hz with 3000 bins
store: yes
object variable:
varSpeScalerRateHz: name =
"varSpeScalerRateHz"
value = mean value of the distribution of
dark noise rates counted by SPE_scaler
(see histogram
histoSpeScalerRateHz)
error+ = RMS of the
distribution of dark noise rates counted by SPE_scaler
error- = RMS of the
distribution of dark noise rates counted by SPE_scaler
unit = Hz
store: yes
2) For ATWD hit rate
i) Part I:
histograms:
histoHitRateNis2:
name = "histoHitRateNis2"
content = distribution of hit rates recorded
by ATWD,
computed from every 2
consecutive hit records
unit = Hz
range: between 0
and 3000 Hz with 3000 bins
store: yes
histoHitRateNis10:
name = "histoHitRateNis10"
content = distribution of hit rates recorded
by ATWD,
computed from every 10
consecutive hit records
unit = Hz
range: between 0
and 3000 Hz with 3000 bins
store: yes
histoHitRateNis50:
name = "histoHitRateNis50"
content = distribution of hit rates recorded
by ATWD,
computed from every 50
consecutive hit records
unit = Hz
range: between 0
and 3000 Hz with 3000 bins
store: yes
object variables:
varHitRateHzNis2: name =
"varHitRateHzNis2"
value = mean value of the distribution of hit
rates recorded by ATWD,
computed from every 2
consecutive hit records
(see histogram histoHitRateNis2)
error+ = RMS of the
distribution of hit rates recorded by ATWD,
computed from every 2
consecutive hit records
error- = RMS of the distribution
of hit rates recorded by ATWD,
computed from every 2
consecutive hit records
unit = Hz
store: yes
varHitRateHzNis10: name =
"varHitRateNis10"
value = mean value of the distribution of hit
rates recorded by ATWD,
computed from every 10
consecutive hit records
(see histogram histoHitRateNis10)
error+ = RMS of the
distribution of hit rates recorded by ATWD,
computed from every 10
consecutive hit records
error- = RMS of the distribution
of hit rates recorded by ATWD,
computed from every 10
consecutive hit records
unit = Hz
store: yes
varHitRateHzNis50: name =
"varHitRateHzNis50"
value = mean value of the distribution of hit
rates recorded by ATWD,
computed from every 50
consecutive hit records
(see histogram histoHitRateNis50)
error+ = RMS of the
distribution of hit rates recorded by ATWD,
computed from every 50
consecutive hit records
error- = RMS of the distribution
of hit rates recorded by ATWD,
computed from every 50
consecutive hit records
unit = Hz
store: yes
varDurationSec: name
="varDurationSec":
value = total
time of data taking for a given
temperature (store)
error+ = 0
error- = 0
unit = sec
store: yes
ii) Part II:
histogram:
histoSpePulseHeight: name =
"histoSpePulseHeight"
content = SPE pulse height
distribution
unit =
voltage (arbitrary)
range:
between 0 and TBD with TBD bins
store: yes
object variables:
varSpeToZpeRatio: name =
"varSpeToZpeRatio":
value = SPE to ZPE ratio extracted from SPE
pulse height distribution
(see histogram
histoSpePulseHeight)
error+ = error of the SPE
to ZPE ratio
error- = error of
the SPE to ZPE ratio
unit = no unit
store: yes
Analysis Strategy
1. Init
Book all variables.
Book the speScalerRateHistogram as 1D histogram with a range between 0
and 3000 Hz with 3000 bins.
Book the atwdHitRateHistogram as 1D histogram with a range between 0
and 3000 Hz with 3000 bins.
Book the spePulseHeightHistogram as 1D histogram with a range
between 0 and TBD with TBD bins.
2. Define Tree Hierarchy
DOM ID
DOM Temperature
3. Process Records
For monitor records:
1) Verify using the previous monitor
record time stamp variable that there is a new monitor record.
2) Fill the rate computed from the monitor record's SPE scaler value
into the speScalerRateHistogram.
3) Update the variable with the previous monitor record time stamp.
For hit records:
Part I:
1) Read time stamps from wrapped hit records (for every 2, 10 and 50
consecutive
records).
(Note: wrapped hit record has been already corrected
by DOM_clock (= 40MHz))
Additionally, get accumulated time stamp for a given
temperature.
2) Calculate and fill hit
rate, i.e.,
inverse of two time stamps (from every 2, 10
and 50 consecutive
hits)
multiplied
by 20MHz (= DOM_Hub clock cycle).
Part II:
1) Get a waveform.
2) Get maximum voltage (pulse height) of each SPE pulse.
(Note: default method will be used for getting the
maximum voltage).
3) Fill 1D histogram of the maximum voltage.
4. Finish analysis
For monitor record and hit record (part I):
Get mean and RMS values from all histograms.
For hit record (part II):
1) Do Gausiian fit for SPE signal and do exponential fit for noise
signal (ZPE).
2) Get area under the fit and calculate the fraction of SPE signal
compared to noise signal (ZPE).
Judgement Products
Judgement of pass, fail or incomplete based on judgement criteria
is issued and the judgement and its reasoning are stored in
data base for a given DOM.
Judgement Criteria:
incomplete:
if one of the following condition is met.
1) Data is taken for less than 2 min for a given temperature or the
temperature is set greater than -20 C.
2) Fraction of SPE signal compared to noise (ZPE) signal is less than
TBD %.
pass:
if one of the following conditions is met.
1) Mean, error+ and error- of the dark noise rate (from SPE_scaler) are
less
than 1 kHz, 0.1 kHz and -0.1 kHz (at Temp < -20 C), respectively.
2) Mean, error+ and error- of hit rate (recorded by ATWD), computed
from every 2 (10 or 50 TBD) consecutive hit records,
are less than 1 kHz, 0.1 kHz and -0.1 kHz,
respectively.
3) Fraction of SPE signals (from data) compared to
noise (ZPE), and its errors, are less than
TBD1 and TBD2 %.
fail: if not incomplete and
pass.
Judgement Strategy
1. Init and/or Retrieve
(Retrieve histograms, nTuples, variables from hitAnalysis which are
necessary for judgement analysis.)
Retrive followings:
1) all mean, error+ and error- from hitograms obtained from dark noise
analysis.
2) dataTakingTime (for a given temperature)
3) fraction and error of SPE signal compared to noise signal (ZPE).
2. Analyze
Using the retrieved values, judge "pass, fail or incomplete" using if
conditon based on the
judgement criteria.
4. Finish analysis
Store dark noise test judgement and its reasoning to data base.
Glossary
(describe the quantities you dealt with in this test. Aim for a
self-contained description.)