Skip to content

Commit

Permalink
Fix variable naming
Browse files Browse the repository at this point in the history
  • Loading branch information
tmadlener committed Oct 30, 2023
1 parent 1718675 commit fc99692
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions k4FWCore/src/PodioDataSvc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,12 @@ StatusCode PodioDataSvc::initialize() {
if (m_reading_legacy_file) {
warning() << "Reading PODIO file(s) in legacy format." << endmsg;
m_legacy_reader.openFiles(m_filenames);
m_eventMax = m_reader.getEntries("events");
m_numAvailableEvents = m_reader.getEntries("events");
} else {
m_reader.openFiles(m_filenames);
m_eventMax = m_reader.getEntries("events");
}
if (m_1stEvtEntry != 0) {
m_eventMax -= m_1stEvtEntry;
m_numAvailableEvents = m_reader.getEntries("events");
}
m_numAvailableEvents -= m_1stEvtEntry;
}
}

Expand Down

0 comments on commit fc99692

Please sign in to comment.