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
<?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">
	<ConstantsSection label="tecmodule1.xml" eval="true">
		<Constant name="Rin" value="31.74*cm"/>
		<Constant name="Rout" value="45.93*cm"/>
		<Constant name="FullHeight" value="9.0236000*cm"/>
		<Constant name="ActiveHeight" value="8.8160000*cm"/>
		<Constant name="DlTop" value="11.2202000*cm"/>
		<Constant name="DlBottom" value="8.8096000*cm"/>
		<Constant name="SideWidthTop" value="0.1076928*cm"/>
		<Constant name="SideWidthBottom" value="0.0822066*cm"/>
		<Constant name="HybridZ" value="[ActiveZ]+0.5*(-[tecmodpar:WaferThick1] + [tecmodpar:HybridThick])"/>
		<Constant name="TopFrameZ" value="[HybridZ]+0.5*([tecmodpar:HybridThick]+[tecmodpar:TopFrameThick])"/>
		<Constant name="SideFrameZ" value="[TopFrameZ]+0.5*(-[tecmodpar:TopFrameThick]+[tecmodpar:SideFrameThick])"/>
		<Constant name="PitchZ" value="[TopFrameZ]-0.5*([tecmodpar:TopFrameThick] + [tecmodpar:PitchThick])"/>
		<Constant name="DlHybrid" value="12.240*cm"/>
		<Constant name="BridgeWidth" value="2.479*cm"/>
		<Constant name="BridgeThick" value="0.204*cm"/>
		<Constant name="BridgeHeight" value="2.3460*cm"/>
		<Constant name="BridgeSeparation" value="7.150*cm"/>
		<Constant name="ModuleThick" value="[tecmodpar:ModuleThickDS]"/>
		<Constant name="ShiftZ" value="-([tecmodpar:ModuleThick]+                                             [tecmodpar:GapModule])/2"/>
		<Constant name="TopFrameBotWidth" value="133.3*mm"/>
		<Constant name="ActiveZ" value="([tecmodpar:ActiveZ1]+[ShiftZ])"/>
		<Constant name="PitchWidth" value="112.1*mm"/>
		<Constant name="dPhi" value="2.2*asin(0.5*[TopFrameBotWidth]/([Rin]+[FullHeight]))"/>
	</ConstantsSection>
	<SolidSection label="tecmodule1.xml">
		<Tubs name="TECModule1" rMin="[Rin]" rMax="[Rout]" dz="0.5*[tecmodpar:ModuleThickDS]" startPhi="-[dPhi]/2" deltaPhi="[dPhi]"/>
	</SolidSection>
	<LogicalPartSection label="tecmodule1.xml">
		<LogicalPart name="TECModule1" category="unspecified">
			<rSolid name="tecmodule1:TECModule1"/>
			<rMaterial name="materials:Air"/>
		</LogicalPart>
	</LogicalPartSection>
</DDDefinition>