5#ifndef MUONCONDDATA_NSWCALIBDBTHRESHOLDDATA_H
6#define MUONCONDDATA_NSWCALIBDBTHRESHOLDDATA_H
14#include "Identifier/Identifier.h"
21#include <unordered_map>
48 std::vector<Identifier>
getChannelIds(std::string_view = {}, std::string_view = {})
const;
49 std::optional<float>
getThreshold (
const Identifier& channelId)
const;
55 using ChannelMap = std::unordered_map<Identifier, float>;
56 using ZeroMap = std::array<std::optional<float>,
Hold mappings of ranges to condition objects.
#define CONDCONT_DEF(...)
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
AthMessaging(IMessageSvc *msgSvc, const std::string &name)
Constructor.
Interface for Helper service that creates muon Identifiers and can be used to print Identifiers.
Conditions data to model a channel dependent energy deposit threshold such that the electronics retur...
const Muon::IMuonIdHelperSvc * m_idHelperSvc
MuonCond::CalibTechType ThrsldTechType
void setData(const Identifier &channelId, const float)
void setZero(const ThrsldTechType tech, const float)
std::vector< Identifier > getChannelIds(std::string_view={}, std::string_view={}) const
std::unordered_map< Identifier, float > ChannelMap
NswCalibDbThresholdData(const Muon::IMuonIdHelperSvc *idHelperSvc)
virtual ~NswCalibDbThresholdData()=default
std::array< std::optional< float >, Muon::MuonStationIndex::toInt(ThrsldTechType::nTypes)> ZeroMap
std::optional< float > getThreshold(const Identifier &channelId) const
constexpr int toInt(const EnumType enumVal)
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.