5#ifndef ATHENABASECOMPS_ATHALGORITHM_H
6#define ATHENABASECOMPS_ATHALGORITHM_H 1
13#include "Gaudi/Algorithm.h"
31 AthAlgorithm(
const std::string& name, ISvcLocator* pSvcLocator);
33#pragma GCC diagnostic push
34#pragma GCC diagnostic ignored "-Woverloaded-virtual"
37 virtual StatusCode
execute(
const EventContext& ctx) = 0;
41 virtual StatusCode
execute (
const EventContext& ctx)
const override final;
43#pragma GCC diagnostic pop
virtual bool isReEntrant() const override final
Legacy algorithms are not thread-safe.
virtual StatusCode execute(const EventContext &ctx)=0
Execute method.
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
AthCommonAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)