ATLAS Offline Software
Trigger
TrigSteer
TrigOutputHandling
src
HLTResultMTMakerAlg.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
HLTResultMTMakerAlg.h
"
6
7
HLTResultMTMakerAlg::HLTResultMTMakerAlg
(
const
std::string&
name
, ISvcLocator* pSvcLocator) :
8
AthReentrantAlgorithm
(
name
, pSvcLocator) {}
9
10
StatusCode
HLTResultMTMakerAlg::initialize
() {
11
ATH_CHECK
(
m_resultMaker
.retrieve() );
12
return
StatusCode::SUCCESS;
13
}
14
15
StatusCode
HLTResultMTMakerAlg::finalize
() {
16
ATH_CHECK
(
m_resultMaker
.release() );
17
return
StatusCode::SUCCESS;
18
}
19
20
StatusCode
HLTResultMTMakerAlg::execute
(
const
EventContext& context)
const
{
21
return
m_resultMaker
->makeResult(context);
22
}
HLTResultMTMakerAlg.h
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition:
AthReentrantAlgorithm.h:83
HLTResultMTMakerAlg::finalize
virtual StatusCode finalize() override
Definition:
HLTResultMTMakerAlg.cxx:15
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ATH_CHECK
#define ATH_CHECK
Definition:
AthCheckMacros.h:40
HLTResultMTMakerAlg::initialize
virtual StatusCode initialize() override
Definition:
HLTResultMTMakerAlg.cxx:10
HLTResultMTMakerAlg::execute
virtual StatusCode execute(const EventContext &context) const override
Definition:
HLTResultMTMakerAlg.cxx:20
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:221
HLTResultMTMakerAlg::HLTResultMTMakerAlg
HLTResultMTMakerAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition:
HLTResultMTMakerAlg.cxx:7
HLTResultMTMakerAlg::m_resultMaker
ToolHandle< HLTResultMTMaker > m_resultMaker
Definition:
HLTResultMTMakerAlg.h:25
Generated on Thu Nov 7 2024 21:16:26 for ATLAS Offline Software by
1.8.18