Small algorithm that after a given number of events triggers an AbortEvent.
StatusCode initialize() override
Algorithm initialization.
Gaudi::Property< long > m_count
StatusCode execute() override
Algorithm execution.
long m_counter
Counter of events.
StatusCode finalize() override
Algorithm finalization.
SmartIF< IIncidentSvc > m_incidentSvc
Pointer to the incident service.
Algorithm(std::string name, ISvcLocator *svcloc, std::string version=PACKAGE_VERSION)
Constructor.
Implementation of property with value of concrete type.
The interface implemented by the IncidentSvc service.
Small smart pointer class with automatic reference counting for IInterface.
This class is used for returning status codes from appropriate routines.