Skip to content

Commit b637c79

Browse files
committed
Include all SPs except for HCal in reduced geometry v2
1 parent a9d89a4 commit b637c79

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

.github/validation_samples/reduced_ldmx/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
mySim = sim.simulator( "mySim" ) # Build simulator object
1919
det = 'ldmx-reduced-v2'
20-
mySim.setDetector(det, False )
20+
mySim.setDetector(det, True )
2121
mySim.beamSpotSmear = [20.,80.,0.]
2222
mySim.description = 'Reduced ECal Electron Gun Test Simulation'
2323

Detectors/data/ldmx-reduced-v2/scoring_planes.gdml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -64,16 +64,16 @@
6464
sp_magnet_gap_left_x 0
6565
sp_magnet_gap_right_x 0" />
6666

67-
68-
<!-- Surround the Hcal with scoring planes -->
67+
<!--
68+
Surround the Hcal with scoring planes
6969
<variable name="sp_hcal_front_z" value="ecal_front_z - sp_thickness/2 + clearance" />
7070
<variable name="sp_hcal_back_z" value="ecal_front_z + back_hcal_dz + side_hcal_dz + sp_thickness/2" />
7171
<variable name="sp_hcal_top_y" value="hcal_envelope_dy/2 + sp_thickness/2" />
7272
<variable name="sp_hcal_bot_y" value="-hcal_envelope_dy/2 - sp_thickness/2" />
7373
<variable name="sp_hcal_left_x" value="-hcal_envelope_dy/2 - sp_thickness/2" />
7474
<variable name="sp_hcal_right_x" value="hcal_envelope_dx/2 + sp_thickness/2" />
7575
<variable name="sp_hcal_mid_z" value="ecal_front_z + hcal_dz/2" />
76-
76+
-->
7777
<matrix name="sp_hcal_pos" coldim="3" values="0 support_box_shift sp_hcal_front_z
7878
0 support_box_shift sp_hcal_back_z
7979
0 sp_hcal_top_y+support_box_shift sp_hcal_mid_z
@@ -84,7 +84,7 @@
8484
<matrix name="hcal_box_dim" coldim="3" values="hcal_envelope_dx hcal_envelope_dy sp_thickness
8585
hcal_envelope_dx sp_thickness hcal_dz
8686
sp_thickness hcal_envelope_dy hcal_dz" />
87-
87+
-->
8888
<!-- Dimensions of target box -->
8989
<variable name="target_box_x" value="magnet_gap_dx - (sp_thickness/2)" />
9090
<variable name="target_box_y" value="magnet_gap_dy - (sp_thickness/2)" />
@@ -168,11 +168,11 @@
168168

169169
<box name="sp_magnet_gap_top_bot_box" x="magnet_gap_dx" y="sp_thickness" z="magnet_gap_dz" />
170170
<box name="sp_magnet_gap_left_right_box" x="sp_thickness" y="magnet_gap_dy" z="magnet_gap_dz" />
171-
171+
<!--
172172
<box name="sp_hcal_front_back_box" x="hcal_box_dim[1, 1]" y="hcal_box_dim[1, 2]" z="hcal_box_dim[1, 3]" />
173173
<box name="sp_hcal_top_bot_box" x="hcal_box_dim[2, 1]" y="hcal_box_dim[2, 2]" z="hcal_box_dim[2, 3]" />
174174
<box name="sp_hcal_left_right_box" x="hcal_box_dim[3, 1]" y="hcal_box_dim[3, 2]" z="hcal_box_dim[3, 3]" />
175-
175+
-->
176176
<box name="sp_target_box" x="target_box_x" y="target_box_y" z="sp_thickness" />
177177

178178
<box name="sp_recoil_box" x="recoil_box_x" y="recoil_box_y" z="sp_thickness" />
@@ -244,7 +244,7 @@
244244
<auxiliary auxtype="VisAttributes" auxvalue="SpVis"/>
245245
</volume>
246246
</loop>
247-
247+
<!--
248248
<loop for="x9" to="2" step="1" >
249249
<volume name="sp_hcal_front_back">
250250
<materialref ref="Vacuum" />
@@ -262,7 +262,7 @@
262262
<auxiliary auxtype="VisAttributes" auxvalue="SpVis"/>
263263
</volume>
264264
</loop>
265-
265+
-->
266266
<volume name="SP_World">
267267
<materialref ref="Vacuum" />
268268
<solidref ref="world_box" />
@@ -322,7 +322,7 @@
322322
<rotationref ref="identity" />
323323
</physvol>
324324
</loop>
325-
325+
<!--
326326
<loop for="x10" to="2" step="1" >
327327
<physvol copynumber="40 + x10">
328328
<volumeref ref="sp_hcal_front_back" />
@@ -340,7 +340,7 @@
340340
<rotationref ref="identity" />
341341
</physvol>
342342
</loop>
343-
343+
-->
344344
</volume>
345345
</structure>
346346

0 commit comments

Comments
 (0)