CH Code Repository
Preliminary Notes
- The code on this page is intended to be run on DAQ2 locally or via secure shell.
Header File
This is a header file created to take care of formatting plots made with ROOT. This header file can be included in any ROOT script by adding #include "/home/daq/Harpconn/Root_Scripts/Header_Files/ROOT_Characteristics.h" to your script. You will also need to execute PlotStyle(); in your script to take advantage of the header file.
Energy Calibration
This piece of code calibrates ADC data by using a polynomial regression and can be modified to take input from the user if not using 152Eu as a calibration source. Currently (Oct 2022), it is configured to automatically assume use of 152Eu. The Non-Uniform Binning is also included in this piece of code, but will also be listed separately.