FatGainDeterminationV1R0


Purpose

For a given High Voltage and a give temperature, this test will determine the Gain of the DOM PMT.

Rationale

    This test is for archiving and characterization purposes. A future test, the long term stability test, will need to test DOMs on a timescale which is unfeasible for data recording. The solution is that we should take small data sets periodically (every two weeks or every month or so), so that we can build up a picture of how a given DOM behaves over time. This test will analyze and record the Gain of a given DOM at a given High voltage. The result will be stord in the domtest database for future inquiry.
    The Gain is defined as the ratio of the total charge of an output pulse to the charge of the single photo electron that produces the pulse. The area under a given pulse is directly related to the charge. If we assume that each individual digitizing sample is an ohmic device, then V=IR. Since I = dq/dt, we can get the charge of a pulse by integrating : Q= (V(t)/R)*dt. This is precisely the area under a pulse, with the proper unit conversions.

Data Recording Example

 Set the Dom to trigger on pulses
Set the ATWD 0 channel 0 to 32 samples deep.
Set all other channels to inactive (zero samples deep)
set Hv to nominal or to 1500 if nominal unavailable
record data for 10 minutes.


External Input

Pedestal Pattern, baseline, calibration constants, input impedance (50 ohms), sample time constants

Monitor Limits

High Voltage Stable
Temperature Stable

Analysis Product

Gain for this HV, stored in a Variable object (key name varGain)
A 1-D histogram of pulse areas (key name histPulseCharge)

Analysis Strategy

1. Init

Get the above external information from the database.

2. Define Tree Hierarchy

    1. DomId
    2. Temperature
    3. PMT HV

3. Process Records

    subtract the pedestal pattern and baseline from the waveform.
    Find the area under the pulse in units of digitizer channel ticks
    convert the area to charge (in units of fundamental charge) by using the channel tick to millivolt scale, the resistace, the charge of an electron, and the time scale for the digitizing channel.
    Fill this into histPulseCharge

4. Finish analysis

from histPulseCharge,
determine the SPE peak mean (process unclear. either fit an exponential + gaussian, or some messier analysis)
fill this into varGain
fill the uncertainty of the fit into the error of varGain.

Judgement Products

p/f/i

Judgement Strategy

    There should be no problems with this test. The only forseeable problem is if the digitizers fail to produce waveform data, in which case the histogram built in the analysis class will be sparse or empty. Therefore, we should test the histogram for number of entries.

Judgement Criteria:

             if there are too few entries in the SPE peak ( < 500 )
          else

Analyze

get the histogram from the analysis class datatree.
get the number of entries for the histogram from the analysis class

Glossary

Gain: if Qpulse is the total charge of a PMT output pulse, and Qe is the charge of a single Photoelectron, the Gain is defined as Qpulse/Qe.