Line Code
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 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202
<?xml version="1.0"?>
<DDDefinition>
    <!-- 
         
         == CMS Forward Pixels Geometry ==
         
         @version 3.02.01 May 30, 2006
         @created Dmitry Onoprienko
         @modified Vesna Cuplov (to Fix overlaps 04.17.07)
         
         == Subsystem or component described by the file ==
         
         A panel that includes a base and three or four sensor plaquettes mounted on it.
         Every blade will have two such panels, one on each side.
         
         == Root volume and its reference frame ==
         
         Four types of panels are defined :
         
         PixelForwardPanel3Right - right 3-plaquette panel (3RX on the drawings)
         PixelForwardPanel3Left  - left 3-plaquette panel (3LX on the drawings)
         PixelForwardPanel4Right - right 4-plaquette panel (4RX on the drawings)
         PixelForwardPanel4Left  - left 3-plaquette panel (4LX on the drawings)
         
         Y is along the axis of the panel, points from narrow to wide end.
         X is in the plane of the panel, ear is on X-positive side for "right" panels.
         Z is perpendicular to the plane of the panel, points to plaquettes side.
         
         == Positioning ==
         
         The file defines AnchorX, AnchorY, and AnchorZ 
         constants that describe the coordinates of the anchor point in the panel 
         root volume (PixelForwardPanelXXX) reference frame.
         Currently, [AnchorX] = [AnchorZ] = 0.
         
         -->
    <ConstantsSection label="Input" eval="true">
        <!-- Y-coordinates of active centers of sensors with respect to ancor point ((0.,0.) on the drawing) -->
        <Constant name="ACp3y1" value="19.469*mm"/>
        <Constant name="ACp3y2" value="48.777*mm"/>
        <Constant name="ACp3y3" value="78.091*mm"/>
        <Constant name="ACp4y1" value="7.664*mm"/>
        <Constant name="ACp4y2" value="32.394*mm"/>
        <Constant name="ACp4y3" value="61.128*mm"/>
        <Constant name="ACp4y4" value="85.869*mm"/>
    </ConstantsSection>
    <ConstantsSection label="Common" eval="true">
        <Constant name="RootHalfWidth" value="[pixfwdPanelBase:RootHalfWidth]"/>
        <Constant name="RootHalfLength" value="[pixfwdPanelBase:RootHalfLength]"/>
        <Constant name="RootHalfThickness" value="[pixfwdPlaq:PlaquetteT]/2.+[pixfwdPanelBase:RootHalfThickness]"/>
        <Constant name="zPanel" value="-[pixfwdPlaq:PlaquetteT]/2."/>
        <Constant name="zPlaquette" value="[pixfwdPanelBase:RootHalfThickness]"/>
        <!-- Coordinates of the ancor point ((0.,0.) on the drawing) in the Root (PixelForwardPanel<ХХХ>) frame -->
        <Constant name="AnchorX" value="0.*mm"/>
        <Constant name="AnchorY" value="[pixfwdPanelBase:AnchorY]"/>
        <Constant name="AnchorZ" value="0.*mm"/>
        <Constant name="EarWidth" value="[pixfwdPanelBase:EarWidth]"/>
        <Constant name="EarLength" value="[pixfwdPanelBase:EarLength]"/>
        <Constant name="MainHalfWidthBottom" value="[pixfwdPanelBase:MainHalfWidthBottom]"/>
        <Constant name="MainHalfWidthTop" value="[pixfwdPanelBase:MainHalfWidthTop]"/>
        <Constant name="PanelAngle" value="[pixfwdPanelBase:PanelAngle]"/>
        <Constant name="MainLength" value="[pixfwdPanelBase:MainLength]"/>
        <Constant name="NoseLength" value="[pixfwdPanelBase:NoseLength]"/>
    </ConstantsSection>
    <!-- Root volumes for 4 types panels -->
    <!-- previous description (D. Onoprienko)
         <SolidSection label="Root">
         <Box name="PixelForwardPanel" dx="[RootHalfWidth]" dy="[RootHalfLength]" dz="[RootHalfThickness]" />
    </SolidSection>
         -->
    <!-- New description (april 2007): As for the PanelBase, I used a trapezoid for the main panel volume and a second trapezoid for the part made of the ear -->
    <SolidSection label="Root">
        <Trapezoid name="PixelForwardPanelMain" dz="[RootHalfThickness]" bl1="[MainHalfWidthBottom]+4.0*mm" bl2="[MainHalfWidthBottom]+4.0*mm" tl1="[MainHalfWidthTop]+4.0*mm" tl2="[MainHalfWidthTop]+4.0*mm" h1="[MainLength]/2.+[NoseLength]/2." h2="[MainLength]/2.+[NoseLength]/2." alp1="0.0" alp2="0.0" phi="90*deg"/>
        <Trapezoid name="PixelForwardPanelEar" dz="[RootHalfThickness]" bl1="[MainHalfWidthBottom]+[EarWidth]/2.+12.0*mm" bl2="[MainHalfWidthBottom]+[EarWidth]/2.+12.0*mm" tl1="[MainHalfWidthTop]+[EarWidth]/2.+4.0*mm" tl2="[MainHalfWidthTop]+[EarWidth]/2.+4.0*mm" h1="[EarLength]/2.+3.0*mm" h2="[EarLength]/2.+3.0*mm" alp1="0.0" alp2="0.0" phi="90*deg"/>
        <UnionSolid name="PixelForwardPanel">
            <rSolid name="PixelForwardPanelMain"/>
            <rSolid name="PixelForwardPanelEar"/>
            <Translation x="0." y="29.0" z="0."/>
        </UnionSolid>
    </SolidSection>
    <LogicalPartSection label="Root">
        <LogicalPart name="PixelForwardPanel3Right" category="envelope">
            <rSolid name="PixelForwardPanel"/>
            <rMaterial name="materials:Air"/>
        </LogicalPart>
        <LogicalPart name="PixelForwardPanel3Left" category="envelope">
            <rSolid name="PixelForwardPanel"/>
            <rMaterial name="materials:Air"/>
        </LogicalPart>
        <LogicalPart name="PixelForwardPanel4Right" category="envelope">
            <rSolid name="PixelForwardPanel"/>
            <rMaterial name="materials:Air"/>
        </LogicalPart>
        <LogicalPart name="PixelForwardPanel4Left" category="envelope">
            <rSolid name="PixelForwardPanel"/>
            <rMaterial name="materials:Air"/>
        </LogicalPart>
    </LogicalPartSection>
    <PosPartSection label="Root">
        <!-- Panel 3 Right -->
        <PosPart copyNumber="1">
            <rParent name="PixelForwardPanel3Right"/>
            <rChild name="pixfwdPanelBase:PixelForwardPanelBase"/>
            <Translation x="0." y="0." z="[zPanel]"/>
        </PosPart>
        <PosPart copyNumber="1">
            <rParent name="PixelForwardPanel3Right"/>
            <rChild name="pixfwdPlaq2x3:PixelForwardPlaquette2x3Up"/>
            <Translation x="[AnchorX]-[pixfwdPlaq2x3:AnchorX]" y="[AnchorY]+[ACp3y1]-[pixfwdPlaq2x3:AnchorY]" z="[zPlaquette]"/>
        </PosPart>
        <PosPart copyNumber="1">
            <rParent name="PixelForwardPanel3Right"/>
            <rChild name="pixfwdPlaq2x4:PixelForwardPlaquette2x4Up"/>
            <Translation x="[AnchorX]-[pixfwdPlaq2x4:AnchorX]" y="[AnchorY]+[ACp3y2]-[pixfwdPlaq2x4:AnchorY]" z="[zPlaquette]"/>
        </PosPart>
        <PosPart copyNumber="1">
            <rParent name="PixelForwardPanel3Right"/>
            <rChild name="pixfwdPlaq2x5:PixelForwardPlaquette2x5Up"/>
            <Translation x="[AnchorX]-[pixfwdPlaq2x5:AnchorX]" y="[AnchorY]+[ACp3y3]-[pixfwdPlaq2x5:AnchorY]" z="[zPlaquette]"/>
        </PosPart>
        <!-- Panel 3 Left -->
        <PosPart copyNumber="2">
            <rParent name="PixelForwardPanel3Left"/>
            <rChild name="pixfwdPanelBase:PixelForwardPanelBase"/>
            <Translation x="0." y="0." z="[zPanel]"/>
            <rReflectionRotation name="pixfwdCommon:ReflectionX"/>
        </PosPart>
        <PosPart copyNumber="1">
            <rParent name="PixelForwardPanel3Left"/>
            <rChild name="pixfwdPlaq2x3:PixelForwardPlaquette2x3Down"/>
            <Translation x="[AnchorX]+[pixfwdPlaq2x3:AnchorX]" y="[AnchorY]+[ACp3y1]+[pixfwdPlaq2x3:AnchorY]" z="[zPlaquette]"/>
            <rRotation name="pixfwdCommon:Z180"/>
        </PosPart>
        <PosPart copyNumber="1">
            <rParent name="PixelForwardPanel3Left"/>
            <rChild name="pixfwdPlaq2x4:PixelForwardPlaquette2x4Down"/>
            <Translation x="[AnchorX]+[pixfwdPlaq2x4:AnchorX]" y="[AnchorY]+[ACp3y2]+[pixfwdPlaq2x4:AnchorY]" z="[zPlaquette]"/>
            <rRotation name="pixfwdCommon:Z180"/>
        </PosPart>
        <PosPart copyNumber="1">
            <rParent name="PixelForwardPanel3Left"/>
            <rChild name="pixfwdPlaq2x5:PixelForwardPlaquette2x5Down"/>
            <Translation x="[AnchorX]+[pixfwdPlaq2x5:AnchorX]" y="[AnchorY]+[ACp3y3]+[pixfwdPlaq2x5:AnchorY]" z="[zPlaquette]"/>
            <rRotation name="pixfwdCommon:Z180"/>
        </PosPart>
        <!-- Panel 4 Right -->
        <PosPart copyNumber="3">
            <rParent name="PixelForwardPanel4Right"/>
            <rChild name="pixfwdPanelBase:PixelForwardPanelBase"/>
            <Translation x="0." y="0." z="[zPanel]"/>
        </PosPart>
        <PosPart copyNumber="1">
            <rParent name="PixelForwardPanel4Right"/>
            <rChild name="pixfwdPlaq1x2:PixelForwardPlaquette1x2Right"/>
            <Translation x="[AnchorX]-[pixfwdPlaq1x2:AnchorXRight]" y="[AnchorY]+[ACp4y1]-[pixfwdPlaq1x2:AnchorY]" z="[zPlaquette]"/>
        </PosPart>
        <PosPart copyNumber="2">
            <rParent name="PixelForwardPanel4Right"/>
            <rChild name="pixfwdPlaq2x3:PixelForwardPlaquette2x3Down"/>
            <Translation x="[AnchorX]-[pixfwdPlaq2x3:AnchorX]" y="[AnchorY]+[ACp4y2]-[pixfwdPlaq2x3:AnchorY]" z="[zPlaquette]"/>
        </PosPart>
        <PosPart copyNumber="2">
            <rParent name="PixelForwardPanel4Right"/>
            <rChild name="pixfwdPlaq2x4:PixelForwardPlaquette2x4Down"/>
            <Translation x="[AnchorX]-[pixfwdPlaq2x4:AnchorX]" y="[AnchorY]+[ACp4y3]-[pixfwdPlaq2x4:AnchorY]" z="[zPlaquette]"/>
        </PosPart>
        <PosPart copyNumber="1">
            <rParent name="PixelForwardPanel4Right"/>
            <rChild name="pixfwdPlaq1x5:PixelForwardPlaquette1x5Left"/>
            <Translation x="[AnchorX]-[pixfwdPlaq1x5:AnchorXLeft]" y="[AnchorY]+[ACp4y4]-[pixfwdPlaq1x5:AnchorY]" z="[zPlaquette]"/>
        </PosPart>
        <!-- Panel 4 Left -->
        <PosPart copyNumber="4">
            <rParent name="PixelForwardPanel4Left"/>
            <rChild name="pixfwdPanelBase:PixelForwardPanelBase"/>
            <Translation x="0." y="0." z="[zPanel]"/>
            <rReflectionRotation name="pixfwdCommon:ReflectionX"/>
        </PosPart>
        <PosPart copyNumber="1">
            <rParent name="PixelForwardPanel4Left"/>
            <rChild name="pixfwdPlaq1x2:PixelForwardPlaquette1x2Left"/>
            <Translation x="[AnchorX]-[pixfwdPlaq1x2:AnchorXLeft]" y="[AnchorY]+[ACp4y1]-[pixfwdPlaq1x2:AnchorY]" z="[zPlaquette]"/>
        </PosPart>
        <PosPart copyNumber="2">
            <rParent name="PixelForwardPanel4Left"/>
            <rChild name="pixfwdPlaq2x3:PixelForwardPlaquette2x3Up"/>
            <Translation x="[AnchorX]+[pixfwdPlaq2x3:AnchorX]" y="[AnchorY]+[ACp4y2]+[pixfwdPlaq2x3:AnchorY]" z="[zPlaquette]"/>
            <rRotation name="pixfwdCommon:Z180"/>
        </PosPart>
        <PosPart copyNumber="2">
            <rParent name="PixelForwardPanel4Left"/>
            <rChild name="pixfwdPlaq2x4:PixelForwardPlaquette2x4Up"/>
            <Translation x="[AnchorX]+[pixfwdPlaq2x4:AnchorX]" y="[AnchorY]+[ACp4y3]+[pixfwdPlaq2x4:AnchorY]" z="[zPlaquette]"/>
            <rRotation name="pixfwdCommon:Z180"/>
        </PosPart>
        <PosPart copyNumber="1">
            <rParent name="PixelForwardPanel4Left"/>
            <rChild name="pixfwdPlaq1x5:PixelForwardPlaquette1x5Right"/>
            <Translation x="[AnchorX]-[pixfwdPlaq1x5:AnchorXRight]" y="[AnchorY]+[ACp4y4]-[pixfwdPlaq1x5:AnchorY]" z="[zPlaquette]"/>
        </PosPart>
    </PosPartSection>
</DDDefinition>