ATLAS Offline Software
sTgcPadTriggerRawDataProvider.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 
7 Muon::sTgcPadTriggerRawDataProvider::sTgcPadTriggerRawDataProvider(const std::string& name, ISvcLocator* pSvcLocator) :
8  AthReentrantAlgorithm(name, pSvcLocator) {}
9 
11  ATH_MSG_INFO("sTgcPadTriggerRawDataProvider::initialize");
12  ATH_CHECK(m_rawDataTool.retrieve());
13  return StatusCode::SUCCESS;
14 }
15 
17  ATH_MSG_DEBUG("sTgcPadTriggerRawDataProvider::execute");
18  if (!m_rawDataTool->convert(ctx).isSuccess()) {
19  ATH_MSG_ERROR("STGC Pad Trigger BS conversion into RDOs failed");
20  return StatusCode::FAILURE;
21  }
22  return StatusCode::SUCCESS;
23 }
ATH_MSG_INFO
#define ATH_MSG_INFO(x)
Definition: AthMsgStreamMacros.h:31
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
Muon::sTgcPadTriggerRawDataProvider::execute
virtual StatusCode execute(const EventContext &ctx) const override
Execute.
Definition: sTgcPadTriggerRawDataProvider.cxx:16
Muon::sTgcPadTriggerRawDataProvider::sTgcPadTriggerRawDataProvider
sTgcPadTriggerRawDataProvider(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition: sTgcPadTriggerRawDataProvider.cxx:7
sTgcPadTriggerRawDataProvider.h
ATH_MSG_ERROR
#define ATH_MSG_ERROR(x)
Definition: AthMsgStreamMacros.h:33
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
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
Muon::sTgcPadTriggerRawDataProvider::initialize
virtual StatusCode initialize() override
Initialize.
Definition: sTgcPadTriggerRawDataProvider.cxx:10