Config of checker's mCcdbUrl

Dear Experts,
I see that the checkerInterface contains now ccdb api instance. How can I config its url?

In postprocessing I could do:

mCcdbUrl = config.get_child("qc.config.conditionDB.url").get_value<std::string>();

What would be something equivalent for the checker?


Hi Sebastian,

If you define a valid URL in

  "qc": {
    "config": {
      "conditionDB": {
        "url": ""

then you can use the following code in your Checker:

TObject* condition = TaskInterface::retrieveCondition("Path/to/condition");
if (condition) {
  LOG(info) << "Retrieved " << condition->ClassName();
  delete condition;