ATLAS Offline Software
Control
AthenaServices
src
AthIncFirerAlg.h
Go to the documentation of this file.
1
// -- -*- C++ -*-
2
/*
3
Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
4
*/
5
#ifndef __ATH_INCIDENT_FIRER_ALG_H
6
#define __ATH_INCIDENT_FIRER_ALG_H
7
8
#include <vector>
9
#include <string>
10
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
11
#include "Gaudi/Property.h"
12
#include "GaudiKernel/ServiceHandle.h"
13
14
class
IIncidentSvc;
15
16
class
AthIncFirerAlg
:
public
AthReentrantAlgorithm
{
17
public
:
18
AthIncFirerAlg
(
const
std::string&
name
, ISvcLocator* pSvcLocator );
19
virtual
StatusCode
initialize
()
override
;
20
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
21
virtual
StatusCode
finalize
()
override
;
22
private
:
23
// Gaudi::Property<std::vector<std::string>> m_incLists{this, "Incidents", {},"List of incidents to fire"};
24
// Gaudi::Property<bool> m_Serial{this, "FireSerial",false,"Whether to fire serial incidents"};
25
StringArrayProperty
m_incLists
;
26
BooleanProperty
m_Serial
;
27
SmartIF<IIncidentSvc>
m_incSvc
;
28
};
29
30
#endif
AthIncFirerAlg::AthIncFirerAlg
AthIncFirerAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition:
AthIncFirerAlg.cxx:9
AthIncFirerAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition:
AthIncFirerAlg.cxx:24
AthIncFirerAlg::m_incSvc
SmartIF< IIncidentSvc > m_incSvc
Definition:
AthIncFirerAlg.h:27
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition:
AthReentrantAlgorithm.h:83
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthReentrantAlgorithm.h
AthIncFirerAlg::finalize
virtual StatusCode finalize() override
Definition:
AthIncFirerAlg.cxx:35
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:228
AthIncFirerAlg::initialize
virtual StatusCode initialize() override
Definition:
AthIncFirerAlg.cxx:14
AthIncFirerAlg
Definition:
AthIncFirerAlg.h:16
AthIncFirerAlg::m_incLists
StringArrayProperty m_incLists
Definition:
AthIncFirerAlg.h:25
AthIncFirerAlg::m_Serial
BooleanProperty m_Serial
Definition:
AthIncFirerAlg.h:26
Generated on Wed Jan 8 2025 21:07:00 for ATLAS Offline Software by
1.8.18