#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_, 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_, 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 TrackerOfflineValidation_Dqm_cff::xmax, and TrackerOfflineValidation_Dqm_cff::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(), PairProductionSimulator::gbteth(), BremsstrahlungSimulator::gbteth(), MuonBremsstrahlungSimulator::gbteth(), 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(), PixelTemplateSmearerBase::smearHit(), PixelTemplateSmearerBase::smearMergeGroup(), and HDRShower::thetaFunction().
|
inline |
Definition at line 38 of file RandomEngineAndDistribution.h.
References RecoTauDiscriminantConfiguration::mean.
Referenced by RadialInterval::addInterval(), MultipleScatteringSimulator::compute(), EMShower::compute(), EMShower::EMShower(), HCALResponse::gaussShootNoNegative(), TrackingRecHitStripGSPlugin::process(), GaussianTail::shoot(), and HDRShower::thetaFunction().
|
inline |
Definition at line 47 of file RandomEngineAndDistribution.h.
Referenced by EMShower::compute(), MuonBremsstrahlungSimulator::compute(), HCALResponse::interHD(), and HCALResponse::PoissonShootNoNegative().
|
inline |
Definition at line 27 of file RandomEngineAndDistribution.h.
Referenced by TrajectoryManager::updateWithDaughters().
|
private |
Definition at line 58 of file RandomEngineAndDistribution.h.
Referenced by RandomEngineAndDistribution().
|
private |
Definition at line 59 of file RandomEngineAndDistribution.h.
Referenced by RandomEngineAndDistribution().