Hardware Event Rate Test

Purpose

In the course of debugging, it was determined that the monitor rate set by the Operator might not be that actually put out by the DOM. This test was written to verify that the proper rate issues forth from the DOM.

Data Recording

The orginal data set had ~20 steps in DAC_PMT_FE_PEDESTAL (Bias Voltage), with ~1000 hits recorded at each step. Any procedure that uses a Hardware Event rate of 1 Hz will do.
this test can be altered to accept other rates, merely by changing the pass/fail/incomplete criteria below

Data Requirements / Completeness Criterion

technically, and positive integer of  Hardware records can be used, although a statistically meaningful result can only come from a sufficient number (300) of events.

List of Entities for Analysis and Storage

data analysis:
the time stamp of the hardware event type of monitor record

stored quantities:
a variable containing the mean rate


Monitor Limits

No cuts needed. It would be nice, although it is not necessary, that all monitoring quantities be stable and unchanging.

HitAnalysis Overview

1. Init

2. Process Records

For monitor records :

throw out any non-hardware event record
obtain the timestamp from the hardware events.
decode this timestamp into a long
calculate the difference between the current monitor record's time, and that of the previous record
histogram this time differnence

For hit records :

no analysis needed.

3. Finish analysis

examine the histogram, find the mean, and place this in the variable.

List of Entities for Judgement and Storage

JudgementAnalysis Overview

Judgement Criteria:

if the rate is 1+- 0.3 Hz, pass
fail else

It should be noted that this is the first test ever to pass a DOM

Analyze

grab each DomId branch

Finalize

chech that the mean is with in the stated limits

Store

p/f/i


Glossary (Collection only)