5#ifndef TRIGCOSTMONITOR_TRIGCOSTAUDITOR_H
6#define TRIGCOSTMONITOR_TRIGCOSTAUDITOR_H 1
8#include "Gaudi/Auditor.h"
9#include "GaudiKernel/ServiceHandle.h"
44 virtual StatusCode
finalize()
override;
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,
64 const EventContext& ctx,
const StatusCode&
sc)
override;
77 "The trigger cost service to pass audit information to" };
MsgStream & msg() const
The standard message stream.
AthMessaging(IMessageSvc *msgSvc, const std::string &name)
Constructor.
AuditType
Disambiguation enum for the start or the end of an algorithm's execution.
virtual StatusCode finalize() override
Does nothing.
virtual StatusCode initialize() override
Initialise auditor.
virtual void before(const std::string &event, const std::string &caller, const EventContext &ctx) override
Audit before an algorithm standard event type is called.
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.
void callService(const std::string &caller, ITrigCostSvc::AuditType type, const EventContext &ctx)
Performs internal call to the trigger cost service.
TrigCostAuditor(const std::string &name, ISvcLocator *svcloc)
Standard Gaudi Auditor constructor.
ServiceHandle< ITrigCostSvc > m_trigCostSvcHandle