Difference between revisions of "HV calculation base on Gain Curves"

From Hall A Wiki
Jump to: navigation, search
(HV calculation)
(HV calculation)
 
Line 8: Line 8:
 
The difference is in the desired ADC channel for each layer. For cosmic, the energy deposit is different between the layers because the heights difference of bars. The ADC channel location is added based on the minimum ionizing particlas with 2.2 MeV/cm Energy deposit.
 
The difference is in the desired ADC channel for each layer. For cosmic, the energy deposit is different between the layers because the heights difference of bars. The ADC channel location is added based on the minimum ionizing particlas with 2.2 MeV/cm Energy deposit.
  
In the beam case, all bars have same width, however the kinetic energy of protons is decreasing as we moving from layer 1 to 6. Correct values for the ADC channels must be added to the code.
+
In the beam case, all bars have same width, however the kinetic energy of protons is decreasing as we moving from layer 1 to 6. [https://hallaweb.jlab.org/wiki/index.php/HV_and_Threshold_calibration Correct values for the ADC channels] must be added to the code.
  
  

Latest revision as of 10:22, 17 November 2010

HV calculation

This script calculate the desired voltages for HAND scintillators in two cases:

  1. Cosmic run=1;
  2. Beam (run=0)

The difference is in the desired ADC channel for each layer. For cosmic, the energy deposit is different between the layers because the heights difference of bars. The ADC channel location is added based on the minimum ionizing particlas with 2.2 MeV/cm Energy deposit.

In the beam case, all bars have same width, however the kinetic energy of protons is decreasing as we moving from layer 1 to 6. Correct values for the ADC channels must be added to the code.


This script must be run with "read_gain.C" and gain curve parameter must be available in the corresponding .dat file.


The output of this script are two files, one for left side and second for the right side, with voltage values.