TEvent and Tools remove metadata warnings when writting output file
This MR addresses the issue discussed in the following thread of emails link
At the end of of jobs if calling TEvent::finishWritingTo
function in release 24.2 a lot of warnings are displayed for many tools (example below), hence adding this new else if condition.
We have tested that the changes are removing the warnings
xAODConfigTool WARNING Unknown incident type received in AsgMetaDataTool: 3
TrigDecisionTool WARNING Unknown incident type received in AsgMetaDataTool: 3
TauSmearTool WARNING Unknown incident type received in AsgMetaDataTool: 3
TauSmearTool.TauSmearT...WARNING Unknown incident type received in AsgMetaDataTool: 3
TauSelectTool WARNING Unknown incident type received in AsgMetaDataTool: 3
TauEfficiencyTool WARNING Unknown incident type received in AsgMetaDataTool: 3
EgammaCalibrationAndSm...WARNING Unknown incident type received in AsgMetaDataTool: 3
AsgElectronEfficiencyC...WARNING Unknown incident type received in AsgMetaDataTool: 3
[... long list of: WARNING Unknown incident type received in AsgMetaDataTool: 3]
tagging @akraszna @krumnack @ssnyder @maszyman @gemmeren (for info also tagging @fdibello and @robouque)