30 auto eventCount = std::make_unique<TH1D>
31 (
"EventLoop_EventCount",
"number of events per algorithm",
32 data.m_algs.size()+1, 0,
data.m_algs.size()+1);
33 eventCount->SetDirectory (
nullptr);
35 for (std::size_t iter = 0; iter !=
data.m_algs.size(); ++ iter)
36 eventCount->Fill (iter,
data.m_algs[iter].m_executeCount);
40 if (
data.m_algs.size() > 0)
42 eventCount->Fill (
data.m_algs.size(),
data.m_algs.back().m_executeCount -
data.m_algs.back().m_skipCount);
45 eventCount->Fill (
data.m_algs.size(),
data.m_eventsProcessed);
48 data.addOutput (std::move (eventCount));
49 return StatusCode::SUCCESS;