ATLAS Offline Software
Loading...
Searching...
No Matches
CscDigitBuilder.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// Author: Ketevi A. Assamagan
6// BNL, October 27 2003
7
8// Digitization algorithm for the CSC hits
9
11
12CscDigitBuilder::CscDigitBuilder(const std::string& name,
13 ISvcLocator* pSvcLocator)
14 : AthAlgorithm(name, pSvcLocator)
15{
16}
17
19 ATH_CHECK(m_digTool.retrieve());
20 ATH_MSG_DEBUG ( "Retrieved CscDigitizationTool (" << m_digTool->name() << ")." );
21
22 return StatusCode::SUCCESS;
23}
24
26 ATH_MSG_DEBUG ( "in execute()" );
27 return m_digTool->processAllSubEvents(Gaudi::Hive::currentContext());
28}
#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:
virtual StatusCode initialize() override final
Basic algorithm methods.
CscDigitBuilder(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters.
virtual StatusCode execute() override final
ToolHandle< IPileUpTool > m_digTool