ATLAS Offline Software
MuonSpectrometer
MuonCnv
MuonByteStreamCnvTest
src
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
7
CscDigitToCscRDO::CscDigitToCscRDO
(
const
std::string&
name
, ISvcLocator* pSvcLocator) :
8
AthAlgorithm
(
name
, pSvcLocator), m_digTool(
"CscDigitToCscRDOTool"
, this) {
9
declareProperty
(
"CscDigitToRDOTool"
,
m_digTool
);
10
}
11
12
StatusCode
CscDigitToCscRDO::initialize
() {
13
ATH_CHECK
(
m_digTool
.retrieve());
14
ATH_MSG_DEBUG
(
"Retrieved CSC Digit -> RDO Tool."
);
15
return
StatusCode::SUCCESS;
16
}
17
18
StatusCode
CscDigitToCscRDO::execute
() {
19
ATH_MSG_DEBUG
(
"in execute()"
);
20
return
m_digTool
->digitize(Gaudi::Hive::currentContext());
21
}
AthCommonDataStore< AthCommonMsg< Algorithm > >::declareProperty
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Definition:
AthCommonDataStore.h:145
CscDigitToCscRDO.h
CscDigitToCscRDO::CscDigitToCscRDO
CscDigitToCscRDO(const std::string &name, ISvcLocator *pSvcLocator)
Definition:
CscDigitToCscRDO.cxx:7
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:221
CscDigitToCscRDO::m_digTool
ToolHandle< IMuonDigitizationTool > m_digTool
Definition:
CscDigitToCscRDO.h:32
CscDigitToCscRDO::execute
virtual StatusCode execute() override
Definition:
CscDigitToCscRDO.cxx:18
CscDigitToCscRDO::initialize
virtual StatusCode initialize() override
Definition:
CscDigitToCscRDO.cxx:12
Generated on Thu Nov 7 2024 21:12:52 for ATLAS Offline Software by
1.8.18