From 59fcb177201cdd5e2811fae3518805a061b96409 Mon Sep 17 00:00:00 2001 From: tmadlener Date: Tue, 16 Apr 2024 14:08:12 +0200 Subject: [PATCH] Remove unused code, includes, and cmake config --- k4EDM4hep2LcioConv/src/k4EDM4hep2LcioConv.cpp | 6 ------ tests/CMakeLists.txt | 1 - tests/src/EDM4hep2LCIOUtilities.cc | 1 - 3 files changed, 8 deletions(-) diff --git a/k4EDM4hep2LcioConv/src/k4EDM4hep2LcioConv.cpp b/k4EDM4hep2LcioConv/src/k4EDM4hep2LcioConv.cpp index acad944e..40a3c4b2 100644 --- a/k4EDM4hep2LcioConv/src/k4EDM4hep2LcioConv.cpp +++ b/k4EDM4hep2LcioConv/src/k4EDM4hep2LcioConv.cpp @@ -36,12 +36,6 @@ namespace EDM4hep2LCIOConv { return std::find(coll->begin(), coll->end(), collection_name) != coll->end(); } - std::tuple getPidAlgoName(const std::string& collectionName) - { - const auto pidPos = collectionName.find("_PID_"); - return {collectionName.substr(pidPos + 5), collectionName.substr(0, pidPos)}; - } - void sortParticleIDs(std::vector& pidCollections) { std::sort(pidCollections.begin(), pidCollections.end(), [](const auto& pid1, const auto& pid2) { diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index dad8540e..b275acdf 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -2,7 +2,6 @@ add_library(edmCompare SHARED src/CompareEDM4hepLCIO.cc src/ObjectMapping.cc src target_link_libraries(edmCompare PUBLIC EDM4HEP::edm4hep LCIO::lcio) target_include_directories(edmCompare PUBLIC - ${LCIO_INCLUDE_DIRS} $ ) diff --git a/tests/src/EDM4hep2LCIOUtilities.cc b/tests/src/EDM4hep2LCIOUtilities.cc index 8c181523..ff43a808 100644 --- a/tests/src/EDM4hep2LCIOUtilities.cc +++ b/tests/src/EDM4hep2LCIOUtilities.cc @@ -4,7 +4,6 @@ #include "edm4hep/MCParticleCollection.h" #include "edm4hep/RawCalorimeterHitCollection.h" #include "edm4hep/SimCalorimeterHitCollection.h" -#include #if __has_include("edm4hep/TrackerHit3DCollection.h") #include "edm4hep/TrackerHit3DCollection.h" #else