ecal.xml 8.68 KB
Newer Older
Whitney Armstrong's avatar
Whitney Armstrong committed
1
2
3
<lccdd>

  <define>
4
    <constant name="CrystalEndcap_rmin"  value="VertexTrackerInnerRadius"/>
5
    <constant name="CrystalEndcap_rmax"  value="EcalEndcapN_rmin"/>
Whitney Armstrong's avatar
Whitney Armstrong committed
6
7
8
    <constant name="CrystalBox_x_length" value="20.0*mm"/>
    <constant name="CrystalBox_y_length" value="20.0*mm"/>
    <constant name="CrystalBox_z_length" value="200.0*mm"/>
9
    <constant name="CrystalBox_offset"   value="0.000001*mm"/>
Whitney Armstrong's avatar
Whitney Armstrong committed
10
11
    <constant name="CrystalEndcap_x_pos" value="0.0*m"/>
    <constant name="CrystalEndcap_y_pos" value="0.0*m"/>
12
    <constant name="CrystalEndcap_z_pos" value="-EcalEndcap_zmin"/>
Whitney Armstrong's avatar
Whitney Armstrong committed
13
14
15
16
17
18
19
20
21
22
23
24
25
26
  </define>

  <limits>
  </limits>

  <regions>
  </regions>

  <!-- Common Generic visualization attributes -->
  <comment>Common Generic visualization attributes</comment>
  <display>
  </display>

  <detectors>
Whitney Armstrong's avatar
Whitney Armstrong committed
27

28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
    <comment>
    -------------------
    Dummy Plane Tracker
    -------------------
    Plane tracker that gives momentum of incident particles before crystal endcap calorimeter (backward)
    </comment>
    <!--
    <detector 
      id = "100" 
      name = "DummyPlaneTracker" 
      type = "PlaneTracker" 
      readout ="PlaneTrackerHits" 
      vis = "GreenVis">
      <dimensions x = "700.0*mm" y = "700.0*mm" z= "1.0*mm" rmin= "VertexTrackerInnerRadius+5.0*mm" rmax="EcalEndcapN_rmin+10.0*mm"/>
      <position x ="0.0*m" y ="0.0*m" z="CrystalEndcap_z_pos/2.0 + 10.0*mm"/>
    </detector>
    -->

Whitney Armstrong's avatar
Whitney Armstrong committed
46
47
48
49
50
51
52
53
54
    <comment>
      -------------------
      Crystal Calorimeter
      -------------------
      Backward (negative pseudorapidity) angle electron detector
    </comment>
    <detector 
      id="CrystalEndcap_ID" 
      name="ElectronECAL" 
55
      type="CrystalCalorimeterEndcap" 
Whitney Armstrong's avatar
Whitney Armstrong committed
56
      readout="CrystalEcalHits" 
Whitney Armstrong's avatar
Whitney Armstrong committed
57
58
      vis="GreenVis">
      <position x="CrystalEndcap_x_pos" y="CrystalEndcap_y_pos" z="CrystalEndcap_z_pos" />
59
      <dimensions rmin="CrystalEndcap_rmin" rmax="CrystalEndcap_rmax" x="CrystalBox_x_length" y="CrystalBox_y_length" z="CrystalBox_z_length" delta="CrystalBox_offset"/>
Whitney Armstrong's avatar
Whitney Armstrong committed
60
61
    </detector>

Whitney Armstrong's avatar
Whitney Armstrong committed
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
    <comment>
      ---------------------
      Barrel EM Calorimeter
      ---------------------
      A layered EM calorimeter with tungsten and silicon (or scintillator) strips
    </comment>
    <detector 
      id="ECalBarrel_ID"
      name="EcalBarrel"
      type="DD4hep_EcalBarrel"
      readout="EcalBarrelHits"
      calorimeterType="EM_BARREL">
      <dimensions 
        numsides="CaloSides" 
        rmin="EcalBarrel_rmin" 
        z="EcalBarrelLength"/>
      <staves vis="EcalBarrelVis"/>
      <layer repeat="1">
        <slice material="Silicon" thickness="EcalSiliconThickness" sensitive="yes" limits="cal_limits"/>
81
82
        <slice material="Copper" thickness="EcalCopperThickness"/>
        <slice material="Kapton" thickness="EcalKaptonThickness"/>
Whitney Armstrong's avatar
Whitney Armstrong committed
83
84
85
86
87
88
        <slice material="Air" thickness="EcalAir1Thickness"/>
      </layer>
      <layer repeat="EcalThinLayers">
        <slice material="TungstenDens24" thickness="EcalThinTungstenThickness" sensitive="yes" limits="cal_limits"/>
        <slice material="Air" thickness="EcalAir2Thickness"/>
        <slice material="Silicon" thickness="EcalSiliconThickness" sensitive="yes" limits="cal_limits"/>
89
90
        <slice material="Copper" thickness="EcalCopperThickness"/>
        <slice material="Kapton" thickness="EcalKaptonThickness"/>
Whitney Armstrong's avatar
Whitney Armstrong committed
91
92
93
94
95
96
        <slice material="Air" thickness="EcalAir1Thickness"/>
      </layer>
      <layer repeat="EcalThickLayers">
        <slice material="TungstenDens24" thickness="EcalThickTungstenThickness"  sensitive="yes" limits="cal_limits"/>
        <slice material="Air" thickness="EcalAir2Thickness"/>
        <slice material="Silicon" thickness="EcalSiliconThickness" sensitive="yes" limits="cal_limits"/>
97
98
        <slice material="Copper" thickness="EcalCopperThickness"/>
        <slice material="Kapton" thickness="EcalKaptonThickness"/>
Whitney Armstrong's avatar
Whitney Armstrong committed
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
        <slice material="Air" thickness="EcalAir1Thickness"/>
      </layer>
    </detector>

    <comment>
      -----------------------------
      Forward Endcap EM Calorimeter
      -----------------------------
      A layered EM calorimeter with tungsten and silicon (or scintillator) strips
    </comment>
    <detector id="ECalEndcapP_ID" 
      name="EcalEndcapP" 
      type="DD4hep_PolyhedraEndcapCalorimeter2" 
      reflect="false" 
      readout="EcalEndcapHits" 
      vis="EcalEndcapVis" 
      calorimeterType="EM_ENDCAP" >
      <dimensions 
        numsides="CaloSides" 
        zmin="EcalEndcap_zmin" 
        rmin="EcalEndcapP_rmin" 
        rmax="EcalBarrel_rmax " />
Whitney Armstrong's avatar
Whitney Armstrong committed
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
      <layer repeat="1">
        <slice material="Silicon" thickness="EcalSiliconThickness" sensitive="yes" limits="cal_limits"/>
        <slice material="Copper" thickness="EcalCopperThickness"/>
        <slice material="Kapton" thickness="EcalKaptonThickness"/>
        <slice material="Air" thickness="EcalAir1Thickness"/>
      </layer>
      <layer repeat="EcalThinLayers">
        <slice material="TungstenDens24" thickness="EcalThinTungstenThickness"/>
        <slice material="Air" thickness="EcalAir2Thickness"/>
        <slice material="Silicon" thickness="EcalSiliconThickness" sensitive="yes" limits="cal_limits"/>
        <slice material="Copper" thickness="EcalCopperThickness"/>
        <slice material="Kapton" thickness="EcalKaptonThickness"/>
        <slice material="Air" thickness="EcalAir1Thickness"/>
      </layer>
      <layer repeat="EcalThickLayers">
        <slice material="TungstenDens24" thickness="EcalThickTungstenThickness"/>
        <slice material="Air" thickness="EcalAir2Thickness"/>
        <slice material="Silicon" thickness="EcalSiliconThickness" sensitive="yes" limits="cal_limits"/>
        <slice material="Copper" thickness="EcalCopperThickness"/>
        <slice material="Kapton" thickness="EcalKaptonThickness"/>
        <slice material="Air" thickness="EcalAir1Thickness"/>
      </layer>
    </detector>

Whitney Armstrong's avatar
Whitney Armstrong committed
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164

    <comment>
      -------------------------------
      Backwards Endcap EM Calorimeter
      -------------------------------
      A layered EM calorimeter with tungsten and silicon (or scintillator) strips
    </comment>
    <detector id="ECalEndcapN_ID" 
      name="EcalEndcapN" 
      type="topside_PolyhedraEndcapCalorimeter2" 
      reflect="true" 
      readout="EcalEndcapHits" 
      vis="EcalEndcapVis" 
      calorimeterType="EM_ENDCAP">
      <dimensions 
        numsides="CaloSides" 
        zmin="EcalEndcap_zmin" 
        rmin="EcalEndcapN_rmin" 
        rmax="EcalBarrel_rmax " />
      <layer repeat="1">
Whitney Armstrong's avatar
Whitney Armstrong committed
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
        <slice material="Silicon" thickness="EcalSiliconThickness" sensitive="yes" limits="cal_limits"/>
        <slice material="Copper" thickness="EcalCopperThickness"/>
        <slice material="Kapton" thickness="EcalKaptonThickness"/>
        <slice material="Air" thickness="EcalAir1Thickness"/>
      </layer>
      <layer repeat="EcalThinLayers">
        <slice material="TungstenDens24" thickness="EcalThinTungstenThickness"/>
        <slice material="Air" thickness="EcalAir2Thickness"/>
        <slice material="Silicon" thickness="EcalSiliconThickness" sensitive="yes" limits="cal_limits"/>
        <slice material="Copper" thickness="EcalCopperThickness"/>
        <slice material="Kapton" thickness="EcalKaptonThickness"/>
        <slice material="Air" thickness="EcalAir1Thickness"/>
      </layer>
      <layer repeat="EcalThickLayers">
        <slice material="TungstenDens24" thickness="EcalThickTungstenThickness"/>
        <slice material="Air" thickness="EcalAir2Thickness"/>
        <slice material="Silicon" thickness="EcalSiliconThickness" sensitive="yes" limits="cal_limits"/>
        <slice material="Copper" thickness="EcalCopperThickness"/>
        <slice material="Kapton" thickness="EcalKaptonThickness"/>
        <slice material="Air" thickness="EcalAir1Thickness"/>
      </layer>
    </detector>
  </detectors>

  <!--  Definition of the readout segmentation/definition  -->
  <readouts>
191
192
193
194
195
196
    <!--  
    <readout name="PlaneTrackerHits">
      <segmentation type="CartesianGridXY" grid_size_x="20.0*mm" grid_size_y="20.0*mm" />
      <id>system:5,module:4,x:32:-16,y:-16</id>
    </readout>
    -->
Whitney Armstrong's avatar
Whitney Armstrong committed
197
    <readout name="CrystalEcalHits">
Whitney Armstrong's avatar
Whitney Armstrong committed
198
199
      <segmentation type="CartesianGridXY" grid_size_x="CrystalBox_x_length" grid_size_y="CrystalBox_y_length" />
      <id>system:8,sector:4,module:20,x:48:-8,y:-8</id>
Whitney Armstrong's avatar
Whitney Armstrong committed
200
201
202
    </readout>
    <readout name="EcalBarrelHits">
      <segmentation type="CartesianGridXY" grid_size_x="3.5 * mm" grid_size_y="3.5 * mm"/>
203
      <id>system:8,barrel:3,module:4,layer:6,slice:5,x:32:-16,y:-16</id>
Whitney Armstrong's avatar
Whitney Armstrong committed
204
205
206
    </readout>
    <readout name="EcalEndcapHits">
      <segmentation type="CartesianGridXY" grid_size_x="3.5 * mm" grid_size_y="3.5 * mm"/>
207
      <id>system:8,barrel:3,module:4,layer:6,slice:5,x:32:-16,y:-16</id>
Whitney Armstrong's avatar
Whitney Armstrong committed
208
209
210
    </readout>
  </readouts>

Whitney Armstrong's avatar
Whitney Armstrong committed
211
212
  <plugins>
  </plugins>
Whitney Armstrong's avatar
Whitney Armstrong committed
213
214
215
216

<fields>
</fields>
</lccdd>