ATLAS Offline Software
Loading...
Searching...
No Matches
RpcCondDbAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef MUONCONDALG_RPCCONDDBALG_H
6#define MUONCONDALG_RPCCONDDBALG_H
7
8// Athena includes
16
17namespace Muon{
19public:
20 using AthCondAlgorithm::AthCondAlgorithm;
21 virtual ~RpcCondDbAlg() = default;
22 virtual StatusCode initialize() override;
23 virtual StatusCode execute(const EventContext &) const override;
24
25private:
26 template <class WriteCont>
27 StatusCode addCondDependency(const EventContext& ctx,
29 SG::WriteCondHandle<WriteCont>& writeHandle) const;
30
31 StatusCode loadMcElementStatus(const EventContext & ctx, RpcCondDbData& condData) const;
32
33
34 Gaudi::Property<bool> m_isData{this, "isData", false};
35
36 ServiceHandle<Muon::IMuonIdHelperSvc> m_idHelperSvc{this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
37
38 SG::WriteCondHandleKey<RpcCondDbData> m_writeKey{this, "WriteKey", "RpcCondDbData", "Key of output RPC condition data"};
39
41 "Key of input RPC condition data for MC dead elements"};
42
43};
44}
45#endif
Base class for conditions algorithms.
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
Base class for conditions algorithms.
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
StatusCode addCondDependency(const EventContext &ctx, const SG::ReadCondHandleKey< CondAttrListCollection > &key, SG::WriteCondHandle< WriteCont > &writeHandle) const
StatusCode loadMcElementStatus(const EventContext &ctx, RpcCondDbData &condData) const
Gaudi::Property< bool > m_isData
SG::WriteCondHandleKey< RpcCondDbData > m_writeKey
virtual StatusCode execute(const EventContext &) const override
SG::ReadCondHandleKey< CondAttrListCollection > m_readKey_folder_mc_deadElements
virtual StatusCode initialize() override
virtual ~RpcCondDbAlg()=default
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.