Skip to content

JetPFlowSelectionAlg: add ReadDecorHandleKeys to ensure FEs are finalised before they are copied

Hello,

This MR introduces 2 ReadDecorHandleKeys to make sure PFTauFlowElementAssoc runs before JetPFlowSelectionAlg. Otherwise, FlowElements can be simultaneously decorated in PFTauFlowElementAssoc and deep-copied in JetPFlowSelectionAlg, causing std::bad_array_new_length exceptions. We need FEs to be fully reconstructed and decorated before they can be safely copied. The keys are only initialised, no handles are created.

Fixes ATLASRECTS-6958.

Cheers, Bertrand

Merge request reports