#include <RandomEngine.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 |
RandomEngine (edm::RandomNumberGenerator *rng) | |
CLHEP::HepRandomEngine * | theEngine () const |
edm::RandomNumberGenerator * | theRandomNumberGenerator () const |
~RandomEngine () | |
Private Attributes | |
CLHEP::HepRandomEngine * | engine_ |
CLHEP::RandFlat * | flatDistribution_ |
CLHEP::RandGauss * | gaussianDistribution_ |
CLHEP::RandPoisson * | poissonDistribution_ |
edm::RandomNumberGenerator * | rng_ |
TRandom3 * | rootEngine_ |
Definition at line 18 of file RandomEngine.h.
RandomEngine::RandomEngine | ( | edm::RandomNumberGenerator * | rng | ) |
Definition at line 5 of file RandomEngine.cc.
References engine_, flatDistribution_, gaussianDistribution_, edm::RandomNumberGenerator::getEngine(), poissonDistribution_, and rootEngine_.
RandomEngine::~RandomEngine | ( | ) |
Definition at line 23 of file RandomEngine.cc.
References flatDistribution_, gaussianDistribution_, poissonDistribution_, and rootEngine_.
|
inline |
Definition at line 30 of file RandomEngine.h.
References flatDistribution_, and rootEngine_.
Referenced by EcalHitMaker::addHit(), PileUpProducer::beginRun(), BremsstrahlungSimulator::brem(), MultipleScatteringSimulator::compute(), PairProductionSimulator::compute(), HFShower::compute(), HDShower::compute(), EMShower::compute(), NuclearInteractionSimulator::compute(), HDRShower::computeShower(), CalorimetryManager::EMShowerSimulation(), GammaFunctionGenerator::gammaFrac(), GammaFunctionGenerator::gammaInt(), SiTrackerGaussianSmearingRecHitConverter::gaussianSmearing(), PairProductionSimulator::gbteth(), BremsstrahlungSimulator::gbteth(), FlatPrimaryVertexGenerator::generate(), SimpleHistogramGenerator::generate(), BaseNumericalRandomGenerator::generate(), BaseNumericalRandomGenerator::generateExp(), BaseNumericalRandomGenerator::generateLin(), HDRShower::getR(), HDShower::HDShower(), HFShower::HFShower(), ParticlePropagator::initProperDecayTime(), HCALResponse::interMU(), FML3EfficiencyHandler::kill(), FMGLfromL3TKEfficiencyHandler::kill(), FMGLfromL3EfficiencyHandler::kill(), FMGLfromTKEfficiencyHandler::kill(), FML1EfficiencyHandler::kill(), HFShower::makeSteps(), HDShower::makeSteps(), HcalRecHitsMaker::noisifySubdet(), EcalPreshowerRecHitsMaker::noisifySubdet(), NuclearInteractionSimulator::NuclearInteractionSimulator(), BremsstrahlungSimulator::poisson(), PileUpProducer::produce(), MuonSimHitProducer::produce(), EcalBarrelRecHitsMaker::randomNoisifier(), EcalEndcapRecHitsMaker::randomNoisifier(), HDRShower::setHit(), GaussianTail::shoot(), FML1PtSmearer::smear(), SiPixelGaussianSmearingRecHitConverterAlgorithm::smearHit(), and HDRShower::thetaFunction().
|
inline |
Definition at line 37 of file RandomEngine.h.
References gaussianDistribution_, plotscripts::mean(), rootEngine_, and ExpressReco_HICollisions_FallBack::sigma.
Referenced by RadialInterval::addInterval(), MultipleScatteringSimulator::compute(), EMShower::compute(), EMShower::EMShower(), HcalRecHitsMaker::Fill(), EcalPreshowerRecHitsMaker::Fill(), GaussianPrimaryVertexGenerator::generate(), BetaFuncPrimaryVertexGenerator::generate(), CalorimetryManager::HDShowerSimulation(), EcalEndcapRecHitsMaker::loadPCaloHits(), EcalBarrelRecHitsMaker::loadPCaloHits(), HcalRecHitsMaker::noisifySubdet(), EcalEndcapRecHitsMaker::noisifySuperCrystals(), EcalBarrelRecHitsMaker::noisifyTriggerTower(), EcalBarrelRecHitsMaker::randomNoisifier(), EcalEndcapRecHitsMaker::randomNoisifier(), CalorimetryManager::reconstructECAL(), CalorimetryManager::reconstructHCAL(), GaussianTail::shoot(), FML3PtSmearer::smear(), SiStripGaussianSmearingRecHitConverterAlgorithm::smearHit(), and HDRShower::thetaFunction().
|
inline |
Definition at line 44 of file RandomEngine.h.
References poissonDistribution_, and rootEngine_.
Referenced by EMShower::compute(), HcalRecHitsMaker::noisifySubdet(), EcalPreshowerRecHitsMaker::noisifySubdet(), PileUpProducer::produce(), EcalBarrelRecHitsMaker::randomNoisifier(), and EcalEndcapRecHitsMaker::randomNoisifier().
|
inline |
|
inline |
|
private |
Definition at line 58 of file RandomEngine.h.
Referenced by RandomEngine(), and theEngine().
|
private |
Definition at line 55 of file RandomEngine.h.
Referenced by flatShoot(), RandomEngine(), and ~RandomEngine().
|
private |
Definition at line 56 of file RandomEngine.h.
Referenced by gaussShoot(), RandomEngine(), and ~RandomEngine().
|
private |
Definition at line 57 of file RandomEngine.h.
Referenced by poissonShoot(), RandomEngine(), and ~RandomEngine().
|
private |
Definition at line 53 of file RandomEngine.h.
Referenced by theRandomNumberGenerator().
|
private |
Definition at line 60 of file RandomEngine.h.
Referenced by flatShoot(), gaussShoot(), poissonShoot(), RandomEngine(), and ~RandomEngine().