Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix 8gev detector name in GDML #1358

Merged
merged 1 commit into from
Jun 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading