MuonConfig: Add support for running from RDOs
Currently the RDOtoPRD convertors are only scheduled if input is BS. This should fix this (though if I'm honest, I'm not sure if this is the best way to check if the input is an RDO file, so if anyone disagrees with this approach please let me know).
I tested this locally by running on an RDO file, with python -m MuonConfig.MuonSegmentFindingConfig --run
I've not made a new unit test, since this still doesn't work with RDOs because of an unrelated (I believe) issue:
S:0 E:0 VarHandle(StoreGateSvc+EventInfo[45903698]) WARNING StoreGate/src/VarHandleBase.cxx:848 (void*SG::VarHandleBase::typeless_dataPointer_impl(bool)): could not get proxy for key EventInfo
S:0 E:0 RpcRdoToRpcPrepData FATAL Standard std::exception is caught
I think this should be addressed in a different MR (the first thing I want to check is if RpcRdoToRpcPrepData
really needs an EventInfo)
Pinging @tadej
Edited by Edward Moyse