Skip to content

CaloReco: Require Calibs by Default - #4441

Closed
Steepspace wants to merge 1 commit into
sPHENIX-Collaboration:masterfrom
Steepspace:CaloReco
Closed

Steepspace wants to merge 1 commit into
sPHENIX-Collaboration:masterfrom
Steepspace:CaloReco

Conversation

@Steepspace

@Steepspace Steepspace 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, ...)

Require presence of hot maps, chi2, time calib, zs calib by default.

TODOs (if applicable)

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

Motivation / context

CaloReco now requires key calibration inputs by default. This is a breaking change for workflows with missing calibrations.

Key changes

  • CaloTowerCalib enables aborts for missing energy, time, and zero-suppression calibration.
  • CaloTowerStatus enables aborts for missing hot-map and chi2 calibration.

Potential risk areas

  • Reconstruction jobs without these calibrations can now abort.
  • No IO format, thread-safety, or performance changes are indicated.
  • Test results and review severity counts are unavailable.

Possible future improvements

  • Add tests for missing-calibration behavior.
  • Document required calibrations and opt-out configuration.
  • Provide clear diagnostics for each missing calibration.

AI-generated summaries can contain mistakes. Verify the implementation and workflow impact before merging.

- Require presence of hot maps, chi2, time calib, zs calib by default.
@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: 80e179ce-6e03-4db1-bdfd-4b62dcdf5c99

📥 Commits

Reviewing files that changed from the base of the PR and between 75073c2 and 55ef423.

📒 Files selected for processing (2)
  • offline/packages/CaloReco/CaloTowerCalib.h
  • offline/packages/CaloReco/CaloTowerStatus.h

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


📝 Walkthrough

Walkthrough

The pull request changes five CaloReco abort-control defaults from false to true. The affected classes are CaloTowerCalib and CaloTowerStatus.

Changes

CaloReco abort defaults

Layer / File(s) Summary
Enable abort defaults
offline/packages/CaloReco/CaloTowerCalib.h, offline/packages/CaloReco/CaloTowerStatus.h
CaloTowerCalib now aborts by default when energy, time, or zero-suppression calibration is missing. CaloTowerStatus now aborts by default when the hot map or chi-squared data is missing.

Priority: ⬇️ Low

Merge Risk: ⚪ Minimal · up to 55ef4

The intentional breaking default change has no demonstrated correctness or compatibility defect, so it is mergeable after normal checks.


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.

@Steepspace

Copy link
Copy Markdown
Contributor Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Sep 16, 2026

Copy link
Copy Markdown
Contributor
✅ Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@sphenix-jenkins-ci

Copy link
Copy Markdown

Build & test report

Report for commit 55ef4234075ebe3dfcc29f67da4041c74d4ff802:
Jenkins passed


Automatically generated by sPHENIX Jenkins continuous integration
sPHENIX             jenkins.io

@Steepspace

Copy link
Copy Markdown
Contributor Author

Superseded by sPHENIX-Collaboration/macros#1387

@Steepspace Steepspace closed this Sep 17, 2026
@Steepspace
Steepspace deleted the CaloReco branch September 17, 2026 19:51
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.

1 participant