Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 26 additions & 7 deletions .github/workflows/key4hep.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
name: Key4hep build
# Do not edit this file, it will be overwritten!
# The template file can be found in
# https://github.com/key4hep/key4hep-actions/blob/main/workflows/key4hep-build.yaml

name: Key4hep build
on:
push:
branches:
- master
- master
pull_request:
workflow_dispatch:
schedule:
- cron: "16 4 * * *"

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand All @@ -20,11 +25,25 @@ jobs:
include:
- build_type: nightly
image: ubuntu24
- build_type: nightly
image: ubuntu26
fail-fast: false
runs-on: ubuntu-latest
container:
image: ghcr.io/key4hep/key4hep-images/${{ matrix.image }}-cvmfs
options: --privileged
volumes:
- /home/runner/.cache/ccache:/root/.cache/ccache
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v4
- uses: key4hep/key4hep-actions/key4hep-build@main
with:
build_type: ${{ matrix.build_type }}
image: ${{ matrix.image }}
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 #v7.0.1
- name: Mount CVMFS
run: /mount.sh
- uses: key4hep/key4hep-actions/cache-external-data@main
- uses: key4hep/key4hep-actions/key4hep-build@main
with:
build_type: ${{ matrix.build_type }}
image: ${{ matrix.image }}
stack: ${{ matrix.stack }}
2 changes: 0 additions & 2 deletions include/DebugTool.h
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ class ConformalDebugger {
// Temporarily store all mcparticles associated to this track
std::vector<MCParticle*> particles;
std::map<MCParticle*, double> particleHits;
double nHits = 0.;

// Get the clusters from this track
SharedKDClusters clusters = track->m_clusters;
Expand All @@ -96,7 +95,6 @@ class ConformalDebugger {
for (size_t itCluster = 0; itCluster < clusters.size(); itCluster++) {
// Get the hit
SKDCluster cluster = clusters[itCluster];
nHits++;

// If we already have hits on this particle, then just increment the counter
if (particleHits.count(m_kdParticles[cluster]))
Expand Down
Loading