fatDarkNoiseTestV1R0
Purpose
Determine dark noise rates obtained from both SPE scaler / monitor
records and from 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.
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,
giving 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.
Data Recording Example
- Set HV to the nominal value at the given temperature, use 1500V
if the nominal HV is not known
- Bias voltage optimal, use DAC\_PMT\_FE\_PEDESTAL = 1925 if the
nominal value is unknown
- Discriminator threshold optimal, use a DAC value of 550 if the
nominal value is unknown
- trigger pulse
- ATWD channel 0 active, 32 samples deep, 8 bit resolution, all
other channels 0 samples deep
- FADC inactive (0 samples deep)
- Artificial deadtime for SPE_scaler set to 10 micro seconds
- Set monitor rate to roughly 0.1Hz
- Record data for at least 2 minutes
- Note: This test will
process
data that has been recorded under
- arbitrary conditions, the hit records truncated or not.
External Input
There is no external input necessary.
Monitor Limits
- DOM ID
- stable DOM Temperature
Analysis Products
1) Rate from the Spe_scaler
histogram:
histoSpeScalerRateHz: name
="histoSpeScalerRateHz"
content = distribution of dark noise rates as counted by the SPE scaler
unit = Hz
range: between 0
and 3000 Hz with 3000 bins
store: yes
object variables:
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
varLastMonRecTimeStamp:
name = "varLastMonRecTmeStamp"
value = time stamp of that monitor record
preceeding the previous hit record in the same leaf, necessary to
determine whether there is a new monitor record available or not
error+ = 0
error- = 0
unit = tics
store: no
varDurationSec: name
="varDurationSec":
value = total
time of data taking for a given
temperature (store)
error+ = 0
error- = 0
unit = sec
store: yes
2) Rate from hit records
histograms:
histoHitRateHzNis2:
name = "histoHitRateHzNis2"
content = distribution of hit rates computed
from every 2
consecutive hit records
unit = Hz
range: between 0
and 3000 Hz with 3000 bins
store: yes
histoHitRateHzNis10:
name = "histoHitRateHzNis10"
content = distribution of hit rates computed
from every 10
consecutive hit records
unit = Hz
range: between 0
and 3000 Hz with 3000 bins
store: yes
histoHitRateHzNis50:
name = "histoHitRateHzNis50"
content = distribution of hit rates 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 computed from every 2
consecutive hit records
(see histogram histoHitRateNis2)
error+ = RMS of the
distribution of hit rates computed from every 2
consecutive hit records
error- = RMS of the distribution
of hit rates computed from every 2
consecutive hit records
unit = Hz
store: yes
varHitRateHzNis10: name =
"varHitRateNis10"
value = mean value of the distribution of hit
rates computed from every 10
consecutive hit records
(see histogram histoHitRateNis10)
error+ = RMS of the
distribution of hit rates computed from every 10
consecutive hit records
error- = RMS of the distribution
of hit rates computed from every 10
consecutive hit records
unit = Hz
store: yes
varHitRateHzNis50: name =
"varHitRateHzNis50"
value = mean value of the distribution of hit
rates computed from every 50
consecutive hit records
(see histogram histoHitRateNis50)
error+ = RMS of the
distribution of hit rates computed from every 50
consecutive hit records
error- = RMS of the distribution
of hit rates computed from every 50
consecutive hit records
unit = Hz
store: yes
varLastHitTimeStampNis2: name =
"varLastHitTimeStampNis2"
value = time stamp of the first
of a set of 2 hit records
error+ = 0
error- = 0
unit = tics
store: no
varLastHitTimeStampNis10: name =
"varLastHitTimeStampNis10"
value = time stamp of the first
of a set of 10 hit records
value = time stamp of last hit
record for every 10 hit records
error+ = 0
error- = 0
unit = tics
store: no
varLastHitTimeStampNis50: name =
"varLastHitTimeStampNis50"
value = time stamp of last hit
record for every 50 hit records
error+ = 0
error- = 0
unit = tics
store: no
varHitRateCount: name =
"varHitRateCount"
value = counter for hit records processed in
the current leaf used in the rate determination from hit records
error+ = 0
error- = 0
unit = 1
store: no
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 histoHitRateHzNis2 as 1D histogram with a range between
0
and 3000 Hz with 3000 bins.
- Book the histoHitRateHzNis10 as 1D histogram with a range between
0
and 3000 Hz with 3000 bins.
- Book the histoHitRateHzNis50 as 1D histogram with a range between
0
and 3000 Hz with 3000 bins.
- Set the duration counter to zero
- Set the value of varLastMonRecTimeStamp to zero, thus making sure
that
the logic of monitor record processing starts correctly
2. Define Tree Hierarchy
3. Process Records
For monitor records:
1) Verify using the previous monitor
record time stamp variable (varLastMonRecTimeStamp) that there is a new
monitor record.
2) Convert SPE_scaler counts to units of Hz by
multiplying
the SPE_scaler count obtained in a 100ms interval with 10 Hz
3) Fill this SPE_scaler rate
into the histoSpeScalerRateHz histogram.
4) Calculate the time spent
at a given temperature by adding up the difference of the time stamps
in the
current monitor record to the value in the varLastMonRecTimeStamp
unless
the varLastMonRecTimeStamp is zero, in which case the has just been
entered and it would be wrong to compute anything yet
5) Update the variable
varLastMonRecTimeStamp with the time stamp of the monitor record
proceeding the current hit record.
For hit records:
1) Read DOM time stamps from actual hit record (not the wrapped time
stamp).
2) if the varHitCount has a value of zero, signaling the first entry in
the given leaf, set the values of varLastHitTimeStampNis2[10, 50] to the
time stamp of the current hit record
3) count up varHitCount
4) if (varHitCount is multiple of 2[10, 50])
compute the corresponding rate as entry for the
histogram histoHitRateHzNis2[10,50]:
rate = 40,000,000 * 2[10,50] / (time difference
between current hit record and varLastHitTimeStampNis2[10,50])
The factor 40,000,000 translates the DOM clock ticks
to seconds, 1s = 40,000,000 ticks
Also: for the appropriate variable (2,10,50) set the
value of varLastHitTimeStampNis2[10,50] to the current hit time stamp
to prepare for the next computation
4. Finish analysis
For monitor record and hit records:
1) Set the value of varSpeScalerRateHz to the mean of the distribution
in the histoSpeScalerRateHz histogram, set error+ and error- to
the
RMS of this distribution
2) Set the value of varHitRateHzNis2[10,50] to the mean of the
distribution
in the histoHitRateHzNis2[10,50] histogram, set error+ and error-
to the
RMS of this distribution
Judgement Products
For each DOM a judgement (pass, fail or incomplete)
is issued and stored together with its reasoning in
the data base.
Judgement Criteria:
incomplete:
1) There are no measurements available below
temperatures of -20 C.
OR
2) if for any temperature below -20C data recording time is less than
120 secconds
pass:
if there is one or more measurements available at a temperature below
-20C with a duration longer than 120 s
AND for all of these
the varSpeScalerRate is below 1kHz AND the RMS of this rate is below a
value of 100Hz)
fail:
else.
Judgement Strategy
1. Init and/or Retrieve
1) Retrieve varSpeScalerRateHz and varDurationSec.
2) Get mean, error+ and error- from varSpeScalerRateHz.
3) Get value from varDurationSec.
2. Analyze
There is nothing to analyze.
3. Finish analysis
For each DOM:
1) Issue "incomplete" either if all available temperatures are higher
than -20C,
or if the value of varDurationSec is less
than 120 sec with temperature below -20 C
2) Issue "pass" if mean and error+/error- from varSpeScalerRateHz are
less than 1000Hz and 100Hz, respectively
with temperature below -20 C and varDurationSec more
than 120 sec
3) Issue "fail" if neither of the above are satisfied
Glossary
(describe the quantities you dealt with in this test. Aim for a
self-contained description.)