Skip to content

Commit

Permalink
Run clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcarcell committed Sep 19, 2024
1 parent 564f40f commit 4e80499
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions k4Reco/Overlay/components/OverlayTiming.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,8 @@ retType OverlayTiming::operator()(const edm4hep::EventHeaderCollection&

// TODO: Check that there is anything to overlay

debug() << "Starting overlay at event: " << m_bkgEvents->m_nextEntry[groupIndex] << " for the background group " << groupIndex
<< endmsg;
debug() << "Starting overlay at event: " << m_bkgEvents->m_nextEntry[groupIndex] << " for the background group "
<< groupIndex << endmsg;

if (m_startWithBackgroundEvent >= 0) {
info() << "Skipping to event: " << m_startWithBackgroundEvent << endmsg;
Expand All @@ -219,9 +219,10 @@ retType OverlayTiming::operator()(const edm4hep::EventHeaderCollection&
<< endmsg;

for (int k = 0; k < NOverlay_to_this_BX; ++k) {
info() << "Overlaying background event " << m_bkgEvents->m_nextEntry[groupIndex] << " from group " << groupIndex << " to BX " << bxInTrain
<< endmsg;
auto backgroundEvent = m_bkgEvents->m_rootFileReaders[groupIndex].readEvent(m_bkgEvents->m_nextEntry[groupIndex]);
info() << "Overlaying background event " << m_bkgEvents->m_nextEntry[groupIndex] << " from group " << groupIndex
<< " to BX " << bxInTrain << endmsg;
auto backgroundEvent =
m_bkgEvents->m_rootFileReaders[groupIndex].readEvent(m_bkgEvents->m_nextEntry[groupIndex]);
m_bkgEvents->m_nextEntry[groupIndex]++;
if (m_bkgEvents->m_nextEntry[groupIndex] >= m_bkgEvents->m_totalNumberOfEvents[groupIndex] &&
!m_allowReusingBackgroundFiles) {
Expand Down

0 comments on commit 4e80499

Please sign in to comment.