Skip to content
Snippets Groups Projects

Use templated function TDirectory::Get<T>

Merged Florian Uhlig requested to merge f.uhlig/cbmroot:templated_tfile_get into master

Since ROOT 6.18 the function TDirectory::Get(const char*) exist which either returns a properly checked and casted object from a TFile/TDirectory or returns a nullptr.

Test if the object exist after is was read from file and stop the execution if the object doesn't exist.

Also tests which checks if a valid file pointer exist were added at several places.

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
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading