ATLAS Offline Software
Loading...
Searching...
No Matches
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
6
7HLTResultMTMakerAlg::HLTResultMTMakerAlg(const std::string& name, ISvcLocator* pSvcLocator) :
8 AthReentrantAlgorithm(name, pSvcLocator) {}
9
11 ATH_CHECK( m_resultMaker.retrieve() );
12 return StatusCode::SUCCESS;
13}
14
16 ATH_CHECK( m_resultMaker.release() );
17 return StatusCode::SUCCESS;
18}
19
20StatusCode HLTResultMTMakerAlg::execute(const EventContext& context) const {
21 return m_resultMaker->makeResult(context);
22}
#define ATH_CHECK
Evaluate an expression and check for errors.
An algorithm that can be simultaneously executed in multiple threads.
ToolHandle< HLTResultMTMaker > m_resultMaker
virtual StatusCode finalize() override
HLTResultMTMakerAlg(const std::string &name, ISvcLocator *pSvcLocator)
virtual StatusCode initialize() override
virtual StatusCode execute(const EventContext &context) const override