Skip to content
Snippets Groups Projects
Commit 48031ef5 authored by Sergei Zharko's avatar Sergei Zharko
Browse files

bugfix: default config for mcbm_qa.C

parent 79173df5
No related branches found
No related tags found
1 merge request!1773bugfix: default config for mcbm_qa.C
Pipeline #28982 passed
......@@ -86,6 +86,11 @@ void mcbm_qa(Int_t nEvents = 0,
TString recFile = dataset + ".rec.root";
TString sinkFile = dataset + ".qa.root";
TString qaConfig = (config.Length() ? config : srcDir + "/macro/qa/configs/qa_tasks_config_" + setupName + ".yaml");
if (gSystem->AccessPathName(qaConfig.Data())) { // file not found, using default one
std::cout << "-I- " << myName << ": the QA configuration file " << qaConfig << " not found, using default one\n";
qaConfig = srcDir + "/macro/qa/configs/qa_tasks_config_mcbm.yaml";
}
TString benchmarkOut = sinkFile + ".qa.benchmark.root";
// ------------------------------------------------------------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment