Skip to content

Conversation

ruse-traveler
Copy link
Contributor

@ruse-traveler ruse-traveler commented Oct 9, 2025

Briefly, what does this PR introduce?

This PR implements the ChargedCandidateMaker algorithm. This algorithm ingests track-cluster matches and converts them to charged particle candidates, i.e. edm4eic::ReconstructedParticles with only select relations filled.

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.

This PR applies the include-what-you-use fixes as suggested by
https://github.com/eic/EICrecon/actions/runs/18477497612.
Please merge this PR into the branch
`add-charged-candidate-maker-pfa-one`
to resolve failures in PR #2124.

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
Member

@veprbl veprbl left a comment

Choose a reason for hiding this comment

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

Not sure about the particle/ namespace instead of reco/, but we can have it.

Copy link
Member

Choose a reason for hiding this comment

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

Duplicate file? All factories go to factories/


app->Add(new JOmniFactoryGeneratorT<ChargedCandidateMaker_factory>(
"EndcapPInsertChargedCandidateParticlesAlpha", {"EndcapPInsertTrackExpectedClusterMatches"},
{"EndcapPInsertChargedCandidateParticlesAlpha"}, {}, app));
Copy link
Member

Choose a reason for hiding this comment

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

We might want to (temporarily?), add these to the list in JPODIOEventProcessor.cc, we want to have these factories running. Alternative is to add a unit test.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement PFA1(b): Charged Candidate Maker Reconstruction: **[Particle Flow]** Implementation of PF algorithm + factories

3 participants