From 46bc442c56e233906dfc16f1a3efe5c7d60506d6 Mon Sep 17 00:00:00 2001 From: Thomas Madlener Date: Mon, 2 Dec 2024 13:19:17 +0100 Subject: [PATCH] Documentation fixes as suggested --- doc/links.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/links.md b/doc/links.md index dda9aaf40..baa6ed4e6 100644 --- a/doc/links.md +++ b/doc/links.md @@ -139,15 +139,15 @@ libraries. ## The `LinkNavigator` utility `podio::LinkCollection`s store each link separately even if a given object is -present in several links. Additionally, they don't offer any real way to look up -objects that are linked easily (apart from manually looping and comparing +present in several links. Additionally, they don't offer any really easy way to +look up objects that are linked (apart from manually looping and comparing elements). To alleviate these issues, we provide the `podio::LinkNavigator` utility class that facilitates navigating links and lookups. It can be constructed from any `podio::LinkCollection` and can then be used to retrieve linked objects. E.g. ```cpp -const auto& recoMcLinks = event.get("mcrecolinks"); +const auto& recoMcLinks = event.get("RecoMCLinks"); const auto linkNavigator = podio::LinkNavigator(recoMcLinks); // For podio::LinkCollections with disparate types just use getLinked