Commit 3053dee6 authored by Norbert Herrmann's avatar Norbert Herrmann
Browse files

change RuntimeDB instantiation to allow for usage in MQ environment

parent 80798817
......@@ -74,8 +74,9 @@ void CbmTofCreateDigiPar::SetParContainers() {
LOG(info) << " * CbmTofCreateDigiPar:: SetParContainers() ";
// Get Base Container
FairRunAna* ana = FairRunAna::Instance();
FairRuntimeDb* rtdb = ana->GetRuntimeDb();
//FairRunAna* ana = FairRunAna::Instance();
//FairRuntimeDb* rtdb = ana->GetRuntimeDb();
FairRuntimeDb* rtdb = FairRuntimeDb::instance();
fDigiPar = (CbmTofDigiPar*) (rtdb->getContainer("CbmTofDigiPar"));
......@@ -89,8 +90,9 @@ InitStatus CbmTofCreateDigiPar::ReInit() {
LOG(info) << " * CbmTofCreateDigiPar * :: ReInit() ";
// Get Base Container
FairRunAna* ana = FairRunAna::Instance();
FairRuntimeDb* rtdb = ana->GetRuntimeDb();
//FairRunAna* ana = FairRunAna::Instance();
//FairRuntimeDb* rtdb = ana->GetRuntimeDb();
FairRuntimeDb* rtdb = FairRuntimeDb::instance();
fDigiPar = (CbmTofDigiPar*) (rtdb->getContainer("CbmTofDigiPar"));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment