Skip to content

Commit

Permalink
Remove unused code, includes, and cmake config
Browse files Browse the repository at this point in the history
  • Loading branch information
tmadlener committed Apr 30, 2024
1 parent f6231ee commit 59fcb17
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 8 deletions.
6 changes: 0 additions & 6 deletions k4EDM4hep2LcioConv/src/k4EDM4hep2LcioConv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,6 @@ namespace EDM4hep2LCIOConv {
return std::find(coll->begin(), coll->end(), collection_name) != coll->end();
}

std::tuple<std::string, std::string> getPidAlgoName(const std::string& collectionName)
{
const auto pidPos = collectionName.find("_PID_");
return {collectionName.substr(pidPos + 5), collectionName.substr(0, pidPos)};
}

void sortParticleIDs(std::vector<ParticleIDConvData>& pidCollections)
{
std::sort(pidCollections.begin(), pidCollections.end(), [](const auto& pid1, const auto& pid2) {
Expand Down
1 change: 0 additions & 1 deletion tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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}
$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/k4EDM4hep2LcioConv/include>
)

Expand Down
1 change: 0 additions & 1 deletion tests/src/EDM4hep2LCIOUtilities.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
#include "edm4hep/MCParticleCollection.h"
#include "edm4hep/RawCalorimeterHitCollection.h"
#include "edm4hep/SimCalorimeterHitCollection.h"
#include <string>
#if __has_include("edm4hep/TrackerHit3DCollection.h")
#include "edm4hep/TrackerHit3DCollection.h"
#else
Expand Down

0 comments on commit 59fcb17

Please sign in to comment.