Skip to content

DefaultDigitizer possibility of change of the gain function.

Provide the ability for the DefaultDigitiser to have a user defined gain function that is read from the config. The current preamplifier is simulated by multiplying the input charge with a defined gain factor. This change means that the gain factor is not just a factor, but an arbitrary function.

New Parameters: gain_function and gain_parameters

Usage: A configuration example is the following:

[DefaultDigitizer]
gain_function = "[0] + [1]*x + [2]*x*x"
gain_parameters = [10000.17, -0.032, 0.0011]

Merge request reports