ATLAS Offline Software
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 
7 namespace 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
Muon
This class provides conversion from CSC RDO data to CSC Digits.
Definition: TrackSystemController.h:49
Muon::TgcPrepDataReplicationAlg::TgcPrepDataReplicationAlg
TgcPrepDataReplicationAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: TgcPrepDataReplicationAlg.cxx:9
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_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition: AthMsgStreamMacros.h:29
ATH_CHECK
#define ATH_CHECK
Definition: AthCheckMacros.h:40
Muon::TgcPrepDataReplicationAlg::initialize
virtual StatusCode initialize() override
Definition: TgcPrepDataReplicationAlg.cxx:14
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
TgcPrepDataReplicationAlg.h
Muon::TgcPrepDataReplicationAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition: TgcPrepDataReplicationAlg.cxx:22
Muon::TgcPrepDataReplicationAlg::m_tool
ToolHandle< ITgcPrepDataReplicationTool > m_tool
ITgcPrepDataReplicationTool.h.
Definition: TgcPrepDataReplicationAlg.h:26