1 #ifndef FastSimulation_Utilities_RandomEngineAndDistribution_H 2 #define FastSimulation_Utilities_RandomEngineAndDistribution_H 4 #include "CLHEP/Random/RandFlat.h" 5 #include "CLHEP/Random/RandGaussQ.h" 6 #include "CLHEP/Random/RandPoissonQ.h" 10 class HepRandomEngine;
14 class LuminosityBlockIndex;
30 return CLHEP::RandGauss::shoot(
engine_,
mean, sigma);
38 #endif // FastSimulation_Utilities_RandomEngineAndDistribution_H
~RandomEngineAndDistribution()
RandomEngineAndDistribution(edm::StreamID const &)
CLHEP::HepRandomEngine & theEngine() const
double gaussShoot(double mean=0.0, double sigma=1.0) const
CLHEP::HepRandomEngine * engine_
unsigned int poissonShoot(double mean) const
double flatShoot(double xmin=0.0, double xmax=1.0) const