26 if (!insert_itr.second) {
28 <<
" already set to "<<insert_itr.first->second<<
". Cannot apply "<<
threshold);
41std::vector<Identifier>
43 std::vector<Identifier> keys;
44 keys.reserve(
m_data.size());
45 for (
const auto& p :
m_data) {
46 keys.emplace_back(p.first);
49 if(tech.empty() && side.empty()) {
52 std::vector<Identifier> chnls;
53 std::ranges::copy_if(keys, std::back_inserter(chnls), [&](
const Identifier& copyMe){
55 if (!side.empty() && ((
eta < 0 && side ==
"A") || (
eta > 0 && side ==
"C"))){
65 ChannelMap::const_iterator chan_itr =
m_data.find(chnlId);
67 if(chan_itr !=
m_data.end()) {
68 return chan_itr->second;
Scalar eta() const
pseudorapidity method
#define ATH_MSG_WARNING(x)
AthMessaging(IMessageSvc *msgSvc, const std::string &name)
Constructor.
Interface for Helper service that creates muon Identifiers and can be used to print Identifiers.
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
NswCalibDbThresholdData(const Muon::IMuonIdHelperSvc *idHelperSvc)
std::optional< float > getThreshold(const Identifier &channelId) const
constexpr int toInt(const EnumType enumVal)
const std::string & technologyName(TechnologyIndex index)
convert LayerIndex into a string