Skip to content

Add a feature to produce OptoHybrid configurations with S-bit delays

Laurent Petre requested to merge feature/sbit-delay into main

Description

Based on top of !37 (merged).

All is in the title... The routine ingest file structured like:

fed;slot;oh;vfat;group;delay
1467;1;0;0;0;2
1467;1;0;0;1;2
1467;1;0;0;2;2
1467;1;0;0;3;2
1467;1;0;0;4;2
1467;1;0;0;5;2
1467;1;0;0;6;2
[...]

where delay is the expected effective delay in BX for the group. And produces OptoHybrid configuration files such as:

TRIG.SBIT_BX_DELAY.VFAT0_GROUP0 1
TRIG.SBIT_BX_DELAY.VFAT0_GROUP1 1
TRIG.SBIT_BX_DELAY.VFAT0_GROUP2 1
TRIG.SBIT_BX_DELAY.VFAT0_GROUP3 1
TRIG.SBIT_BX_DELAY.VFAT0_GROUP4 1
TRIG.SBIT_BX_DELAY.VFAT0_GROUP5 1
TRIG.SBIT_BX_DELAY.VFAT0_GROUP6 1
[...]
TRIG.SBIT_BX_DELAY_EN.VFAT0_GROUP0 1
TRIG.SBIT_BX_DELAY_EN.VFAT0_GROUP1 1
TRIG.SBIT_BX_DELAY_EN.VFAT0_GROUP2 1
TRIG.SBIT_BX_DELAY_EN.VFAT0_GROUP3 1
TRIG.SBIT_BX_DELAY_EN.VFAT0_GROUP4 1
TRIG.SBIT_BX_DELAY_EN.VFAT0_GROUP5 1
TRIG.SBIT_BX_DELAY_EN.VFAT0_GROUP6 1
[...]

with the usual fed1467-slot1/config-oh0.cfg naming convention.

Related Issue

How Has This Been Tested?

Got an example CSV-file with the desired effective delays. The per-OH output files match the expectations.

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.
Edited by Laurent Petre

Merge request reports

Loading