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