-
Notifications
You must be signed in to change notification settings - Fork 231
chore: remove broken Mat_map_surface_plot_*.C macros #4929
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR removes four obsolete ROOT macros for material mapping surface plotting that no longer function due to the removal of sur_type and sur_range_min/max fields in PR #4353. Additionally, it cleans up unused variable declarations in the remaining detector plot macro.
- Deletion of broken macros that relied on removed tree branches
- Cleanup of unused
sur_typevariable declaration in Mat_map_detector_plot.C
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| Mat_map_surface_plot_ratio.C | Deleted - macro depended on removed surface type and range fields |
| Mat_map_surface_plot_dist.C | Deleted - macro depended on removed surface type and range fields |
| Mat_map_surface_plot_1D.C | Deleted - macro depended on removed surface type and range fields |
| Mat_map_surface_plot.C | Deleted - macro depended on removed surface type and range fields |
| Mat_map_detector_plot.C | Removed unused sur_type variable declaration and branch address binding |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
|
I am not familiar with these scripts and there purpose - do you think you could have a look @asalzburger ? |



The sur_type and sur_range_min/max were removed in #4353, so these macros don't work anymore, as they require this information recorded. It looks like there is a move towards Python macros such as material_mapping_check.py, so these can be removed.
--- END COMMIT MESSAGE ---
Any further description goes here, @-mentions are ok here!
feat,fix,refactor,docs,choreandbuildtypes.