5#ifndef TGCDIGITENERGYTHRESHOLDALG_H
6#define TGCDIGITENERGYTHRESHOLDALG_H
9#include <nlohmann/json.hpp>
24 virtual StatusCode
execute(
const EventContext& ctx)
const override;
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
An algorithm that can be simultaneously executed in multiple threads.
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
virtual StatusCode execute(const EventContext &ctx) const override
SG::WriteCondHandleKey< TgcDigitThresholdData > m_writeKey
StatusCode parseDataFromJSON(const nlohmann::json &lines, TgcDigitThresholdData &deadChannels) const
Load the threshold constants from the JSON blob.
SG::ReadCondHandleKey< CondAttrListCollection > m_readKeyDb
virtual ~TgcDigitEnergyThreshCondAlg()=default
virtual StatusCode initialize() override
Gaudi::Property< std::string > m_readFromJSON
Use an external file to load the Jitter constants from.
TgcDigitEnergyThreshCondAlg(const std::string &name, ISvcLocator *pSvcLocator)
virtual bool isReEntrant() const override
Conditions object to cache.