Skip to content

Commit 9802970

Browse files
authored
Merge pull request #83 from DUNE/82-change-ecal-al-plate-shape-to-trapezoid
82 change ecal al plate shape to trapezoid
2 parents e49a587 + df10d16 commit 9802970

2 files changed

Lines changed: 14 additions & 7 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ These geometry releases were tagged as `Descriptive_tag_v_X.Y.Z`.
1414
- Removed the stale SAND tracker geometry options from the default `sandopt` list. Only the supported full STT, full Drift-Chamber and Initial STT geometries are now built.
1515
- Updated TMS cassette ordering to the final design (50 X, 32 Y; 8×(X+Y) + 22×(X+X+Y))
1616
- Updated the active and passive layer thicknesses of ECAL modules to match the detector specifications, 620 um and 480 um respectively.
17+
- Updated the shape of the SAND barrel module Al plate to a trapezoid matching the overall module shape.
1718

1819
## [v2025.08.11]
1920

duneggd/Component/SandECalBarrelMod.py

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,19 @@ def construct(self, geom):
4040
self.add_volume(ECAL_lv)
4141

4242
######## Aluminum back plate##################
43-
44-
ECAL_Alplate_shape = geom.shapes.Box('ECAL_Alplate_shape',
45-
dx = self.trapezoidDim[1],
46-
dy = self.trapezoidDim[2],
47-
dz = AlPlateThick/2.)
43+
44+
#tan = math.tan(math.pi/self.Segmentation)
45+
tan = 0.5*(self.trapezoidDim[1] - self.trapezoidDim[0])/self.trapezoidDim[3]
46+
47+
bhalfAlPlate=self.trapezoidDim[1]
48+
BhalfAlPlate=bhalfAlPlate+AlPlateThick*tan
49+
50+
ECAL_Alplate_shape = geom.shapes.Trapezoid('ECAL_Alplate_shape',
51+
dx1=bhalfAlPlate,
52+
dx2=BhalfAlPlate,
53+
dy1=self.trapezoidDim[2],
54+
dy2=self.trapezoidDim[2],
55+
dz=AlPlateThick/2.)
4856

4957
ECAL_Alplate_lv = geom.structure.Volume('ECAL_Alplate_lv', material = 'Aluminum',
5058
shape = ECAL_Alplate_shape)
@@ -58,8 +66,6 @@ def construct(self, geom):
5866
ECAL_lv.placements.append(ECAL_Alplate_place.name)
5967

6068
for i in range(self.nSlabs): #nSlabs
61-
#tan = math.tan(math.pi/self.Segmentation)
62-
tan = 0.5*(self.trapezoidDim[1] - self.trapezoidDim[0])/self.trapezoidDim[3]
6369
xposSlab=Q('0cm')
6470
yposSlab=Q('0cm')
6571
zposSlabActive = (-self.trapezoidDim[3]-AlPlateThick/2. +

0 commit comments

Comments
 (0)