Difference between revisions of "CH Code Repository"

From New IAC Wiki
Jump to navigation Jump to search
Line 14: Line 14:
 
[https://wiki.iac.isu.edu/index.php?title=File:ROOT_Characteristics.h Code]
 
[https://wiki.iac.isu.edu/index.php?title=File:ROOT_Characteristics.h Code]
  
='''Energy Calibration'''=
+
='''PAS Experiment'''=
 +
 
 +
=='''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 <sup>152</sup>Eu as a calibration source. Currently (Oct 2022), it is configured to automatically assume use of <sup>152</sup>Eu. The Non-Uniform Binning is also included in this piece of code, but will also be listed separately.
 
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 <sup>152</sup>Eu as a calibration source. Currently (Oct 2022), it is configured to automatically assume use of <sup>152</sup>Eu. The Non-Uniform Binning is also included in this piece of code, but will also be listed separately.
Line 21: Line 23:
  
 
[https://wiki.iac.isu.edu/index.php?title=File:Cal.c Code]
 
[https://wiki.iac.isu.edu/index.php?title=File:Cal.c Code]
 +
 +
='''Teller Light'''=
  
 
='''Previous Pages'''=
 
='''Previous Pages'''=

Revision as of 15:25, 26 October 2022

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 run on DAQ2 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.

Code

PAS Experiment

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.

CH DAQ2 Energy Calibration

Code

Teller Light

Previous Pages

CaGaS Phase II

PAS_Experiment