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 183
    • Issues 183
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Jira
    • Jira
  • Merge requests 42
    • Merge requests 42
  • 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
  • !3796

Draft: Run3 File Summary Record

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Marco Clemencic requested to merge fsr-for-run3 into master Sep 28, 2022
  • Overview 3
  • Commits 10
  • Pipelines 16
  • Changes 20

This MR introduces a new File Summary Record implementation for Run3.

A few key aspects of the implementation are:

  • leverage on the new Gaudi::Monitoring infrastructure
  • simple (JSON) persistent format recorded in the ROOT file as a simple string

These features guarantee that:

  • it is trivial to add a new entry to the FSR
  • extracting the FSR from a ROOT file is trivial:
    import json
    import ROOT
    f = ROOT.TFile.Open("my_file.root")
    fsr = json.loads(str(f.FileSummaryRecord))

At the moment there is still much work to do (reading, merging, more frameworks info to record, ...), but it's a reasonable proof of concept.

Requires gaudi/Gaudi!1379 (merged) gaudi/Gaudi!1389 (merged) !3830 (merged)

Note: that !3830 (merged) is needed only because without it LHCb does not compile if gaudi/Gaudi!1389 (merged) is applied

References:

  • https://its.cern.ch/jira/browse/LBCOMP-58
  • https://indico.cern.ch/event/1086171/?note=176068
  • https://indico.cern.ch/event/1110473/
Edited Oct 23, 2022 by Marco Clemencic
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: fsr-for-run3