Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/OverlayTiming.cc
Original file line number Diff line number Diff line change
Expand Up @@ -560,6 +560,9 @@ namespace overlay {
streamlog_out(DEBUG) << "Collection " << collection_names_in_evt->at(i) << " has now " << evt->getCollection(collection_names_in_evt->at(i))->getNumberOfElements() << " elements" << std::endl;
}

// reset pointer
overlay_Evt = nullptr;

}

//------------------------------------------------------------------------------------------------------------------------------------------
Expand Down
8 changes: 6 additions & 2 deletions src/OverlayTimingRandomMix.cc
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ namespace overlay
for (int k = 0; k < _NOverlay; ++k)
{
overlay_Eventfile_reader->open(_inputFileNamesMuPlus.at(v_file_indices_mupl[k]));
streamlog_out(MESSAGE) << "Open mu plus background file: " << _inputFileNamesMuPlus.at(v_file_indices_mupl[k]) << std::endl;
streamlog_out(MESSAGE) << "Open mu plus background file [" << k << "/" << _NOverlay << "]: " << _inputFileNamesMuPlus.at(v_file_indices_mupl[k]) << std::endl;

overlay_Evt = overlay_Eventfile_reader->readNextEvent(LCIO::UPDATE);

Expand Down Expand Up @@ -323,7 +323,7 @@ namespace overlay
for (int k = 0; k < _NOverlay; ++k)
{
overlay_Eventfile_reader->open(_inputFileNamesMuMinus.at(v_file_indices_mumi[k]));
streamlog_out(MESSAGE) << "Open mu minus background file: " << _inputFileNamesMuMinus.at(v_file_indices_mumi[k]) << std::endl;
streamlog_out(MESSAGE) << "Open mu minus background file [" << k << "/" << _NOverlay << "]: " << _inputFileNamesMuMinus.at(v_file_indices_mumi[k]) << std::endl;

overlay_Evt = overlay_Eventfile_reader->readNextEvent(LCIO::UPDATE);

Expand Down Expand Up @@ -407,6 +407,10 @@ namespace overlay
{
streamlog_out(DEBUG) << "Collection " << collection_names_in_evt->at(i) << " has now " << evt->getCollection(collection_names_in_evt->at(i))->getNumberOfElements() << " elements" << std::endl;
}

// reset pointer
overlay_Evt = nullptr;

}

//------------------------------------------------------------------------------------------------------------------------------------------
Expand Down
Loading