ATLAS Offline Software
LUCID_Digitization.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 "LUCID_Digitization.h"
6 
8 
9 LUCID_DigiTop::LUCID_DigiTop(const std::string& name,
10  ISvcLocator* svcLoc)
11  : AthAlgorithm(name, svcLoc)
12 {
13 }
14 
16  ATH_MSG_DEBUG ( "Initializing " << name() );
17  ATH_CHECK(m_mergeTool.retrieve());
18  ATH_MSG_DEBUG("Retrieved LUCID_DigiTopTool (" << m_mergeTool->name() << ").");
19 
20  return StatusCode::SUCCESS;
21 }
22 
24  ATH_MSG_DEBUG("execute()");
25  return m_mergeTool->processAllSubEvents(Gaudi::Hive::currentContext());
26 }
LUCID_DigiTop::initialize
virtual StatusCode initialize() override
Definition: LUCID_Digitization.cxx:15
LUCID_DigiTop::m_mergeTool
ToolHandle< IPileUpTool > m_mergeTool
Definition: LUCID_Digitization.h:24
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
LUCID_DigiTop::LUCID_DigiTop
LUCID_DigiTop(const std::string &name, ISvcLocator *svcLoc)
Definition: LUCID_Digitization.cxx:9
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
LUCID_Digitization.h
LUCID_DigiTop::execute
virtual StatusCode execute() override
Definition: LUCID_Digitization.cxx:23