MUST2 SAMURAI_2018 S3-LEB-LPC SUPERNEMO MUGAST EXPAND SCALP GALATRON HiCARI VELO
  MUST2  Not logged in MUST2
Message ID: 516     Entry time: Sat May 26 16:31:53 2018
Author: Jaromir, Giuseppe 
ExpNbr: e744 
Type: EXL-PPT 
Category: Software 
Status: Fixed 
Target-Source: N/A 
Subject: EXL calibration, light leak 
Selector.C can be used to adjust energy bad reconstruction in the EXL detectors due to energy leak (see the PDF attached for more information about it) once we already have the coefficients for the energy on EXL crystals. To operate with it, for first calibration coefficient must be deduced. Once it is done the slopes and offset of the calibration have to be inserted in Selector.C file at lines 41 (a[19]) and at line 49 (b[19]). After thqt thresholds must be fixed (line 58, tr[19]) and also gains on the pairs. We deduced gains as the ratio between x-axis and y-axis of each uncalibrated matrix: for each pair (1-2,3-4,5-6,...,17-18) we took the ratio between x=2000;4000;6000 and the respective y value, and y=2000;4000;6000 and the respective x values. taking the averages of those ratios; those were than used as the coefficients R1ex[9] and R2ex[9] in Selector.C (all information on those values and how are used are in EXL.pdf).
Once the variables are set, the program can be executed using the batch file in attachement by typing the line root rootdir/run_number.root -b batch -q from terminal. Here "run_number" is the name of the run to use. It will generate then a .root file (in attachement some output file for run 0430.root). Now the name is "whatever_output.root", and can be changed from "Selector.C"
The program also provides randomization of bins for the operation of sym between contiguous crystals
Attachment 1: batch  36 Bytes  | Hide | Hide all | Show all
{

AutoTree->Process("Selector.C")
}
Attachment 2: Selector.C  12 kB  | Show | Hide all | Show all
Attachment 3: EXL.pdf  597 kB  | Hide | Hide all | Show all
EXL.pdf EXL.pdf EXL.pdf EXL.pdf EXL.pdf EXL.pdf EXL.pdf
Attachment 4: pairs0102_0910.pdf  451 kB  | Hide | Hide all | Show all
pairs0102_0910.pdf
Attachment 5: pairs1112_1718.pdf  377 kB  | Hide | Hide all | Show all
pairs1112_1718.pdf

ELOG Home Page