Use templated function TDirectory::Get<T>
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
Activity
added BugFix label
requested review from @v.friese
assigned to @v.friese
added 2 commits
Dear @wielanek_AT_if.pw.edu.pl, @i.selyuzhenkov, @a_meye37_AT_uni-muenster.de, @c.pauly, @v.singhal, @a.bercuci, @p.kaehler, @f.uhlig, @v.friese, @p.-a.loizeau, @c.muentz, @m.deveaux, @se.gorbunov, @v.akishina, @s.lebedev, @andrey.lebedev,
you have been identified as code owner of at least one file which was changed with this merge request.
Please check the changes and approve them or request changes.
added CodeOwners label
- Resolved by Volker Friese
- Resolved by Volker Friese
- Resolved by Volker Friese
- Resolved by Volker Friese
added 20 commits
-
3f50acf9...5de9072a - 18 commits from branch
computing:master
- 340239fc - Use templated function TDirectory::Get<T>
- 797b313d - Fix macros
-
3f50acf9...5de9072a - 18 commits from branch