10#ifndef MUONNRPC_CABLING_MUONNRPC_CABLINGALG_H
11#define MUONNRPC_CABLING_MUONNRPC_CABLINGALG_H
20#include "nlohmann/json.hpp"
25 using AthCondAlgorithm::AthCondAlgorithm;
29 virtual StatusCode
execute(
const EventContext &ctx)
const override;
36 "Database folder for the RPC cabling"};
39 "Specify an external JSON file containing the cabling information."};
43 const nlohmann::json &payload)
const;
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.
Gaudi::Property< std::string > m_extJSONFile
SG::ReadCondHandleKey< CondAttrListCollection > m_readKeyMap
SG::WriteCondHandleKey< RpcCablingMap > m_writeKey
ServiceHandle< IMuonIdHelperSvc > m_idHelperSvc
virtual StatusCode initialize() override
virtual ~NRpcCablingAlg()=default
StatusCode parsePayload(RpcCablingMap &cablingMap, const nlohmann::json &payload) const
Load the payload of the actual cabling map from offline <-> online.
virtual StatusCode execute(const EventContext &ctx) const override
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.