Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • C cmsgemos-analysis
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 26
    • Issues 26
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 3
    • Merge requests 3
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • cmsgemonline
  • gem-daq
  • cmsgemos-analysis
  • Merge requests
  • !21

Add script to create VFAT configuration file from scan results

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Antonello Pellecchia requested to merge feature/create-vfat-config-file into main Sep 14, 2021
  • Overview 0
  • Commits 1
  • Pipelines 5
  • Changes 2

Description

Add an option to gemos to create VFAT configuration files. The command takes as input a folder with a well-known file structure* and produces as output a folder with the same file structure and updated parameters.

In the absence of an input file, a default configuration file can be used. This is typically used to bootstrap a new configuration based on the setup description.

The following parameters are currently supported:

  • The VFAT calibration parameters retrieved from the database
  • The results of the DAC scans
  • The thresholds based on the results of the S-bit rate scans analysis routine

Usage example:

gemos create-config vfat --default default.cfg -c calibration/fed0001-slot01.cfg -d dacScan/dac_Scans.cfg -t sBitRateScan/sbits_1.cfg -t sBitRateScan/sbits_2.cfg results/vfatConfig/
  • The files will be organized in subfolders named fed<xxxx>-slot<y>.

Related Issue

Closes #35 (closed).

How Has This Been Tested?

Tested with results of scans performed on the VFATs available in the lab on a GE2/1 setup as well as the GE1/1 integration setup chambers.

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 Nov 05, 2021 by Laurent Petre
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: feature/create-vfat-config-file