feat: add data/sim reco flag for tracking workflow#1279
feat: add data/sim reco flag for tracking workflow#1279osbornjd merged 3 commits intosPHENIX-Collaboration:masterfrom
Conversation
📝 WalkthroughWalkthroughAdds a global boolean Changes
Possibly related PRs
Tip 🧪 Unit Test Generation v2 is now available!We have significantly improved our unit test generation capabilities. To enable: Add this to your reviews:
finishing_touches:
unit_tests:
enabled: trueTry it out by using the Have feedback? Share your thoughts on our Discord thread! 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 d1dc5effd282159ee184743dabfcd43043c6f50b. 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 a0773504c99899a47b7307c3977db5fad6dde0b4. 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 ec4eaf646e8cb7bcce10e7e9ebd032aac43a8aa6. sPHENIX software maintainers: please make your input here and start the Build: Note:
Automatically generated by sPHENIX Jenkins continuous integration |
d3540e1
into
sPHENIX-Collaboration:master


This adds a global data/sim reconstruction flag that modules can use as appropriate. For the tracking it is set based on the CDB tag in the initialization, and we can test it using Tony's recent PR which shows differences between data and simulation since there is not a beam spot offset in the simulation.
Data/Simulation Reconstruction Flag for Tracking Workflow
Motivation and Context
Introduce an explicit global flag to let reconstruction modules distinguish data vs. simulation at runtime. This enables modules (notably tracking) to adapt behavior—e.g., disable beam-spot offsets for simulation to match differences demonstrated in coresoftware PR sPHENIX-Collaboration/coresoftware#4135—so we can compare data and simulation reliably.
Key Changes
Potential Risk Areas
Possible Future Improvements