5#ifndef MUONCONDALG_NSWUNCERTDBALG_H
6#define MUONCONDALG_NSWUNCERTDBALG_H
9#include <nlohmann/json.hpp>
29 virtual StatusCode
execute (
const EventContext&)
const override;
42 "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
45 "Key of the parametrized NSW uncertainties"};
48 "Key to the parametrized NSW uncertainty COOL folder"};
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.
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
virtual StatusCode execute(const EventContext &) const override
StatusCode parseDataFromJSON(const nlohmann::json &lines, NswErrorCalibData &errorCalibData) const
Load the Jitter constants from the JSON format.
virtual ~NswUncertDbAlg()=default
SG::ReadCondHandleKeyArray< CondAttrListCollection > m_readKeysDb
SG::WriteCondHandleKey< NswErrorCalibData > m_writeKey
virtual StatusCode initialize() override
Gaudi::Property< std::string > m_readFromJSON
Use an external JSON file to load the Jitter constants from.
NswUncertDbAlg(const std::string &name, ISvcLocator *svc)
HandleKeyArray< ReadCondHandle< T >, CondHandleDefault::Key< ReadCondHandleKey< T > >, Gaudi::DataHandle::Reader > ReadCondHandleKeyArray