ATLAS Offline Software
Loading...
Searching...
No Matches
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
7
8//----------------------------------------------------------------------
9// Constructor with parameters:
10//----------------------------------------------------------------------
11PixelFastDigitization::PixelFastDigitization(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 Pixel Digitization Tool." );
24
25 return StatusCode::SUCCESS;
26}
27
28//----------------------------------------------------------------------
29// Execute method:
30//----------------------------------------------------------------------
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}
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_VERBOSE(x)
a call-back interface for tools that merge pileup events information An IPileUpTool is called back fo...
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
ToolHandle< IPileUpTool > m_digTool
virtual StatusCode initialize() override final
Basic algorithm methods.
PixelFastDigitization(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters.
virtual StatusCode execute() override final