#include <RandomEngineAndDistribution.h>
Public Member Functions | |
double | flatShoot (double xmin=0.0, double xmax=1.0) const |
double | gaussShoot (double mean=0.0, double sigma=1.0) const |
unsigned int | poissonShoot (double mean) const |
RandomEngineAndDistribution (edm::StreamID const &) | |
RandomEngineAndDistribution (edm::LuminosityBlockIndex const &) | |
CLHEP::HepRandomEngine & | theEngine () const |
~RandomEngineAndDistribution () | |
Private Attributes | |
CLHEP::HepRandomEngine * | engine_ |
TRandom3 * | rootEngine_ |
Definition at line 18 of file RandomEngineAndDistribution.h.
RandomEngineAndDistribution::RandomEngineAndDistribution | ( | edm::StreamID const & | streamID | ) |
Definition at line 10 of file RandomEngineAndDistribution.cc.
References engine_, edm::hlt::Exception, edm::RandomNumberGenerator::getEngine(), edm::Service< T >::isAvailable(), and rootEngine_.
RandomEngineAndDistribution::RandomEngineAndDistribution | ( | edm::LuminosityBlockIndex const & | luminosityBlockIndex | ) |
Definition at line 27 of file RandomEngineAndDistribution.cc.
References engine_, edm::hlt::Exception, edm::RandomNumberGenerator::getEngine(), edm::Service< T >::isAvailable(), and rootEngine_.
RandomEngineAndDistribution::~RandomEngineAndDistribution | ( | ) |
Definition at line 44 of file RandomEngineAndDistribution.cc.
|
inline |
Definition at line 29 of file RandomEngineAndDistribution.h.
References engine_, rootEngine_, SiStripMonitorClusterAlca_cfi::xmax, and SiStripMonitorClusterAlca_cfi::xmin.
Referenced by EcalHitMaker::addHit(), BremsstrahlungSimulator::brem(), MuonBremsstrahlungSimulator::brem(), MultipleScatteringSimulator::compute(), PairProductionSimulator::compute(), HFShower::compute(), HDShower::compute(), EMShower::compute(), NuclearInteractionFTFSimulator::compute(), NuclearInteractionSimulator::compute(), HDRShower::computeShower(), CalorimetryManager::EMShowerSimulation(), GammaFunctionGenerator::gammaFrac(), GammaFunctionGenerator::gammaInt(), SiTrackerGaussianSmearingRecHitConverter::gaussianSmearing(), PairProductionSimulator::gbteth(), BremsstrahlungSimulator::gbteth(), MuonBremsstrahlungSimulator::gbteth(), FlatPrimaryVertexGenerator::generate(), SimpleHistogramGenerator::generate(), BaseNumericalRandomGenerator::generate(), BaseNumericalRandomGenerator::generateExp(), BaseNumericalRandomGenerator::generateLin(), HDRShower::getR(), HDShower::HDShower(), HFShower::HFShower(), ParticlePropagator::initProperDecayTime(), HCALResponse::interHD(), HCALResponse::interMU(), HFShower::makeSteps(), HDShower::makeSteps(), BremsstrahlungSimulator::poisson(), HDRShower::setHit(), DoubleCrystalBallGenerator::shoot(), GaussianTail::shoot(), SiPixelGaussianSmearingRecHitConverterAlgorithm::smearHit(), and HDRShower::thetaFunction().
|
inline |
Definition at line 38 of file RandomEngineAndDistribution.h.
References engine_, timingPdfMaker::mean, and rootEngine_.
Referenced by RadialInterval::addInterval(), MultipleScatteringSimulator::compute(), EMShower::compute(), EMShower::EMShower(), HCALResponse::gaussShootNoNegative(), GaussianPrimaryVertexGenerator::generate(), BetaFuncPrimaryVertexGenerator::generate(), GaussianTail::shoot(), SiStripGaussianSmearingRecHitConverterAlgorithm::smearHit(), and HDRShower::thetaFunction().
|
inline |
Definition at line 47 of file RandomEngineAndDistribution.h.
References engine_, and rootEngine_.
Referenced by EMShower::compute(), MuonBremsstrahlungSimulator::compute(), HCALResponse::interHD(), and HCALResponse::PoissonShootNoNegative().
|
inline |
Definition at line 27 of file RandomEngineAndDistribution.h.
References engine_.
Referenced by TrajectoryManager::updateWithDaughters().
|
private |
Definition at line 58 of file RandomEngineAndDistribution.h.
Referenced by flatShoot(), gaussShoot(), poissonShoot(), RandomEngineAndDistribution(), and theEngine().
|
private |
Definition at line 59 of file RandomEngineAndDistribution.h.
Referenced by flatShoot(), gaussShoot(), poissonShoot(), and RandomEngineAndDistribution().