The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
const std::string & name() const override
The identifying name of the algorithm object.
MsgStream & info() const
shortcut for the method msgStream(MSG::INFO)
StatusCode initialize() override
int m_total
The total events seen.
EventCounter(const std::string &name, ISvcLocator *pSvcLocator)
Constructor(s)
int m_skip
The number of events skipped since the last time the count was reported.
StatusCode finalize() override
This class is used for returning status codes from appropriate routines.
constexpr static const auto SUCCESS
Base class from which all concrete algorithm classes should be derived.
Gaudi::CheckedProperty< int > m_frequency
The frequency with which the number of events should be reported.
StatusCode execute() override
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.