Skip to content

Commit

Permalink
Do not quit on empty payload
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitri Peresunko authored and Dmitri Peresunko committed Oct 28, 2021
1 parent e45fe05 commit f490f57
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Detectors/PHOS/workflow/src/ClusterizerSpec.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ void ClusterizerSpec::run(framework::ProcessingContext& ctx)
auto const* phosheader = o2::framework::DataRefUtils::getHeader<o2::phos::PHOSBlockHeader*>(dataref);
if (!phosheader->mHasPayload) {
LOG(DEBUG) << "[PHOSClusterizer - run] No more digits" << std::endl;
ctx.services().get<o2::framework::ControlService>().readyToQuit(framework::QuitRequest::Me);
return;
}

Expand Down Expand Up @@ -107,7 +106,6 @@ void ClusterizerSpec::run(framework::ProcessingContext& ctx)
if (mPropagateMC) {
ctx.outputs().snapshot(o2::framework::Output{"PHS", "CLUSTERTRUEMC", 0, o2::framework::Lifetime::Timeframe}, mOutputTruthCont);
}
ctx.services().get<o2::framework::ControlService>().readyToQuit(framework::QuitRequest::Me);
}

o2::framework::DataProcessorSpec o2::phos::reco_workflow::getClusterizerSpec(bool propagateMC, bool fullClu)
Expand Down

0 comments on commit f490f57

Please sign in to comment.