6 #include "GaudiKernel/IInterface.h"
30 = std::make_shared<RootExCellWriter<Acts::TrackParameters>>(
37 return StatusCode::SUCCESS;
48 return StatusCode::SUCCESS;
55 const auto& ctx = Gaudi::Hive::currentContext();
59 for(
size_t i=0;
i<ecells.size();++
i) {
60 m_queue.emplace_back(ctx.eventID().event_number(), std::move(ecells[
i]));
67 using namespace std::chrono_literals;
70 std::this_thread::sleep_for(2
s);
80 std::this_thread::sleep_for(0.5
s);
83 ATH_MSG_INFO(
"Writer thread caught termination signal. Shutting down.");
94 size_t eventNum = queue_item.first;