Skip to content

Conversation

@mvicenzi
Copy link
Member

This PR introduces a new configuration flag /det/enableRock in the geometry construction interface to optionally include a rock envelope surrounding the FPF hall. This addition enables more complete and realistic background studies.

  • The /det/enableRock flag is set to false by default.
  • When enabled, a rock envelope is added with a thickness of 10 m upstream of the hall and 3 m on all other sides. These dimensions are currently hardcoded in GeometricalParameters.
  • Enabling the rock envelope also changes the behavior of the BackgroundGenerator: background particles are generated at the entry wall of the rock volume instead of the entry wall of the hall.
  • Additionally, the FPFClasses dictionary name in CMakeLists.txt has been updated to match the name of the library itself. This allows ROOT to automatically load the library without complaining.

@mvicenzi mvicenzi added the enhancement New feature or request label Jun 12, 2025
@mvicenzi mvicenzi mentioned this pull request Jun 12, 2025
9 tasks
Copy link
Contributor

@benw22022 benw22022 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @mvicenzi, thanks for adding this feature! Looks good from my side! I have only one very minor comment - wondering if it might be an idea to add a simple print out to inform the user that the rock wall is enabled? Just in case someone wanted to double check the logs that the wall is enabled or not after a run

@mvicenzi mvicenzi merged commit 8aaeb1f into main Jun 13, 2025
@mvicenzi mvicenzi deleted the feature/rockbox branch September 16, 2025 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants