68 if (
m_hsb0.size() != 8 || m_hsb1.size() != 8)
69 throw cms::Exception(
"BadConfig") <<
" hsbMask needs to be 8 digits long \n";
82 auto pRPCTriggerHsbConfig = std::make_unique<L1RPCHsbConfig>();
84 pRPCTriggerHsbConfig->setHsbMask(0,
m_hsb0);
85 pRPCTriggerHsbConfig->setHsbMask(1,
m_hsb1);
87 return pRPCTriggerHsbConfig;
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
ReturnType produce(const L1RPCHsbConfigRcd &)
RPCTriggerHsbConfig(const edm::ParameterSet &)
~RPCTriggerHsbConfig() override
std::vector< int > m_hsb1
T getParameter(std::string const &) const
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
std::vector< int > m_hsb0
std::unique_ptr< L1RPCHsbConfig > ReturnType