There was an error while loading. Please reload this page.
1 parent 8ca3f76 commit 2ff6878Copy full SHA for 2ff6878
1 file changed
run/O2PrimaryServerDevice.h
@@ -42,6 +42,7 @@
42
#include "PrimaryServerState.h"
43
#include "SimPublishChannelHelper.h"
44
#include <chrono>
45
+#include <CCDB/BasicCCDBManager.h>
46
47
namespace o2
48
{
@@ -74,6 +75,9 @@ class O2PrimaryServerDevice final : public FairMQDevice
74
75
TStopwatch timer;
76
timer.Start();
77
const auto& conf = mSimConfig;
78
+ auto& ccdbmgr = o2::ccdb::BasicCCDBManager::instance();
79
+ ccdbmgr.setURL(conf.getConfigData().mCCDBUrl);
80
+ ccdbmgr.setTimestamp(conf.getTimestamp());
81
82
// init magnetic field as it might be needed by the generator
83
if (TGeoGlobalMagField::Instance()->GetField() == nullptr) {
0 commit comments