Amplitudes Adjustments

We need to:

Find Pedestal Values

It is carried out the following run:

It is processed by the following steps:

The script gives an output like:

Master 192
 0    0.7
 1    6.0
 2    0.3
 3    4.8                                                                                                    4    1.6                                                                                                    5    9.8
 6    4.3
 7    3.2
 8   -4.2
 9    9.8
10   -1.8
11   11.4

So, it is necessary to repeat execution of the script for all masters and copy and paste their output.

Find means of 1 p.e. amplitude distributions

To do it the following run should be carried out:

It can be processed by the following steps:

1 chi2 = 1.2 mean = 128.2 sigma = 44.0 pois mean = 0.0.

It is necessary to check manually the fits with chi2 >> 1 (better all histograms) and put the mean obtained manually in duplicated file ampl_v2.txt.

Correct OM HVs to get desired means of 1 p.e. amplitude distributions

For new clusters in 2019 means of 1 p.e. amplitude (charge) distributions are mostly equal to 18 (90). The desired values are the same. But a lot of channels have amplitude less than 18 (bugs in Sheifler's program).

The output hv_it1.txt file contains previous, corrected HVs and their differences (3 last columns):

  1   1   1      1     16.6    1330    1390      60
  1   1   2      2     15.4    1403    1471      68
  1   1   3      3     15.1    1342    1412      70
  1   1   4      4     17.3    1791    1846      55
  1   1   5      5     17.2    1322    1378      56

The corrected HVs are messaged to the Main Program developer, he carries out new run (see previous section). It is processed by this script. And procedures are repeated until all the means of 1 p.e. distributions will equal the desired values.

It is necessary to compare new HVs installed in a cluster (maininfo of the new run) with recommended values by void check_HV("[maininfo]", "[hv_it1.txt]")

Calculate threshold values

When pedestals and means of 1 p.e. distributions obtained we can calculate filtration, low trigger and high trigger threshold values in FADC codes.

It is necessary to take into account two points:

The value 1.25 was obtained from Lukas's work.