 |
ATLAS Offline Software
|
Go to the documentation of this file.
12 Auditor(
name, pSvcLocator),
23 return StatusCode::SUCCESS;
30 return StatusCode::SUCCESS;
36 const EventContext& ctx) {
39 callService(caller, ITrigCostSvc::AuditType::Before, ctx);
49 callService(caller, ITrigCostSvc::AuditType::After, ctx);
55 const EventContext& ctx) {
57 ATH_MSG_FATAL(
"Error in TrigCostSvc called by TrigCostAuditor, auditing algorithm: " << caller);
58 throw std::runtime_error(
"TrigCostAuditor exception");
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.
virtual StatusCode initialize() override
Initialise auditor.
POOL::TEvent event(POOL::TEvent::kClassAccess)
msgSvc
Provide convenience handles for various services.
::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.
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.