 |
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef TRIGCOSTMONITOR_TRIGCOSTAUDITOR_H
6 #define TRIGCOSTMONITOR_TRIGCOSTAUDITOR_H 1
8 #include "Gaudi/Auditor.h"
9 #include "GaudiKernel/ServiceHandle.h"
53 virtual void before(
const std::string&
event,
const std::string& caller,
54 const EventContext& ctx)
override;
63 virtual void after(
const std::string&
event,
const std::string& caller,
77 "The trigger cost service to pass audit information to" };
81 #endif // TRIGCOSTMONITOR_TRIGCOSTAUDITOR_H
virtual void after(const std::string &event, const std::string &caller, const EventContext &ctx, const StatusCode &sc) override
Audit after an algorithm standard event type is called.
Gaudi Auditor implementation to hook algorithm executions and notify the Trigger Cost Service.
virtual StatusCode initialize() override
Initialise auditor.
POOL::TEvent event(POOL::TEvent::kClassAccess)
::StatusCode StatusCode
StatusCode definition for legacy code.
Class to provide easy MsgStream access and capabilities.
ServiceHandle< ITrigCostSvc > m_trigCostSvcHandle
virtual void before(const std::string &event, const std::string &caller, const EventContext &ctx) override
Audit before an algorithm standard event type is called.
MsgStream & msg() const
The standard message stream.
TrigCostAuditor(const std::string &name, ISvcLocator *svcloc)
Standard Gaudi Auditor constructor.
AuditType
Disambiguation enum for the start or the end of an algorithm's execution.
void callService(const std::string &caller, ITrigCostSvc::AuditType type, const EventContext &ctx)
Performs internal call to the trigger cost service.
virtual StatusCode finalize() override
Does nothing.