This program takes data fromm the LDMX HCal prototype and deconvolves (through reverse-convolution) the noise function from the signal function.
For a full understanding, please read the report.
To run the program you will need:
- An installation of ldmx-sw with the libDetDescr module installed and configured to run on python (not provided)
- Detector data from a run (not provided)
- A Landau signal function modulated by Birk's law (provided)
- A pedestal file (provided)
- A calibration file (provided)
Once you have acquired the detector data, ensure that both halves of the detector are cross-correlated. Place the correlated file into the 'reconstructions' folder (you might have to create it manually).
In order to run the program:
-
Process the data file using
ldmx python3 PulseHeightExtractor.py
. Use command line arguments or edit the file directly to select the bars you want to extract. Each bar takes a few minutes, so run the script in parallel for each bar on a supercomputer to make it economical. The two bash scripts can help. -
Analyse the extracted data files using
ldmx python3 PulseHeightAnalyser.py
. By default, it analyses layers 3-15, providing a plot of the three functions and also summary analysis plots of the whole detector. Edit the file directly to select the bars you want to analyse.