ATLAS Offline Software
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 
8 ZDC_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 
21 {
22  ATH_MSG_DEBUG ( "ZDC_DigiTop::execute" );
23 
24  return m_digTool->processAllSubEvents(Gaudi::Hive::currentContext());
25 }
ZDC_DigiTop::initialize
virtual StatusCode initialize() override final
Definition: ZDC_DigiTop.cxx:13
ZDC_DigiTop::m_digTool
ToolHandle< IPileUpTool > m_digTool
Definition: ZDC_DigiTop.h:29
ZDC_DigiTop::ZDC_DigiTop
ZDC_DigiTop(const std::string &name, ISvcLocator *pSvcLocator)
Definition: ZDC_DigiTop.cxx:8
ZDC_DigiTop.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition: AthMsgStreamMacros.h:29
IPileUpTool.h
a call-back interface for tools that merge pileup events information An IPileUpTool is called back fo...
ATH_CHECK
#define ATH_CHECK
Definition: AthCheckMacros.h:40
AthAlgorithm
Definition: AthAlgorithm.h:47
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
ZDC_DigiTop::execute
virtual StatusCode execute() override final
Definition: ZDC_DigiTop.cxx:20