ATLAS Offline Software
Loading...
Searching...
No Matches
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//----------------------------------------------------------------------
10TRTDigitization::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}
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_DEBUG(x)
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
TRTDigitization(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters.
virtual StatusCode execute() override final
virtual StatusCode initialize() override final
Basic algorithm methods.
ToolHandle< IPileUpTool > m_digTool