Skip to content

Commit

Permalink
remove additional 0.5mm shift
Browse files Browse the repository at this point in the history
the difference between the envelope and the actual z-thickness of the
ECal is 1mm, half of that difference is the erroneous 0.5mm. Now the
front ecal scoring plane for v12 is at 240mm
  • Loading branch information
tomeichlersmith committed Nov 9, 2022
1 parent b8ce8c1 commit 622e8da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Detectors/data/ldmx-det-v12/scoring_planes.gdml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<constant name="sp_thickness" value="0.001*mm"/>

<!-- Surround the ecal with scoring planes -->
<variable name="sp_ecal_front_z" value="ecal_front_z + (ecal_envelope_z - ECal_dz)/2 - sp_thickness/2 + clearance" />
<variable name="sp_ecal_front_z" value="ecal_front_z - sp_thickness/2 + clearance" />
<variable name="sp_ecal_back_z" value="ecal_front_z + ECal_dz + (ecal_envelope_z - ECal_dz)/2 + sp_thickness/2" />
<variable name="sp_ecal_top_y" value="ECal_dy/2 + sp_thickness/2" />
<variable name="sp_ecal_bot_y" value="-ECal_dy/2 - sp_thickness/2" />
Expand Down

0 comments on commit 622e8da

Please sign in to comment.