ATLAS Offline Software
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 
11  ATH_CHECK( m_resultMaker.retrieve() );
12  return StatusCode::SUCCESS;
13 }
14 
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