Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • L LHCb
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 193
    • Issues 193
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Jira
    • Jira
  • Merge requests 43
    • Merge requests 43
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Issue
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • LHCbLHCb
  • LHCb
  • Merge requests
  • !3271

Make DetDesc Condition objects accessible as YAML::Node

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Marco Clemencic requested to merge det-desc-cond-to-yaml into master Sep 27, 2021
  • Overview 18
  • Commits 5
  • Pipelines 8
  • Changes 18

This change is meant to help with the migration from DetDesc to DD4hep, by allowing developers to access the conditions as YAML::Node instances in DetDesc as well as in DD4hep.

The trick, although inefficient, is to create a clone of the ParamValidDataObject content into a YAML::Node stored in the payload data member (the one used to allow arbitrary objects in the conditions transient store).

There are some limitations in the current implementation:

  • histogram parameter are not mapped
  • conditions overrides from the UpdateManagerSvc are not handled correctly

It's not clear if the above features are needed at all during the transition.

Note: I also added a small fix to a test stdout replacement rule only affecting DetCond.

Edited Nov 17, 2021 by Marco Clemencic
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: det-desc-cond-to-yaml