5#ifndef MUONCONDALG_MmDigitEffiCondAlg_H
6#define MUONCONDALG_MmDigitEffiCondAlg_H
16#include <nlohmann/json.hpp>
24 using AthCondAlgorithm::AthCondAlgorithm;
27 virtual StatusCode
execute(
const EventContext& ctx)
const override;
41 "Folder of the MM 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.
SG::ReadCondHandleKey< CondAttrListCollection > m_readKeyDb
SG::WriteCondHandleKey< Muon::DigitEffiData > m_writeKey
Gaudi::Property< double > m_defaultEffi
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
virtual StatusCode execute(const EventContext &ctx) const override
virtual ~MmDigitEffiCondAlg()=default
StatusCode parseDataFromJSON(const nlohmann::json &lines, Muon::DigitEffiData &effiData) const
Parse efficiency data from COOL.
Gaudi::Property< std::string > m_readFromJSON
Load the gasGap efficiencies from a JSON file.
virtual StatusCode initialize() override
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.