ATLAS Offline Software
TRTDigitization.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 "TRTDigitization.h"
6 
7 //----------------------------------------------------------------------
8 // Constructor with parameters:
9 //----------------------------------------------------------------------
10 TRTDigitization::TRTDigitization(const std::string &name, ISvcLocator *pSvcLocator) :
11  AthAlgorithm(name, pSvcLocator)
12 {
13 }
14 
15 //----------------------------------------------------------------------
16 // Initialize method:
17 //----------------------------------------------------------------------
19  // intitialize store gate active store
20  ATH_CHECK(m_digTool.retrieve());
21  ATH_MSG_DEBUG ( "Retrieved TRT Digitization Tool." );
22  return StatusCode::SUCCESS;
23 }
24 
25 //----------------------------------------------------------------------
26 // Execute method:
27 //----------------------------------------------------------------------
29  ATH_MSG_DEBUG ( "execute()" );
30  return m_digTool->processAllSubEvents(Gaudi::Hive::currentContext());
31 }
TRTDigitization::m_digTool
ToolHandle< IPileUpTool > m_digTool
Definition: TRTDigitization.h:28
TRTDigitization.h
TRTDigitization::TRTDigitization
TRTDigitization(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters.
Definition: TRTDigitization.cxx:10
TRTDigitization::initialize
virtual StatusCode initialize() override final
Basic algorithm methods.
Definition: TRTDigitization.cxx:18
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:228
TRTDigitization::execute
virtual StatusCode execute() override final
Definition: TRTDigitization.cxx:28