35 class HepRandomEngine;
40 produces<RPCDigiCollection>();
41 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.";
95 std::auto_ptr<MixCollection<PSimHit> >
107 e.
put(RPCDigitSimLink,
"RPCDigiSimLink");
T getParameter(std::string const &) const
std::string collection_for_XF
bool getByToken(EDGetToken token, Handle< PROD > &result) const
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
void doAction(MixCollection< PSimHit > &simHits, RPCDigiCollection &rpcDigis, RPCDigiSimLinks &rpcDigiSimLink, CLHEP::HepRandomEngine *)
virtual ~RPCDigiProducer()
RPCDigitizer::RPCDigiSimLinks RPCDigitizerSimLinks
T const * product() const
virtual CLHEP::HepRandomEngine & getEngine(StreamID const &) const =0
Use this engine in event methods.
virtual void produce(edm::Event &e, const edm::EventSetup &c) override
StreamID streamID() const
virtual void beginRun(const edm::Run &, const edm::EventSetup &) override
RPCDigitizer * theDigitizer
void setRPCSetUp(const std::vector< RPCStripNoises::NoiseItem > &vnoise, const std::vector< float > &vcls)
edm::EDGetTokenT< CrossingFrame< PSimHit > > crossingFrameToken