Skip to content
Snippets Groups Projects

Fix the NTupleWriter algorithm to handle `DataObject*` and `AnyDataWrapperBase*` Correctly in `BranchWrapper`

Merged Silia Taider requested to merge staider/Gaudi:FIX-NTupleWriter into master

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

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading