ATLAS Offline Software
MuonDigitizer.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #include "MuonDigitizer.h"
6 
7 
8 MuonDigitizer::MuonDigitizer(const std::string& name, ISvcLocator* pSvcLocator) :
9  AthAlgorithm(name, pSvcLocator) {}
10 
12  ATH_CHECK(m_digTool.retrieve());
13  ATH_MSG_DEBUG("Retrieved MuonDigitzationTool (" << m_digTool->name() << ").");
14  return StatusCode::SUCCESS;
15 }
16 
18  ATH_MSG_DEBUG("in execute()");
19  return m_digTool->processAllSubEvents(Gaudi::Hive::currentContext());
20 }
MuonDigitizer::execute
virtual StatusCode execute() override final
Definition: MuonDigitizer.cxx:17
MuonDigitizer::initialize
virtual StatusCode initialize() override final
Basic algorithm methods.
Definition: MuonDigitizer.cxx:11
MuonDigitizer::MuonDigitizer
MuonDigitizer(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters.
Definition: MuonDigitizer.cxx:8
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
ATH_CHECK
#define ATH_CHECK
Definition: AthCheckMacros.h:40
MuonDigitizer.h
AthAlgorithm
Definition: AthAlgorithm.h:47
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
MuonDigitizer::m_digTool
ToolHandle< IPileUpTool > m_digTool
Definition: MuonDigitizer.h:25