5#ifndef MUONCONDDATA_NSWCALIBDBTHRESHOLDDATA_H
6#define MUONCONDDATA_NSWCALIBDBTHRESHOLDDATA_H
10#include <unordered_map>
38 std::vector<Identifier>
getChannelIds(
const std::string=
"",
const std::string=
"")
const;
45 using ChannelMap = std::unordered_map<Identifier, float>;
46 using ZeroMap = std::array<std::optional<float>,
Hold mappings of ranges to condition objects.
#define CONDCONT_DEF(...)
Provide an interface for finding inheritance information at run time.
#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(const std::string="", const std::string="") const
std::unordered_map< Identifier, float > ChannelMap
NswCalibDbThresholdData(const Muon::IMuonIdHelperSvc *idHelperSvc)
virtual ~NswCalibDbThresholdData()=default
std::optional< float > getThreshold(const Identifier &channelId) const
std::array< std::optional< float >, Muon::MuonStationIndex::toInt(ThrsldTechType::nTypes)> ZeroMap
constexpr int toInt(const EnumType enumVal)