1 #ifndef GAUDICORESVC_ALGEXECSTATESVC_H 2 #define GAUDICORESVC_ALGEXECSTATESVC_H 1 void resetErrorCount(const IAlgorithm *iAlg) override
A service that keeps track of the execution state of Algorithm *.
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
IAlgExecStateSvc::AlgStateMap_t AlgStateMap_t
virtual StatusCode finalize() override final
const std::string & name() const override
Retrieve name of the service.
const AlgExecState & algExecState(const Gaudi::StringKey &algName, const EventContext &ctx) const override
void dump(std::ostringstream &ost, const EventContext &ctx) const override
std::vector< EventStatus::Status > m_eventStatus
void updateEventStatus(const bool &b, const EventContext &ctx) override
std::once_flag m_initFlag
This class represents an entry point to all the event specific data.
The helper class to represent the efficient "key" for access.
This class is used for returning status codes from appropriate routines.
AlgErrorMap_t m_errorCount
unsigned int incrementErrorCount(const IAlgorithm *iAlg) override
std::map< Gaudi::StringKey, std::atomic< unsigned int > > AlgErrorMap_t
std::string trans(const EventStatus::Status &sc) const
unsigned int algErrorCount(const IAlgorithm *iAlg) const override
The IAlgorithm is the interface implemented by the Algorithm base class.
const AlgStateMap_t & algExecStates(const EventContext &ctx) const override
void reset(const EventContext &ctx) override
Base class used to extend a class implementing other interfaces.
const EventStatus::Status & eventStatus(const EventContext &ctx) const override
~AlgExecStateSvc()
Destructor.
AlgExecStateSvc(const std::string &name, ISvcLocator *svc)
Constructor.
virtual StatusCode initialize() override final
std::vector< AlgStateMap_t > AlgStates_t
void setEventStatus(const EventStatus::Status &sc, const EventContext &ctx) override
void addAlg(IAlgorithm *iAlg) override
std::vector< Gaudi::StringKey > m_preInitAlgs