Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

fixup string manipulation for scoring planes #87

Merged
merged 1 commit into from
Feb 14, 2023
Merged

Conversation

tomeichlersmith
Copy link
Member

We do two things with the input subsystem name:

  1. We capitalize the first letter and then append 'ScoringPlaneHits' to
    be the collection name
  2. We prepend 'sp_' to be the match substring for logical volumes

This means the input subsystem is the name of the scoring planes in the
GDML with the 'sp_' prefix removed.

We do two things with the input subsystem name:
1. We capitalize the first letter and then append 'ScoringPlaneHits' to
be the collection name
2. We prepend 'sp_' to be the match substring for logical volumes

This means the input subsystem is the name of the scoring planes in the
GDML with the 'sp_' prefix removed.
Copy link
Contributor

@bryngemark bryngemark left a comment

Choose a reason for hiding this comment

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

loks good and works

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants