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