1 #include "GaudiAlg/EventCounter.h"
2 #include "GaudiKernel/MsgStream.h"
Definition of the MsgStream class used to transmit messages.
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
StatusCode initialize() override
void setBounds(const T &lower, const T &upper)
Set both bounds (lower and upper) at the same time.
IntegerProperty m_frequency
The frequency with which the number of events should be reported.
Property * declareProperty(const std::string &name, T &property, const std::string &doc="none") const
Declare the named property.
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.
const std::string & name() const override
The identifying name of the algorithm object.
StatusCode finalize() override
This class is used for returning status codes from appropriate routines.
Base class from which all concrete algorithm classes should be derived.
StatusCode execute() override
SmartIF< IMessageSvc > & msgSvc() const
The standard message service.