Closed omar-moreno closed 5 months ago
I haven't implemented it. I'll do this as part of the detector load update.
Notes for whomever does this in the future:
The seeding currently happens in onProcessStart
at
Instead, one should seed the generator in onNewRun
which is after the conditions are configured and then one could
const auto& rseed = getCondition<framework::RandomNumberSeedService>(
framework::RandomNumberSeedService::CONDITIONS_OBJECT_NAME);
generator_.seed(rseed.getSeed("Tracking::DigitizationProcessor");
@tomeichlersmith you practically implemented this, is there any reason why you didnt PR it? Should I do it?
No real reason, I vaguely remembering that this required an update to Framework so that conditions could be used in onNewRun
, but I am confident this is fixed now.
@omar-moreno Is this already implemented?