5#ifndef MUONCONDALG_MDTASBUILTCONDALG_H
6#define MUONCONDALG_MDTASBUILTCONDALG_H
10#include "CoralBase/Blob.h"
16#include "nlohmann/json.hpp"
24 using AthCondAlgorithm::AthCondAlgorithm;
27 virtual StatusCode
execute(
const EventContext& ctx)
const override;
34 nlohmann::json& lines)
const;
37 nlohmann::json& newChannel)
const;
40 "Key of MDT/ASBUILTPARAMS input condition data"};
43 "Key of output muon alignment MDT/AsBuilt condition data"};
49 "The database folders are given in the new JSON format"};
52 "Reads the A & B lines parameters from a JSON file instead from COOL"};
Base class for conditions algorithms.
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
std::set< MdtAsBuiltPar, std::less<> > MdtAsBuiltContainer
Base class for conditions algorithms.
virtual StatusCode execute(const EventContext &ctx) const override
StatusCode setFromAscii(const std::string &asciiData, nlohmann::json &newChannel) const
Gaudi::Property< std::string > m_readFromJSON
Load the alignment parameters from a JSON file.
StatusCode parseDataFromJSON(const nlohmann::json &lines, MdtAsBuiltContainer &asBuilt) const
SG::WriteCondHandleKey< MdtAsBuiltContainer > m_writeKey
virtual ~MdtAsBuiltCondAlg()=default
StatusCode legacyFormatToJSON(const std::string &bloblines, nlohmann::json &lines) const
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
SG::ReadCondHandleKey< CondAttrListCollection > m_readKey
Gaudi::Property< bool > m_newFormat2020
virtual StatusCode initialize() override
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.