ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Control
AthenaServices
src
AthIncFirerAlg.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
#ifndef ATHENASERVICES_ATH_INCIDENT_FIRER_ALG_H
5
#define ATHENASERVICES_ATH_INCIDENT_FIRER_ALG_H
6
7
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
8
9
#include "Gaudi/Property.h"
10
#include "GaudiKernel/IIncidentSvc.h"
11
#include "GaudiKernel/ISvcLocator.h"
12
#include "GaudiKernel/ServiceHandle.h"
13
14
#include <vector>
15
#include <string>
16
17
23
class
AthIncFirerAlg
:
public
AthReentrantAlgorithm
{
24
public
:
25
AthIncFirerAlg
(
const
std::string& name, ISvcLocator* pSvcLocator);
26
virtual
StatusCode
initialize
()
override
;
27
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
28
29
private
:
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"
};
32
33
ServiceHandle<IIncidentSvc>
m_incSvc
;
34
};
35
36
#endif
AthReentrantAlgorithm.h
AthIncFirerAlg::AthIncFirerAlg
AthIncFirerAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition
AthIncFirerAlg.cxx:9
AthIncFirerAlg::m_serial
Gaudi::Property< bool > m_serial
Definition
AthIncFirerAlg.h:31
AthIncFirerAlg::m_incidents
Gaudi::Property< std::vector< std::string > > m_incidents
Definition
AthIncFirerAlg.h:30
AthIncFirerAlg::m_incSvc
ServiceHandle< IIncidentSvc > m_incSvc
Definition
AthIncFirerAlg.h:33
AthIncFirerAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition
AthIncFirerAlg.cxx:26
AthIncFirerAlg::initialize
virtual StatusCode initialize() override
Definition
AthIncFirerAlg.cxx:15
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
ServiceHandle
Definition
ClusterMakerTool.h:36
Generated on
for ATLAS Offline Software by
1.17.0