Skip to content

Commit

Permalink
Explicitelly turning on WITH_PODIO_DATASOURCE
Browse files Browse the repository at this point in the history
  • Loading branch information
kjvbrt committed Feb 20, 2025
1 parent d5e33f5 commit 88775d8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
mkdir -p build install; \
source ${{ matrix.STACK }}; \
cd build; \
cmake -DCMAKE_INSTALL_PREFIX=../install -DCMAKE_CXX_STANDARD=17 -DCMAKE_CXX_FLAGS=" -fdiagnostics-color=always " -DWITH_DD4HEP=ON -DWITH_ACTS=OFF -DWITH_ONNX=ON -G Ninja ..;'
cmake -DCMAKE_INSTALL_PREFIX=../install -DCMAKE_CXX_FLAGS=" -fdiagnostics-color=always " -DWITH_DD4HEP=ON -DWITH_ACTS=OFF -DWITH_ONNX=ON -DWITH_PODIO_DATASOURCE=ON -G Ninja ..;'
- name: Compile
run: |
docker exec CI_container /bin/bash -c 'cd ./Package; \
Expand All @@ -52,4 +52,4 @@ jobs:
docker exec CI_container /bin/bash -c 'cd ./Package; \
source ${{ matrix.STACK }}; \
source ./setup.sh; \
fccanalysis run examples/FCCee/higgs/mH-recoil/mumu/analysis_stage1.py --output myoutput.root --test'
fccanalysis run examples/FCCee/higgs/mH-recoil/mumu/analysis_stage1.py --output myoutput.root --test'
1 change: 1 addition & 0 deletions analyzers/dataframe/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ endif()

if(NOT WITH_PODIO_DATASOURCE)
list(FILTER headers EXCLUDE REGEX "JetClusteringUtilsSource.h")
list(FILTER sources EXCLUDE REGEX "JetClusteringUtilsSource.cc")
list(FILTER headers EXCLUDE REGEX "LinkSource.h")
list(FILTER headers EXCLUDE REGEX "ReconstructedParticleSource.h")
list(FILTER sources EXCLUDE REGEX "ReconstructedParticleSource.cc")
Expand Down
7 changes: 0 additions & 7 deletions analyzers/dataframe/src/ReconstructedParticleSource.cc
Original file line number Diff line number Diff line change
Expand Up @@ -304,13 +304,6 @@ merge(const edm4hep::ReconstructedParticleCollection &inColl1,
outColl.setSubsetCollection();

for (const auto &particle : inColl1) {
/*
if (std::find(inPartsToBeRemoved.begin(),
inPartsToBeRemoved.end(),
particle) != inPartsToBeRemoved.end()) {
continue;
}
*/
outColl.push_back(particle);
}

Expand Down

0 comments on commit 88775d8

Please sign in to comment.