ATLAS Offline Software
InnerDetector
InDetDigitization
FastSiDigitization
src
PixelFastDigitization.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
FastSiDigitization/PixelFastDigitization.h
"
6
#include "
PileUpTools/IPileUpTool.h
"
7
8
//----------------------------------------------------------------------
9
// Constructor with parameters:
10
//----------------------------------------------------------------------
11
PixelFastDigitization::PixelFastDigitization
(
const
std::string &
name
, ISvcLocator *pSvcLocator) :
12
AthAlgorithm
(
name
, pSvcLocator)
13
{
14
}
15
16
//----------------------------------------------------------------------
17
// Initialize method:
18
//----------------------------------------------------------------------
19
StatusCode
PixelFastDigitization::initialize
() {
20
21
ATH_CHECK
(
m_digTool
.retrieve());
22
23
ATH_MSG_VERBOSE
(
"Retrieved Pixel Digitization Tool."
);
24
25
return
StatusCode::SUCCESS;
26
}
27
28
//----------------------------------------------------------------------
29
// Execute method:
30
//----------------------------------------------------------------------
31
StatusCode
PixelFastDigitization::execute
() {
32
33
ATH_MSG_VERBOSE
(
" PixelFastDigitization : execute()"
);
34
35
ATH_CHECK
(
m_digTool
->processAllSubEvents(Gaudi::Hive::currentContext()));
36
37
ATH_MSG_VERBOSE
(
" PixelFastDigitization : m_digTool->processAllSubEvents()"
);
38
39
return
StatusCode::SUCCESS;
40
}
PixelFastDigitization::m_digTool
ToolHandle< IPileUpTool > m_digTool
Definition:
PixelFastDigitization.h:29
ATH_MSG_VERBOSE
#define ATH_MSG_VERBOSE(x)
Definition:
AthMsgStreamMacros.h:28
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
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:228
PixelFastDigitization::initialize
virtual StatusCode initialize() override final
Basic algorithm methods.
Definition:
PixelFastDigitization.cxx:19
PixelFastDigitization.h
PixelFastDigitization::PixelFastDigitization
PixelFastDigitization(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters.
Definition:
PixelFastDigitization.cxx:11
PixelFastDigitization::execute
virtual StatusCode execute() override final
Definition:
PixelFastDigitization.cxx:31
Generated on Sun Dec 22 2024 21:16:25 for ATLAS Offline Software by
1.8.18