1 #ifndef FWCore_Utilities_RandomNumberGenerator_h 2 #define FWCore_Utilities_RandomNumberGenerator_h 136 class HepRandomEngine;
141 class ConsumesCollector;
144 class LuminosityBlockIndex;
187 virtual std::uint32_t
mySeed()
const = 0;
207 virtual void print(std::ostream&
os)
const = 0;
virtual void print(std::ostream &os) const =0
For debugging purposes only.
virtual void consumes(ConsumesCollector &&iC) const =0
virtual std::vector< RandomEngineState > const & getLumiCache(LuminosityBlockIndex const &) const =0
virtual CLHEP::HepRandomEngine & getEngine(StreamID const &)=0
Use this engine in event methods.
virtual void setEventCache(StreamID, std::vector< RandomEngineState > const &iStates)=0
virtual std::uint32_t mySeed() const =0
virtual ~RandomNumberGenerator()
virtual std::vector< RandomEngineState > const & getEventCache(StreamID const &) const =0
virtual void postEventRead(Event const &event)=0
RandomNumberGenerator const & operator=(RandomNumberGenerator const &)=delete
virtual void setLumiCache(LuminosityBlockIndex, std::vector< RandomEngineState > const &iStates)=0
virtual void preBeginLumi(LuminosityBlock const &lumi)=0
virtual std::unique_ptr< CLHEP::HepRandomEngine > cloneEngine(LuminosityBlockIndex const &)=0