From bfd3be01a995b3a6675056631e6b30530c415def Mon Sep 17 00:00:00 2001 From: tmadlener Date: Wed, 3 Jul 2024 20:16:55 +0200 Subject: [PATCH] Use more appropriate function name --- .../include/k4EDM4hep2LcioConv/k4EDM4hep2LcioConv.h | 4 ++-- .../include/k4EDM4hep2LcioConv/k4EDM4hep2LcioConv.ipp | 6 +++--- k4EDM4hep2LcioConv/src/k4EDM4hep2LcioConv.cpp | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/k4EDM4hep2LcioConv/include/k4EDM4hep2LcioConv/k4EDM4hep2LcioConv.h b/k4EDM4hep2LcioConv/include/k4EDM4hep2LcioConv/k4EDM4hep2LcioConv.h index 1bf185f..9b61e78 100644 --- a/k4EDM4hep2LcioConv/include/k4EDM4hep2LcioConv/k4EDM4hep2LcioConv.h +++ b/k4EDM4hep2LcioConv/include/k4EDM4hep2LcioConv/k4EDM4hep2LcioConv.h @@ -410,14 +410,14 @@ void resolveRelationsParticleIDs(PidMapT& pidMap, const RecoParticleMapT& recoMa /// /// @note: This assumes that all tracks have been converted already template -void attachDedxInfo(TrackMapT& trackMap, const std::vector& dQdxCollections); +void attachDqdxInfo(TrackMapT& trackMap, const std::vector& dQdxCollections); /// Attach the dE/dx information that is stored in the RecDqdxCollection to the /// corresponding tracks /// /// @note: This assumes that all tracks have been converted already template -void attachDedxInfo(TrackMapT& trackMap, const TrackDqdxConvData& dQdxCollection); +void attachDqdxInfo(TrackMapT& trackMap, const TrackDqdxConvData& dQdxCollection); /** * Resolve all relations in all converted objects that are held in the map. diff --git a/k4EDM4hep2LcioConv/include/k4EDM4hep2LcioConv/k4EDM4hep2LcioConv.ipp b/k4EDM4hep2LcioConv/include/k4EDM4hep2LcioConv/k4EDM4hep2LcioConv.ipp index 5f2419e..238a29d 100644 --- a/k4EDM4hep2LcioConv/include/k4EDM4hep2LcioConv/k4EDM4hep2LcioConv.ipp +++ b/k4EDM4hep2LcioConv/include/k4EDM4hep2LcioConv/k4EDM4hep2LcioConv.ipp @@ -728,14 +728,14 @@ void resolveRelationsParticleIDs(PidMapT& pidMap, const RecoParticleMapT& recoMa } template -void attachDedxInfo(TrackMapT& trackMap, const std::vector& dQdxCollections) { +void attachDqdxInfo(TrackMapT& trackMap, const std::vector& dQdxCollections) { for (const auto& coll : dQdxCollections) { - attachDedxInfo(trackMap, coll); + attachDqdxInfo(trackMap, coll); } } template -void attachDedxInfo(TrackMapT& trackMap, const TrackDqdxConvData& dQdxCollection) { +void attachDqdxInfo(TrackMapT& trackMap, const TrackDqdxConvData& dQdxCollection) { const auto& [name, coll] = dQdxCollection; for (const auto& elem : *coll) { diff --git a/k4EDM4hep2LcioConv/src/k4EDM4hep2LcioConv.cpp b/k4EDM4hep2LcioConv/src/k4EDM4hep2LcioConv.cpp index 3c8836b..92addf2 100644 --- a/k4EDM4hep2LcioConv/src/k4EDM4hep2LcioConv.cpp +++ b/k4EDM4hep2LcioConv/src/k4EDM4hep2LcioConv.cpp @@ -151,7 +151,7 @@ std::unique_ptr convertEvent(const podio::Frame& edmEvent, co convertParticleIDs(pidCollMeta.coll, objectMappings.particleIDs, algoId); } - attachDedxInfo(objectMappings.tracks, dQdxCollections); + attachDqdxInfo(objectMappings.tracks, dQdxCollections); resolveRelations(objectMappings);