5#ifndef MUONCONDALG_TGCCONDDBALG_H
6#define MUONCONDALG_TGCCONDDBALG_H
13#include <nlohmann/json.hpp>
31 virtual StatusCode
execute(
const EventContext& ctx)
const override;
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.
virtual StatusCode initialize() override
virtual ~TgcCondDbAlg()=default
Gaudi::Property< std::string > m_readFromJSON
Load the detector status from a JSON file.
virtual StatusCode execute(const EventContext &ctx) const override
SG::ReadCondHandleKey< CondAttrListCollection > m_readKeyDb
StatusCode parseDataFromJSON(const nlohmann::json &lines, TgcCondDbData &deadChannels) const
Load the detector status from cool.
SG::WriteCondHandleKey< TgcCondDbData > m_writeKey
TgcCondDbAlg(const std::string &name, ISvcLocator *svc)
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Conditions object to mark switched-off Tgc gasGaps.