Time Resolution Test


Purpose

This test examines the uncertainty in the measured arrival time of a photon recorded by a DOM.

Rationale

Much of the functionality of the IceCube detector will depend on the ability of DOMs in the ice to resolve light signals to within a small number of nanoseconds. This is especially important for the StringProcessor and detector triggers which will need to depend on the accuracy of the detection times in order to establish coincidence. Rap Cal, which is used to calibrate all of the DOMs in the detector to a single clock for coincidence purposes, introduces a small uncertainty. We need to characterize the uncertainty in the results from a DOM after Rap Cal correction, but we also need to understand the portion of that uncertainty that results from the hardware on the OM itself and not as a result of its interaction with Rap Cal.

This analysis studies both of these quantities and uses them to make its pass/fail decisions.


Data Recording Example


External Input

This test will require information concerning the overall transit difference between the electronic monitoring board and the DOMs in the freezer. This is called Laser_Sync_Offset in the test setup description, and in the final implementation, it should be available from the database.

This test will need to know the ID of the reference board that receives the electrical synchronization signal. In the final implementation, this quantity should be queried from the database.


Monitor Limits

  1. Stable temperature
  2. Stable high voltage

Analysis Products


Analysis Strategy

1. Init

Take no action.

2. Define Tree Hierarchy

  1. DOM Id

3. Process Records

  1. If this is the first record for this Leaf,
  2. Get the previous external monitor record and check its timestamp against the value stored in previousExternalTimestamp. If this is a new external monitor record, extract its laser trigger rate and add its timestamp and trigger rate to laserTriggers.
  3. Get the previous monitor record and find the bias voltage and temperature recorded for the current time interval.
  4. Use the parameters extracted above to query the database for the pedestal pattern for this DOM under the current monitor conditions.
  5. Subtract the pedestal from the waveform and set its baseline from the database.
  6. If this record has no pulse, discard it.
  7. Find the leading edge of the pulse in the record.
  8. Extract the corrected and raw timestamps from the record and subtract from them the values stored in firstWrappedTimestamp and firstHitTimestamp respectively.
  9. Add the leading edge offset to the subtracted timestamps from above.
  10. Store the result in speTimestamps.
  11. Increment the counters.
  12. Subtract the baseline and pedestal pattern from the waveform in this hit record.
  13. Compute the area of the waveform in this hit record and normalize the waveform to produce an area of 1.
  14. Re-sample the waveform to 1 ns samples.
  15. Add the re-sampled waveform to the Waveform that will become the average.
  16. Add the square of the re-sampled waveform to the Waveform that will become the RMS.

4. Finish analysis

For each second of data from the electrical trigger board:

  1. Find the first timestamp in the one second interval and add it to singleSecondFields.
  2. Use the laser-firing period as the range for a 1D histogram with a bin size of 1 ns
  3. Fill the histogram with the stored trigger timestamps modulo the firing period converted to nanoseconds
  4. Find the mean of the histogram, which should be Gaussian. Also check for bad behavior like a split pulse.
  5. Calculate an offset that will move the mean to the center of the histogram. Store this value in singleSecondEntries, and use this value in subsequent steps to guarantee that the center of the distribution is well centered in the histogram.
  6. Create a histogram that splits the period between laser firings plus a margin of error into 100 segments.
  7. Subtract the current second begin-time from the current timestamp.
  8. Divide the result by the number of records in the second so far, including this one, and cast it to an integer.
  9. Store the result from above in the histogram.
  10. Compute the mean of the histogram. This is the average period of laser firing during this second.
  11. Create a new datapointset whose x-axis represents the 2 sigma range of the zero-centered laser firing period, and which is separated into 101 bins.
  12. Create a 1D histogram for each bin in the datapointset.
  13. For each stored timestamp, find the difference between it and the nearest timestamp projected by the firing period in the vector for this second.
  14. Find the appropriate bin for this timestamp and add the difference to the appropriate histogram.
  15. Find sigma for each histogram and set it in the y-coordinate of the datapointset.
  16. Fit the datapointset with a parabolic fit function and find the minimum of the fit.
  17. Store the value found above as the derivative of period in time in singleSecondEntries.

For the optical modules:

  1. Compute the average waveform and its RMS.
  2. Compute the rise time and fall time of the average waveform and fill the relevant Variables with the result.
  3. Reset the counters.
  4. For each corrected timestamp:
    1. Use the system delay constant to find the nearest trigger timestamp.
    2. If the timestamp is separated from the trigger stamp by less than 50 ns, fill the corrected time histogram with the difference.
    3. Increment the corrected record counter.
  5. For each uncorrected timestamp:
    1. Compute the timestamp of the nearest expected laser pulse.
    2. If the difference between the timestamp and the nearest expected laser pulse is more than 50 ns, discard this record.
    3. Store the leading edge time in an array.
  6. When all uncorrected timestamps have been processed, compute the following in the same way they were computed for the electrical trigger pulses:

Judgement Products

Pass, fail or incomplete decision. Failure message if fail or incomplete.


Judgement Strategy

  1. Recover xml tree from disk.
  2. Perform analysis functions.
  3. Compare results of analysis with pass/fail/incomplete criteria.
  4. Report a decision for each DOM.
  5. Make a failure report, if applicable.

Judgement Criteria:

Analyze

  1. Compute mean of corrected timestamp deviation histogram.
  2. Compute mean of uncorrected timestamp deviation histogram.
  3. Examine each correction contained in singleSecondEntries. Subtract the absolute value of the correction from the value in averagePulserPeriod to find the deviation of the PMT transit time from the design value for this second, and average the result.

Glossary

(describe the quantities you dealt with in this test. Aim for a self-contained description.)