1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
|
<?xml version="1.0"?>
<DDDefinition xmlns="http://www.cern.ch/cms/DDL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.cern.ch/cms/DDL ../../../DetectorDescription/Schema/DDLSchema.xsd">
<!--
== CMS Forward Pixels Geometry ==
@version 3.02.01 May 30, 2006
@created Dmitry Onoprienko
@modified Xingtao Huang to implement the simplified fpix service cylinder
== Subsystem or component described by the file ==
Forward pixels endcap (contains two disks inside a service cylinder).
== Root volume and its reference frame ==
Two root volumes are defined:
PixelForwardZPlus : +Z half of the detector
PixelForwardZMinus : -Z half of the detector
X horizontal
Y vertical
Z along the beam line, pointing away from IP
== Positioning ==
Anchor point of this component is at the IP-side edge of the service cylider, on
the axis of the detector (see annotated drawings).
The file defines [AnchorZ] constant that corresponds to the Z coordinate
of the anchor point in the forward pixels endcap reference frame, and the
[ZPixelForward] constant equal to the distance from CMS IP to the
anchor point.
Therefore, in the CMS global reference frame,
PixelForwardZPlus has to be positioned at
(0., 0., 0.) with no rotation, and
PixelForwardZMinus has to be positioned at
(0., 0., 0.)
with pixfwdCommon:Y180 rotation (180 degrees around Y axis).
-->
<!-- Root volumes -->
<ConstantsSection label="Root" eval="true">
<Constant name="RootRadius" value="[pixfwdCylinder:CylindersOuterRmax]"/>
<Constant name="RootHalfLength" value="[pixfwdCylinder:CylindersOuterLength]/2.+ [pixfwdCylinder:CylindersEndFlangeLength]/2."/>
<Constant name="AnchorZ" value="0.*mm"/>
<Constant name="ZPixelForward" value="325.*mm"/>
<Constant name="RootStartZ" value="-2*mm"/>
<Constant name="RootMidZ3" value="[cms:TrackBeamZ1]-[ZPixelForward]"/>
<Constant name="RootEndZ" value="2*[RootHalfLength]"/>
</ConstantsSection>
<SolidSection label="Root">
<Polycone name="PixelForward" startPhi="0*deg" deltaPhi="360*deg">
<ZSection z="[RootStartZ]" rMin="[cms:TrackBeamR1]" rMax="[RootRadius]"/>
<ZSection z="[RootMidZ3]" rMin="[cms:TrackBeamR1]" rMax="[RootRadius]"/>
<ZSection z="[RootEndZ]" rMin="[cms:TrackBeamR2]" rMax="[RootRadius]"/>
</Polycone>
</SolidSection>
<LogicalPartSection label="Root">
<LogicalPart name="PixelForwardZPlus" category="envelope">
<rSolid name="PixelForward"/>
<rMaterial name="materials:Air"/>
</LogicalPart>
<LogicalPart name="PixelForwardZMinus" category="envelope">
<rSolid name="PixelForward"/>
<rMaterial name="materials:Air"/>
</LogicalPart>
</LogicalPartSection>
<!-- Position disks inside root -->
<ConstantsSection label="Disks" eval="true">
<!-- Distances from IP-side edge of PixelForwardRoot to disk centers -->
<Constant name="Disk1Z" value="30*mm"/>
<Constant name="Disk2Z" value="160*mm"/>
<Constant name="Disk3Z" value="290*mm"/>
</ConstantsSection>
<PosPartSection label="Disks">
<!-- +Z endcap -->
<PosPart copyNumber="1">
<rParent name="PixelForwardZPlus"/>
<rChild name="pixfwdDisk:PixelForwardDiskZPlus"/>
<Translation x="0." y="0." z="[AnchorZ]+[Disk1Z]"/>
</PosPart>
<PosPart copyNumber="2">
<rParent name="PixelForwardZPlus"/>
<rChild name="pixfwdDisk:PixelForwardDiskZPlus"/>
<Translation x="0." y="0." z="[AnchorZ]+[Disk2Z]"/>
</PosPart>
<!-- UNCOMMENT TO SIMULATE THE THIRD DISK -->
<!-- <PosPart copyNumber="3">-->
<!-- <rParent name="PixelForwardZPlus"/>-->
<!-- <rChild name="pixfwdDisk:PixelForwardDiskZPlus"/>-->
<!-- <Translation x="0." y="0." z="[AnchorZ]+ [Disk3Z]" />-->
<!-- </PosPart>-->
<!-- -Z endcap -->
<PosPart copyNumber="1">
<rParent name="PixelForwardZMinus"/>
<rChild name="pixfwdDisk:PixelForwardDiskZMinus"/>
<Translation x="0." y="0." z="[AnchorZ]+[Disk1Z]"/>
</PosPart>
<PosPart copyNumber="2">
<rParent name="PixelForwardZMinus"/>
<rChild name="pixfwdDisk:PixelForwardDiskZMinus"/>
<Translation x="0." y="0." z="[AnchorZ]+[Disk2Z]"/>
</PosPart>
<!-- UNCOMMENT TO SIMULATE THE THIRD DISK -->
<!-- <PosPart copyNumber="3">-->
<!-- <rParent name="PixelForwardZMinus"/>-->
<!-- <rChild name="pixfwdDisk:PixelForwardDiskZMinus"/>-->
<!-- <Translation x="0." y="0." z="[AnchorZ]+[Disk3Z]" />-->
<!-- </PosPart>-->
</PosPartSection>
<!-- Position service cylinders inside root.
Since shapeless volumes are not useable at the moment,
PixelForwardCylinder.xml does the actual positioning, we just tell it where to place the
cylinders by defining Z position of IP-side edge of service cylinder in PixelForward frame:
-->
<ConstantsSection label="ServiceCylinder" eval="true">
<Constant name="ZCylinder" value="[AnchorZ]"/>
</ConstantsSection>
<PosPartSection label="Cylinders">
<!-- +Z endcap -->
<PosPart copyNumber="1">
<rParent name="pixfwd:PixelForwardZPlus"/>
<rChild name="pixfwdCylinder:PixelForwardServiceCylinder"/>
<Translation x="0." y="0." z="0."/>
</PosPart>
<PosPart copyNumber="1">
<rParent name="pixfwd:PixelForwardZPlus"/>
<rChild name="pixfwdCylinder:PixelForwardCylinderEndFlange"/>
<Translation x="0." y="0." z="[pixfwd:ZCylinder]+[pixfwdCylinder:CylindersOuterLength]+[pixfwdCylinder:CylindersEndFlangeLength]/2."/>
<rRotation name="pixfwdCylinder:EndFlangeRot1"/>
</PosPart>
<PosPart copyNumber="2">
<rParent name="pixfwd:PixelForwardZPlus"/>
<rChild name="pixfwdCylinder:PixelForwardCylinderEndFlange"/>
<Translation x="0." y="0." z="[pixfwd:ZCylinder]+[pixfwdCylinder:CylindersOuterLength]+[pixfwdCylinder:CylindersEndFlangeLength]/2."/>
<rRotation name="pixfwdCylinder:EndFlangeRot2"/>
<!-- xt rRotation name="pixfwdCommon:Z180" / xt-->
</PosPart>
<!-- xt PosPart copyNumber="1">
<rParent name="pixfwd:PixelForwardZPlus"/>
<rChild name="pixfwdCylinder:PixelForwardCylinderBackCyl"/>
<Translation x="0." y="0." z="[pixfwd:ZCylinder]+[pixfwdCylinder:CylindersFrontLength]+[pixfwdCylinder:CylinderBackLength]/2." />
</PosPart xt -->
<!-- -Z endcap -->
<PosPart copyNumber="1">
<rParent name="pixfwd:PixelForwardZMinus"/>
<rChild name="pixfwdCylinder:PixelForwardServiceCylinder"/>
<Translation x="0." y="0." z="0."/>
</PosPart>
<PosPart copyNumber="1">
<rParent name="pixfwd:PixelForwardZMinus"/>
<rChild name="pixfwdCylinder:PixelForwardCylinderEndFlange"/>
<Translation x="0." y="0." z="[pixfwd:ZCylinder]+[pixfwdCylinder:CylindersOuterLength]+[pixfwdCylinder:CylindersEndFlangeLength]/2."/>
<rRotation name="pixfwdCylinder:EndFlangeRot1"/>
</PosPart>
<PosPart copyNumber="2">
<rParent name="pixfwd:PixelForwardZMinus"/>
<rChild name="pixfwdCylinder:PixelForwardCylinderEndFlange"/>
<Translation x="0." y="0." z="[pixfwd:ZCylinder]+[pixfwdCylinder:CylindersOuterLength]+[pixfwdCylinder:CylindersEndFlangeLength]/2."/>
<rRotation name="pixfwdCylinder:EndFlangeRot2"/>
</PosPart>
<!-- xt PosPart copyNumber="1">
<rParent name="pixfwd:PixelForwardZMinus"/>
<rChild name="pixfwdCylinder:PixelForwardCylinderBackCyl"/>
<Translation x="0." y="0." z="[pixfwd:ZCylinder]+[pixfwdCylinder:CylindersFrontLength]+[pixfwdCylinder:CylinderBackLength]/2." />
</PosPart xt -->
</PosPartSection>
</DDDefinition>
|