ATLAS Offline Software
InnerDetector
InDetDigitization
PixelDigitization
src
PixelDigitization.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
PixelDigitization.h
"
6
7
// Constructor with parameters:
8
PixelDigitization::PixelDigitization
(
const
std::string&
name
,
9
ISvcLocator* pSvcLocator) :
10
AthAlgorithm
(
name
, pSvcLocator) {
11
}
12
13
// Initialize method:
14
StatusCode
PixelDigitization::initialize
() {
15
ATH_MSG_DEBUG
(
"initialize()"
);
16
ATH_CHECK
(
m_pixelDigitizationTool
.retrieve());
17
ATH_MSG_DEBUG
(
"Successfully retreived IPixelDigitizaitonTool."
);
18
return
StatusCode::SUCCESS;
19
}
20
21
// Execute method:
22
StatusCode
PixelDigitization::execute
() {
23
ATH_MSG_DEBUG
(
"execute()"
);
24
return
m_pixelDigitizationTool
->processAllSubEvents(Gaudi::Hive::currentContext());
25
}
PixelDigitization::PixelDigitization
PixelDigitization(const std::string &name, ISvcLocator *pSvcLocator)
Definition:
PixelDigitization.cxx:8
PixelDigitization::execute
virtual StatusCode execute() override final
Definition:
PixelDigitization.cxx:22
PixelDigitization::initialize
virtual StatusCode initialize() override final
Definition:
PixelDigitization.cxx:14
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
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
PixelDigitization.h
PixelDigitization::m_pixelDigitizationTool
ToolHandle< IPileUpTool > m_pixelDigitizationTool
Definition:
PixelDigitization.h:26
Generated on Thu Nov 7 2024 21:23:49 for ATLAS Offline Software by
1.8.18