7 std::seed_seq seeder = {int(iEvent.
id().
event()),
9 int(iEvent.
id().
run()),
10 int(scRef->seed()->seed().rawId()),
11 int(scRef->seed()->hitsAndFractions().size()),
13 uint32_t
seed = 0, tries = 10;
15 seeder.generate(&seed, &seed + 1);
17 }
while (seed == 0 && tries < 10);
18 return seed ? seed : iEvent.
id().
event() + 10000 * scRef.
key();
EventNumber_t event() const
key_type key() const
Accessor for product key.
LuminosityBlockNumber_t luminosityBlock() const
uint32_t getRandomSeedFromSC(const edm::Event &iEvent, const reco::SuperClusterRef scRef)