From bd129e8cbcd2737e6465a8f3684e58d1f0fc5db2 Mon Sep 17 00:00:00 2001 From: Juraj Smiesko Date: Mon, 6 May 2024 15:36:01 +0200 Subject: [PATCH] Adding podio::ROOTDataSource class to the rootmap --- src/ROOTDataSource.cc | 2 +- src/root_selection.xml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ROOTDataSource.cc b/src/ROOTDataSource.cc index 9ee09cc53..9d00ad85a 100644 --- a/src/ROOTDataSource.cc +++ b/src/ROOTDataSource.cc @@ -127,7 +127,7 @@ void ROOTDataSource::SetNSlots(unsigned int nSlots) { } for (size_t i = 0; i < m_nSlots; ++i) { - m_frames.emplace_back(std::make_unique(podio::Frame(m_podioReaders[i]->readEntry("events", 0)))); + m_frames.emplace_back(std::make_unique(podio::Frame{})); } } diff --git a/src/root_selection.xml b/src/root_selection.xml index 38db949c0..4accb24a3 100644 --- a/src/root_selection.xml +++ b/src/root_selection.xml @@ -5,5 +5,6 @@ +