DD4hep conditions Part 1: Enable the use of conditions during the event loop
This follows the discussion in Gaussino/Gaussino#15 (comment 6085263):
This means that the python configuration in Gauss has to be changed to include a few algorithms. This would give us access to conditions in the algorithms that are scheduled on top of
GiGaAlg(main Geant4 simulation) that can still access the conditions viaConditionAccessor. A very good example is the work done for Muon in !901 (merged). The needed changes are:
- disable
UpdateManagerSvcby settingWithoutBeginEvent=False,- generate a fake
ODINwithFakeODINalgorithm based on the run number fromGenRndInit- add the algorithm that reserves IOV:
LHCb__DetDesc__ReserveDetDescForEventfor DetDesc andLHCb__Det__LbDD4hep__IOVProducerfor DD4hep
Edited by Michal Mazurek