5#ifndef MUONCONDDATA_NSWPASSIVATIONDBDATA_H
6#define MUONCONDDATA_NSWPASSIVATIONDBDATA_H
9#include <unordered_map>
14#include "Identifier/Identifier.h"
36 void setData(
const Identifier& chnlId,
const int pcb,
const float indiv,
const float extra,
const std::string& position);
45 using PassivationMap = std::unordered_map<Identifier::value_type, PCBPassivation>;
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
const MmIdHelper & m_mmIdHelper
ID helpers.
NswPassivationDbData(const MmIdHelper &)
std::vector< Identifier > getChannelIds() const
virtual ~NswPassivationDbData()=default
std::unordered_map< Identifier::value_type, PCBPassivation > PassivationMap
const PCBPassivation & getPassivation(const Identifier &id) const
void setData(const Identifier &chnlId, const int pcb, const float indiv, const float extra, const std::string &position)
Helper struct to save the four passivation values of each PCB.