#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_ |
Definition at line 18 of file RandomEngineAndDistribution.h.
RandomEngineAndDistribution::RandomEngineAndDistribution | ( | edm::StreamID const & | streamID | ) |
Definition at line 9 of file RandomEngineAndDistribution.cc.
References engine_, Exception, edm::RandomNumberGenerator::getEngine(), and edm::Service< T >::isAvailable().
RandomEngineAndDistribution::RandomEngineAndDistribution | ( | edm::LuminosityBlockIndex const & | luminosityBlockIndex | ) |
Definition at line 19 of file RandomEngineAndDistribution.cc.
References engine_, Exception, edm::RandomNumberGenerator::getEngine(), and edm::Service< T >::isAvailable().
RandomEngineAndDistribution::~RandomEngineAndDistribution | ( | ) |
Definition at line 30 of file RandomEngineAndDistribution.cc.
|
inline |
Definition at line 27 of file RandomEngineAndDistribution.h.
References engine_, hlt_dqm_clientPB-live_cfg::xmax, and hlt_dqm_clientPB-live_cfg::xmin.
Referenced by EcalHitMaker::addHit(), BremsstrahlungSimulator::brem(), fastsim::Bremsstrahlung::brem(), MuonBremsstrahlungSimulator::brem(), fastsim::MuonBremsstrahlung::brem(), MultipleScatteringSimulator::compute(), PairProductionSimulator::compute(), HFShower::compute(), HDShower::compute(), EMShower::compute(), NuclearInteractionFTFSimulator::compute(), NuclearInteractionSimulator::compute(), HDRShower::computeShower(), CalorimetryManager::EMShowerSimulation(), GammaFunctionGenerator::gammaFrac(), GammaFunctionGenerator::gammaInt(), PairProductionSimulator::gbteth(), BremsstrahlungSimulator::gbteth(), fastsim::PairProduction::gbteth(), MuonBremsstrahlungSimulator::gbteth(), fastsim::Bremsstrahlung::gbteth(), fastsim::MuonBremsstrahlung::gbteth(), SimpleHistogramGenerator::generate(), BaseNumericalRandomGenerator::generate(), BaseNumericalRandomGenerator::generateExp(), BaseNumericalRandomGenerator::generateLin(), HDRShower::getR(), HDShower::HDShower(), HFShower::HFShower(), ParticlePropagator::initProperDecayTime(), fastsim::PairProduction::interact(), fastsim::MultipleScattering::interact(), fastsim::NuclearInteraction::interact(), fastsim::NuclearInteractionFTF::interact(), HCALResponse::interHD(), HCALResponse::interMU(), HFShower::makeSteps(), HDShower::makeSteps(), fastsim::ParticleManager::nextParticle(), BremsstrahlungSimulator::poisson(), HDRShower::setHit(), DoubleCrystalBallGenerator::shoot(), GaussianTail::shoot(), PixelTemplateSmearerBase::smearHit(), PixelTemplateSmearerBase::smearMergeGroup(), and HDRShower::thetaFunction().
|
inline |
Definition at line 29 of file RandomEngineAndDistribution.h.
References engine_, and SiStripPI::mean.
Referenced by RadialInterval::addInterval(), MultipleScatteringSimulator::compute(), EMShower::compute(), EMShower::EMShower(), HCALResponse::gaussShootNoNegative(), fastsim::MultipleScattering::interact(), TrackingRecHitStripGSPlugin::process(), GaussianTail::shoot(), and HDRShower::thetaFunction().
|
inline |
Definition at line 33 of file RandomEngineAndDistribution.h.
References engine_.
Referenced by EMShower::compute(), MuonBremsstrahlungSimulator::compute(), fastsim::Bremsstrahlung::interact(), fastsim::MuonBremsstrahlung::interact(), HCALResponse::interHD(), and HCALResponse::PoissonShootNoNegative().
|
inline |
Definition at line 25 of file RandomEngineAndDistribution.h.
References engine_.
Referenced by FastHFShowerLibrary::SetRandom(), and TrajectoryManager::updateWithDaughters().
|
private |
Definition at line 36 of file RandomEngineAndDistribution.h.
Referenced by flatShoot(), gaussShoot(), poissonShoot(), RandomEngineAndDistribution(), and theEngine().