23 #include "boost/shared_ptr.hpp"
75 if (
m_hsb0.size() !=8 || m_hsb1.size() != 8 )
76 throw cms::Exception(
"BadConfig") <<
" hsbMask needs to be 8 digits long \n";
100 using namespace edm::es;
101 std::auto_ptr<L1RPCHsbConfig> pRPCTriggerHsbConfig = std::auto_ptr<L1RPCHsbConfig>(
new L1RPCHsbConfig() );
103 pRPCTriggerHsbConfig->setHsbMask(0,
m_hsb0);
104 pRPCTriggerHsbConfig->setHsbMask(1,
m_hsb1);
106 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