ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigMonitoring
TrigCostMonitor
src
TrigCostSupervisorAlg.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
TrigCostSupervisorAlg.h
"
6
7
8
TrigCostSupervisorAlg::TrigCostSupervisorAlg
(
const
std::string& name, ISvcLocator* pSvcLocator)
9
:
AthReentrantAlgorithm
(name, pSvcLocator)
10
{}
11
12
13
StatusCode
TrigCostSupervisorAlg::initialize
() {
14
ATH_MSG_DEBUG
(
"TrigCostSupervisorAlg start"
);
15
ATH_CHECK
(
m_trigCostSvcHandle
.retrieve());
16
return
StatusCode::SUCCESS;
17
}
18
19
20
StatusCode
TrigCostSupervisorAlg::execute
(
const
EventContext& ctx)
const
{
21
ATH_MSG_DEBUG
(
"TrigCostSupervisorAlg execute"
);
22
ATH_CHECK
(
m_trigCostSvcHandle
->startEvent(ctx,
true
));
23
return
StatusCode::SUCCESS;
24
}
ATH_CHECK
#define ATH_CHECK
Evaluate an expression and check for errors.
Definition
AthCheckMacros.h:40
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition
AthMsgStreamMacros.h:29
TrigCostSupervisorAlg.h
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
TrigCostSupervisorAlg::TrigCostSupervisorAlg
TrigCostSupervisorAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition
TrigCostSupervisorAlg.cxx:8
TrigCostSupervisorAlg::initialize
virtual StatusCode initialize() override
Definition
TrigCostSupervisorAlg.cxx:13
TrigCostSupervisorAlg::execute
virtual StatusCode execute(const EventContext &context) const override
Definition
TrigCostSupervisorAlg.cxx:20
TrigCostSupervisorAlg::m_trigCostSvcHandle
ServiceHandle< ITrigCostSvc > m_trigCostSvcHandle
Definition
TrigCostSupervisorAlg.h:25
Generated on
for ATLAS Offline Software by
1.17.0