This repository was archived by the owner on May 6, 2024. It is now read-only.
Commit e3c8bdc
committed
fixup string manipulation for scoring planes
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.1 parent 84a117b commit e3c8bdc
1 file changed
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
22 | 24 | | |
23 | 25 | | |
24 | 26 | | |
| |||
0 commit comments