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