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