Skip to content

Conversation

ruse-traveler
Copy link
Contributor

@ruse-traveler ruse-traveler commented Sep 15, 2025

Briefly, what does this PR introduce?

This PR introduces two new flags to the Jug::Reco::ClusterType in algorithms/calorimetry/ClusterTypes, kClusterEMCal and kClusterHCal. These flags are intended to help facilitate generic algorithms downstream which need to distinguish between EM and hadronic energy.

These are new types are used to flag only the types of clusters which will be passed on to downstream, holistic algorithms such as the output of CalorimeterClusterRecoCoG (for all calorimeters other than the BIC) or EnergyPositionClusterMerger (for the BIC).

Note: this is intended to be an interim solution, aimed at facilitating development on downstream PF algorithms and maintaining momentum (see the presentation here for more details on the PF development plan). A longer-term, more flexible approach is discussed in EDM4eic#122.

What kind of change does this PR introduce?

Please check if this PR fulfills the following:

  • Tests for the changes have been added
  • Documentation has been added / updated
  • Changes have been communicated to collaborators

Does this PR introduce breaking changes? What changes might users need to make to their code?

No.

Does this PR change default behavior?

No.

@github-actions github-actions bot added topic: calorimetry relates to calorimetry topic: far-forward Far forward reconstruction topic: far-backward Reconstruction related to far backward detectors topic: barrel topic: forward topic: backward labels Sep 15, 2025
@ruse-traveler ruse-traveler changed the title For calo type flag Flag clusters as EMCal or HCal Sep 18, 2025
@ruse-traveler ruse-traveler marked this pull request as ready for review September 18, 2025 20:36
This PR applies the include-what-you-use fixes as suggested by
https://github.com/eic/EICrecon/actions/runs/17840742667.
Please merge this PR into the branch `for-calo-type-flag`
to resolve failures in PR #2078.

Auto-generated by [create-pull-request][1]

[1]: https://github.com/peter-evans/create-pull-request

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Clang-Tidy found issue(s) with the introduced code (1/1)

ruse-traveler and others added 2 commits September 23, 2025 11:19
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@github-actions github-actions bot dismissed their stale review September 23, 2025 15:54

No Clang-Tidy warnings found so I assume my comments were addressed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

topic: backward topic: barrel topic: calorimetry relates to calorimetry topic: far-backward Reconstruction related to far backward detectors topic: far-forward Far forward reconstruction topic: forward

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Reconstruction: **[Particle Flow]** Implementation of PF algorithm + factories

2 participants