30 using namespace CLHEP;
39 <<
"The RandomNumberProducer module requires the RandomNumberGeneratorService\n"
40 "which appears to be absent. Please add that service to your configuration\n"
41 "or remove the modules that require it.";
94 produces<GenRunInfoProduct, InRun>();
126 run.
put( genRunInfo );
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
void endRun(edm::Run const &r, const edm::EventSetup &) override
CLHEP::HepRandomEngine & fRandomEngine
virtual ~BaseFlatGunProducer()
BaseFlatGunProducer(const ParameterSet &)
void getData(T &iHolder) const
void endRunProduce(edm::Run &r, const edm::EventSetup &) override
CLHEP::HepRandomEngine & getEngineReference()
ESHandle< HepPDT::ParticleDataTable > fPDGTable
CLHEP::RandFlat * fRandomGenerator
void beginRun(const edm::Run &r, const edm::EventSetup &) override
std::vector< int > fPartIDs
virtual CLHEP::HepRandomEngine & getEngine() const =0
Use this to get the random number engine, this is the only function most users should call...
void put(std::auto_ptr< PROD > product)
Put a new product.