Skip to content

Conversation

tlprotzman
Copy link
Contributor

@tlprotzman tlprotzman commented Jun 9, 2025

Briefly, what does this PR introduce?

A suggested in #1885, the track-cluster matching should be done separately for each calorimeter. Later algorithms can then manage the merging and splitting of clusters and integration across calorimeters. This also makes it simpler to tune the matching criteria separately for each subsystem.

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?

There is no longer a single TrackClusterMatches collection output, instead is is broken into separate collections for each calorimeter

    EcalEndcapPTrackClusterMatches
    EcalEndcapPInsertTrackClusterMatches
    LFHCALTrackClusterMatches
    HcalEndcapPInsertClusterMatches
    EcalBarrelTrackClusterMatches
    HcalBarrelTrackClusterMatches
    EcalEndcapNTrackClusterMatches
    HcalEndcapNTrackClusterMatches

Does this PR change default behavior?

See above

@tlprotzman tlprotzman linked an issue Jun 9, 2025 that may be closed by this pull request
@tlprotzman tlprotzman force-pushed the track_cluster_match_config branch from 9eb01f5 to 0ea528f Compare June 30, 2025 20:30
@tlprotzman tlprotzman force-pushed the track_cluster_match_config branch from 0ea528f to 3818632 Compare June 30, 2025 20:34
@tlprotzman tlprotzman marked this pull request as ready for review June 30, 2025 21:24
ruse-traveler
ruse-traveler previously approved these changes Jul 1, 2025
Copy link
Contributor

@ruse-traveler ruse-traveler left a comment

Choose a reason for hiding this comment

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

Very nice! This is a much appreciated improvement! The diffs for the relevant collections look like I'd expect them to, but I am seeing some diffs for a few collections I'd expect to be unaffected by this PR...

This seems to be similar to what we saw in #1919 ... So maybe the artifacts capybara are using out of date?

Screenshot (28)
Screenshot (29)

@tlprotzman
Copy link
Contributor Author

I just noticed that the EcalEndcapPInsert has been removed between starting this and now (#1852), so I removed its track cluster match factory

@eic eic deleted a comment from github-actions bot Jul 1, 2025
@veprbl veprbl temporarily deployed to github-pages July 1, 2025 22:37 — with GitHub Actions Inactive
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.

LGTM

@veprbl
Copy link
Member

veprbl commented Jul 2, 2025

@ruse-traveler There are somehow irreproducibilities in B0 calorimetry, and they are not yet understood.

@ruse-traveler
Copy link
Contributor

@ruse-traveler There are somehow irreproducibilities in B0 calorimetry, and they are not yet understood.

Ahhhh gotcha!

Copy link
Contributor

@ruse-traveler ruse-traveler left a comment

Choose a reason for hiding this comment

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

Still looks good!

@veprbl veprbl added this pull request to the merge queue Jul 6, 2025
Merged via the queue into main with commit b51959a Jul 6, 2025
114 of 119 checks passed
@veprbl veprbl deleted the track_cluster_match_config branch July 6, 2025 06:35
minjungkim12 pushed a commit that referenced this pull request Jul 14, 2025
### Briefly, what does this PR introduce?
A suggested in #1885, the track-cluster matching should be done
separately for each calorimeter. Later algorithms can then manage the
merging and splitting of clusters and integration across calorimeters.
This also makes it simpler to tune the matching criteria separately for
each subsystem.

### What kind of change does this PR introduce?
- [ ] Bug fix (issue #__)
- [X] New feature (issue #1885 )
- [ ] Documentation update
- [ ] Other: __

### 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?
There is no longer a single TrackClusterMatches collection output,
instead is is broken into separate collections for each calorimeter
```
    EcalEndcapPTrackClusterMatches
    EcalEndcapPInsertTrackClusterMatches
    LFHCALTrackClusterMatches
    HcalEndcapPInsertClusterMatches
    EcalBarrelTrackClusterMatches
    HcalBarrelTrackClusterMatches
    EcalEndcapNTrackClusterMatches
    HcalEndcapNTrackClusterMatches
```

### Does this PR change default behavior?
See above

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Dmitry Kalinkin <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

Make calorimeters-to-match-to configurable in TrackClusterMatch Reconstruction: **[Particle Flow]** Extending track-cluster associations to HCal

3 participants