5#ifndef MUONCONDALG_sTGCAsBuiltCondAlg_H
6#define MUONCONDALG_sTGCAsBuiltCondAlg_H
16#include <nlohmann/json.hpp>
23 using AthCondAlgorithm::AthCondAlgorithm;
26 virtual StatusCode
execute(
const EventContext& ctx)
const override;
40 "Folder of the STGC efficiencies as they're stored in COOL"};
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.
Conditions algorithm to load the alternativ sTGC as built constants.
SG::WriteCondHandleKey< sTGCAsBuiltData > m_writeKey
virtual StatusCode initialize() override
SG::ReadCondHandleKey< CondAttrListCollection > m_readKeyDb
virtual StatusCode execute(const EventContext &ctx) const override
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Gaudi::Property< std::string > m_readFromJSON
Load the gasGap efficiencies from a JSON file.
StatusCode parseDataFromJSON(const nlohmann::json &lines, sTGCAsBuiltData &effiData) const
Parse efficiency data from COOL.
virtual ~sTGCAsBuiltCondAlg()=default
Class holding the sTGC as built conditions data and applying it.