Fix metadata propagation in Overlay jobs when running FastChain
Fix metadata propagation in Overlay jobs when running FastChain. Here input does not have the right IoVs so they have to be overridden but the heavy machinery from simulation jobs does not work. We just need to explicitly configure IOVDbMetaDataTool
.
Also cleaned-up a bit getMinMaxRunNumbers
where the only functional change is to check if we run data and then take max run as maximum one + 1.
Both @jchapman and @maszyman agree with the change. Also tagging @pagacova and @mnowak.
Fixes ATEAM-1023 and ATEAM-1039.
Edited by Tadej Novak