add dual digitizer setup compatibility with old config format
The dual digitizer setup can now take old format configuration files and will assume only one digitizer is used.
Digitizer Receiver configuration
If the field digitizers
is not provided, it will consider the configuration as an old format and will correspond to a setup with a single digitizer.
Digitizer Monitor configuration
"nb_digitizers": 1
"mapping_channels"
- fasernu_ch0 : 4
- fasernu_ch1 : 5
- veto_st2_ch0 : 6
- veto_st2_ch1 : 7
- btm_timing_ch0 : 8
- btm_timing_ch1 : 9
- top_timing_ch0 : 10
- top_timing_ch1 : 11
- input_clock : 15
(the mapping corresponds to the previously hardcoded values)
"scale" Scale values are assumed 2.0
for all channels.
Schema validation changes
DigitizerMonitor.schema and DigitizerReceiver.schema now validates old and new format for the digitizer receiver and monitor module.
TODOs
-
add schema validation for new config format
Edited by Edward Karl Galantay