CM Distortion variables and Macro Updates#1297
CM Distortion variables and Macro Updates#1297osbornjd merged 4 commits intosPHENIX-Collaboration:masterfrom
Conversation
|
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)
📝 WalkthroughWalkthroughAdds three new G4TPC configuration variables (CMStripePattern, SaveAllLaminationHists, BFieldOff) and wires them into TPC lamination fitting setup in 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 a2bfb83f43ba57e66303dd0b4c023448307e1006. 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 5d45533f49eec507d4a299a538f6cdf337e8c081. sPHENIX software maintainers: please make your input here and start the Build: Note:
Automatically generated by sPHENIX Jenkins continuous integration |
| // average distortion corrections | ||
| bool ENABLE_AVERAGE_CORRECTIONS = false; | ||
| std::string average_correction_filename; | ||
| std::string CMStripePattern = "/sphenix/u/bkimelman/CMStripePattern_ideal.root"; |
There was a problem hiding this comment.
Is this a file that should go in the CDB?
There was a problem hiding this comment.
Eventually, yes. I still need to develop the finalized version of the stripe pattern based on field-off data. Until then, I think it's better to just use a local file
There was a problem hiding this comment.
Okay we can leave it as is for now, I think this will not cause a problem for anyone running on sdcc
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 1a2235f1966c2e0f7ac012e553cf9da2cf8ee798. sPHENIX software maintainers: please make your input here and start the Build: Note:
Automatically generated by sPHENIX Jenkins continuous integration |


Addition of new flags and variables for use in setting CM Lamination Fitting options and calls to set macro using those new variables.
Uses PR sPHENIX-Collaboration/coresoftware#4184
CM Distortion Variables and Macro Updates
Motivation / Context
Expose Central Membrane (CM) lamination fitting controls to macros so users can configure distortion-correction behavior (stripe pattern, histogram outputs, and magnetic-field handling) without editing C++ sources. This enables easier testing, reproducibility, and macro-driven workflows for TPC lamination fitting.
Key changes
Potential risk areas
Possible future improvements
Note: AI-generated summaries can be mistaken or incomplete — review the actual diffs and run reconstruction/QA tests to confirm impacts before deploying.