ATLAS Offline Software
NrpcRawDataProvider.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 
7 // --------------------------------------------------------------------
8 // Constructor
9 
10 Muon::NrpcRawDataProvider::NrpcRawDataProvider(const std::string& name, ISvcLocator* pSvcLocator) :
11  AthReentrantAlgorithm(name, pSvcLocator) {}
12 
14  ATH_MSG_INFO("NrpcRawDataProvider::initialize");
15 
16  ATH_CHECK(m_rawDataTool.retrieve());
17 
18  return StatusCode::SUCCESS;
19 }
20 
21 // --------------------------------------------------------------------
22 // Execute
23 
24 StatusCode Muon::NrpcRawDataProvider::execute(const EventContext& ctx) const {
25  ATH_MSG_VERBOSE("NrpcRawDataProvider::execute");
26 
27  ATH_CHECK(m_rawDataTool->convert(ctx));
28 
29  return StatusCode::SUCCESS;
30 }
ATH_MSG_INFO
#define ATH_MSG_INFO(x)
Definition: AthMsgStreamMacros.h:31
ATH_MSG_VERBOSE
#define ATH_MSG_VERBOSE(x)
Definition: AthMsgStreamMacros.h:28
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ATH_CHECK
#define ATH_CHECK
Definition: AthCheckMacros.h:40
Muon::NrpcRawDataProvider::initialize
virtual StatusCode initialize()
Initialize.
Definition: NrpcRawDataProvider.cxx:13
NrpcRawDataProvider.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
Muon::NrpcRawDataProvider::NrpcRawDataProvider
NrpcRawDataProvider(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition: NrpcRawDataProvider.cxx:10
Muon::NrpcRawDataProvider::execute
virtual StatusCode execute(const EventContext &ctx) const
Execute.
Definition: NrpcRawDataProvider.cxx:24