Functions | |
template<typename T > | |
uint32_t | getRandomSeedFromObj (const edm::Event &iEvent, const T &obj, size_t nrObjs, size_t objNr) |
uint32_t | getRandomSeedFromSC (const edm::Event &iEvent, const reco::SuperClusterRef scRef) |
uint32_t egamma::getRandomSeedFromObj | ( | const edm::Event & | iEvent, |
const T & | obj, | ||
size_t | nrObjs, | ||
size_t | objNr | ||
) |
Definition at line 21 of file EgammaRandomSeeds.h.
References edm::EventID::event(), edm::EventBase::id(), createfilelist::int, edm::EventID::luminosityBlock(), M_PI, SiStripPI::max, edm::EventID::run(), and SurveyInfoScenario_cff::seed.
Referenced by CalibratedPhotonProducerT< T >::setSemiDetRandomSeed(), and CalibratedElectronProducerT< T >::setSemiDetRandomSeed().
uint32_t egamma::getRandomSeedFromSC | ( | const edm::Event & | iEvent, |
const reco::SuperClusterRef | scRef | ||
) |
Definition at line 5 of file EgammaRandomSeeds.cc.
References edm::EventID::event(), edm::EventBase::id(), createfilelist::int, edm::Ref< C, T, F >::key(), edm::EventID::luminosityBlock(), PFRecoTauDiscriminationByIsolation_cfi::offset, edm::EventID::run(), and SurveyInfoScenario_cff::seed.
Referenced by CalibratedPhotonProducerT< T >::setSemiDetRandomSeed(), and CalibratedElectronProducerT< T >::setSemiDetRandomSeed().