Public Member Functions
|void||correlate (rawevent &)|
|void||correlatemtc (rawevent &)|
|void||correlategenaric (rawevent &, string &, int &, int &, double &)|
|void||correlateplot (rawevent &)|
|plots correlated spectra |
The class controls the correlations of decays with previous implants. The are two two-dimensional Correlation_structure arrays of size MAX_STRIP x MAX_STRIP that are called implants and decays. When an event has been identified as either an implant or decay its information is placed in the appropriate array based on its pixel location. If a decay was identified it is correlated with a previous implant. The correlator checks to make sure that the time between implants is sufficiently long (defined by the variable minimptime) and that the correlation time has not been exceeded (defined by the variable corrtime) before correlating an implant with a decay.
When the correlator is constructed the implant and decay matrices are zeroed.
Initialization consists of zeroing the implant and decay correlation matrices and defining the minimum time between implants (minimptime) and the maximum correaltion time (corrtime).
|void Correlator::correlate||(||rawevent &||revt||)|
Early correlator function used for NSCL, currently obsolete
|void Correlator::correlatemtc||(||rawevent &||revt||)|
Early correlator function, currently obsolete
|void Correlator::correlategenaric||(||rawevent &||revt,|
Generic correlator function to be used in analysis
Defines a genaric correlator function that can be used in both RMS and MTC runs. The logic in the detector_driver decides if an event is either an implant or decay. The genaric correlator is then called and passed the event (revt), whether it is an implant or decay (type), the front and back channel where the event was located to define the location in the correlation matrix to place the information (frontch and backch), and the time of the event (evtime). For an MTC run the variables frontch and backch are set to one for all events.
Status of correlator is plotted in spectrum 6000 with the following values:
|void Correlator::correlateplot||(||rawevent &||revt||)|
plots correlated spectra
Plots correlated spectra, currently the plots being produced are those in the 750's which plot the correlation time of a decay against the energy from the front of the DSSD from 10ns/ch (spectrum 750) to 100ms/ch (spectrum 757).
2D array containing the most recent implant information in each pixel that is correlated with a subsequent decay
2D array containing the most recent decay information in each pixel that is correlated with a previous implant
The minimum amount of time that must pass before an implant will be considered for correlation. Variable in units of 10ns
The maximum amount of time allowed (in units of 10ns) between a decay and its previous implant for a correlation between the two to occur.