Time Adjustments

Two parameters of each CM, that responsible for location of trigger pulses on FADC track fT, should be adjusted:

CM with shorter Tcable length:

├──────┼─────┼─────┼───────────┼─────┼───────────┤ timeline
   fT   Delta1 Treq   Tcable1   Delta2   Tcable2  

├────────────────────────────────────────────────┤ timeline
                      Toffset

CM with the longest Tcable (Treq is choosen equal 0):

├──────┼─────┼────────────────┼─────┼────────────────┤ timeline
   fT   Delta1     Tcable1     Delta2    Tcable2

├────────────────────────────────────────────────────┤ timeline
                      Toffset

CM - CC line delay calculation

It is important to equalize to straight and reverse parts of the delay by adjust CC trigger thresholds. They must have the same values as comparator threshold on SM (MG) which are 0.6 V. Because of FADC sensitivity is 600 codes per 1 V, we should adjust the trigger thresholds to 0.6 V * 600 codes/V - 360 codes. Because of smoothing we adjust the threshold to 320 codes.

Anyway we find times when request signals from different channels cross the amplitude of 360 codes (req_pulses.C) and use them for more accurate calculation.

Usually a run is carried out with the following parameters:

It is processed by the following steps:

It generates:

Script root -l -q 'offset_init.C("[path]/trigger_pulses.txt", "[path]/offset.txt", 0)' calculates:

Toffset measures in ns. To translate it to codes we do Toffset_codes = 12288 - 2 * Toffset / 5. It must be even.

To translate Treq in codes we do Treq_codes = Treq / 10.