fix 5GeV selection#4257
Merged
pinkenburg merged 1 commit intoApr 27, 2026
Merged
Conversation
b2d15c6
into
sPHENIX-Collaboration:master
1 of 2 checks passed
Contributor
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe pull request fixes production-type dispatch logic in the file list creation script. Specifically, it adds a conditional guard to prevent appending the Changes
Possibly related PRs
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. Comment |
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Types of changes
What kind of change does this PR introduce? (Bug fix, feature, ...)
cut and paste error for the pythia8 5 GeV jet selection (it stopped to work, no bad files were selected)
TODOs (if applicable)
Links to other PRs in macros and calibration repositories (if applicable)
Motivation/Context
This PR fixes critical bugs in the
CreateFileList.plscript that were preventing proper file selection for specific pythia8 jet production types. The script is responsible for identifying and cataloging production files in the sPHENIX file catalog database. Production type 36 corresponds to pythia8 Jet samples with ptmin = 5 GeV threshold.Key Changes
Production type 36 (pythia8 Jet ptmin = 5 GeV): Fixed incomplete
if (defined $double)block. The original code was missing the body of the conditional—it lacked the$doubleok = 1flag setting and the critical_pythia8_Detroitsuffix appending logic, and also bypassed all pileup handling by immediately calling&commonfiletypes(). The corrected version now properly handles double-interaction overlay selection and pileup configuration.Production type 49 (pythia8 Jet ptmin = 80 GeV): Fixed
elsifstatement indentation/positioning within the main production-type dispatch if/elsif ladder to ensure the branch is correctly recognized during control flow.Potential Risk Areas
--doubleflag for Detroit overlay simulations. Users running analyses on 5 GeV and 80 GeV jet samples may need to re-run file list generation.Possible Future Improvements
Note: AI-assisted analysis was used in this summary. Please verify the technical details against the actual code review.