Skip to content

CalibrationFile

Liam P. Gaffney edited this page Feb 20, 2025 · 2 revisions

We can provide calibrations for each febex channel (new DAQ) or for the DGF and ADC channels (old DAQ). Each febex channel is identified with its SFP, board and channel numbers. e.g. febex_i_j_k means SFP i, board j, channel k, whereas the DGF and ADC channels from the old DAQ only had board and channel. e.g. dgf_j_k.

For each channel, we can provide several items:

  • Offset - calibration offset term
  • Gain - calibration gain term
  • GainQuadr - calibration quadratic term
  • Type - Qint or Qshort to select 32-bit or 16-bit data (for febex only) - We should use Qint
  • Threshold - threshold [bins]
  • Time - time shift [ns]
  • Name - this isn't used by MiniballSort, but it is a useful tag to indicate which channel it is

If we are acquiring in trace mode, we can provide parameters for the constant fraction discriminator and moving window deconvolution. These are not used in normal acquisition mode.

  • CFD.DelayTime
  • CFD.HoldOff
  • CFD.ShapingTime
  • CFD.IntegrationTime
  • CFD.Threshold
  • CFD.Fraction
  • MWD.DecayTime
  • MWD.RiseTime
  • MWD.FlatTop
  • MWD.Baseline
  • MWD.Window

With the DGFs, the gain is around 0.06 but for febex we normally use Qint mode, so this value is multiplied by a 32-bit value and will be of the order of 3e-6. e.g. for the first two channels of board 2 of SFP 0:

  • febex_0_2_0.Name: MB01B0
  • febex_0_2_0.Offset: 9.193273e-01
  • febex_0_2_0.Gain: 3.615013e-06
  • febex_0_2_0.GainQuadr: 2.735596e-17
  • febex_0_2_0.Threshold: 1.63411e+07
  • febex_0_2_0.Type: Qint
  • febex_0_2_1.Name: MB01B1
  • febex_0_2_1.Offset: 6.661557e-01
  • febex_0_2_1.Gain: 3.277703e-06
  • febex_0_2_1.GainQuadr: 1.002831e-17
  • febex_0_2_1.Threshold: 1.81013e+07
  • febex_0_2_1.Type: Qint

We can also set time shifts e.g.

  • febex_0_0_0.Time: -1925
  • febex_0_0_9.Time: -1900
  • febex_0_1_0.Time: -1570
  • febex_0_1_9.Time: -1555
  • febex_0_2_0.Time: -760
  • febex_0_2_9.Time: -770
  • febex_0_3_0.Time: -605
  • febex_0_3_9.Time: -595
  • febex_0_4_0.Time: -265
  • febex_0_4_9.Time: -270

Clone this wiki locally