Skip to content

Allow the create VFAT configurations with channel masking

Laurent Petre requested to merge feature/vfat-channel-masking into main

Description

As the title says, this MR allows the creation VFAT configurations with channel masking. More specifically, the S-curve analysis results (noisy and emtpy/dead channels) can be fed to the gemos create-config vfat command.

Under the hood, the VFAT configuration parameters can now include masked registers. This is done in order to avoid multiplying the number of VFAT registers to set.

Additionally, a new option is introduced to bump the thresholds by a fixed amount of DAC units compared to the thresholds input file.

Related Issue

Fixes #50 (closed)

How Has This Been Tested?

Can locally produce correct configurations based on the output of the S-curve analysis as well as all the previous scans.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Merge request reports