Skip to content

Public PHActsSiliconSeeding setters for cluster cuts - #4442

Merged
osbornjd merged 5 commits into
sPHENIX-Collaboration:masterfrom
hrjheng:siliconseed_syst
Sep 17, 2026
Merged

osbornjd merged 5 commits into
sPHENIX-Collaboration:masterfrom
hrjheng:siliconseed_syst

Conversation

@hrjheng

@hrjheng hrjheng commented Sep 16, 2026

Copy link
Copy Markdown
Contributor

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work for users)
  • Requiring change in macros repository (Please provide links to the macros pull request in the last section)
  • I am a member of GitHub organization of sPHENIX Collaboration, EIC, or ECCE (contact Chris Pinkenburg to join)

What kind of change does this PR introduce? (Bug fix, feature, ...)

Adds public PHActsSiliconSeeding setters to configure a cluster minimum ADC and maximum phi-size cut. Both cuts default to disabled (-1).
(The large number of changes come from the clang-format that I accidentally triggered.)

TODOs (if applicable)

Links to other PRs in macros and calibration repositories (if applicable)

Motivation / context

This change supports systematic studies of INTT cluster selection in PHActsSiliconSeeding. Both cuts are disabled by default with a value of -1.

Key changes

  • Added public setters for minimum INTT cluster ADC and maximum phi-size.
  • Applied the cuts during INTT matching, layer iteration, and space-point construction.
  • Added high-verbosity output for the configured cut values.
  • Applied clang-format updates.

Potential risk areas

  • Enabling either cut can change reconstruction results.
  • No I/O format or thread-safety changes are indicated.
  • The checks add small per-cluster processing overhead.
  • Test results are unavailable.

Possible future improvements

  • Add unit tests for cut boundaries.
  • Add integration tests with cuts disabled and enabled.
  • Document cut semantics and recommended values.

AI-generated summaries can contain mistakes. Contributors should verify the implementation and test results before merging.

@coderabbitai

coderabbitai Bot commented Sep 16, 2026

Copy link
Copy Markdown
Contributor

Review Change StackReview Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Advanced

Run ID: 7ce9ac10-a1eb-4057-a87a-268820ed1d39

📥 Commits

Reviewing files that changed from the base of the PR and between 6315aed and de88f42.

📒 Files selected for processing (1)
  • offline/packages/trackreco/PHActsSiliconSeeding.cc
🚧 Files skipped from review as they are similar to previous changes (1)
  • offline/packages/trackreco/PHActsSiliconSeeding.cc

Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review.


📝 Walkthrough

Walkthrough

PHActsSiliconSeeding adds configurable INTT cluster ADC and phi-size cuts. The cuts are applied during matching, layer iteration, and silicon space-point creation. Most remaining changes reformat existing code without behavioral changes.

Changes

INTT cluster filtering

Layer / File(s) Summary
Cut configuration and declarations
offline/packages/trackreco/PHActsSiliconSeeding.h, offline/packages/trackreco/PHActsSiliconSeeding.cc
Adds setters, -1-defaulted cut state, the passesInttClusterCuts declaration, and verbose output for the configured limits.
Cluster validation and filtering
offline/packages/trackreco/PHActsSiliconSeeding.cc
Adds ADC and phi-size validation. Rejects failing INTT clusters in findMatches, iterateLayers, and getSiliconSpacePoints.
Seeding and output-path cleanup
offline/packages/trackreco/PHActsSiliconSeeding.cc
Reformats existing seeding, timing, node, histogram, diagnostic, and configuration-output code without reported behavior changes.

Sequence Diagram(s)

sequenceDiagram
  participant Configuration
  participant PHActsSiliconSeeding
  participant TrkrCluster
  participant getSiliconSpacePoints
  Configuration->>PHActsSiliconSeeding: Set INTT ADC and phi-size limits
  TrkrCluster->>PHActsSiliconSeeding: Provide cluster data
  PHActsSiliconSeeding->>PHActsSiliconSeeding: Apply passesInttClusterCuts
  PHActsSiliconSeeding->>getSiliconSpacePoints: Process accepted cluster
Loading

Priority: ⬇️ Low

Merge Risk: ⚪ Minimal · up to de88f

The new cuts remain disabled by default and are consistently applied when configured. No actionable merge risk remains.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 1


ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Advanced

Run ID: ee8712c2-c513-444c-bf75-e8dc5d4800e9

📥 Commits

Reviewing files that changed from the base of the PR and between 75073c2 and 6315aed.

📒 Files selected for processing (2)
  • offline/packages/trackreco/PHActsSiliconSeeding.cc
  • offline/packages/trackreco/PHActsSiliconSeeding.h

Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review.

Comment thread offline/packages/trackreco/PHActsSiliconSeeding.cc
@sphenix-jenkins-ci

Copy link
Copy Markdown

Build & test report

Report for commit 6315aed8d5b82bfc51f645e122e49d571f8f772e:
Jenkins passed


Automatically generated by sPHENIX Jenkins continuous integration
sPHENIX             jenkins.io

@sphenix-jenkins-ci

Copy link
Copy Markdown

Build & test report

Report for commit de88f4255d56eb48424606ecbdc1cf92a039ad6d:
Jenkins passed


Automatically generated by sPHENIX Jenkins continuous integration
sPHENIX             jenkins.io

@osbornjd
osbornjd merged commit 7726f1a into sPHENIX-Collaboration:master Sep 17, 2026
22 checks passed
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.

2 participants