Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AggregatedRunInfo can be requested via GRPGeomHelper + related fixes #13586

Merged
merged 4 commits into from
Oct 12, 2024

Commits on Oct 11, 2024

  1. Fix fetching CCDB metadata, extend ccdbRunDependent behaviour

    ccdbParamSpec run-dependence flag changed from bool to int. The new convension is:
    ccdbParamSpec(path) : not run-depndent
    ccdbParamSpec(path, 1) : run-dependent object with usual timestamp and runNumber requested via metadata
    ccdbParamSpec(path, 2) : run-dependent object with runNumber used instead of timestamp.
    So, the entry like RCT/Info/RunInformation should be requested by passing 2.
    shahor02 committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    3fba187 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e9e205d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    04703e0 View commit details
    Browse the repository at this point in the history
  4. AggregatedRunInfo can be requested via GRPGeomHelper

    To do this, request it after creating auto ggRequest = std::make_shared<o2::base::GRPGeomRequest>(...)
    as ggRequest->requireAggregateRunInfo(inputs);
    Then, in the task, once the GRPGeomHelper::checkUpdates was called, one can access AggregatedRunInfo
    as const auto& rInfo = GGCCDBRequest.getAggregatedRunInfo()
    
    TODO: filling of AggregatedRunInfo requires CTP/Calib/FirstRunOrbit which is populated only starting from
    15 Aug 2023. Need to retrofit it for all runs and also for special non-anchored MC range.
    shahor02 committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    9d109af View commit details
    Browse the repository at this point in the history