22 #include "boost/shared_ptr.hpp"
74 if (
m_hsb0.size() !=8 || m_hsb1.size() != 8 )
75 throw cms::Exception(
"BadConfig") <<
" hsbMask needs to be 8 digits long \n";
99 using namespace edm::es;
100 std::auto_ptr<L1RPCHsbConfig> pRPCTriggerHsbConfig = std::auto_ptr<L1RPCHsbConfig>(
new L1RPCHsbConfig() );
102 pRPCTriggerHsbConfig->setHsbMask(0,
m_hsb0);
103 pRPCTriggerHsbConfig->setHsbMask(1,
m_hsb1);
105 return pRPCTriggerHsbConfig ;
T getParameter(std::string const &) const
ReturnType produce(const L1RPCHsbConfigRcd &)
RPCTriggerHsbConfig(const edm::ParameterSet &)
std::auto_ptr< L1RPCHsbConfig > ReturnType
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