Loading [MathJax]/extensions/tex2jax.js
Go to the documentation of this file.
32 info() <<
name() <<
":EventCounter::execute - seen events: " <<
m_total <<
endmsg;
40 info() <<
name() <<
":EventCounter::finalize - total events: " <<
m_total <<
endmsg;
const std::string & name() const override
The identifying name of the algorithm object.
Alias for backward compatibility.
int m_total
The total events seen.
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
EventCounter(const std::string &name, ISvcLocator *pSvcLocator)
Constructor(s)
constexpr static const auto SUCCESS
Gaudi::CheckedProperty< int > m_frequency
The frequency with which the number of events should be reported.
StatusCode initialize() override
StatusCode execute() override
StatusCode finalize() override
int m_skip
The number of events skipped since the last time the count was reported.