ATLAS Offline Software
Loading...
Searching...
No Matches
CscDigitToCscRDO.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3*/
4
5#include "CscDigitToCscRDO.h"
6
7CscDigitToCscRDO::CscDigitToCscRDO(const std::string& name, ISvcLocator* pSvcLocator) :
8 AthAlgorithm(name, pSvcLocator), m_digTool("CscDigitToCscRDOTool", this) {
9 declareProperty("CscDigitToRDOTool", m_digTool);
10}
11
13 ATH_CHECK(m_digTool.retrieve());
14 ATH_MSG_DEBUG("Retrieved CSC Digit -> RDO Tool.");
15 return StatusCode::SUCCESS;
16}
17
19 ATH_MSG_DEBUG("in execute()");
20 return m_digTool->digitize(Gaudi::Hive::currentContext());
21}
#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:
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
virtual StatusCode execute() override
ToolHandle< IMuonDigitizationTool > m_digTool
CscDigitToCscRDO(const std::string &name, ISvcLocator *pSvcLocator)
virtual StatusCode initialize() override