ATLAS Offline Software
Loading...
Searching...
No Matches
TgcPrepDataReplicationAlg.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
6
7namespace Muon {
9 ISvcLocator* pSvcLocator)
10 : AthReentrantAlgorithm(name, pSvcLocator) {}
11
13 ATH_MSG_DEBUG("initialize()");
14
15 // Retrieve TgcPrepDataReplicationTool
16 ATH_CHECK(m_tool.retrieve());
17 return StatusCode::SUCCESS;
18}
19
20StatusCode TgcPrepDataReplicationAlg::execute(const EventContext& ctx) const {
21 ATH_MSG_DEBUG("execute()");
22 ATH_CHECK(m_tool->replicate(ctx));
23 return StatusCode::SUCCESS;
24}
25} // end of namespace Muon
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_DEBUG(x)
An algorithm that can be simultaneously executed in multiple threads.
virtual StatusCode initialize() override
TgcPrepDataReplicationAlg(const std::string &name, ISvcLocator *pSvcLocator)
virtual StatusCode execute(const EventContext &ctx) const override
ToolHandle< ITgcPrepDataReplicationTool > m_tool
ITgcPrepDataReplicationTool.h.
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.