Skip to content

Commit

Permalink
Adding podio::ROOTDataSource class to the rootmap
Browse files Browse the repository at this point in the history
  • Loading branch information
kjvbrt committed Jul 8, 2024
1 parent e1b137d commit c20eb40
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/ROOTDataSource.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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>(podio::Frame(m_podioReaders[i]->readEntry("events", 0))));
m_frames.emplace_back(std::make_unique<podio::Frame>(podio::Frame{}));
}
}

Expand Down
1 change: 1 addition & 0 deletions src/root_selection.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@
<class name="podio::ROOTWriter"/>
<class name="podio::RNTupleReader"/>
<class name="podio::RNTupleWriter"/>
<class name="podio::ROOTDataSource"/>
</selection>
</lcgdict>

0 comments on commit c20eb40

Please sign in to comment.