1 #ifndef FWCore_Utilities_RandomNumberGenerator_h 2 #define FWCore_Utilities_RandomNumberGenerator_h 136 class HepRandomEngine;
141 class ConsumesCollector;
144 class LuminosityBlockIndex;
156 virtual CLHEP::HepRandomEngine& getEngine(
StreamID const&) = 0;
185 virtual std::uint32_t
mySeed()
const = 0;
194 virtual void postEventRead(
Event const&
event) = 0;
196 virtual void setLumiCache(
LuminosityBlockIndex, std::vector<RandomEngineState>
const& iStates) = 0;
197 virtual void setEventCache(
StreamID, std::vector<RandomEngineState>
const& iStates) = 0;
199 virtual std::vector<RandomEngineState>
const& getEventCache(
StreamID const&)
const = 0;
200 virtual std::vector<RandomEngineState>
const& getLumiCache(
LuminosityBlockIndex const&)
const = 0;
205 virtual void print(std::ostream& os)
const = 0;
S & print(S &os, JobReport::InputFile const &f)