topside_defs.xml 19.5 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
  <define>
    <comment>Although not explicit in the design study, the eRHIC crossing angle is not symmetric.</comment>
    <constant name="CrossingAngle" value="0.025"/>
    <constant name="ionCrossingAngle" value="0.0166667"/>
    <constant name="electronCrossingAngle" value="0.00833333"/>
    <constant name="CrossingSlope" value="0.0166682"/>

    <constant name="Pi" value="3.14159265359"/>
    <constant name="world_side" value="30*m"/>
    <constant name="world_x" value="world_side"/>
    <constant name="world_y" value="world_side"/>
    <constant name="world_z" value="100*m"/>

Whitney Armstrong's avatar
Whitney Armstrong committed
14
    <constant name="mil" value="0.0254*mm"/>
15

Whitney Armstrong's avatar
Whitney Armstrong committed
16
    <comment>
Whitney Armstrong's avatar
cleanup    
Whitney Armstrong committed
17
      ------------
Whitney Armstrong's avatar
Whitney Armstrong committed
18
      Detector IDs
Whitney Armstrong's avatar
cleanup    
Whitney Armstrong committed
19
      ------------
20
21
22
23
24

      Note about ACTS tracking geometry construction
      ----------------------------------------------

      The tracking surfaces need to be structured in a barrel + endcapP + endcapN where 
Whitney Armstrong's avatar
cleanup    
Whitney Armstrong committed
25
26
      endcapP/endcapN are the endcaps at positive/negative z values. 
      See https://acts.readthedocs.io/en/latest/plugins/dd4hep.html for more details.
27
28
29
30
31
32
33
34

      The tracking geometry needs to beconstructed from cylinders from the inside out. For this reason
      each layer needs its own subsystem assembly. This increases the number of top level system IDs. 
      For example the silicon tracker needs 3 IDs for each area (endcap+barrel+endcap) and a subassembly for each
      layer. Therefore it needs a minimum of 20 IDs. Therefore we will allocate blocks of ~25 for each major subsystem.
      Note, future improvements will likely include a more sophisticated ACTS-dd4hep plugin, 
      eliminating the need for so many system IDs at construction time.

Whitney Armstrong's avatar
cleanup    
Whitney Armstrong committed
35
      This barrel/endcap structure needs IDs to be in increasing order going outward. 
36
      The space of IDs for the subassemblies starts at (Subassembly_ID*10+101).
Whitney Armstrong's avatar
cleanup    
Whitney Armstrong committed
37
38

      The unused IDs below are saved for future use.
Whitney Armstrong's avatar
Whitney Armstrong committed
39
40
41
    </comment>


42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
    <comment> 
      ===================
      (1-9) Reserved IDs
      ===================
      Unused IDs: 1-9 

      ====================================
      (10-24) Interaction region beamline 
      ====================================

      Beampipe ID : 10
      Unused   IDs: 11-24

    </comment> 
    <constant name="BeamPipe_ID" value="10"/>


    <comment> 
      ===============================
      (25-49) Silicon Vertex Tracker
      ===============================
      SiVertex subsystem  ID: 25 
      Layer 1 subassembly ID: 26
      Layer 2 subassembly ID: 27
      Layer 3 subassembly ID: 28
      Layer 4 subassembly ID: 29
      Layer 5 subassembly ID: 30
    </comment>
    <constant name="SiVertexSubAssembly_ID" value="25"/>
    <comment>
      Unused values reserved for vertex:
      constant name="SiVertexSubAssemblyLayer1_ID" value="121"
      constant name="SiVertexSubAssemblyLayer2_ID" value="122"
      constant name="SiVertexSubAssemblyLayer3_ID" value="123"
      constant name="SiVertexSubAssemblyLayer4_ID" value="124"
      constant name="SiVertexSubAssemblyLayer5_ID" value="125"
    </comment>

    <comment>
      ===============================
      (50-74) Silicon Tracker System
      ===============================

      SiTracker subsystem  ID: 50
      Layer 1 subassembly  ID: 51      
      Layer 2 subassembly  ID: 52      
      Layer 3 subassembly  ID: 53
      Layer 4 subassembly  ID: 54
      Layer 5 subassembly  ID: 55

      (56-70) etc...

      Unused IDs: 71-74

    </comment>

    <constant name="SiTrackerSubAssembly_ID" value="50"/>
    <constant name="SiTrackerSubAssemblyLayer1_ID" value="51"/>
    <constant name="SiTrackerSubAssemblyLayer2_ID" value="52"/>
    <constant name="SiTrackerSubAssemblyLayer3_ID" value="53"/>
    <constant name="SiTrackerSubAssemblyLayer4_ID" value="54"/>
    <constant name="SiTrackerSubAssemblyLayer5_ID" value="55"/>

    <constant name="SiTrackerBarrel_Layer1_ID"      value="56"/>
    <constant name="SiTrackerEndcapP_Layer1_ID"     value="57"/>
    <constant name="SiTrackerEndcapN_Layer1_ID"     value="58"/>

    <constant name="SiTrackerBarrel_Layer2_ID"      value="59"/>
    <constant name="SiTrackerEndcapP_Layer2_ID"     value="60"/>
    <constant name="SiTrackerEndcapN_Layer2_ID"     value="61"/>

    <constant name="SiTrackerBarrel_Layer3_ID"      value="62"/>
    <constant name="SiTrackerEndcapP_Layer3_ID"     value="63"/>
    <constant name="SiTrackerEndcapN_Layer3_ID"     value="64"/>

    <constant name="SiTrackerBarrel_Layer4_ID"      value="65"/>
    <constant name="SiTrackerEndcapP_Layer4_ID"     value="66"/>
    <constant name="SiTrackerEndcapN_Layer4_ID"     value="67"/>

    <constant name="SiTrackerBarrel_Layer5_ID"      value="68"/>
    <constant name="SiTrackerEndcapP_Layer5_ID"     value="69"/>
    <constant name="SiTrackerEndcapN_Layer5_ID"     value="70"/>

    <comment> 
    ===================
    (75-99 Reserved IDs
    ===================

    Unused IDs: 75-99 
    TBD 
    </comment>

    <comment> 
      =====================================
      (100-109) Electromagnetic Calorimeter
      =====================================

      ECal     subsystem  ID:  100
      Barrel   subassembly ID: 101
      EndcapP  subassembly ID: 102
      EndcapN  subassembly ID: 103
      Crystal  subassembly ID: 104

      Unused IDs: 105-109

Whitney Armstrong's avatar
cleanup    
Whitney Armstrong committed
147
    </comment>
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
    <constant name="ECalSubAssembly_ID" value="100"/>
    <constant name="ECalBarrel_ID"      value="101"/>
    <constant name="ECalEndcapP_ID"     value="102"/>
    <constant name="ECalEndcapN_ID"     value="103"/>
    <constant name="CrystalEndcap_ID"   value="104"/>

    <comment> 
      =====================================
      (110-119Hadronic Calorimeter
      =====================================

      HCal     subsystem  ID:  110
      Barrel   subassembly ID: 111
      EndcapP  subassembly ID: 112
      EndcapN  subassembly ID: 113

      Unused IDs: 114-119
    </comment>
    <constant name="HCalSubAssembly_ID" value="110"/>
    <constant name="HCalBarrel_ID"      value="111"/>
    <constant name="HCalEndcapP_ID"     value="112"/>
    <constant name="HCalEndcapN_ID"     value="113"/>

    <comment> 
      =====================================
      (120-129) (near) Forward reserved
      =====================================

      Forwardtracking ID: 120
      Forward RICH    ID: 121

      Unused IDs: 122-129
Whitney Armstrong's avatar
cleanup    
Whitney Armstrong committed
180
    </comment>
181
182
183
184
185
186
187
188
189
190
    <constant name="ForwardTracking_ID" value="120"/>
    <constant name="ForwardRICH_ID"     value="121"/>

    <comment> 
      =====================================
      (130-139) Backward reserved
      =====================================

      TBD

Whitney Armstrong's avatar
cleanup    
Whitney Armstrong committed
191
    </comment>
192
193
194
195
196
197
198
199
200
201
202
203

    <comment> 
      =====================================
      (140-149) Central Magnet
      =====================================

      Solenoid         ID: 140
      Solenoid support ID: 141
      Solenoid Yoke    ID: 142

      Unused IDs: 143-149

Whitney Armstrong's avatar
cleanup    
Whitney Armstrong committed
204
    </comment>
205
206
207
    <constant name="Solenoid_ID"             value="140"/>
    <constant name="SolenoidSupport_ID"      value="141"/>
    <constant name="SolenoidYoke_ID"         value="142"/>
Whitney Armstrong's avatar
Whitney Armstrong committed
208

209
210
211
212
    <comment> 
      =====================================
      (150-169) Far Forward  Detectors
      =====================================
Whitney Armstrong's avatar
Whitney Armstrong committed
213

214
215
      Forward Roman Pot ID: 150
      Zero Degree Cal.  ID: 160
Whitney Armstrong's avatar
Whitney Armstrong committed
216

217
218
219
    </comment>
    <constant name="ForwardRomanPot_ID" value="150"/>
    <constant name="ZDC_ID"             value="160"/>
Whitney Armstrong's avatar
Whitney Armstrong committed
220

221
222
223
224
225
    <comment> 
      =====================================
      (170-189) Forward Beamline Magnets
      =====================================
    </comment>
Whitney Armstrong's avatar
Whitney Armstrong committed
226

227
228
229
230
231
    <comment> 
      =====================================
      (190-199) Backward Beamline Magnets
      =====================================
    </comment>
Whitney Armstrong's avatar
cleanup    
Whitney Armstrong committed
232

233

234

Whitney Armstrong's avatar
Whitney Armstrong committed
235
236
237
    <comment> 
      For reference, here are the sPhenix solenoid and calorimeter Parameters.
    </comment>
238
239
240
241
242
243
244
245
246
247
    <constant name="sPhenixCoilInnerRadius" value="1420.0*mm"/>
    <constant name="sPhenixCoilOuterRadius" value="1800.0*mm"/><!-- guestimate -->
    <constant name="sPhenixCoilLength" value="4050.0*mm"/> <!-- guestimate -->
    <constant name="sPhenixEMCalInnerRadius" value="890.00*mm"/>
    <constant name="sPhenixEMCalOuterRadius" value="1155.8*mm"/>
    <constant name="sPhenixEMCalLength"      value="1727.2*2*mm"/>
    <constant name="sPhenixInnerHCalInnerRadius" value="sPhenixEMCalOuterRadius - 1.0*cm"/> <!-- guestimate -->
    <constant name="sPhenixInnerHCalOuterRadius" value="1370.0*mm"/>
    <constant name="sPhenixInnerHCalLength" value="2175*2*mm"/>

Whitney Armstrong's avatar
Whitney Armstrong committed
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
284
285
286
287
    <comment>
      --------------------------
      Solenoid Magnet Parameters
      --------------------------
    </comment>
    <constant name="Solenoid_rmin"           value="1420.0*mm"/>
    <constant name="Solenoid_rmax"           value="1800.0*mm"/>
    <constant name="SolenoidLength"          value="4050.0*mm"/>

    <constant name="SolenoidBarrelCryostatThickness"      value=" 1.0 * cm"/>
    <constant name="SolenoidBarrelGapThickness"           value=" 3.3 * cm"/>
    <constant name="SolenoidBarrelAlConductorThickness"   value="12.0 * cm"/>
    <constant name="SolenoidBarrelQuenchbackThickness"    value=" 1.5 * cm"/>
    <constant name="SolenoidBarrelOuterGapThickness"      value=" 5.6 * cm"/>
    <constant name="SolenoidBarrelOuterCryostatThickness" value=" 1.2 * cm"/>

    <constant name="SolenoidEndPlateGapThickness"           value=" 5.7 * cm"/>
    <constant name="SolenoidEndPlateCryostatThickness"      value=" 1.5 * cm"/>

    <constant name="SolenoidBarrel_rmin"     value="Solenoid_rmin"/>
    <constant name="SolenoidBarrelLenth"     value="SolenoidLength"/>
    <constant name="SolenoidBarrel_zmax"     value="SolenoidBarrelLenth/2.0"/>

    <constant name="SolenoidCoilConductor_rmin" 
              value="SolenoidBarrel_rmin + SolenoidBarrelCryostatThickness + SolenoidBarrelGapThickness"/>
    <constant name="SolenoidCoilConductor_rmax" 
              value="SolenoidCoilConductor_rmin + SolenoidBarrelAlConductorThickness + SolenoidBarrelQuenchbackThickness"/>
    <constant name="SolenoidBarrel_rmax" 
              value="SolenoidCoilConductor_rmax + SolenoidBarrelOuterGapThickness + SolenoidBarrelOuterCryostatThickness"/>

    <constant name="SolenoidCoil_zmax" 
              value="SolenoidBarrel_zmax - SolenoidEndPlateCryostatThickness - SolenoidEndPlateGapThickness"/>

    <constant name="SolenoidalFieldRadius" 
              value="SolenoidCoilConductor_rmin + SolenoidBarrelAlConductorThickness / 2.0"/>

    <constant name="SolenoidCoilLength" value="SolenoidCoil_zmax*2.0"/>

    <constant name="SolenoidThickness"           value="Solenoid_rmax - Solenoid_rmin"/>

288
289
    <constant name="SolenoidYokeEndcapP_rmin"     value="800*mm"/>
    <constant name="SolenoidYokeEndcapN_rmin"     value="800*mm"/>
Whitney Armstrong's avatar
Whitney Armstrong committed
290
291
292
293
294
295
    <constant name="SolenoidYokeEndcapThickness"  value="0.2 * m"/>
    <constant name="SolenoidYokeEndcap_zmin"      value="SolenoidBarrel_zmax"/>
    <constant name="SolenoidYokeEndcap_zmax"      value="SolenoidYokeEndcap_zmin + SolenoidYokeEndcapThickness"/>

    <constant name="SolenoidYokeChamferAngle"    value="0.2"/>

296
    <comment>
Whitney Armstrong's avatar
cleanup    
Whitney Armstrong committed
297
298
299
      -------------------------
      Vertex Tracker Parameters
      -------------------------
300
    </comment>
301
302
303
    <constant name="VertexTrackerInnerRadius"       value="30.0*mm"/>
    <constant name="VertexTrackerOuterRadius"       value="90.0*mm"/>
    <constant name="VertexTrackerOuterBarrelLength" value="300.0*mm"/>
Whitney Armstrong's avatar
Whitney Armstrong committed
304
305
    <constant name="tracker_region_rmax"            value="Solenoid_rmax"/>
    <constant name="tracker_region_zmax"            value="SolenoidLength/2.0"/>
306

307
    <comment>
Whitney Armstrong's avatar
cleanup    
Whitney Armstrong committed
308
309
310
      --------------------------
      Silicon Tracker Parameters
      --------------------------
311
    </comment>
312
313
    <constant name="SiliconTrackerInnerRadius"       value="95.0*mm"/>
    <constant name="SiliconTrackerInnerBarrelLength" value="400.0*mm"/>
314
    <constant name="SiliconTrackerOuterRadius"       value="860.0*mm"/>
315
316
    <constant name="SiliconTrackerOuterBarrelLength" value="SiliconTrackerOuterRadius*2"/>

Jihee Kim's avatar
Jihee Kim committed
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
    <comment>
      ------------
      Calorimeters
      ------------
    </comment>
    <constant name="EcalBarrel_rmin"                       value="SiliconTrackerOuterRadius + 3.0 * cm"/>
    <constant name="HcalBarrel_rmax"                       value="Solenoid_rmin - 10.0 * mm "/>
    <constant name="AvailTotalBarrelCalorimetryThickness"  value="HcalBarrel_rmax - EcalBarrel_rmin"/>
    <constant name="CalBarrelDivider"                      value="0.5"/> <!-- Ecal and Hcal have the same thickness -->
    <constant name="EcalBarrelAvailTotalThickness"         value="AvailTotalBarrelCalorimetryThickness * CalBarrelDivider"/>
    <constant name="HcalBarrelAvailTotalThickness"         value="AvailTotalBarrelCalorimetryThickness * (1.0 - CalBarrelDivider)"/>

    <constant name="EcalBarrelLength"                      value="SiliconTrackerOuterBarrelLength+50.0*cm"/>
    <constant name="EcalEndcap_zmin"                       value="EcalBarrelLength/2.0"/>

    <constant name="AvailTotalEndcapCalorimetryThickness"  value="(SolenoidYokeEndcap_zmin - 10.0 * mm) - (EcalEndcap_zmin + 10.0 * mm)"/>
    <constant name="CalEndcapDivider"                      value="0.5"/> <!-- Ecal and Hcal have the same thickness -->
    <constant name="EcalEndcapAvailTotalThickness"         value="AvailTotalEndcapCalorimetryThickness * CalEndcapDivider"/>
    <constant name="HcalEndcapAvailTotalThickness"         value="AvailTotalEndcapCalorimetryThickness * (1.0 - CalEndcapDivider)"/>

    <constant name="EcalEndcapP_rmin"                      value="250.0*mm"/>
    <constant name="EcalEndcapN_rmin"                      value="350.0*mm"/>

    <constant name="HcalEndcapP_rmin"                      value="250.0 * mm"/>
    <constant name="HcalEndcapN_rmin"                      value="350.0 * mm"/>

Whitney Armstrong's avatar
cleanup    
Whitney Armstrong committed
343
344
345
346
347
    <comment>
      -------------------------
      EM Calorimeter Parameters
      -------------------------
    </comment>
348
    <constant name="CaloSides"                  value="12"/>
Jihee Kim's avatar
Jihee Kim committed
349
350
351
	    
    <!-- Material Thickness --> 
    <constant name="EcalSiliconThickness"       value="9.00 * mm"/>
352
    <constant name="EcalCopperThickness"        value="0.05 * mm"/>
Jihee Kim's avatar
Jihee Kim committed
353
    <constant name="EcalKaptonThickness"        value="0.30 * mm"/>
354
355
    <constant name="EcalAir1Thickness"          value="0.33 * mm"/>
    <constant name="EcalAir2Thickness"          value="0.25 * mm"/>
Jihee Kim's avatar
Jihee Kim committed
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
    <constant name="EcalThinTungstenThickness"  value="2.50 * mm"/>
    <constant name="EcalThickTungstenThickness" value="5.00 * mm"/>
	    
    <!-- Layer Thickness  -->
    <constant name="EcalFirstLayerThickness"
	    value="EcalSiliconThickness + EcalCopperThickness + EcalKaptonThickness + EcalAir1Thickness"/>
    <constant name="EcalThinOneLayerThickness"   
	    value="EcalThinTungstenThickness + EcalAir2Thickness + EcalSiliconThickness + EcalCopperThickness + EcalKaptonThickness + EcalAir1Thickness"/>
    <constant name="EcalThickOneLayerThickness"   
	    value="EcalThickTungstenThickness + EcalAir2Thickness + EcalSiliconThickness + EcalCopperThickness + EcalKaptonThickness + EcalAir1Thickness"/>
	    
    <!-- EM Barrel N Layer; same number of layers for EcalThin and EcalThick -->
    <constant name="EcalBarrelLayers" 
	    value="floor((EcalBarrelAvailTotalThickness - EcalFirstLayerThickness) / (EcalThinOneLayerThickness + EcalThickOneLayerThickness))"/>
    <constant name="EcalBarrelThinLayers"       value="EcalBarrelLayers"/>
    <constant name="EcalBarrelThickLayers"      value="EcalBarrelLayers"/>
    <!-- EM Barrel Thickness -->
Jihee Kim's avatar
Jihee Kim committed
373
    <constant name="EcalBarrelThickness"
Jihee Kim's avatar
Jihee Kim committed
374
	    value="EcalFirstLayerThickness + (EcalBarrelThinLayers * EcalThinOneLayerThickness) + (EcalBarrelThickLayers * EcalThickOneLayerThickness)"/>
Jihee Kim's avatar
Jihee Kim committed
375
376
    <constant name="EcalBarrel_rmax"            value="EcalBarrel_rmin + EcalBarrelThickness"/>

Jihee Kim's avatar
Jihee Kim committed
377
378
379
380
381
382
383
384
    <!-- EM Endcap N Layer; same number of layers for EcalThin and EcalThick -->
    <constant name="EcalEndcapLayers" 
	    value="floor((EcalEndcapAvailTotalThickness - EcalFirstLayerThickness) / (EcalThinOneLayerThickness + EcalThickOneLayerThickness))"/>
    <constant name="EcalEndcapThinLayers"       value="EcalEndcapLayers"/>
    <constant name="EcalEndcapThickLayers"      value="EcalEndcapLayers"/>
    <!-- EM Endcap Thickness -->
    <constant name="EcalEndcapThickness"        
	    value="EcalFirstLayerThickness + (EcalEndcapThinLayers * EcalThinOneLayerThickness) + (EcalEndcapThickLayers * EcalThickOneLayerThickness)"/>
Jihee Kim's avatar
Jihee Kim committed
385

Whitney Armstrong's avatar
cleanup    
Whitney Armstrong committed
386
387
388
389
390
    <comment>
      -------------------------------
      Hadronic Calorimeter Parameters
      -------------------------------
    </comment>
Jihee Kim's avatar
Jihee Kim committed
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
    <constant name="HcalBarrel_rmin"          value="EcalBarrel_rmax+10.0*mm"/>
    <constant name="HcalBarrelAvailThickness" value="HcalBarrel_rmax - HcalBarrel_rmin"/>
    <constant name="HcalBarrelLength"         value="EcalBarrelLength+2.0*EcalEndcapThickness + 10.0*mm "/>
    <constant name="HcalEndcap_zmin"          value="HcalBarrelLength/2.0"/>
    <constant name="HcalEndcapAvailThickness" value="(SolenoidYokeEndcap_zmin - 10.0 * mm) - HcalEndcap_zmin"/>

    <!-- Material Thickness -->
    <constant name="HcalSteelThickness"       value="1.89 * cm"/>
    <constant name="HcalPyrexThickness"       value="1.10 * mm"/>
    <constant name="HcalRPCGasThickness"      value="1.20 * mm"/>
    <constant name="HcalG10Thickness"         value="3.00 * mm"/>
    <constant name="HcalAirThickness"         value="1.60 * mm"/>

    <!-- Layer Thickness -->
    <constant name="HcalOneLayerThickness"
	    value="HcalSteelThickness + (2 * HcalPyrexThickness) + HcalRPCGasThickness + HcalG10Thickness + HcalAirThickness"/>
	    
    <!-- H Barrel Layers and Thickness -->
    <constant name="HcalBarrelLayers" value="floor(HcalBarrelAvailThickness / HcalOneLayerThickness)"/>
    <constant name="HcalBarrelThickness" value="HcalBarrelLayers * HcalOneLayerThickness"/>

    <!-- H Endcap Layers and Thickness -->
    <constant name="HcalEndcapLayers" value="floor(HcalEndcapAvailThickness / HcalOneLayerThickness)"/>
    <constant name="HcalEndcapThickness" value="HcalEndcapLayers * HcalOneLayerThickness"/>
415

Whitney Armstrong's avatar
cleanup    
Whitney Armstrong committed
416
417
418
419
420
    <comment>
      -----------------------
      Gaseous RICH Parameters
      -----------------------
    </comment>
Whitney Armstrong's avatar
Whitney Armstrong committed
421
    <constant name="RICHZMin" value="SolenoidYokeEndcap_zmin + 1 * cm"/>
Whitney Armstrong's avatar
Whitney Armstrong committed
422
    <constant name="RICHRMin" value="15 * cm"/>
423
424
    <constant name="RICHDepth" value="1 * m"/>

Whitney Armstrong's avatar
cleanup    
Whitney Armstrong committed
425
426
427
428
429
430

    <comment>
      --------------------------
      Forward Tracker Parameters
      --------------------------
    </comment>
431
432
433
434
    <constant name="TempForwardTrackerSpace" value="1.5 * m"/>
    <constant name="ForwardEcalZMin" value="RICHZMin + RICHDepth + TempForwardTrackerSpace"/>
    <constant name="ForwardCaloAngle" value="2 * SolenoidYokeChamferAngle"/>
    <constant name="ForwardEcalRInner" value="10 * cm"/>
Whitney Armstrong's avatar
Whitney Armstrong committed
435
436
    <constant name="ForwardEcalROuter" value="EcalBarrel_rmin + tan(SolenoidYokeChamferAngle) * (RICHDepth) + tan(ForwardCaloAngle) * (ForwardEcalZMin - RICHZMin - RICHDepth)"/>
    <constant name="ForwardHcalZMin" value="RICHZMin + RICHDepth + TempForwardTrackerSpace + EcalEndcapThickness + 1 * mm"/>
437
438
439
    <constant name="ForwardHcalAngle" value="ForwardCaloAngle"/>
    <constant name="ForwardHcalRInner" value="10 * cm"/>
    <constant name="ForwardHcalROuter" value="ForwardEcalROuter + tan(ForwardCaloAngle) * (ForwardHcalZMin - ForwardEcalZMin)"/>
Whitney Armstrong's avatar
cleanup    
Whitney Armstrong committed
440
441
442
443
444
445
446
447
448
449
450
451
452

    <comment>
      --------------------------
      Forward ECal Parameters
      --------------------------
    </comment>

    <comment>
      --------------------------
      Forward HCal Parameters
      --------------------------
    </comment>

453
454
455
456
457
458
    <comment>
      For DDsim. See ddsim --help for details.
    </comment>
    <constant name="tracker_region_zmax" value="SiliconTrackerOuterBarrelLength/2.0"/>
    <constant name="tracker_region_rmax" value="SiliconTrackerOuterRadius"/>

Whitney Armstrong's avatar
cleanup    
Whitney Armstrong committed
459
460


461
462
  </define>