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

fixup string manipulation for scoring planes - #87

Merged
tomeichlersmith merged 1 commit into
trunkfrom
patch-1104
Feb 14, 2023
Merged

fixup string manipulation for scoring planes#87
tomeichlersmith merged 1 commit into
trunkfrom
patch-1104

Conversation

@tomeichlersmith

Copy link
Copy Markdown
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.

@bryngemark bryngemark left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

loks good and works

@tomeichlersmith
tomeichlersmith merged commit e3c8bdc into trunk Feb 14, 2023
@tomeichlersmith
tomeichlersmith deleted the patch-1104 branch February 14, 2023 16:10
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