From b91c2f37ceb05c8757449b99e0de4463002668e5 Mon Sep 17 00:00:00 2001 From: Barthelemy Date: Thu, 18 Oct 2018 14:32:21 +0200 Subject: [PATCH] fix wrong path --- Modules/Example/src/BenchmarkTask.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Modules/Example/src/BenchmarkTask.cxx b/Modules/Example/src/BenchmarkTask.cxx index 48de2e34ba..3a05ffb85e 100644 --- a/Modules/Example/src/BenchmarkTask.cxx +++ b/Modules/Example/src/BenchmarkTask.cxx @@ -32,10 +32,10 @@ void BenchmarkTask::initialize(o2::framework::InitContext& ctx) string prefix = "qc.tasks_config." + getName(); string taskDefinitionName = mConfigFile->get(prefix + ".taskDefinition"); auto taskConfigTree = mConfigFile->getRecursive(taskDefinitionName); - mNumberHistos = taskConfigTree.get(taskDefinitionName + ".numberHistos"); - mNumberChecks = taskConfigTree.get(taskDefinitionName + ".numberChecks"); - mTypeOfChecks = taskConfigTree.get(taskDefinitionName + ".typeOfChecks"); - mModuleOfChecks = taskConfigTree.get(taskDefinitionName + ".moduleOfChecks"); + mNumberHistos = taskConfigTree.get("numberHistos"); + mNumberChecks = taskConfigTree.get("numberChecks"); + mTypeOfChecks = taskConfigTree.get("typeOfChecks"); + mModuleOfChecks = taskConfigTree.get("moduleOfChecks"); mHistos.reserve(mNumberHistos);