silicon_tracker.xml 57 KB
Newer Older
Whitney Armstrong's avatar
Whitney Armstrong committed
1
2
3
4
5
6
<?xml version="1.0" encoding="UTF-8"?>
<lccdd>
  <define>
    <constant name="trackerZScale" value="1" />
  </define>

7
  <define>
8
9
10
    <comment>
      The endcap minimum radius is currently set by the vertex tracker's innermost radius.
    </comment>
11
12
13
14
    <constant name="SiliconTrackerMinR1" value="VertexTrackerInnerRadius"/>
    <constant name="SiliconTrackerMinR2" value="VertexTrackerInnerRadius"/>
    <constant name="SiliconTrackerMinR3" value="VertexTrackerInnerRadius"/>
    <constant name="SiliconTrackerMinR4" value="VertexTrackerInnerRadius"/>
15
    <constant name="SiliconTrackerMinR5" value="VertexTrackerInnerRadius+1*cm"/>
16

17
18
    <constant name="SiliconTrackerNLayers" value="5"/>
    <constant name="SiliconTrackerDeltaR" value="(SiliconTrackerOuterRadius-SiliconTrackerInnerRadius)/(SiliconTrackerNLayers-1)"/>
Whitney Armstrong's avatar
Whitney Armstrong committed
19

20
21
22
23
    <constant name="SiliconTrackerRadius1" value="SiliconTrackerInnerRadius"/>
    <constant name="SiliconTrackerRadius2" value="SiliconTrackerInnerRadius+1*SiliconTrackerDeltaR"/>
    <constant name="SiliconTrackerRadius3" value="SiliconTrackerInnerRadius+2*SiliconTrackerDeltaR"/>
    <constant name="SiliconTrackerRadius4" value="SiliconTrackerInnerRadius+3*SiliconTrackerDeltaR"/>
Whitney Armstrong's avatar
Whitney Armstrong committed
24
    <constant name="SiliconTrackerRadius5" value="SiliconTrackerInnerRadius+4*SiliconTrackerDeltaR"/>
25

Whitney Armstrong's avatar
Whitney Armstrong committed
26
27
28
    <comment>
      Barrel Tracker Layer and Module parameters
    </comment>
29
    <constant name="SiliconTrackerDeltaZ" value="abs(SiliconTrackerOuterBarrelLength-SiliconTrackerInnerBarrelLength)/(SiliconTrackerNLayers-1)"/>
30
31
32
33
34
35
    <constant name="SiliconTrackerBarrelLength1" value="SiliconTrackerInnerBarrelLength"/>
    <constant name="SiliconTrackerBarrelLength2" value="SiliconTrackerInnerBarrelLength+1*SiliconTrackerDeltaZ"/>
    <constant name="SiliconTrackerBarrelLength3" value="SiliconTrackerInnerBarrelLength+2*SiliconTrackerDeltaZ"/>
    <constant name="SiliconTrackerBarrelLength4" value="SiliconTrackerInnerBarrelLength+3*SiliconTrackerDeltaZ"/>
    <constant name="SiliconTrackerBarrelLength5" value="SiliconTrackerInnerBarrelLength+4*SiliconTrackerDeltaZ"/>

Whitney Armstrong's avatar
Whitney Armstrong committed
36
37
38
39
40
41
42
43
44
45
46
47
48
    <constant  name="SiliconTrackerBarrelNPhi1" value="18" />
    <constant  name="SiliconTrackerBarrelNPhi2" value="20" />
    <constant  name="SiliconTrackerBarrelNPhi3" value="36" />
    <constant  name="SiliconTrackerBarrelNPhi4" value="48" />
    <constant  name="SiliconTrackerBarrelNPhi5" value="56" />

    <constant  name="SiliconTrackerBarrelNZ1" value="4" />
    <constant  name="SiliconTrackerBarrelNZ2" value="5" />
    <constant  name="SiliconTrackerBarrelNZ3" value="5" />
    <constant  name="SiliconTrackerBarrelNZ4" value="5" />
    <constant  name="SiliconTrackerBarrelNZ5" value="5" />


Whitney Armstrong's avatar
Whitney Armstrong committed
49
    <constant name="SiliconTrackerBarrelMod1Width"  value="4.0*cm" />
Whitney Armstrong's avatar
Whitney Armstrong committed
50
    <constant name="SiliconTrackerBarrelMod1Length" value="SiliconTrackerBarrelLength1/SiliconTrackerBarrelNZ1" />
51
52

    <constant name="SiliconTrackerBarrelMod2Width"  value="10.0*cm" />
Whitney Armstrong's avatar
Whitney Armstrong committed
53
    <constant name="SiliconTrackerBarrelMod2Length" value="SiliconTrackerBarrelLength2/SiliconTrackerBarrelNZ2" />
54
55

    <constant name="SiliconTrackerBarrelMod3Width"  value="10.0*cm" />
Whitney Armstrong's avatar
Whitney Armstrong committed
56
    <constant name="SiliconTrackerBarrelMod3Length" value="SiliconTrackerBarrelLength3/SiliconTrackerBarrelNZ3" />
57
58

    <constant name="SiliconTrackerBarrelMod4Width"  value="10.0*cm" />
Whitney Armstrong's avatar
Whitney Armstrong committed
59
    <constant name="SiliconTrackerBarrelMod4Length" value="SiliconTrackerBarrelLength4/SiliconTrackerBarrelNZ4" />
60
61

    <constant name="SiliconTrackerBarrelMod5Width"  value="10.0*cm" />
Whitney Armstrong's avatar
Whitney Armstrong committed
62
    <constant name="SiliconTrackerBarrelMod5Length" value="SiliconTrackerBarrelLength5/SiliconTrackerBarrelNZ5" />
63
64


Whitney Armstrong's avatar
Whitney Armstrong committed
65
66
67
    <comment>
      Endcap Tracker Layer and Module parameters
    </comment>
68

Whitney Armstrong's avatar
Whitney Armstrong committed
69
70
71
72
73
    <comment>
     Layer 1 : Module 1
    </comment>
    <constant name="SiliconTrackerEndLay1NRings"      value="2" />
    <constant name="SiliconTrackerEndLay1RingSize"    value="SiliconTrackerRadius1 - SiliconTrackerMinR1" />
74
    <constant name="SiliconTrackerEndMod1RingDz"      value="10.0*mm" />
Whitney Armstrong's avatar
Whitney Armstrong committed
75
76
77
78
79
    <constant name="SiliconTrackerEndMod1RingOverlap" value="-5.0*mm" />
    <constant name="SiliconTrackerEndMod1X1"          value="15.0*mm" />
    <constant name="SiliconTrackerEndMod1X2"          value="20.0*mm" />
    <constant name="SiliconTrackerEndMod1DeltaR"      value="SiliconTrackerEndLay1RingSize/SiliconTrackerEndLay1NRings" />
    <constant name="SiliconTrackerEndMod1Height"      value="SiliconTrackerEndMod1DeltaR + SiliconTrackerEndMod1RingOverlap" />
80

Whitney Armstrong's avatar
Whitney Armstrong committed
81
82
83
    <comment>
     Layer 2 : Module 2
    </comment>
84
    <constant name="SiliconTrackerEndLay2NRings"      value="6" />
Whitney Armstrong's avatar
Whitney Armstrong committed
85
86
87
88
89
90
91
    <constant name="SiliconTrackerEndLay2RingSize"    value="SiliconTrackerRadius2 - SiliconTrackerMinR2" />
    <constant name="SiliconTrackerEndMod2RingDz"      value="10.0*mm" />
    <constant name="SiliconTrackerEndMod2RingOverlap" value="-5.0*mm" />
    <constant name="SiliconTrackerEndMod2X1"          value="15.0*mm" />
    <constant name="SiliconTrackerEndMod2X2"          value="20.0*mm" />
    <constant name="SiliconTrackerEndMod2DeltaR"      value="SiliconTrackerEndLay2RingSize/SiliconTrackerEndLay2NRings" />
    <constant name="SiliconTrackerEndMod2Height"      value="SiliconTrackerEndMod2DeltaR + SiliconTrackerEndMod2RingOverlap" />
92

Whitney Armstrong's avatar
Whitney Armstrong committed
93
94
95
    <comment>
     Layer 3 : Module 3
    </comment>
96
    <constant name="SiliconTrackerEndLay3NRings"      value="6" />
Whitney Armstrong's avatar
Whitney Armstrong committed
97
98
99
100
101
102
103
    <constant name="SiliconTrackerEndLay3RingSize"    value="SiliconTrackerRadius3 - SiliconTrackerMinR3" />
    <constant name="SiliconTrackerEndMod3RingDz"      value="10.0*mm" />
    <constant name="SiliconTrackerEndMod3RingOverlap" value="-5.0*mm" />
    <constant name="SiliconTrackerEndMod3X1"          value="16.0*mm" />
    <constant name="SiliconTrackerEndMod3X2"          value="30.0*mm" />
    <constant name="SiliconTrackerEndMod3DeltaR"      value="SiliconTrackerEndLay3RingSize/SiliconTrackerEndLay3NRings" />
    <constant name="SiliconTrackerEndMod3Height"      value="SiliconTrackerEndMod3DeltaR + SiliconTrackerEndMod3RingOverlap" />
104

Whitney Armstrong's avatar
Whitney Armstrong committed
105
106
107
    <comment>
     Layer 4 : Module 4
    </comment>
108
    <constant name="SiliconTrackerEndLay4NRings"      value="8" />
Whitney Armstrong's avatar
Whitney Armstrong committed
109
110
111
112
113
114
115
    <constant name="SiliconTrackerEndLay4RingSize"    value="SiliconTrackerRadius4 - SiliconTrackerMinR4" />
    <constant name="SiliconTrackerEndMod4RingDz"      value="10.0*mm" />
    <constant name="SiliconTrackerEndMod4RingOverlap" value="-5.0*mm" />
    <constant name="SiliconTrackerEndMod4X1"          value="20.0*mm" />
    <constant name="SiliconTrackerEndMod4X2"          value="30.0*mm" />
    <constant name="SiliconTrackerEndMod4DeltaR"      value="SiliconTrackerEndLay4RingSize/SiliconTrackerEndLay4NRings" />
    <constant name="SiliconTrackerEndMod4Height"      value="SiliconTrackerEndMod4DeltaR + SiliconTrackerEndMod4RingOverlap" />
116

Whitney Armstrong's avatar
Whitney Armstrong committed
117
118
119
    <comment>
     Layer 5 : Module 5
    </comment>
120
    <constant name="SiliconTrackerEndLay5NRings"      value="8" />
Whitney Armstrong's avatar
Whitney Armstrong committed
121
122
123
124
125
126
127
    <constant name="SiliconTrackerEndLay5RingSize"    value="SiliconTrackerRadius4 - SiliconTrackerMinR4" />
    <constant name="SiliconTrackerEndMod5RingDz"      value="10.0*mm" />
    <constant name="SiliconTrackerEndMod5RingOverlap" value="-5.0*mm" />
    <constant name="SiliconTrackerEndMod5X1"          value="20.0*mm" />
    <constant name="SiliconTrackerEndMod5X2"          value="30.0*mm" />
    <constant name="SiliconTrackerEndMod5DeltaR"      value="SiliconTrackerEndLay5RingSize/SiliconTrackerEndLay5NRings" />
    <constant name="SiliconTrackerEndMod5Height"      value="SiliconTrackerEndMod5DeltaR + SiliconTrackerEndMod5RingOverlap" />
128
129
130

    <const name="alpha_scale" value="0.4" />

Whitney Armstrong's avatar
Whitney Armstrong committed
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
    <constant name="SiTrackerCompThickness_PEEK"     value="0.02*cm" />
    <constant name="SiTrackerCompThickness_Fiber1"   value="0.016*cm" />
    <constant name="SiTrackerCompThickness_Rohacell" value="0.02*cm" />
    <constant name="SiTrackerCompThickness_Epoxy"    value="0.0175*cm" />
    <constant name="SiTrackerCompThickness_Fiber2"   value="0.016*cm" />
    <constant name="SiTrackerCompThickness_Si1"      value="0.05*mm" />
    <constant name="SiTrackerCompThickness_SiDead1"  value="0.15*mm" />
    <constant name="SiTrackerCompThickness_Si2"      value="0.05*mm" />
    <constant name="SiTrackerCompThickness_Kapton"   value="3*mil" />
    <constant name="SiTrackerCompThickness_Copper"   value="0.00038*cm" />
    <constant name="SiTrackerCompTotalThickness"   
      value="SiTrackerCompThickness_PEEK + SiTrackerCompThickness_Fiber1 
        + SiTrackerCompThickness_Rohacell + SiTrackerCompThickness_Epoxy +  SiTrackerCompThickness_Fiber2 
        + SiTrackerCompThickness_Si1 + SiTrackerCompThickness_SiDead1 + SiTrackerCompThickness_Si2 
        + SiTrackerCompThickness_Kapton + SiTrackerCompThickness_Copper " /> 
      <constant name="SiTrkCompP0"   value="-SiTrackerCompTotalThickness/2.0 + SiTrackerCompThickness_PEEK/2.0" />
      <constant name="SiTrkCompP1"   value="SiTrkCompP0 + SiTrackerCompThickness_PEEK/2 + SiTrackerCompThickness_Fiber1/2" />
      <constant name="SiTrkCompP2"   value="SiTrkCompP1 + SiTrackerCompThickness_Fiber1/2 + SiTrackerCompThickness_Rohacell/2" />
      <constant name="SiTrkCompP3"   value="SiTrkCompP2 + SiTrackerCompThickness_Epoxy/2 + SiTrackerCompThickness_Rohacell/2" />
      <constant name="SiTrkCompP4"   value="SiTrkCompP3 + SiTrackerCompThickness_Fiber2/2 + SiTrackerCompThickness_Epoxy/2 " />
      <constant name="SiTrkCompP5"   value="SiTrkCompP4 + SiTrackerCompThickness_Si1/2+ SiTrackerCompThickness_Fiber2/2 " />
      <constant name="SiTrkCompP6"   value="SiTrkCompP5 + SiTrackerCompThickness_SiDead1/2 + SiTrackerCompThickness_Si1/2" />
      <constant name="SiTrkCompP7"   value="SiTrkCompP6 + SiTrackerCompThickness_Kapton/2+SiTrackerCompThickness_SiDead1/2 " />
      <constant name="SiTrkCompP8"   value="SiTrkCompP7 + SiTrackerCompThickness_Copper/2+SiTrackerCompThickness_Kapton/2" />

    </define>
157
158
159
160
161

  <display>
  </display>


Whitney Armstrong's avatar
Whitney Armstrong committed
162
  <detectors>
163
164
165
    <comment> 
      Each (barrel+endcaps) layer  has its own sub detector assembly to get the correct ACTS geometry
    </comment>
166
167

    <comment>
168
    == Layer 1 == 
169
    </comment>
170
171
172
173
174
175
176
177
178
179
    <detector id="SiTrackerSubAssemblyLayer1_ID" 
      name="SiTrackerSubAssemblyLayer1" 
      type="DD4hep_SubdetectorAssembly" 
      vis="SiTrackerSubAssemblyVis">
      <composite name="SiTrackerEndcapN_Layer1"/>
      <composite name="SiTrackerBarrel_Layer1"/>
      <composite name="SiTrackerEndcapP_Layer1"/> 
    </detector>
    <detector id="SiTrackerBarrel_Layer1_ID" 
              name="SiTrackerBarrel_Layer1" 
180
              type="topside_SiTrackerBarrel" 
181
              readout="SiTrackerBarrelHits">
Whitney Armstrong's avatar
Whitney Armstrong committed
182
183
184
185
      <module name="SiTrackerBarrelModule_Layer1" vis="SiTrackerBarrelVis1">
        <module_envelope  width="SiliconTrackerBarrelMod1Width" length="SiliconTrackerBarrelMod1Length" thickness="SiTrackerCompTotalThickness"/>
        <module_component width="SiliconTrackerBarrelMod1Width*0.9" length="SiliconTrackerBarrelMod1Length*0.9" thickness="SiTrackerCompThickness_PEEK" material="PEEK" sensitive="false">
          <position x="SiTrkCompP0" />
186
        </module_component>
Whitney Armstrong's avatar
Whitney Armstrong committed
187
188
        <module_component width="SiliconTrackerBarrelMod1Width" length="SiliconTrackerBarrelMod1Length" thickness="SiTrackerCompThickness_Fiber1" material="CarbonFiber_50D" sensitive="false">
          <position x="SiTrkCompP1" />
189
        </module_component>
Whitney Armstrong's avatar
Whitney Armstrong committed
190
191
        <module_component width="SiliconTrackerBarrelMod1Width" length="SiliconTrackerBarrelMod1Length" thickness="SiTrackerCompThickness_Rohacell" material="Rohacell31_50D" sensitive="false">
          <position x="SiTrkCompP2" />
192
        </module_component>
Whitney Armstrong's avatar
Whitney Armstrong committed
193
194
        <module_component width="SiliconTrackerBarrelMod1Width" length="SiliconTrackerBarrelMod1Length" thickness="SiTrackerCompThickness_Epoxy" material="Epoxy" sensitive="false">
          <position x="SiTrkCompP3" />
195
        </module_component>
Whitney Armstrong's avatar
Whitney Armstrong committed
196
197
        <module_component width="SiliconTrackerBarrelMod1Width" length="SiliconTrackerBarrelMod1Length" thickness="SiTrackerCompThickness_Fiber2" material="CarbonFiber_50D" sensitive="false">
          <position x="SiTrkCompP4" />
198
        </module_component>
Whitney Armstrong's avatar
Whitney Armstrong committed
199
200
        <module_component width="SiliconTrackerBarrelMod1Width" length="SiliconTrackerBarrelMod1Length" thickness="SiTrackerCompThickness_Si1" material="Silicon" sensitive="true">
          <position x="SiTrkCompP5" />
201
        </module_component>
Whitney Armstrong's avatar
Whitney Armstrong committed
202
203
        <module_component width="SiliconTrackerBarrelMod1Width" length="SiliconTrackerBarrelMod1Length" thickness="SiTrackerCompThickness_SiDead1" material="Silicon" sensitive="false">
          <position x="SiTrkCompP6" />
204
        </module_component>
Whitney Armstrong's avatar
Whitney Armstrong committed
205
206
        <module_component width="SiliconTrackerBarrelMod1Width*0.9" length="SiliconTrackerBarrelMod1Length*0.9" thickness="SiTrackerCompThickness_Kapton*0.5" material="Kapton" sensitive="false">
          <position x="SiTrkCompP7" />
207
        </module_component>
Whitney Armstrong's avatar
Whitney Armstrong committed
208
209
        <module_component width="SiliconTrackerBarrelMod1Width*0.9" length="SiliconTrackerBarrelMod1Length*0.9" thickness="SiTrackerCompThickness_Copper*0.5" material="Copper" sensitive="false">
          <position x="SiTrkCompP8" />
210
211
        </module_component>
      </module>
Whitney Armstrong's avatar
Whitney Armstrong committed
212
213
214
      <layer module="SiTrackerBarrelModule_Layer1" id="1" vis="GreenVis">
        <barrel_envelope inner_r="SiliconTrackerRadius1" outer_r="SiliconTrackerRadius1 + 30.0*mm" z_length="SiliconTrackerBarrelLength1 +1.0*mm "/>
        <rphi_layout phi_tilt="0.17506" nphi="SiliconTrackerBarrelNPhi1" phi0="0." rc="SiliconTrackerRadius1 + 10.0 * mm" dr="0.0 * mm"/>
215
216
        <z_layout dr="4.0 * mm" 
          z0="SiliconTrackerBarrelLength1/2 - SiliconTrackerBarrelMod1Length/2"
Whitney Armstrong's avatar
Whitney Armstrong committed
217
          nz="SiliconTrackerBarrelNZ1"/>
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
      </layer>
    </detector>
    <detector
      id="SiTrackerEndcapP_Layer1_ID"
      name="SiTrackerEndcapP_Layer1"
      type="topside_SiTrackerEndcap"
      readout="SiTrackerEndcapHits"
      reflect="false">
      <module name="Module1" vis="SiTrackerVis">
        <trd x1="SiliconTrackerEndMod1X1" x2="SiliconTrackerEndMod1X2" z="SiliconTrackerEndMod1Height/2"/>
        <module_component thickness="0.00052 * cm" material="Copper"/>
        <module_component thickness="0.0051 * cm" material="Kapton"/>
        <module_component thickness="0.00048 * cm" material="Silicon"/>
        <module_component thickness="0.03 * cm" material="Silicon" sensitive="true"/>
        <module_component thickness="0.016 * cm" material="CarbonFiber_50D"/>
        <module_component thickness="0.18 * cm" material="Rohacell31_50D"/>
        <module_component thickness="0.016 * cm" material="CarbonFiber_50D"/>
        <module_component thickness="0.0175 * cm" material="Epoxy"/>
        <module_component thickness="0.03 * cm" material="Silicon" sensitive="true"/>
        <module_component thickness="0.00048 * cm" material="Silicon"/>
        <module_component thickness="0.0051 * cm" material="Kapton"/>
        <module_component thickness="0.00052 * cm" material="Copper"/>
      </module>
      <comment>Each layer of endcap tracker is composed of multiple rings of modules.  </comment>
      <layer id="1" >
        <envelope
          vis="SiTrackerLayerVis"
          rmin="SiliconTrackerMinR1" rmax="SiliconTrackerRadius1"
Whitney Armstrong's avatar
Whitney Armstrong committed
246
          zstart="SiliconTrackerBarrelLength1/2+10*mm"
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
          length="3*SiliconTrackerEndMod1RingDz"  />
        <ring
          r="SiliconTrackerMinR1 + SiliconTrackerEndMod1DeltaR/2"
          zstart="SiliconTrackerEndMod1RingDz"
          nmodules="12" dz="1.75 * mm" module="Module1" />
        <ring
          r="SiliconTrackerMinR1 + SiliconTrackerEndMod1DeltaR*3/2"
          zstart="-SiliconTrackerEndMod1RingDz"
          nmodules="18" dz="1.75 * mm" module="Module1"/>
      </layer>
    </detector>
    <detector
      id="SiTrackerEndcapN_Layer1_ID"
      name="SiTrackerEndcapN_Layer1"
      type="topside_SiTrackerEndcap"
      readout="SiTrackerEndcapHits"
      reflect="true">
      <module name="Module1" vis="SiTrackerVis">
        <trd x1="SiliconTrackerEndMod1X1" x2="SiliconTrackerEndMod1X2" z="SiliconTrackerEndMod1Height/2"/>
        <module_component thickness="0.00052 * cm" material="Copper"/>
        <module_component thickness="0.0051 * cm" material="Kapton"/>
        <module_component thickness="0.00048 * cm" material="Silicon"/>
        <module_component thickness="0.03 * cm" material="Silicon" sensitive="true"/>
        <module_component thickness="0.016 * cm" material="CarbonFiber_50D"/>
        <module_component thickness="0.18 * cm" material="Rohacell31_50D"/>
        <module_component thickness="0.016 * cm" material="CarbonFiber_50D"/>
        <module_component thickness="0.0175 * cm" material="Epoxy"/>
        <module_component thickness="0.03 * cm" material="Silicon" sensitive="true"/>
        <module_component thickness="0.00048 * cm" material="Silicon"/>
        <module_component thickness="0.0051 * cm" material="Kapton"/>
        <module_component thickness="0.00052 * cm" material="Copper"/>
      </module>
      <comment>Each layer of endcap tracker is composed of multiple rings of modules.  </comment>
      <layer id="1" >
        <envelope
          vis="SiTrackerLayerVis"
          rmin="SiliconTrackerMinR1" rmax="SiliconTrackerRadius1"
Whitney Armstrong's avatar
Whitney Armstrong committed
284
          zstart="SiliconTrackerBarrelLength1/2+10*mm"
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
          length="3*SiliconTrackerEndMod1RingDz"  />
        <ring
          r="SiliconTrackerMinR1 + SiliconTrackerEndMod1DeltaR/2"
          zstart="SiliconTrackerEndMod1RingDz"
          nmodules="12" dz="1.75 * mm" module="Module1" />
        <ring
          r="SiliconTrackerMinR1 + SiliconTrackerEndMod1DeltaR*3/2"
          zstart="-SiliconTrackerEndMod1RingDz"
          nmodules="18" dz="1.75 * mm" module="Module1"/>
      </layer>
    </detector>


    <comment>
    == Layer 2 == 
    </comment>
    <detector id="SiTrackerSubAssemblyLayer2_ID" 
      name="SiTrackerSubAssemblyLayer2" 
      type="DD4hep_SubdetectorAssembly" 
      vis="SiTrackerSubAssemblyVis">
      <composite name="SiTrackerEndcapN_Layer2"/>
      <composite name="SiTrackerBarrel_Layer2"/>
      <composite name="SiTrackerEndcapP_Layer2"/> 
    </detector>
    <detector id="SiTrackerBarrel_Layer2_ID" 
              name="SiTrackerBarrel_Layer2" 
              type="topside_SiTrackerBarrel" 
              readout="SiTrackerBarrelHits">
Whitney Armstrong's avatar
Whitney Armstrong committed
313
      <module name="SiTrackerBarrelModule_Layer2" vis="SiTrackerBarrelVis1">
314
315
        <module_envelope  width="SiliconTrackerBarrelMod2Width" length="SiliconTrackerBarrelMod2Length" thickness="0.3 * cm"/>
        <module_component width="SiliconTrackerBarrelMod2Width" length="SiliconTrackerBarrelMod2Length" thickness="0.02 * cm" material="PEEK" sensitive="false">
Whitney Armstrong's avatar
Whitney Armstrong committed
316
          <position x="-0.14 * cm"/>
317
318
        </module_component>
        <module_component width="SiliconTrackerBarrelMod2Width" length="SiliconTrackerBarrelMod2Length" thickness="0.016 * cm" material="CarbonFiber_50D" sensitive="false">
Whitney Armstrong's avatar
Whitney Armstrong committed
319
          <position x="-0.122 * cm"/>
320
321
        </module_component>
        <module_component width="SiliconTrackerBarrelMod2Width" length="SiliconTrackerBarrelMod2Length" thickness="0.18 * cm" material="Rohacell31_50D" sensitive="false">
Whitney Armstrong's avatar
Whitney Armstrong committed
322
          <position x="-0.024 * cm"/>
323
324
        </module_component>
        <module_component width="SiliconTrackerBarrelMod2Width" length="SiliconTrackerBarrelMod2Length" thickness="0.0175 * cm" material="Epoxy" sensitive="false">
Whitney Armstrong's avatar
Whitney Armstrong committed
325
          <position x="0.07475 * cm"/>
326
327
        </module_component>
        <module_component width="SiliconTrackerBarrelMod2Width" length="SiliconTrackerBarrelMod2Length" thickness="0.016 * cm" material="CarbonFiber_50D" sensitive="false">
Whitney Armstrong's avatar
Whitney Armstrong committed
328
          <position x="0.0915 * cm"/>
329
        </module_component>
330
        <module_component width="SiliconTrackerBarrelMod2Width" length="SiliconTrackerBarrelMod2Length" thickness="0.03 * cm" material="Silicon" sensitive="true">
Whitney Armstrong's avatar
Whitney Armstrong committed
331
          <position x="0.1145 * cm"/>
332
333
        </module_component>
        <module_component width="SiliconTrackerBarrelMod2Width" length="SiliconTrackerBarrelMod2Length" thickness="0.00048 * cm" material="Silicon" sensitive="false">
Whitney Armstrong's avatar
Whitney Armstrong committed
334
          <position x="0.12974 * cm"/>
335
336
        </module_component>
        <module_component width="SiliconTrackerBarrelMod2Width" length="SiliconTrackerBarrelMod2Length" thickness="0.0038 * cm" material="Kapton" sensitive="false">
Whitney Armstrong's avatar
Whitney Armstrong committed
337
          <position x="0.1375 * cm"/>
338
339
        </module_component>
        <module_component width="SiliconTrackerBarrelMod2Width" length="SiliconTrackerBarrelMod2Length" thickness="0.00038 * cm" material="Copper" sensitive="false">
Whitney Armstrong's avatar
Whitney Armstrong committed
340
          <position x="0.146 * cm"/>
341
342
        </module_component>
      </module>
Whitney Armstrong's avatar
Whitney Armstrong committed
343
      <layer module="SiTrackerBarrelModule_Layer2" id="2" vis="SiTrackerBarrelVis">
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
        <barrel_envelope inner_r="SiliconTrackerRadius2" outer_r="SiliconTrackerRadius2 + 30*mm" z_length="SiliconTrackerBarrelLength2"/>
        <rphi_layout phi_tilt="0.12217" nphi="20" phi0="0.087" rc="SiliconTrackerRadius2 + 5.0 * mm" dr="0.0 * mm"/>
        <z_layout dr="4.0 * mm" 
          z0="SiliconTrackerBarrelLength2/2 - SiliconTrackerBarrelMod2Length/2"
          nz="SiliconTrackerBarrelLength2/SiliconTrackerBarrelMod2Length"/>
      </layer>
    </detector>
    <detector
      id="SiTrackerEndcapP_Layer2_ID"
      name="SiTrackerEndcapP_Layer2"
      type="topside_SiTrackerEndcap"
      readout="SiTrackerEndcapHits"
      reflect="false">
      <module name="Module2" vis="SiTrackerVis">
        <trd x1="SiliconTrackerEndMod1X1" x2="SiliconTrackerEndMod1X2" z="SiliconTrackerEndMod1Height/2"/>
        <module_component thickness="0.00052 * cm" material="Copper"/>
        <module_component thickness="0.0051 * cm" material="Kapton"/>
        <module_component thickness="0.00048 * cm" material="Silicon"/>
        <module_component thickness="0.03 * cm" material="Silicon" sensitive="true"/>
        <module_component thickness="0.016 * cm" material="CarbonFiber_50D"/>
        <module_component thickness="0.18 * cm" material="Rohacell31_50D"/>
        <module_component thickness="0.016 * cm" material="CarbonFiber_50D"/>
        <module_component thickness="0.0175 * cm" material="Epoxy"/>
        <module_component thickness="0.03 * cm" material="Silicon" sensitive="true"/>
        <module_component thickness="0.00048 * cm" material="Silicon"/>
        <module_component thickness="0.0051 * cm" material="Kapton"/>
        <module_component thickness="0.00052 * cm" material="Copper"/>
      </module>
      <layer id="2">
        <envelope
          vis="SiTrackerLayerVis"
          rmin="SiliconTrackerMinR2" rmax="SiliconTrackerRadius2"
Whitney Armstrong's avatar
Whitney Armstrong committed
376
          zstart="SiliconTrackerBarrelLength2/2+10*mm"
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
          length="7*SiliconTrackerEndMod1RingDz" />
        <ring
          r="SiliconTrackerMinR2 + SiliconTrackerEndMod2DeltaR/2"
          zstart="(5/2)*SiliconTrackerEndMod2RingDz"
          nmodules="12" dz="2.5 * mm" module="Module2" />
        <ring
          r="SiliconTrackerMinR2 + SiliconTrackerEndMod2DeltaR*3/2"
          zstart="(3/2)*SiliconTrackerEndMod2RingDz"
          nmodules="18" dz="2.5 * mm" module="Module2"/>
        <ring
          r="SiliconTrackerMinR2 + SiliconTrackerEndMod2DeltaR*5/2"
          zstart="(1/2)*SiliconTrackerEndMod2RingDz"
          nmodules="38" dz="2.5 * mm" module="Module2"/>
        <ring
          r="SiliconTrackerMinR2 + SiliconTrackerEndMod2DeltaR*7/2"
          zstart="(-1/2)*SiliconTrackerEndMod2RingDz"
          nmodules="48" dz="2.5 * mm" module="Module2"/>
        <ring
          r="SiliconTrackerMinR2 + SiliconTrackerEndMod2DeltaR*9/2"
          zstart="(-3/2)*SiliconTrackerEndMod2RingDz"
          nmodules="58" dz="2.5 * mm" module="Module2"/>
        <ring
          r="SiliconTrackerMinR2 + SiliconTrackerEndMod2DeltaR*11/2"
          zstart="(-5/2)*SiliconTrackerEndMod2RingDz"
          nmodules="68" dz="2.5 * mm" module="Module2" vis="SiTrackerEndcapVis2" />
      </layer>
    </detector>
    <detector
      id="SiTrackerEndcapN_Layer2_ID"
      name="SiTrackerEndcapN_Layer2"
      type="topside_SiTrackerEndcap"
      readout="SiTrackerEndcapHits"
      reflect="true">
      <module name="Module2" vis="SiTrackerVis">
        <trd x1="SiliconTrackerEndMod1X1" x2="SiliconTrackerEndMod1X2" z="SiliconTrackerEndMod1Height/2"/>
        <module_component thickness="0.00052 * cm" material="Copper"/>
        <module_component thickness="0.0051 * cm" material="Kapton"/>
        <module_component thickness="0.00048 * cm" material="Silicon"/>
        <module_component thickness="0.03 * cm" material="Silicon" sensitive="true"/>
        <module_component thickness="0.016 * cm" material="CarbonFiber_50D"/>
        <module_component thickness="0.18 * cm" material="Rohacell31_50D"/>
        <module_component thickness="0.016 * cm" material="CarbonFiber_50D"/>
        <module_component thickness="0.0175 * cm" material="Epoxy"/>
        <module_component thickness="0.03 * cm" material="Silicon" sensitive="true"/>
        <module_component thickness="0.00048 * cm" material="Silicon"/>
        <module_component thickness="0.0051 * cm" material="Kapton"/>
        <module_component thickness="0.00052 * cm" material="Copper"/>
      </module>
      <layer id="2">
        <envelope
          vis="SiTrackerLayerVis"
          rmin="SiliconTrackerMinR2" rmax="SiliconTrackerRadius2"
Whitney Armstrong's avatar
Whitney Armstrong committed
429
          zstart="SiliconTrackerBarrelLength2/2+10*mm"
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
          length="7*SiliconTrackerEndMod1RingDz" />
        <ring
          r="SiliconTrackerMinR2 + SiliconTrackerEndMod2DeltaR/2"
          zstart="(5/2)*SiliconTrackerEndMod2RingDz"
          nmodules="12" dz="2.5 * mm" module="Module2" />
        <ring
          r="SiliconTrackerMinR2 + SiliconTrackerEndMod2DeltaR*3/2"
          zstart="(3/2)*SiliconTrackerEndMod2RingDz"
          nmodules="18" dz="2.5 * mm" module="Module2"/>
        <ring
          r="SiliconTrackerMinR2 + SiliconTrackerEndMod2DeltaR*5/2"
          zstart="(1/2)*SiliconTrackerEndMod2RingDz"
          nmodules="38" dz="2.5 * mm" module="Module2"/>
        <ring
          r="SiliconTrackerMinR2 + SiliconTrackerEndMod2DeltaR*7/2"
          zstart="(-1/2)*SiliconTrackerEndMod2RingDz"
          nmodules="48" dz="2.5 * mm" module="Module2"/>
        <ring
          r="SiliconTrackerMinR2 + SiliconTrackerEndMod2DeltaR*9/2"
          zstart="(-3/2)*SiliconTrackerEndMod2RingDz"
          nmodules="58" dz="2.5 * mm" module="Module2"/>
        <ring
          r="SiliconTrackerMinR2 + SiliconTrackerEndMod2DeltaR*11/2"
          zstart="(-5/2)*SiliconTrackerEndMod2RingDz"
          nmodules="68" dz="2.5 * mm" module="Module2" vis="SiTrackerEndcapVis2" />
      </layer>
    </detector>



    <comment>
    == Layer 3 == 
    </comment>
    <detector id="SiTrackerSubAssemblyLayer3_ID" 
      name="SiTrackerSubAssemblyLayer3" 
      type="DD4hep_SubdetectorAssembly" 
      vis="SiTrackerSubAssemblyVis">
      <composite name="SiTrackerEndcapN_Layer3"/>
      <composite name="SiTrackerBarrel_Layer3"/>
      <composite name="SiTrackerEndcapP_Layer3"/> 
    </detector>
    <detector id="SiTrackerBarrel_Layer3_ID" 
              name="SiTrackerBarrel_Layer3" 
              type="topside_SiTrackerBarrel" 
              readout="SiTrackerBarrelHits">
Whitney Armstrong's avatar
Whitney Armstrong committed
475
      <module name="SiTrackerBarrelModule_Layer3" vis="SiTrackerBarrelVis1">
476
477
        <module_envelope  width="SiliconTrackerBarrelMod3Width" length="SiliconTrackerBarrelMod3Length" thickness="0.3 * cm"/>
        <module_component width="SiliconTrackerBarrelMod3Width" length="SiliconTrackerBarrelMod3Length" thickness="0.02 * cm" material="PEEK" sensitive="false">
Whitney Armstrong's avatar
Whitney Armstrong committed
478
          <position x="-0.14 * cm"/>
479
480
        </module_component>
        <module_component width="SiliconTrackerBarrelMod3Width" length="SiliconTrackerBarrelMod3Length" thickness="0.016 * cm" material="CarbonFiber_50D" sensitive="false">
Whitney Armstrong's avatar
Whitney Armstrong committed
481
          <position x="-0.122 * cm"/>
482
483
        </module_component>
        <module_component width="SiliconTrackerBarrelMod3Width" length="SiliconTrackerBarrelMod3Length" thickness="0.18 * cm" material="Rohacell31_50D" sensitive="false">
Whitney Armstrong's avatar
Whitney Armstrong committed
484
          <position x="-0.024 * cm"/>
485
486
        </module_component>
        <module_component width="SiliconTrackerBarrelMod3Width" length="SiliconTrackerBarrelMod3Length" thickness="0.0175 * cm" material="Epoxy" sensitive="false">
Whitney Armstrong's avatar
Whitney Armstrong committed
487
          <position x="0.07475 * cm"/>
488
489
        </module_component>
        <module_component width="SiliconTrackerBarrelMod3Width" length="SiliconTrackerBarrelMod3Length" thickness="0.016 * cm" material="CarbonFiber_50D" sensitive="false">
Whitney Armstrong's avatar
Whitney Armstrong committed
490
          <position x="0.0915 * cm"/>
491
        </module_component>
492
        <module_component width="SiliconTrackerBarrelMod3Width" length="SiliconTrackerBarrelMod3Length" thickness="0.03 * cm" material="Silicon" sensitive="true">
Whitney Armstrong's avatar
Whitney Armstrong committed
493
          <position x="0.1145 * cm"/>
494
495
        </module_component>
        <module_component width="SiliconTrackerBarrelMod3Width" length="SiliconTrackerBarrelMod3Length" thickness="0.00048 * cm" material="Silicon" sensitive="false">
Whitney Armstrong's avatar
Whitney Armstrong committed
496
          <position x="0.12974 * cm"/>
497
498
        </module_component>
        <module_component width="SiliconTrackerBarrelMod3Width" length="SiliconTrackerBarrelMod3Length" thickness="0.0038 * cm" material="Kapton" sensitive="false">
Whitney Armstrong's avatar
Whitney Armstrong committed
499
          <position x="0.1375 * cm"/>
500
501
        </module_component>
        <module_component width="SiliconTrackerBarrelMod3Width" length="SiliconTrackerBarrelMod3Length" thickness="0.00038 * cm" material="Copper" sensitive="false">
Whitney Armstrong's avatar
Whitney Armstrong committed
502
          <position x="0.146 * cm"/>
503
504
        </module_component>
      </module>
Whitney Armstrong's avatar
Whitney Armstrong committed
505
      <layer module="SiTrackerBarrelModule_Layer3" id="3" vis="SiTrackerBarrelVis">
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
        <barrel_envelope inner_r="SiliconTrackerRadius3" outer_r="SiliconTrackerRadius3 + 30*mm" z_length="SiliconTrackerBarrelLength3"/>
        <rphi_layout phi_tilt="0.11493" nphi="36" phi0="0.058" rc="SiliconTrackerRadius3 + 5.0 * mm" dr="0.0 * mm"/>
        <z_layout dr="4.0 * mm" 
          z0="SiliconTrackerBarrelLength3/2 - SiliconTrackerBarrelMod3Length/2"
          nz="SiliconTrackerBarrelLength3/SiliconTrackerBarrelMod3Length"/>
      </layer>
    </detector>
    <detector
      id="SiTrackerEndcapP_Layer3_ID"
      name="SiTrackerEndcapP_Layer3"
      type="topside_SiTrackerEndcap"
      readout="SiTrackerEndcapHits"
      reflect="false">
      <module name="Module3" vis="SiTrackerVis">
        <trd x1="SiliconTrackerEndMod2X1" x2="SiliconTrackerEndMod2X2" z="SiliconTrackerEndMod2Height/2"/>
        <module_component thickness="0.00079 * cm" material="Copper"/>
        <module_component thickness="0.0078 * cm" material="Kapton"/>
        <module_component thickness="0.00048 * cm" material="Silicon"/>
        <module_component thickness="0.03 * cm" material="Silicon" sensitive="true"/>
        <module_component thickness="0.016 * cm" material="CarbonFiber_50D"/>
        <module_component thickness="0.18 * cm" material="Rohacell31_50D"/>
        <module_component thickness="0.016 * cm" material="CarbonFiber_50D"/>
        <module_component thickness="0.0175 * cm" material="Epoxy"/>
        <module_component thickness="0.03 * cm" material="Silicon" sensitive="true"/>
        <module_component thickness="0.00048 * cm" material="Silicon"/>
        <module_component thickness="0.0078 * cm" material="Kapton"/>
        <module_component thickness="0.00079 * cm" material="Copper"/>
      </module>
      <layer id="3">
        <envelope
          vis="SiTrackerLayerVis"
          rmin="SiliconTrackerMinR3" rmax="SiliconTrackerRadius3"
Whitney Armstrong's avatar
Whitney Armstrong committed
538
          zstart="SiliconTrackerBarrelLength3/2+10*mm"
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
          length="7*SiliconTrackerEndMod2RingDz" />
        <ring
          r="SiliconTrackerMinR3 + SiliconTrackerEndMod3DeltaR/2"
          zstart="(5/2)*SiliconTrackerEndMod2RingDz"
          nmodules="11" dz="2.5 * mm" module="Module3" />
        <ring
          r="SiliconTrackerMinR3 + SiliconTrackerEndMod3DeltaR*3/2"
          zstart="(3/2)*SiliconTrackerEndMod2RingDz"
          nmodules="20" dz="2.5 * mm" module="Module3"/>
        <ring
          r="SiliconTrackerMinR3 + SiliconTrackerEndMod3DeltaR*5/2"
          zstart="(1/2)*SiliconTrackerEndMod2RingDz"
          nmodules="36" dz="2.5 * mm" module="Module3"/>
        <ring
          r="SiliconTrackerMinR3 + SiliconTrackerEndMod3DeltaR*7/2"
          zstart="(-1/2)*SiliconTrackerEndMod2RingDz"
          nmodules="44" dz="2.5 * mm" module="Module3"/>
        <ring
          r="SiliconTrackerMinR3 + SiliconTrackerEndMod3DeltaR*9/2"
          zstart="(-3/2)*SiliconTrackerEndMod2RingDz "
          nmodules="56" dz="2.5 * mm" module="Module3" alpha="0" />
        <ring
          r="SiliconTrackerMinR3 + SiliconTrackerEndMod3DeltaR*11/2"
          zstart="(-5/2)*SiliconTrackerEndMod2RingDz"
          nmodules="68" dz="2.5 * mm" module="Module3" alpha="0"  vis="SiTrackerEndcapVis1" />
      </layer>
    </detector>
    <detector
      id="SiTrackerEndcapN_Layer3_ID"
      name="SiTrackerEndcapN_Layer3"
      type="topside_SiTrackerEndcap"
      readout="SiTrackerEndcapHits"
      reflect="true">
      <module name="Module3" vis="SiTrackerVis">
        <trd x1="SiliconTrackerEndMod2X1" x2="SiliconTrackerEndMod2X2" z="SiliconTrackerEndMod2Height/2"/>
        <module_component thickness="0.00079 * cm" material="Copper"/>
        <module_component thickness="0.0078 * cm" material="Kapton"/>
        <module_component thickness="0.00048 * cm" material="Silicon"/>
        <module_component thickness="0.03 * cm" material="Silicon" sensitive="true"/>
        <module_component thickness="0.016 * cm" material="CarbonFiber_50D"/>
        <module_component thickness="0.18 * cm" material="Rohacell31_50D"/>
        <module_component thickness="0.016 * cm" material="CarbonFiber_50D"/>
        <module_component thickness="0.0175 * cm" material="Epoxy"/>
        <module_component thickness="0.03 * cm" material="Silicon" sensitive="true"/>
        <module_component thickness="0.00048 * cm" material="Silicon"/>
        <module_component thickness="0.0078 * cm" material="Kapton"/>
        <module_component thickness="0.00079 * cm" material="Copper"/>
      </module>
      <layer id="3">
        <envelope
          vis="SiTrackerLayerVis"
          rmin="SiliconTrackerMinR3" rmax="SiliconTrackerRadius3"
Whitney Armstrong's avatar
Whitney Armstrong committed
591
          zstart="SiliconTrackerBarrelLength3/2+10*mm"
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
          length="7*SiliconTrackerEndMod2RingDz" />
        <ring
          r="SiliconTrackerMinR3 + SiliconTrackerEndMod3DeltaR/2"
          zstart="(5/2)*SiliconTrackerEndMod2RingDz"
          nmodules="11" dz="2.5 * mm" module="Module3" />
        <ring
          r="SiliconTrackerMinR3 + SiliconTrackerEndMod3DeltaR*3/2"
          zstart="(3/2)*SiliconTrackerEndMod2RingDz"
          nmodules="20" dz="2.5 * mm" module="Module3"/>
        <ring
          r="SiliconTrackerMinR3 + SiliconTrackerEndMod3DeltaR*5/2"
          zstart="(1/2)*SiliconTrackerEndMod2RingDz"
          nmodules="36" dz="2.5 * mm" module="Module3"/>
        <ring
          r="SiliconTrackerMinR3 + SiliconTrackerEndMod3DeltaR*7/2"
          zstart="(-1/2)*SiliconTrackerEndMod2RingDz"
          nmodules="44" dz="2.5 * mm" module="Module3"/>
        <ring
          r="SiliconTrackerMinR3 + SiliconTrackerEndMod3DeltaR*9/2"
          zstart="(-3/2)*SiliconTrackerEndMod2RingDz "
          nmodules="56" dz="2.5 * mm" module="Module3" alpha="0" />
        <ring
          r="SiliconTrackerMinR3 + SiliconTrackerEndMod3DeltaR*11/2"
          zstart="(-5/2)*SiliconTrackerEndMod2RingDz"
          nmodules="68" dz="2.5 * mm" module="Module3" alpha="0"  vis="SiTrackerEndcapVis1" />
      </layer>
    </detector>

    <comment>
    == Layer 4 == 
    </comment>
    <detector id="SiTrackerSubAssemblyLayer4_ID" 
      name="SiTrackerSubAssemblyLayer4" 
      type="DD4hep_SubdetectorAssembly" 
      vis="SiTrackerSubAssemblyVis">
      <composite name="SiTrackerEndcapN_Layer4"/>
      <composite name="SiTrackerBarrel_Layer4"/>
      <composite name="SiTrackerEndcapP_Layer4"/> 
    </detector>
    <detector id="SiTrackerBarrel_Layer4_ID" 
              name="SiTrackerBarrel_Layer4" 
              type="topside_SiTrackerBarrel" 
              readout="SiTrackerBarrelHits">
Whitney Armstrong's avatar
Whitney Armstrong committed
635
      <module name="SiTrackerBarrelModule_Layer4" vis="SiTrackerBarrelVis1">
636
637
        <module_envelope  width="SiliconTrackerBarrelMod4Width" length="SiliconTrackerBarrelMod4Length" thickness="0.3 * cm"/>
        <module_component width="SiliconTrackerBarrelMod4Width" length="SiliconTrackerBarrelMod4Length" thickness="0.02 * cm" material="PEEK" sensitive="false">
Whitney Armstrong's avatar
Whitney Armstrong committed
638
          <position x="-0.14 * cm"/>
639
640
        </module_component>
        <module_component width="SiliconTrackerBarrelMod4Width" length="SiliconTrackerBarrelMod4Length" thickness="0.016 * cm" material="CarbonFiber_50D" sensitive="false">
Whitney Armstrong's avatar
Whitney Armstrong committed
641
          <position x="-0.122 * cm"/>
642
643
        </module_component>
        <module_component width="SiliconTrackerBarrelMod4Width" length="SiliconTrackerBarrelMod4Length" thickness="0.18 * cm" material="Rohacell31_50D" sensitive="false">
Whitney Armstrong's avatar
Whitney Armstrong committed
644
          <position x="-0.024 * cm"/>
645
646
        </module_component>
        <module_component width="SiliconTrackerBarrelMod4Width" length="SiliconTrackerBarrelMod4Length" thickness="0.0175 * cm" material="Epoxy" sensitive="false">
Whitney Armstrong's avatar
Whitney Armstrong committed
647
          <position x="0.07475 * cm"/>
648
649
        </module_component>
        <module_component width="SiliconTrackerBarrelMod4Width" length="SiliconTrackerBarrelMod4Length" thickness="0.016 * cm" material="CarbonFiber_50D" sensitive="false">
Whitney Armstrong's avatar
Whitney Armstrong committed
650
          <position x="0.0915 * cm"/>
651
        </module_component>
652
        <module_component width="SiliconTrackerBarrelMod4Width" length="SiliconTrackerBarrelMod4Length" thickness="0.03 * cm" material="Silicon" sensitive="true">
Whitney Armstrong's avatar
Whitney Armstrong committed
653
          <position x="0.1145 * cm"/>
654
655
        </module_component>
        <module_component width="SiliconTrackerBarrelMod4Width" length="SiliconTrackerBarrelMod4Length" thickness="0.00048 * cm" material="Silicon" sensitive="false">
Whitney Armstrong's avatar
Whitney Armstrong committed
656
          <position x="0.12974 * cm"/>
657
658
        </module_component>
        <module_component width="SiliconTrackerBarrelMod4Width" length="SiliconTrackerBarrelMod4Length" thickness="0.0038 * cm" material="Kapton" sensitive="false">
Whitney Armstrong's avatar
Whitney Armstrong committed
659
          <position x="0.1375 * cm"/>
660
661
        </module_component>
        <module_component width="SiliconTrackerBarrelMod4Width" length="SiliconTrackerBarrelMod4Length" thickness="0.00038 * cm" material="Copper" sensitive="false">
Whitney Armstrong's avatar
Whitney Armstrong committed
662
          <position x="0.146 * cm"/>
663
664
        </module_component>
      </module>
Whitney Armstrong's avatar
Whitney Armstrong committed
665
      <layer module="SiTrackerBarrelModule_Layer4" id="4" vis="SiTrackerBarrelVis">
666
        <barrel_envelope inner_r="SiliconTrackerRadius4" outer_r="SiliconTrackerRadius4+30*mm" z_length="SiliconTrackerBarrelLength4"/>
Whitney Armstrong's avatar
Whitney Armstrong committed
667
        <rphi_layout phi_tilt="0.11502/2" nphi="48" phi0="0.0436" rc="SiliconTrackerRadius4 + 5.0 * mm" dr="0.0 * mm"/>
668
        <z_layout dr="4.0 * mm" 
669
670
          z0="SiliconTrackerBarrelLength4/2 - SiliconTrackerBarrelMod4Length/2" 
          nz="SiliconTrackerBarrelLength4/SiliconTrackerBarrelMod4Length"/>
671
672
673
      </layer>
    </detector>

Whitney Armstrong's avatar
Whitney Armstrong committed
674
    <detector
675
676
      id="SiTrackerEndcapP_Layer4_ID"
      name="SiTrackerEndcapP_Layer4"
Whitney Armstrong's avatar
Whitney Armstrong committed
677
678
      type="topside_SiTrackerEndcap"
      readout="SiTrackerEndcapHits"
Whitney Armstrong's avatar
cleanup    
Whitney Armstrong committed
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
      reflect="false">
      <module name="Module4" vis="SiTrackerVis">
        <trd x1="SiliconTrackerEndMod3X1" x2="SiliconTrackerEndMod3X2" z="SiliconTrackerEndMod3Height/2"/>
        <module_component thickness="0.00079 * cm" material="Copper"/>
        <module_component thickness="0.0078 * cm" material="Kapton"/>
        <module_component thickness="0.00048 * cm" material="Silicon"/>
        <module_component thickness="0.03 * cm" material="Silicon" sensitive="true"/>
        <module_component thickness="0.016 * cm" material="CarbonFiber_50D"/>
        <module_component thickness="0.18 * cm" material="Rohacell31_50D"/>
        <module_component thickness="0.016 * cm" material="CarbonFiber_50D"/>
        <module_component thickness="0.0175 * cm" material="Epoxy"/>
        <module_component thickness="0.03 * cm" material="Silicon" sensitive="true"/>
        <module_component thickness="0.00048 * cm" material="Silicon"/>
        <module_component thickness="0.0078 * cm" material="Kapton"/>
        <module_component thickness="0.00079 * cm" material="Copper"/>
      </module>
695
696
697
698
      <layer id="4">
        <envelope
          vis="SiTrackerLayerVis"
          rmin="SiliconTrackerMinR4" rmax="SiliconTrackerRadius4"
Whitney Armstrong's avatar
Whitney Armstrong committed
699
          zstart="SiliconTrackerBarrelLength4/2+10*mm"
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
          length="9*SiliconTrackerEndMod4RingDz" />
        <ring
          r="SiliconTrackerMinR4 + SiliconTrackerEndMod4DeltaR/2"
          zstart="(7/2)*SiliconTrackerEndMod4RingDz"
          nmodules="11" dz="2.5 * mm" module="Module4" />
        <ring
          r="SiliconTrackerMinR4 + SiliconTrackerEndMod4DeltaR*3/2" 
          zstart="(5/2)*SiliconTrackerEndMod4RingDz"
          nmodules="20" dz="2.5 * mm" module="Module4"/>
        <ring 
          r="SiliconTrackerMinR4 + SiliconTrackerEndMod4DeltaR*5/2" 
          zstart="(3/2)*SiliconTrackerEndMod4RingDz"
          nmodules="36" dz="2.5 * mm" module="Module4"/>
        <ring 
          r="SiliconTrackerMinR4 + SiliconTrackerEndMod4DeltaR*7/2" 
          zstart="(1/2)*SiliconTrackerEndMod4RingDz"
          nmodules="44" dz="2.5 * mm" module="Module4"/>
        <ring 
          r="SiliconTrackerMinR4 + SiliconTrackerEndMod4DeltaR*9/2" 
          zstart="(-1/2)*SiliconTrackerEndMod4RingDz"
          nmodules="56" dz="2.5 * mm" module="Module4" alpha="0" />
        <ring 
          r="SiliconTrackerMinR4 + SiliconTrackerEndMod4DeltaR*11/2" 
          zstart="(-3/2)*SiliconTrackerEndMod4RingDz"
          nmodules="68" dz="2.5 * mm" module="Module4" alpha="0" />
        <ring 
          r="SiliconTrackerMinR4 + SiliconTrackerEndMod4DeltaR*13/2" 
          zstart="(-5/2)*SiliconTrackerEndMod4RingDz"
          nmodules="56" dz="2.5 * mm" module="Module4" alpha="0" />
        <ring 
          r="SiliconTrackerMinR4 + SiliconTrackerEndMod4DeltaR*15/2" 
          zstart="(-7/2)*SiliconTrackerEndMod4RingDz"
          nmodules="68" dz="2.5 * mm" module="Module4" alpha="0" vis="SiTrackerEndcapVis2" />
      </layer>
    </detector>
    <detector
      id="SiTrackerEndcapN_Layer4_ID"
      name="SiTrackerEndcapN_Layer4"
      type="topside_SiTrackerEndcap"
      readout="SiTrackerEndcapHits"
      reflect="true">
      <module name="Module4" vis="SiTrackerVis">
Whitney Armstrong's avatar
cleanup    
Whitney Armstrong committed
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
        <trd x1="SiliconTrackerEndMod3X1" x2="SiliconTrackerEndMod3X2" z="SiliconTrackerEndMod3Height/2"/>
        <module_component thickness="0.00079 * cm" material="Copper"/>
        <module_component thickness="0.0078 * cm" material="Kapton"/>
        <module_component thickness="0.00048 * cm" material="Silicon"/>
        <module_component thickness="0.03 * cm" material="Silicon" sensitive="true"/>
        <module_component thickness="0.016 * cm" material="CarbonFiber_50D"/>
        <module_component thickness="0.18 * cm" material="Rohacell31_50D"/>
        <module_component thickness="0.016 * cm" material="CarbonFiber_50D"/>
        <module_component thickness="0.0175 * cm" material="Epoxy"/>
        <module_component thickness="0.03 * cm" material="Silicon" sensitive="true"/>
        <module_component thickness="0.00048 * cm" material="Silicon"/>
        <module_component thickness="0.0078 * cm" material="Kapton"/>
        <module_component thickness="0.00079 * cm" material="Copper"/>
      </module>
      <layer id="4">
Whitney Armstrong's avatar
Whitney Armstrong committed
757
758
759
        <envelope
          vis="SiTrackerLayerVis"
          rmin="SiliconTrackerMinR4" rmax="SiliconTrackerRadius4"
Whitney Armstrong's avatar
Whitney Armstrong committed
760
          zstart="SiliconTrackerBarrelLength4/2+10*mm"
Whitney Armstrong's avatar
Whitney Armstrong committed
761
762
763
764
          length="9*SiliconTrackerEndMod4RingDz" />
        <ring
          r="SiliconTrackerMinR4 + SiliconTrackerEndMod4DeltaR/2"
          zstart="(7/2)*SiliconTrackerEndMod4RingDz"
Whitney Armstrong's avatar
cleanup    
Whitney Armstrong committed
765
          nmodules="11" dz="2.5 * mm" module="Module4" />
Whitney Armstrong's avatar
Whitney Armstrong committed
766
767
768
        <ring
          r="SiliconTrackerMinR4 + SiliconTrackerEndMod4DeltaR*3/2" 
          zstart="(5/2)*SiliconTrackerEndMod4RingDz"
Whitney Armstrong's avatar
cleanup    
Whitney Armstrong committed
769
770
          nmodules="20" dz="2.5 * mm" module="Module4"/>
        <ring 
Whitney Armstrong's avatar
Whitney Armstrong committed
771
772
          r="SiliconTrackerMinR4 + SiliconTrackerEndMod4DeltaR*5/2" 
          zstart="(3/2)*SiliconTrackerEndMod4RingDz"
Whitney Armstrong's avatar
cleanup    
Whitney Armstrong committed
773
774
          nmodules="36" dz="2.5 * mm" module="Module4"/>
        <ring 
Whitney Armstrong's avatar
Whitney Armstrong committed
775
776
          r="SiliconTrackerMinR4 + SiliconTrackerEndMod4DeltaR*7/2" 
          zstart="(1/2)*SiliconTrackerEndMod4RingDz"
Whitney Armstrong's avatar
cleanup    
Whitney Armstrong committed
777
778
          nmodules="44" dz="2.5 * mm" module="Module4"/>
        <ring 
Whitney Armstrong's avatar
Whitney Armstrong committed
779
780
          r="SiliconTrackerMinR4 + SiliconTrackerEndMod4DeltaR*9/2" 
          zstart="(-1/2)*SiliconTrackerEndMod4RingDz"
Whitney Armstrong's avatar
cleanup    
Whitney Armstrong committed
781
782
          nmodules="56" dz="2.5 * mm" module="Module4" alpha="0" />
        <ring 
Whitney Armstrong's avatar
Whitney Armstrong committed
783
784
          r="SiliconTrackerMinR4 + SiliconTrackerEndMod4DeltaR*11/2" 
          zstart="(-3/2)*SiliconTrackerEndMod4RingDz"
Whitney Armstrong's avatar
cleanup    
Whitney Armstrong committed
785
786
          nmodules="68" dz="2.5 * mm" module="Module4" alpha="0" />
        <ring 
Whitney Armstrong's avatar
Whitney Armstrong committed
787
788
          r="SiliconTrackerMinR4 + SiliconTrackerEndMod4DeltaR*13/2" 
          zstart="(-5/2)*SiliconTrackerEndMod4RingDz"
Whitney Armstrong's avatar
cleanup    
Whitney Armstrong committed
789
790
          nmodules="56" dz="2.5 * mm" module="Module4" alpha="0" />
        <ring 
Whitney Armstrong's avatar
Whitney Armstrong committed
791
792
          r="SiliconTrackerMinR4 + SiliconTrackerEndMod4DeltaR*15/2" 
          zstart="(-7/2)*SiliconTrackerEndMod4RingDz"
Whitney Armstrong's avatar
cleanup    
Whitney Armstrong committed
793
794
          nmodules="68" dz="2.5 * mm" module="Module4" alpha="0" vis="SiTrackerEndcapVis2" />
      </layer>
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
    </detector>

    <comment>
    == Layer 5 == 
    </comment>
    <detector id="SiTrackerSubAssemblyLayer5_ID" 
      name="SiTrackerSubAssemblyLayer5" 
      type="DD4hep_SubdetectorAssembly" 
      vis="SiTrackerSubAssemblyVis">
      <composite name="SiTrackerEndcapN_Layer5"/>
      <composite name="SiTrackerBarrel_Layer5"/>
      <composite name="SiTrackerEndcapP_Layer5"/> 
    </detector>
    <detector id="SiTrackerBarrel_Layer5_ID" 
              name="SiTrackerBarrel_Layer5" 
              type="topside_SiTrackerBarrel" 
              readout="SiTrackerBarrelHits">
Whitney Armstrong's avatar
Whitney Armstrong committed
812
      <module name="SiTrackerBarrelModule_Layer5" vis="SiTrackerBarrelVis1">
813
814
        <module_envelope  width="SiliconTrackerBarrelMod5Width" length="SiliconTrackerBarrelMod5Length" thickness="0.3 * cm"/>
        <module_component width="SiliconTrackerBarrelMod5Width" length="SiliconTrackerBarrelMod5Length" thickness="0.02 * cm" material="PEEK" sensitive="false">
Whitney Armstrong's avatar
Whitney Armstrong committed
815
          <position x="-0.14 * cm"/>
816
817
        </module_component>
        <module_component width="SiliconTrackerBarrelMod5Width" length="SiliconTrackerBarrelMod5Length" thickness="0.016 * cm" material="CarbonFiber_50D" sensitive="false">
Whitney Armstrong's avatar
Whitney Armstrong committed
818
          <position x="-0.122 * cm"/>
819
820
        </module_component>
        <module_component width="SiliconTrackerBarrelMod5Width" length="SiliconTrackerBarrelMod5Length" thickness="0.18 * cm" material="Rohacell31_50D" sensitive="false">
Whitney Armstrong's avatar
Whitney Armstrong committed
821
          <position x="-0.024 * cm"/>
822
823
        </module_component>
        <module_component width="SiliconTrackerBarrelMod5Width" length="SiliconTrackerBarrelMod5Length" thickness="0.0175 * cm" material="Epoxy" sensitive="false">
Whitney Armstrong's avatar
Whitney Armstrong committed
824
          <position x="0.07475 * cm"/>
825
826
        </module_component>
        <module_component width="SiliconTrackerBarrelMod5Width" length="SiliconTrackerBarrelMod5Length" thickness="0.016 * cm" material="CarbonFiber_50D" sensitive="false">
Whitney Armstrong's avatar
Whitney Armstrong committed
827
          <position x="0.0915 * cm"/>
828
829
        </module_component>
        <module_component width="SiliconTrackerBarrelMod5Width" length="SiliconTrackerBarrelMod5Length" thickness="0.03 * cm" material="Silicon" sensitive="true">
Whitney Armstrong's avatar
Whitney Armstrong committed
830
          <position x="0.1145 * cm"/>
831
832
        </module_component>
        <module_component width="SiliconTrackerBarrelMod5Width" length="SiliconTrackerBarrelMod5Length" thickness="0.00048 * cm" material="Silicon" sensitive="false">
Whitney Armstrong's avatar
Whitney Armstrong committed
833
          <position x="0.12974 * cm"/>
834
835
        </module_component>
        <module_component width="SiliconTrackerBarrelMod5Width" length="SiliconTrackerBarrelMod5Length" thickness="0.0038 * cm" material="Kapton" sensitive="false">
Whitney Armstrong's avatar
Whitney Armstrong committed
836
          <position x="0.1375 * cm"/>
837
838
        </module_component>
        <module_component width="SiliconTrackerBarrelMod5Width" length="SiliconTrackerBarrelMod5Length" thickness="0.00038 * cm" material="Copper" sensitive="false">
Whitney Armstrong's avatar
Whitney Armstrong committed
839
          <position x="0.146 * cm"/>
840
841
        </module_component>
      </module>
Whitney Armstrong's avatar
Whitney Armstrong committed
842
      <layer module="SiTrackerBarrelModule_Layer5" id="5" vis="SiTrackerBarrelVis">
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
        <barrel_envelope inner_r="SiliconTrackerRadius5" outer_r="SiliconTrackerRadius5+30*mm" z_length="SiliconTrackerBarrelLength5"/>
        <rphi_layout phi_tilt="0.11467/2" nphi="56" phi0="0.01745" rc="SiliconTrackerRadius5 + 5.0 * mm" dr="0.0 * mm"/>
        <z_layout dr="4.0 * mm" 
          z0="SiliconTrackerBarrelLength5/2 - SiliconTrackerBarrelMod5Length/2" 
          nz="(SiliconTrackerBarrelLength5)/SiliconTrackerBarrelMod5Length"/>
      </layer>
    </detector>
    <detector
      id="SiTrackerEndcapP_Layer5_ID"
      name="SiTrackerEndcapP_Layer5"
      type="topside_SiTrackerEndcap"
      readout="SiTrackerEndcapHits"
      reflect="false">
      <module name="Module5" vis="SiTrackerVis">
        <trd x1="SiliconTrackerEndMod3X1" x2="SiliconTrackerEndMod3X2" z="SiliconTrackerEndMod3Height/2"/>
        <module_component thickness="0.00079 * cm" material="Copper"/>
        <module_component thickness="0.0078 * cm" material="Kapton"/>
        <module_component thickness="0.00048 * cm" material="Silicon"/>
        <module_component thickness="0.03 * cm" material="Silicon" sensitive="true"/>
        <module_component thickness="0.016 * cm" material="CarbonFiber_50D"/>
        <module_component thickness="0.18 * cm" material="Rohacell31_50D"/>
        <module_component thickness="0.016 * cm" material="CarbonFiber_50D"/>
        <module_component thickness="0.0175 * cm" material="Epoxy"/>
        <module_component thickness="0.03 * cm" material="Silicon" sensitive="true"/>
        <module_component thickness="0.00048 * cm" material="Silicon"/>
        <module_component thickness="0.0078 * cm" material="Kapton"/>
        <module_component thickness="0.00079 * cm" material="Copper"/>
      </module>
      <module name="Module5_2" vis="SiTrackerVis">
        <trd x1="SiliconTrackerEndMod3X1" x2="SiliconTrackerEndMod3X2" z="SiliconTrackerEndMod3Height/1.5"/>
        <module_component thickness="0.00079 * cm" material="Copper"/>
        <module_component thickness="0.0078 * cm" material="Kapton"/>
        <module_component thickness="0.00048 * cm" material="Silicon"/>
        <module_component thickness="0.03 * cm" material="Silicon" sensitive="true"/>
        <module_component thickness="0.016 * cm" material="CarbonFiber_50D"/>
        <module_component thickness="0.18 * cm" material="Rohacell31_50D"/>
        <module_component thickness="0.016 * cm" material="CarbonFiber_50D"/>
        <module_component thickness="0.0175 * cm" material="Epoxy"/>
        <module_component thickness="0.03 * cm" material="Silicon" sensitive="true"/>
        <module_component thickness="0.00048 * cm" material="Silicon"/>
        <module_component thickness="0.0078 * cm" material="Kapton"/>
        <module_component thickness="0.00079 * cm" material="Copper"/>
      </module>
Whitney Armstrong's avatar
cleanup    
Whitney Armstrong committed
886
      <layer id="5">
Whitney Armstrong's avatar
Whitney Armstrong committed
887
888
889
        <envelope
          vis="SiTrackerLayerVis"
          rmin="SiliconTrackerMinR5" rmax="SiliconTrackerRadius5"
Whitney Armstrong's avatar
Whitney Armstrong committed
890
          zstart="SiliconTrackerBarrelLength5/2+10*mm"
Whitney Armstrong's avatar
Whitney Armstrong committed
891
892
893
894
          length="9*SiliconTrackerEndMod5RingDz" />
        <ring 
          r="SiliconTrackerMinR5 + SiliconTrackerEndMod5DeltaR/2" 
          zstart="(7/2)*SiliconTrackerEndMod5RingDz"
Whitney Armstrong's avatar
cleanup    
Whitney Armstrong committed
895
896
          nmodules="11" dz="2.5 * mm" module="Module5" vis="SiTrackerEndcapVis1" />
        <ring 
Whitney Armstrong's avatar
Whitney Armstrong committed
897
898
          r="SiliconTrackerMinR5 + SiliconTrackerEndMod5DeltaR*3/2" 
          zstart="(5/2)*SiliconTrackerEndMod5RingDz"
Whitney Armstrong's avatar
cleanup    
Whitney Armstrong committed
899
900
          nmodules="20" dz="2.5 * mm" module="Module5" vis="SiTrackerEndcapVis2" />
        <ring 
Whitney Armstrong's avatar
Whitney Armstrong committed
901
902
          r="SiliconTrackerMinR5 + SiliconTrackerEndMod5DeltaR*5/2" 
          zstart="(3/2)*SiliconTrackerEndMod5RingDz"
Whitney Armstrong's avatar
cleanup    
Whitney Armstrong committed
903
904
          nmodules="36" dz="2.5 * mm" module="Module5" vis="SiTrackerEndcapVis1" />
        <ring 
Whitney Armstrong's avatar
Whitney Armstrong committed
905
906
          r="SiliconTrackerMinR5 + SiliconTrackerEndMod5DeltaR*7/2" 
          zstart="(1/2)*SiliconTrackerEndMod5RingDz"
Whitney Armstrong's avatar
cleanup    
Whitney Armstrong committed
907
908
          nmodules="44" dz="2.5 * mm" module="Module5" vis="SiTrackerEndcapVis2" />
        <ring 
Whitney Armstrong's avatar
Whitney Armstrong committed
909
910
          r="SiliconTrackerMinR5 + SiliconTrackerEndMod5DeltaR*9/2" 
          zstart="(-1/2)*SiliconTrackerEndMod5RingDz"
Whitney Armstrong's avatar
cleanup    
Whitney Armstrong committed
911
912
          nmodules="56" dz="2.5 * mm" module="Module5_2" alpha="0"  vis="SiTrackerEndcapVis1" />
        <ring 
Whitney Armstrong's avatar
Whitney Armstrong committed
913
914
          r="SiliconTrackerMinR5 + SiliconTrackerEndMod5DeltaR*11/2" 
          zstart="(-3/2)*SiliconTrackerEndMod5RingDz"
Whitney Armstrong's avatar
cleanup    
Whitney Armstrong committed
915
916
          nmodules="68" dz="2.5 * mm" module="Module5_2" alpha="0"  vis="SiTrackerEndcapVis2" />
        <ring 
Whitney Armstrong's avatar
Whitney Armstrong committed
917
918
          r="SiliconTrackerMinR5 + SiliconTrackerEndMod5DeltaR*13/2" 
          zstart="(-5/2)*SiliconTrackerEndMod5RingDz"
Whitney Armstrong's avatar
cleanup    
Whitney Armstrong committed
919
920
          nmodules="56" dz="2.5 * mm" module="Module5_2" alpha="0"  vis="SiTrackerEndcapVis1" />
        <ring 
Whitney Armstrong's avatar
Whitney Armstrong committed
921
922
          r="SiliconTrackerMinR5 + SiliconTrackerEndMod5DeltaR*15/2" 
          zstart="(-7/2)*SiliconTrackerEndMod5RingDz"
Whitney Armstrong's avatar
cleanup    
Whitney Armstrong committed
923
924
925
          nmodules="68" dz="2.5 * mm" module="Module5_2" alpha="0"  vis="SiTrackerEndcapVis1" />
      </layer>
    </detector>
926
927
928
929
930
    <detector
      id="SiTrackerEndcapN_Layer5_ID"
      name="SiTrackerEndcapN_Layer5"
      type="topside_SiTrackerEndcap"
      readout="SiTrackerEndcapHits"
931
      reflect="true">
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
      <module name="Module5" vis="SiTrackerVis">
        <trd x1="SiliconTrackerEndMod3X1" x2="SiliconTrackerEndMod3X2" z="SiliconTrackerEndMod3Height/2"/>
        <module_component thickness="0.00079 * cm" material="Copper"/>
        <module_component thickness="0.0078 * cm" material="Kapton"/>
        <module_component thickness="0.00048 * cm" material="Silicon"/>
        <module_component thickness="0.03 * cm" material="Silicon" sensitive="true"/>
        <module_component thickness="0.016 * cm" material="CarbonFiber_50D"/>
        <module_component thickness="0.18 * cm" material="Rohacell31_50D"/>
        <module_component thickness="0.016 * cm" material="CarbonFiber_50D"/>
        <module_component thickness="0.0175 * cm" material="Epoxy"/>
        <module_component thickness="0.03 * cm" material="Silicon" sensitive="true"/>
        <module_component thickness="0.00048 * cm" material="Silicon"/>
        <module_component thickness="0.0078 * cm" material="Kapton"/>
        <module_component thickness="0.00079 * cm" material="Copper"/>
      </module>
      <module name="Module5_2" vis="SiTrackerVis">
        <trd x1="SiliconTrackerEndMod3X1" x2="SiliconTrackerEndMod3X2" z="SiliconTrackerEndMod3Height/1.5"/>
        <module_component thickness="0.00079 * cm" material="Copper"/>
        <module_component thickness="0.0078 * cm" material="Kapton"/>
        <module_component thickness="0.00048 * cm" material="Silicon"/>
        <module_component thickness="0.03 * cm" material="Silicon" sensitive="true"/>
        <module_component thickness="0.016 * cm" material="CarbonFiber_50D"/>
        <module_component thickness="0.18 * cm" material="Rohacell31_50D"/>
        <module_component thickness="0.016 * cm" material="CarbonFiber_50D"/>
        <module_component thickness="0.0175 * cm" material="Epoxy"/>
        <module_component thickness="0.03 * cm" material="Silicon" sensitive="true"/>
        <module_component thickness="0.00048 * cm" material="Silicon"/>
        <module_component thickness="0.0078 * cm" material="Kapton"/>
        <module_component thickness="0.00079 * cm" material="Copper"/>
      </module>
      <layer id="5">
Whitney Armstrong's avatar
Whitney Armstrong committed
963
964
965
        <envelope
          vis="SiTrackerLayerVis"
          rmin="SiliconTrackerMinR5" rmax="SiliconTrackerRadius5"
Whitney Armstrong's avatar
Whitney Armstrong committed
966
          zstart="SiliconTrackerBarrelLength5/2+10*mm"
Whitney Armstrong's avatar
Whitney Armstrong committed
967
968
969
970
          length="9*SiliconTrackerEndMod5RingDz" />
        <ring 
          r="SiliconTrackerMinR5 + SiliconTrackerEndMod5DeltaR/2" 
          zstart="(7/2)*SiliconTrackerEndMod5RingDz"
971
972
          nmodules="11" dz="2.5 * mm" module="Module5" vis="SiTrackerEndcapVis1" />
        <ring 
Whitney Armstrong's avatar
Whitney Armstrong committed
973
974
          r="SiliconTrackerMinR5 + SiliconTrackerEndMod5DeltaR*3/2" 
          zstart="(5/2)*SiliconTrackerEndMod5RingDz"
975
976
          nmodules="20" dz="2.5 * mm" module="Module5" vis="SiTrackerEndcapVis2" />
        <ring 
Whitney Armstrong's avatar
Whitney Armstrong committed
977
978
          r="SiliconTrackerMinR5 + SiliconTrackerEndMod5DeltaR*5/2" 
          zstart="(3/2)*SiliconTrackerEndMod5RingDz"
979
980
          nmodules="36" dz="2.5 * mm" module="Module5" vis="SiTrackerEndcapVis1" />
        <ring 
Whitney Armstrong's avatar
Whitney Armstrong committed
981
982
          r="SiliconTrackerMinR5 + SiliconTrackerEndMod5DeltaR*7/2" 
          zstart="(1/2)*SiliconTrackerEndMod5RingDz"
983
984
          nmodules="44" dz="2.5 * mm" module="Module5" vis="SiTrackerEndcapVis2" />
        <ring 
Whitney Armstrong's avatar
Whitney Armstrong committed
985
986
          r="SiliconTrackerMinR5 + SiliconTrackerEndMod5DeltaR*9/2" 
          zstart="(-1/2)*SiliconTrackerEndMod5RingDz"
987
          nmodules="56" dz="2.5 * mm" module="Module5_2" alpha="0"  vis="SiTrackerEndcapVis1" />
988
        <ring 
Whitney Armstrong's avatar
Whitney Armstrong committed
989
990
          r="SiliconTrackerMinR5 + SiliconTrackerEndMod5DeltaR*11/2" 
          zstart="(-3/2)*SiliconTrackerEndMod5RingDz"
991
          nmodules="68" dz="2.5 * mm" module="Module5_2" alpha="0"  vis="SiTrackerEndcapVis2" />
992
        <ring 
Whitney Armstrong's avatar
Whitney Armstrong committed
993
994
          r="SiliconTrackerMinR5 + SiliconTrackerEndMod5DeltaR*13/2" 
          zstart="(-5/2)*SiliconTrackerEndMod5RingDz"
995
          nmodules="56" dz="2.5 * mm" module="Module5_2" alpha="0"  vis="SiTrackerEndcapVis1" />
996
        <ring 
Whitney Armstrong's avatar
Whitney Armstrong committed
997
998
          r="SiliconTrackerMinR5 + SiliconTrackerEndMod5DeltaR*15/2" 
          zstart="(-7/2)*SiliconTrackerEndMod5RingDz"
999
          nmodules="68" dz="2.5 * mm" module="Module5_2" alpha="0"  vis="SiTrackerEndcapVis1" />
1000
      </layer>
For faster browsing, not all history is shown. View entire blame