ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
ForwardDetectors
AFP
AFP_Digitization
src
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
5
#include "
AFP_Digitization/AFP_DigiTop.h
"
6
#include "
PileUpTools/IPileUpTool.h
"
7
8
AFP_DigiTop::AFP_DigiTop
(
const
std::string& name, ISvcLocator* pSvcLocator):
9
AthAlgorithm
(name, pSvcLocator)
10
{
11
}
12
13
StatusCode
AFP_DigiTop::initialize
()
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
21
StatusCode
AFP_DigiTop::execute
(
const
EventContext& ctx)
22
{
23
ATH_MSG_DEBUG
(
"AFP_DigiTop::execute"
);
24
CHECK
(
m_digTool
->processAllSubEvents(ctx) );
25
return
StatusCode::SUCCESS;
26
27
}
AFP_DigiTop.h
ATH_CHECK
#define ATH_CHECK
Evaluate an expression and check for errors.
Definition
AthCheckMacros.h:40
ATH_MSG_INFO
#define ATH_MSG_INFO(x)
Definition
AthMsgStreamMacros.h:31
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition
AthMsgStreamMacros.h:29
CHECK
#define CHECK(...)
Evaluate an expression and check for errors.
Definition
Control/AthenaKernel/AthenaKernel/errorcheck.h:422
IPileUpTool.h
a call-back interface for tools that merge pileup events information An IPileUpTool is called back fo...
AFP_DigiTop::m_digTool
ToolHandle< IPileUpTool > m_digTool
Definition
AFP_DigiTop.h:27
AFP_DigiTop::initialize
virtual StatusCode initialize() override final
Definition
AFP_DigiTop.cxx:13
AFP_DigiTop::AFP_DigiTop
AFP_DigiTop(const std::string &name, ISvcLocator *pSvcLocator)
Definition
AFP_DigiTop.cxx:8
AFP_DigiTop::execute
virtual StatusCode execute(const EventContext &ctx) override final
Execute method.
Definition
AFP_DigiTop.cxx:21
AthAlgorithm::AthAlgorithm
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthAlgorithm.cxx:10
Generated on
for ATLAS Offline Software by
1.17.0