forked from Miniball/MiniballSort
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcalibration.dat
31 lines (28 loc) · 2.34 KB
/
calibration.dat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Calibration file example for MiniballSort
#
# Liam Gaffney - January 2022
#
# pass this file to mb_sort with the -c flag
#
# Format for the calibration parameters
# febex_<sfp>_<board>_<ch>.Offset: # energy calibration offset (default = 0.0)
# febex_<sfp>_<board>_<ch>.Gain: # energy calibration gain (default = 1.0)
# febex_<sfp>_<board>_<ch>.GainQuadr: # energy calibration quadratic term (default = 0.0)
# febex_<sfp>_<board>_<ch>.Threshold: # software threshold in adc units (default = 0)
# febex_<sfp>_<board>_<ch>.Time: # time offset in ns (default = 0)
# febex_<sfp>_<board>_<ch>.Type: # Qshort or Qint depending if you want to use the 16-bit or 32-bit energy value in the data format
# For the CFD and MWD parameters for trace analysis, one has to pass the values as below:
# febex_<sfp>_<board>_<ch>.MWD.DecayTime: # this is equivalent to tau, not James' definition of torr
# febex_<sfp>_<board>_<ch>.MWD.RiseTime: # this is equivalent to 'MWD: L'
# febex_<sfp>_<board>_<ch>.MWD.Window: # this is equivalent to 'MWD: M'
# febex_<sfp>_<board>_<ch>.MWD.FlatTop: # this is equivalent to 'MWD: CFD Trig Delay' - 'MWD: Delay Input'
# febex_<sfp>_<board>_<ch>.MWD.Baseline: # this is equivalent to 'MWD: Delay Input', i.e. the number of sample before the trigger where you want to take the baseline energy
# febex_<sfp>_<board>_<ch>.CFD.Threshold: # this is equivalent to 'CFD Arm Thresh', i.e. the threshold of the CFD (polarity sensitive)
# febex_<sfp>_<board>_<ch>.CFD.DelayTime: # this is equivalent to 'CFD Delay', i.e. the delay time of the CFD
# febex_<sfp>_<board>_<ch>.CFD.ShapingTime: # this is equivalent to 'CFD Differential Time', i.e. the differential shaping time of the CFD.
# febex_<sfp>_<board>_<ch>.CFD.IntegrationTime: # this is equivalent to 'CFD Integral Time', i.e. the integral shaping time of the CFD - set to 1 to be equivalent to Liam's method.
# febex_<sfp>_<board>_<ch>.CFD.Fraction: # this is the CFD fraction, not equivalent to 'CFD Frac', which is a 7-bit integer quantised between 0x00 = 0.0 and 0x7f = 0.992
# febex_<sfp>_<board>_<ch>.CFD.HoldOff: # this is equivalent to 'CFD Delay', i.e. the hold-off time of the CFD (from initual LED threshold crossing).
# The above can be set to some default parameters, and then overridden on a channel-by-channel basis using
#febex_default.<parameter>: