Calo data overlay macro update#1288
Conversation
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review infoConfiguration used: Organization UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThis PR introduces a complete G4 embedding macro for Fun4All/sPHENIX with configurable PYTHIA8 generation, calorimeter embedding, and multi-stream output handling. Additionally, it refactors the PrepDataFitting macro to include tower builders and reconstruction components for EPD, ZDC, and centrality determination. 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 |
For repository maintainers, please start the CI check manually (feedback)This is an automatic message to assist manually starting CI check for this pull request, commit dec63214f21eaafaa6430ac3568a53569b5e879f. sPHENIX software maintainers: please make your input here and start the Build: Note:
Automatically generated by sPHENIX Jenkins continuous integration |
|
clang-tidy finds a few issues in the macros (e.g. G4Setup_sPHENIX.C is missing): |
For repository maintainers, please start the CI check manually (feedback)This is an automatic message to assist manually starting CI check for this pull request, commit ee7272d2e5f9b99fb4b0950555ef7a901ebd7873. sPHENIX software maintainers: please make your input here and start the Build: Note:
Automatically generated by sPHENIX Jenkins continuous integration |
For repository maintainers, please start the CI check manually (feedback)This is an automatic message to assist manually starting CI check for this pull request, commit 8ef87e053602511cdf83586ccf32cd6298b01172. sPHENIX software maintainers: please make your input here and start the Build: Note:
Automatically generated by sPHENIX Jenkins continuous integration |
For repository maintainers, please start the CI check manually (feedback)This is an automatic message to assist manually starting CI check for this pull request, commit 4f0806c38cd50458b20ba02878cf95d03357b998. sPHENIX software maintainers: please make your input here and start the Build: Note:
Automatically generated by sPHENIX Jenkins continuous integration |
For repository maintainers, please start the CI check manually (feedback)This is an automatic message to assist manually starting CI check for this pull request, commit eb1539841b057911a5c5158adb94f39972d7e1c0. sPHENIX software maintainers: please make your input here and start the Build: Note:
Automatically generated by sPHENIX Jenkins continuous integration |


Calorimeter Data Overlay Macro Update
Motivation / Context
This PR updates the calorimeter data overlay macros as part of a broader code quality and infrastructure improvement effort. The changes address clang-tidy code quality issues and relocate the G4Setup_sPHENIX.C file to a common location for reusability. The PR author notes that while clang-tidy identifies issues, certain blocking errors need resolution, with fixes available in the next build release.
Key Changes
Fun4All_G4_Embed_data.C (new, 783 lines)
Fun4All_PrepDataFitting.C (+132/-21 lines)
Potential Risk Areas
Possible Future Improvements
Note: AI-generated analyses can contain errors. Verify critical details (event count doubling, file I/O paths, embedding configurations, and output node lists) against actual code usage in downstream workflows before deployment.