ATLAS Offline Software
Loading...
Searching...
No Matches
ZDC_DigiTop.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3*/
4
7
8ZDC_DigiTop::ZDC_DigiTop(const std::string& name, ISvcLocator* pSvcLocator):
9 AthAlgorithm(name, pSvcLocator)
10{
11}
12
14{
15 ATH_CHECK(m_digTool.retrieve());
16 ATH_MSG_DEBUG ( "Retrieved ZDC_PileUpTool." );
17 return StatusCode::SUCCESS;
18}
19
20StatusCode ZDC_DigiTop::execute(const EventContext& ctx)
21{
22 ATH_MSG_DEBUG ( "ZDC_DigiTop::execute" );
23
24 return m_digTool->processAllSubEvents(ctx);
25}
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_DEBUG(x)
a call-back interface for tools that merge pileup events information An IPileUpTool is called back fo...
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
virtual StatusCode initialize() override final
virtual StatusCode execute(const EventContext &ctx) override final
Execute method.
ToolHandle< IPileUpTool > m_digTool
Definition ZDC_DigiTop.h:29
ZDC_DigiTop(const std::string &name, ISvcLocator *pSvcLocator)