ATLAS Offline Software
MuonSpectrometer
MuonCnv
MuonTGC_CnvTools
src
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
5
#include "
TgcPrepDataReplicationAlg.h
"
6
7
namespace
Muon
8
{
9
TgcPrepDataReplicationAlg::TgcPrepDataReplicationAlg
(
const
std::string&
name
, ISvcLocator* pSvcLocator)
10
:
AthReentrantAlgorithm
(
name
, pSvcLocator)
11
{
12
}
13
14
StatusCode
TgcPrepDataReplicationAlg::initialize
() {
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
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
Definition:
TrackSystemController.h:45
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:228
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
Generated on Sat Jan 4 2025 21:19:08 for ATLAS Offline Software by
1.8.18