We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ca4e47c commit fcdd7f3Copy full SHA for fcdd7f3
1 file changed
Framework/Core/src/LifetimeHelpers.cxx
@@ -25,6 +25,7 @@
25
#include "Framework/FairMQDeviceProxy.h"
26
#include "Framework/Formatters.h"
27
#include "Framework/DeviceState.h"
28
+#include "Framework/DataTakingContext.h"
29
#include "Framework/Signpost.h"
30
31
#include "Headers/DataHeader.h"
@@ -421,6 +422,7 @@ ExpirationHandler::Handler LifetimeHelpers::enumerate(ConcreteDataMatcher const&
421
422
dh.payloadSize = sizeof(counter_t);
423
dh.payloadSerializationMethod = gSerializationMethodNone;
424
dh.tfCounter = timestamp;
425
+ dh.runNumber = atoi(services.get<DataTakingContext>().runNumber.c_str());
426
dh.firstTForbit = timestamp * orbitMultiplier + orbitOffset;
427
DataProcessingHeader dph{timestamp, 1};
428
services.get<CallbackService>().call<CallbackService::Id::NewTimeslice>(dh, dph);
0 commit comments