example record requirements page


What are we doing / why are we doing it?
========================================

We need to carry out a study about the effects of different pulse sparsification
methods on the accuracy of the determination of waveform properties like
baseline, baseline RMS, pulse heights etc.

Therefore a number of different sparsification methods will be implemented and
tried out using different parameters of those sparsifications. The results of
the analyses need to be stored and evaluated later, allowing one to (later) plot
biases for different quantities and for different parameter values.

That leads to the following requirements:

We need a tool that allows one to view original pulses and pulses that have been
sparsified.

For each of the pulses the baseline, baseline RMS, pulse heights and the other
quantities need to be calculated.

For each of them the difference bias = value(sparse) - value (original) needs to
be calculated as well.

The display should also contain histograms for each of the bias values.

After the input has been processed, it should be possible to store the bias
histograms for later analysis of the dependence of bias as a function of the
parameter velues for each of the sparsification methods, in order to compare
them and select one of them for use on te DOM mainboards.

Sequence of actions in the UserAnalysis implementation:
=======================================================

STARTUP:
At startup, book histograms for the original pulse, sparsified pulse and for
each of the biases calculated from the pulses.

Select the histograms that should be displayed on the screen.

Select those data elements that should get stored in the finalize method.

PROCESS AN EVENT:
sparsify pulse(s)

calculate calculated values (baseline, RMS, etc) for the original and for the
sparsified pulse.

Calculate the biases for each of the values

Fill histograms with the original pulse, sparsified pulse, values for each of
the biases.

FINALIZE:
Store histograms to a file where the filename contains the name of the
sparsifying method and the value of a parameter characterising the particular
sparsification that has been carried out.