HltEventLoopMgr: Allow run and SOR time overwrite
Allow run number and SOR time override. If set these values will be used instead of the ones retrieved from the RunParams ptree entry. This is useful e.g. when running with preloaded data in a partition where the partitions's run number and SOR time do not agree with the values of the preloaded data (ATR-20249).
For a given run number one can retrieve the correct SOR time via:
python -m TrigCommon.AthHLT 327265
Py:athenaHLT INFO SOR parameters: {'SORTime':
1497890693000000000L, 'RunNumber': 327265L, 'DetectorMask':
'0000000000000000c10069fffffffff7', 'RecordingEnabled': True,
'T0ProjectTag': 'data17_13TeV', 'RunType': 'Physics'}
and then set:
svcMgr.HltEventLoopMgr.forceRunNumber = 327265
svcMgr.HltEventLoopMgr.forceStartOfRunTime = 1497890693000000000