|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef TRIGCOSTMONITOR_TRIGCOSTAUDITOR_H
6 #define TRIGCOSTMONITOR_TRIGCOSTAUDITOR_H 1
8 #include "GaudiKernel/Auditor.h"
9 #include "GaudiKernel/ServiceHandle.h"
26 using Auditor::before;
55 virtual void before(StandardEventType
evt,
const std::string& caller)
override;
67 virtual void before(StandardEventType
evt, INamedInterface* caller)
override;
72 virtual void after(StandardEventType
evt, INamedInterface* caller,
const StatusCode&
sc)
override;
84 "The trigger cost service to pass audit information to" };
89 return this->
before(evt, caller->name());
93 return this->
after(evt, caller->name(),
sc);
96 #endif // TRIGCOSTMONITOR_TRIGCOSTAUDITOR_H
void callService(const std::string &caller, ITrigCostSvc::AuditType type)
Performs internal call to the trigger cost service.
Gaudi Auditor implementation to hook algorithm executions and notify the Trigger Cost Service.
virtual void before(StandardEventType evt, const std::string &caller) override
Audit before an algorithm standard event type is called.
virtual StatusCode initialize() override
Initialise auditor.
::StatusCode StatusCode
StatusCode definition for legacy code.
Class to provide easy MsgStream access and capabilities.
ServiceHandle< ITrigCostSvc > m_trigCostSvcHandle
MsgStream & msg() const
The standard message stream.
TrigCostAuditor(const std::string &name, ISvcLocator *svcloc)
< Inherit CustomEventType as a noop
AuditType
Disambiguation enum for the start or the end of an algorithm's execution.
virtual void after(StandardEventType evt, const std::string &, const StatusCode &sc) override
Audit after an algorithm standard event type is called.
virtual StatusCode finalize() override
Does nothing.