Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Up until now, we used cut boxes around the CRV modules to create regions where certain cuts are applied. We would like to move away from this approach as it is difficult to maintain for different setups (full geometry, KPP, Wideband). The first step was the Production PR 393 which was just merged. The next step will be to apply smaller minimum range cuts to all CRV sectors. We would like to use the minRangeRegionCuts setting for this purpose. However, this setting requires, that the mother volumes of the CRV sectors are added to the Mu2eG4Helper. This is currently not the case, because the volumes of the CRV were constructed using basic Geant4 functions and not Offline's nestBox, nestTubs, ... functions. These nest functions add the volumes to the Mu2eG4Helper. This PR makes a small change to the construction of the CRV by adding the CRV mother volumes to the Mu2eG4Helper. The result has been tested by applying a much smaller minRangeRegionCuts to the CRV sectors. The picture below shows that the cosmic ray muon has no secondaries outside the CRV, but produces many small tracks inside the CRV (including the scintillator counters, aluminum sheets and strong back).
