ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetDigitization
FastTRT_Digitization
src
TRTFastDigitization.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 "
FastTRT_Digitization/TRTFastDigitization.h
"
6
#include "
PileUpTools/IPileUpTool.h
"
7
8
//----------------------------------------------------------------------
9
// Constructor with parameters:
10
//----------------------------------------------------------------------
11
TRTFastDigitization::TRTFastDigitization
(
const
std::string &name, ISvcLocator *pSvcLocator) :
12
AthAlgorithm
(name, pSvcLocator)
13
{
14
}
15
16
//----------------------------------------------------------------------
17
// Initialize method:
18
//----------------------------------------------------------------------
19
StatusCode
TRTFastDigitization::initialize
() {
20
// intitialize store gate active store
21
ATH_CHECK
(
m_digTool
.retrieve());
22
23
ATH_MSG_DEBUG
(
"Retrieved TRT Digitization Tool."
);
24
25
return
StatusCode::SUCCESS;
26
}
27
28
//----------------------------------------------------------------------
29
// Execute method:
30
//----------------------------------------------------------------------
31
32
StatusCode
TRTFastDigitization::execute
(
const
EventContext& ctx) {
33
34
ATH_MSG_VERBOSE
(
"execute()"
);
35
36
ATH_CHECK
(
m_digTool
->processAllSubEvents(ctx));
37
38
ATH_MSG_DEBUG
(
"m_digTool->processAllSubEvents()"
);
39
40
return
StatusCode::SUCCESS;
41
}
ATH_CHECK
#define ATH_CHECK
Evaluate an expression and check for errors.
Definition
AthCheckMacros.h:40
ATH_MSG_VERBOSE
#define ATH_MSG_VERBOSE(x)
Definition
AthMsgStreamMacros.h:28
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...
TRTFastDigitization.h
AthAlgorithm::AthAlgorithm
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthAlgorithm.cxx:10
TRTFastDigitization::initialize
virtual StatusCode initialize() override final
Basic algorithm methods.
Definition
TRTFastDigitization.cxx:19
TRTFastDigitization::execute
virtual StatusCode execute(const EventContext &ctx) override final
Execute method.
Definition
TRTFastDigitization.cxx:32
TRTFastDigitization::m_digTool
ToolHandle< IPileUpTool > m_digTool
Definition
TRTFastDigitization.h:26
TRTFastDigitization::TRTFastDigitization
TRTFastDigitization(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters.
Definition
TRTFastDigitization.cxx:11
Generated on
for ATLAS Offline Software by
1.17.0