10 #include "CLHEP/Random/RandomEngine.h" 15 acceptRate_(ps.getUntrackedParameter<double>(
"acceptRate")) {
19 <<
"RandomFilter requires the RandomNumberGeneratorService,\n" 20 "which is not present in the configuration file. You must add\n" 21 "the service in the configuration file or remove the modules that\n"
bool filter(edm::Event &e, edm::EventSetup const &c) override
virtual CLHEP::HepRandomEngine & getEngine(StreamID const &)=0
Use this engine in event methods.
StreamID streamID() const
RandomFilter(edm::ParameterSet const &ps)