ATLAS Offline Software
Loading...
Searching...
No Matches
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
8AFP_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}
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_INFO(x)
#define ATH_MSG_DEBUG(x)
#define CHECK(...)
Evaluate an expression and check for errors.
a call-back interface for tools that merge pileup events information An IPileUpTool is called back fo...
ToolHandle< IPileUpTool > m_digTool
Definition AFP_DigiTop.h:27
virtual StatusCode initialize() override final
virtual StatusCode execute() override final
AFP_DigiTop(const std::string &name, ISvcLocator *pSvcLocator)
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters: