Fix the NTupleWriter algorithm to handle `DataObject*` and `AnyDataWrapperBase*` Correctly in `BranchWrapper`
Refactored BranchWrapper::setBranchData
to properly handle cases where casting to AnyDataWrapperBase*
fails.
Previously, the code raised an exception when the cast failed, which was incorrect, as in some (if not most) cases we actually want to store the DataObject*
directly.
Now the code handles both cases: using AnyDataWrapperBase*
when available, and defaulting to DataObject*
when the cast fails.
Edited by Silia Taider
Merge request reports
Activity
changed milestone to %v39r0
assigned to @clemenci
added lhcb-gaudi-head label
- [2024-09-12 00:03] Validation started with lhcb-gaudi-head#3992
- [2024-09-12 00:08] Validation started with lhcb-run2-gaudi-head#823
Edited by Software for LHCbmentioned in commit ccce6642
Please register or sign in to reply