1 #ifndef Mixing_Base_PileupRandomNumberGenerator_h 2 #define Mixing_Base_PileupRandomNumberGenerator_h 23 #include <unordered_map> 37 void setEngine(CLHEP::HepRandomEngine
const&);
60 void print(std::ostream& os)
const final;
62 static std::unique_ptr<CLHEP::HepRandomEngine>
cloneEngine(CLHEP::HepRandomEngine
const& existingEngine);
CLHEP::HepRandomEngine & getEngine(edm::StreamID const &) final
Use this engine in event methods.
std::unique_ptr< CLHEP::HepRandomEngine > cloneEngine(edm::LuminosityBlockIndex const &) final
void setEventCache(edm::StreamID, std::vector< RandomEngineState > const &iStates) final
void consumes(edm::ConsumesCollector &&iC) const final
void print(std::ostream &os) const final
For debugging purposes only.
void setEngine(CLHEP::HepRandomEngine const &)
void setLumiCache(edm::LuminosityBlockIndex, std::vector< RandomEngineState > const &iStates) final
std::vector< RandomEngineState > const & getEventCache(edm::StreamID const &) const final
std::unordered_map< std::string, std::unique_ptr< CLHEP::HepRandomEngine > > m_modulesToEngines
std::uint32_t mySeed() const final
void preBeginLumi(edm::LuminosityBlock const &lumi) final
const std::string & findPresentModule() const
std::vector< RandomEngineState > const & getLumiCache(edm::LuminosityBlockIndex const &) const final
PileupRandomNumberGenerator(std::vector< std::string > const &iModuleLabels)
void postEventRead(edm::Event const &event) final
void setSeed(uint32_t iSeed)