35 #include "CLHEP/Random/RandomEngine.h"
41 produces<RPCDigiCollection>();
42 produces<RPCDigitizerSimLinks>(
"RPCDigiSimLink");
48 if ( ! rng.isAvailable()) {
50 <<
"RPCDigitizer requires the RandomNumberGeneratorService\n"
51 "which is not present in the configuration file. You must add the service\n"
52 "in the configuration file or remove the modules that require it.";
56 CLHEP::HepRandomEngine& engine = rng->getEngine();
94 std::auto_ptr<MixCollection<PSimHit> >
106 e.
put(RPCDigitSimLink,
"RPCDigiSimLink");
T getParameter(std::string const &) const
std::string collection_for_XF
virtual void produce(edm::Event &e, const edm::EventSetup &c)
RPCDigiProducer(const edm::ParameterSet &ps)
void setGeometry(const RPCGeometry *geom)
sets geometry
void setGeometry(const RPCGeometry *geom)
sets geometry
RPCSimSetUp * theRPCSimSetUp
void setRPCSimSetUp(RPCSimSetUp *simsetup)
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
MuonDigiCollection< RPCDetId, RPCDigi > RPCDigiCollection
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
virtual ~RPCDigiProducer()
void setRPCSetUp(std::vector< RPCStripNoises::NoiseItem > vnoise, std::vector< float > vcls)
RPCDigitizer::RPCDigiSimLinks RPCDigitizerSimLinks
void doAction(MixCollection< PSimHit > &simHits, RPCDigiCollection &rpcDigis, RPCDigiSimLinks &rpcDigiSimLink)
T const * product() const
RPCDigitizer * theDigitizer
virtual void beginRun(edm::Run &, const edm::EventSetup &)