4#ifndef ATHENASERVICES_ATH_INCIDENT_FIRER_ALG_H
5#define ATHENASERVICES_ATH_INCIDENT_FIRER_ALG_H
9#include "Gaudi/Property.h"
10#include "GaudiKernel/IIncidentSvc.h"
11#include "GaudiKernel/ISvcLocator.h"
12#include "GaudiKernel/ServiceHandle.h"
27 virtual StatusCode
execute(
const EventContext& ctx)
const override;
30 Gaudi::Property<std::vector<std::string>>
m_incidents{
this,
"Incidents", {},
"List of incidents to fire"};
31 Gaudi::Property<bool>
m_serial{
this,
"FireSerial",
false,
"Whether to fire serial incidents"};
AthIncFirerAlg(const std::string &name, ISvcLocator *pSvcLocator)
Gaudi::Property< bool > m_serial
Gaudi::Property< std::vector< std::string > > m_incidents
ServiceHandle< IIncidentSvc > m_incSvc
virtual StatusCode execute(const EventContext &ctx) const override
virtual StatusCode initialize() override
An algorithm that can be simultaneously executed in multiple threads.