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
8{
9 TgcPrepDataReplicationAlg::TgcPrepDataReplicationAlg(const std::string& name, ISvcLocator* pSvcLocator)
10 : AthReentrantAlgorithm(name, pSvcLocator)
11 {
12 }
13
15 ATH_MSG_DEBUG("initialize()");
16
17 // Retrieve TgcPrepDataReplicationTool
18 ATH_CHECK( m_tool.retrieve());
19 return StatusCode::SUCCESS;
20 }
21
22 StatusCode TgcPrepDataReplicationAlg::execute(const EventContext& ctx) const {
23 ATH_MSG_DEBUG("execute()");
24 ATH_CHECK(m_tool->replicate(ctx));
25 return StatusCode::SUCCESS;
26 }
27} // 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.