-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/main' into Low-Q2_acts_surfaces
- Loading branch information
Showing
18 changed files
with
290 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,110 @@ | ||
<!-- SPDX-License-Identifier: LGPL-3.0-or-later --> | ||
<!-- Copyright (C) 2023 Wouter Deconinck, Leszek Kosarzewski --> | ||
|
||
<lccdd> | ||
<define> | ||
<documentation> | ||
#### Dimension constants | ||
</documentation> | ||
<constant name="FluxBarrel_repeat" value="30"/> | ||
<constant name="FluxBarrel_dphi" value="360*deg / FluxBarrel_repeat"/> | ||
|
||
<comment> Trapezoid for STAR backlegs </comment> | ||
<constant name="FluxBarrel_Backleg_x" value="609.6*mm"/> | ||
<constant name="FluxBarrel_Backleg_y1" value="444.5*mm"/> | ||
<constant name="FluxBarrel_Backleg_y2" value="572.64*mm"/> | ||
<constant name="FluxBarrel_Backleg_Regular_z" value="6316.2*mm"/> | ||
<constant name="FluxBarrel_Backleg_Chimney_z" value="3616.2*mm"/> | ||
<constant name="FluxBarrel_Backleg_Chimney_repeat" value="3"/> | ||
<constant name="FluxBarrel_Backleg_Regular_repeat" value="FluxBarrel_repeat - FluxBarrel_Backleg_Chimney_repeat"/> | ||
|
||
<comment> Box for spacers </comment> | ||
<constant name="FluxBarrel_Spacer_x" value="612.96*mm"/> | ||
<constant name="FluxBarrel_Spacer_y" value="128.76*mm"/> | ||
<constant name="FluxBarrel_Spacer_Regular_z" value="FluxBarrel_Backleg_Regular_z"/> | ||
<constant name="FluxBarrel_Spacer_Chimney_z" value="FluxBarrel_Backleg_Chimney_z"/> | ||
<constant name="FluxBarrel_Spacer_Chimney_repeat" value="2"/> | ||
<constant name="FluxBarrel_Spacer_Regular_repeat" value="FluxBarrel_repeat - FluxBarrel_Spacer_Chimney_repeat"/> | ||
</define> | ||
|
||
<!-- Define detector --> | ||
<detectors> | ||
<documentation> | ||
### Barrel Flux Return | ||
</documentation> | ||
<detector name="FluxBarrel" type="epic_BarrelFluxReturn" vis="FluxBarrelVis"> | ||
<dimensions | ||
rmin="FluxBarrel_rmin" | ||
rmax="FluxBarrel_rmax" | ||
z="FluxBarrel_length"/> | ||
|
||
<comment> Trd1 is defined such that x1/x2 are equivalent with y at phi = 0 </comment> | ||
<shape name="FluxBarrel_Backleg_Regular" | ||
type="Trd1" | ||
z="FluxBarrel_Backleg_x/2" | ||
x1="FluxBarrel_Backleg_y1/2" | ||
x2="FluxBarrel_Backleg_y2/2" | ||
y="FluxBarrel_Backleg_Regular_z/2" | ||
material="Steel1008" | ||
vis="FluxBarrelElementVis"/> | ||
<replicate count="FluxBarrel_Backleg_Regular_repeat" | ||
shape="FluxBarrel_Backleg_Regular" | ||
dphi="FluxBarrel_dphi" | ||
phi0="90*deg + (FluxBarrel_Backleg_Chimney_repeat + 1) / 2 * FluxBarrel_dphi"> | ||
<rotation y="90*deg" z="90*deg"/> | ||
<position x="FluxBarrel_rmin + FluxBarrel_Backleg_x/2"/> | ||
</replicate> | ||
<shape name="FluxBarrel_Backleg_Chimney" | ||
type="Trd1" | ||
z="FluxBarrel_Backleg_x/2" | ||
x1="FluxBarrel_Backleg_y1/2" | ||
x2="FluxBarrel_Backleg_y2/2" | ||
y="FluxBarrel_Backleg_Chimney_z/2" | ||
material="Steel1008" | ||
vis="FluxBarrelElementVis"/> | ||
<replicate count="FluxBarrel_Backleg_Chimney_repeat" | ||
shape="FluxBarrel_Backleg_Chimney" | ||
dphi="FluxBarrel_dphi" | ||
phi0="90*deg - (FluxBarrel_Backleg_Chimney_repeat - 1) / 2 * FluxBarrel_dphi"> | ||
<rotation y="90*deg" z="90*deg"/> | ||
<position | ||
x="FluxBarrel_rmin + FluxBarrel_Backleg_x/2" | ||
z="(FluxBarrel_Backleg_Regular_z - FluxBarrel_Backleg_Chimney_z)/2"/> | ||
</replicate> | ||
|
||
<shape name="FluxBarrel_Spacer_Regular" | ||
type="Box" | ||
dx="FluxBarrel_Spacer_x/2" | ||
dy="FluxBarrel_Spacer_y/2" | ||
dz="FluxBarrel_Spacer_Regular_z/2" | ||
material="Steel1008" | ||
vis="FluxBarrelElementVis"/> | ||
<replicate count="FluxBarrel_Spacer_Regular_repeat" | ||
shape="FluxBarrel_Spacer_Regular" | ||
dphi="FluxBarrel_dphi" | ||
phi0="90*deg + (FluxBarrel_Spacer_Chimney_repeat + 1) / 2 * FluxBarrel_dphi"> | ||
<position | ||
x="FluxBarrel_rmin + FluxBarrel_Spacer_x/2"/> | ||
</replicate> | ||
<shape name="FluxBarrel_Spacer_Chimney" | ||
type="Box" | ||
dx="FluxBarrel_Spacer_x / 2" | ||
dy="FluxBarrel_Spacer_y / 2" | ||
dz="FluxBarrel_Spacer_Chimney_z / 2" | ||
material="Steel1008" | ||
vis="FluxBarrelElementVis"/> | ||
<replicate | ||
count="FluxBarrel_Spacer_Chimney_repeat" | ||
shape="FluxBarrel_Spacer_Chimney" | ||
dphi="FluxBarrel_dphi" | ||
phi0="90*deg - (FluxBarrel_Spacer_Chimney_repeat - 1) / 2 * FluxBarrel_dphi"> | ||
<position | ||
x="FluxBarrel_rmin + FluxBarrel_Spacer_x/2" | ||
z="(FluxBarrel_Spacer_Regular_z - FluxBarrel_Spacer_Chimney_z)/2"/> | ||
</replicate> | ||
|
||
</detector> | ||
</detectors> | ||
|
||
|
||
</lccdd> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<!-- SPDX-License-Identifier: LGPL-3.0-or-later --> | ||
<!-- Copyright (C) 2023 Wouter Deconinck, Leszek Kosarzewski --> | ||
|
||
<lccdd> | ||
<define> | ||
<documentation> | ||
#### Dimension constants | ||
</documentation> | ||
<constant name="FluxEndcapP_zmin" value="ForwardServiceGap_zmax"/> | ||
|
||
</define> | ||
|
||
|
||
<!-- Define detector --> | ||
<detectors> | ||
<documentation> | ||
### Forward (Positive Z) Endcap Flux Return | ||
</documentation> | ||
<detector name="FluxEndcapP" type="epic_EndcapFluxReturn" vis="FluxEndcapPVis"> | ||
<position x="0" y="0" z="FluxEndcapP_zmin"/> | ||
|
||
<layer id="1" name="Collar" material="Steel235" | ||
rmin="FluxEndcapP_collar_rmin" rmax="FluxEndcapP_collar_rmax" zpos="0*cm" | ||
thickness="FluxEndcapP_collar_thickness" vis="FluxEndcapPLayerVis" | ||
/> | ||
<layer id="2" name="Oculus" material="Steel235" | ||
rmin="FluxEndcapP_oculus_rmin" rmax="FluxEndcapP_oculus_rmax" zpos="0*cm" | ||
thickness="FluxEndcapP_oculus_thickness" vis="FluxEndcapPLayerVis" | ||
/> | ||
|
||
</detector> | ||
</detectors> | ||
|
||
|
||
</lccdd> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.