Skip to content

Conversation

@veprbl
Copy link
Contributor

@veprbl veprbl commented Dec 21, 2025

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!

  • Use a conventional commits prefix: quick summary
    • We mostly use feat, fix, refactor, docs, chore and build types.
  • A milestone will be assigned by one of the maintainers

Copilot AI review requested due to automatic review settings December 21, 2025 18:15
@github-actions github-actions bot added this to the next milestone Dec 21, 2025
@github-actions github-actions bot added the Component - Examples Affects the Examples module label Dec 21, 2025
Copy link

Copilot AI left a 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_type variable 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.

@github-actions
Copy link
Contributor

📊: Physics performance monitoring for 07f5f38

Full contents

physmon summary

@sonarqubecloud
Copy link

@andiwand
Copy link
Contributor

andiwand commented Jan 5, 2026

I am not familiar with these scripts and there purpose - do you think you could have a look @asalzburger ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Component - Examples Affects the Examples module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants