Skip to content

Commit

Permalink
fix 8gev detector name in GDML
Browse files Browse the repository at this point in the history
  • Loading branch information
tvami committed May 31, 2024
1 parent 76594c8 commit 25b57c4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DetDescr/python/EcalGeometry.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def v13() :
)

def v14() :
eg = EcalGeometry(detectors_valid = ["ldmx-det-v14","ldmx-det-v14[.].*","ldmx-lyso-r1-v14", "ldmx-lyso-r1-v14[.].*"],
eg = EcalGeometry(detectors_valid = ["ldmx-det-v14","ldmx-det-v14.*","ldmx-lyso-r1-v14", "ldmx-lyso-r1-v14.*"],
gap = 1.5,
layerZPositions = [
7.932, 14.532, 32.146, 40.746, 58.110, 67.710, 86.574, 96.774, 115.638, 125.838,
Expand Down
2 changes: 1 addition & 1 deletion DetDescr/python/HcalGeometry.py
Original file line number Diff line number Diff line change
Expand Up @@ -487,5 +487,5 @@ def make_v14(self):
]
# added the reduced geometry temporarily, for the final geometry
# we should have a new function "reduced()" with the prototype geom
self.v14.detectors_valid = ["ldmx-det-v14", "ldmx-reduced","ldmx-lyso-r1-v14", "ldmx-lyso-r1-v14[.].*"]
self.v14.detectors_valid = ["ldmx-det-v14", "ldmx-det-v14.*", "ldmx-reduced","ldmx-lyso-r1-v14", "ldmx-lyso-r1-v14.*"]
self.v14.y_offset = 19.05
2 changes: 1 addition & 1 deletion Detectors/data/ldmx-det-v14-8gev/detector.gdml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
<userinfo>
<!-- detector version -->
<auxiliary auxtype="DetectorVersion" auxvalue="14">
<auxiliary auxtype="DetectorName" auxvalue="ldmx-det-v14"/>
<auxiliary auxtype="DetectorName" auxvalue="ldmx-det-v14-8gev"/>
<auxiliary auxtype="Description"
auxvalue="The Late 2022 Design Report Geometry."/>
</auxiliary>
Expand Down

0 comments on commit 25b57c4

Please sign in to comment.