ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetDigitization
BCM_Digitization
src
BCM_Digitization.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
BCM_Digitization.h
"
6
#include "
PileUpTools/IPileUpTool.h
"
7
8
//----------------------------------------------------------------------
9
// Constructor with parameters:
10
//----------------------------------------------------------------------
11
BCM_Digitization::BCM_Digitization
(
const
std::string &name, ISvcLocator *pSvcLocator) :
12
AthAlgorithm
(name, pSvcLocator)
13
{
14
}
15
16
//----------------------------------------------------------------------
17
// Initialize method:
18
//----------------------------------------------------------------------
19
StatusCode
BCM_Digitization::initialize
()
20
{
21
ATH_MSG_DEBUG
(
"initialize()"
);
22
// intitialize store gate active store
23
ATH_CHECK
(
m_digTool
.retrieve());
24
ATH_MSG_DEBUG
(
"Retrieved BCM Digitization Tool."
);
25
26
return
StatusCode::SUCCESS;
27
}
28
29
//----------------------------------------------------------------------
30
// Execute method:
31
//----------------------------------------------------------------------
32
StatusCode
BCM_Digitization::execute
(
const
EventContext& ctx)
33
{
34
ATH_MSG_DEBUG
(
"execute()"
);
35
return
m_digTool
->processAllSubEvents(ctx);
36
}
ATH_CHECK
#define ATH_CHECK
Evaluate an expression and check for errors.
Definition
AthCheckMacros.h:40
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition
AthMsgStreamMacros.h:29
BCM_Digitization.h
IPileUpTool.h
a call-back interface for tools that merge pileup events information An IPileUpTool is called back fo...
AthAlgorithm::AthAlgorithm
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthAlgorithm.cxx:10
BCM_Digitization::initialize
virtual StatusCode initialize() override
Basic algorithm methods.
Definition
BCM_Digitization.cxx:19
BCM_Digitization::execute
virtual StatusCode execute(const EventContext &ctx) override
Execute method.
Definition
BCM_Digitization.cxx:32
BCM_Digitization::BCM_Digitization
BCM_Digitization(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters.
Definition
BCM_Digitization.cxx:11
BCM_Digitization::m_digTool
ToolHandle< IPileUpTool > m_digTool
Definition
BCM_Digitization.h:29
Generated on
for ATLAS Offline Software by
1.17.0