ATLAS Offline Software
AFP_DigiTop.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
7 
8 AFP_DigiTop::AFP_DigiTop(const std::string& name, ISvcLocator* pSvcLocator):
9  AthAlgorithm(name, pSvcLocator)
10 {
11 }
12 
14 {
15  // intitialize store gate active store
16  ATH_CHECK(m_digTool.retrieve());
17  ATH_MSG_INFO ( "Retrieved AFP_PileUpTool." );
18  return StatusCode::SUCCESS;
19 }
20 
22 {
23  ATH_MSG_DEBUG ( "AFP_DigiTop::execute" );
24  CHECK ( m_digTool->processAllSubEvents(Gaudi::Hive::currentContext()) );
25  return StatusCode::SUCCESS;
26 
27 }
AFP_DigiTop::initialize
virtual StatusCode initialize() override final
Definition: AFP_DigiTop.cxx:13
AFP_DigiTop.h
AFP_DigiTop::m_digTool
ToolHandle< IPileUpTool > m_digTool
Definition: AFP_DigiTop.h:27
ATH_MSG_INFO
#define ATH_MSG_INFO(x)
Definition: AthMsgStreamMacros.h:31
AFP_DigiTop::execute
virtual StatusCode execute() override final
Definition: AFP_DigiTop.cxx:21
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
CHECK
#define CHECK(...)
Evaluate an expression and check for errors.
Definition: Control/AthenaKernel/AthenaKernel/errorcheck.h:422
AFP_DigiTop::AFP_DigiTop
AFP_DigiTop(const std::string &name, ISvcLocator *pSvcLocator)
Definition: AFP_DigiTop.cxx:8
AthAlgorithm
Definition: AthAlgorithm.h:47
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221