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>();
124 run.
put( genRunInfo );
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
CLHEP::HepRandomEngine & fRandomEngine
virtual ~BaseFlatGunProducer()
BaseFlatGunProducer(const ParameterSet &)
void getData(T &iHolder) const
CLHEP::HepRandomEngine & getEngineReference()
ESHandle< HepPDT::ParticleDataTable > fPDGTable
CLHEP::RandFlat * fRandomGenerator
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 beginRun(edm::Run &r, const edm::EventSetup &)
void put(std::auto_ptr< PROD > product)
Put a new product.
void endRun(edm::Run &r, const edm::EventSetup &)