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
<?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="tid.xml" eval="true">
		<Constant name="zero" value="0.0*fm"/>
		<Constant name="Rin" value="22.20*cm"/>
		<Constant name="Rout" value="52.00*cm"/>
		<Constant name="Zv1" value="73.6*cm"/>
		<!-- begin of TID envelope  DO NOT TOUCH IT! -->
		<Constant name="Zv2" value="111.3*cm"/>
		<Constant name="WheelRin" value="22.38*cm"/>
		<Constant name="WheelRout" value="51.20*cm"/>
		<Constant name="WheelT" value="10.4*cm"/>
		<!-- MAX ALLOWED VALUE 10.5 cm -->
		<Constant name="WheelDZ0" value="5.5*cm"/>
		<!-- Z off of Disk1 -->
		<Constant name="WheelDZ" value="12.95*cm"/>
		<!-- Z pitch of Disks -->
		<Constant name="Wheel0Z" value="[Zv1]+[WheelDZ0]"/>
		<Constant name="Wheel1Z" value="[Wheel0Z]+[WheelDZ]"/>
		<Constant name="Wheel2Z" value="[Wheel1Z]+[WheelDZ]"/>
		<Constant name="RingZ" value="3.50*cm"/>
		<Constant name="SupportT" value="0.10*cm"/>
		<Constant name="SupportRin" value="[WheelRout]"/>
		<Constant name="SupportRout" value="52.00*cm"/>
		<Constant name="SupportL" value="37.7*cm"/>
		<!-- 37.2+0.5 ie [SideDiskT] included -->
		<Constant name="SupportZ" value="[Zv1]+[SupportL]/2"/>
		<Constant name="SupportInRin" value="[SupportRin]+[SupportT]"/>
		<Constant name="SupportInRout" value="[SupportRout]-[SupportT]"/>
		<Constant name="SideDiskRin" value="22.80*cm"/>
		<Constant name="SideDiskT" value="0.50*cm"/>
		<Constant name="SideDiskZ" value="[Zv1]+[SupportL]-[SideDiskT]/2"/>
		<Constant name="SideDiskInT" value="0.50*cm"/>
		<!-- "manine" -->
		<Constant name="WheelFixDR" value="3.1*cm"/>
		<Constant name="WheelFixRout" value="[tidringpar:Rout]"/>
		<Constant name="WheelFixDZ" value="1.3*cm"/>
		<!-- real value is 5,5 cm but set 1.3 cm to avoid overlaps -->
		<Constant name="WheelFixDPhi" value="6.15*deg"/>
		<Constant name="WheelFixTR" value="0.8*cm"/>
		<Constant name="WheelFixTZ" value="0.4*cm"/>
		<Constant name="WheelFixPhi" value="90.0*deg"/>
	</ConstantsSection>
	<SolidSection label="tid.xml">
		<Polycone name="TID" startPhi="0*deg" deltaPhi="360*deg">
			<ZSection z="[Zv1]" rMin="[Rin]" rMax="[Rout]"/>
			<ZSection z="[Zv2]" rMin="[Rin]" rMax="[Rout]"/>
		</Polycone>
		<Tubs name="TIDWheel" rMin="[WheelRin]" rMax="[WheelRout]" dz="[WheelT]/2" startPhi="0*deg" deltaPhi="360*deg"/>
		<Tubs name="TIDSupport" rMin="[SupportRin]" rMax="[SupportRout]" dz="[SupportL]/2" startPhi="0*deg" deltaPhi="360*deg"/>
		<Tubs name="TIDSupportIn" rMin="[SupportInRin]" rMax="[SupportInRout]" dz="[SupportL]/2" startPhi="0*deg" deltaPhi="360*deg"/>
		<Tubs name="TIDSideDisk" rMin="[SideDiskRin]" rMax="[WheelRout]" dz="[SideDiskT]/2" startPhi="0*deg" deltaPhi="360*deg"/>
		<Tubs name="TIDSideDiskIn" rMin="[SideDiskRin]" rMax="[WheelRout]" dz="[SideDiskInT]/2" startPhi="0*deg" deltaPhi="360*deg"/>
		<Tubs name="TIDWheelFix" rMin="[WheelFixRout]-[WheelFixDR]" rMax="[WheelFixRout]" dz="[WheelFixDZ]/2" startPhi="-[WheelFixDPhi]/2" deltaPhi="[WheelFixDPhi]"/>
		<Tubs name="TIDWheelFixHole" rMin="[WheelFixRout]-[WheelFixDR]" rMax="[WheelFixRout]-[WheelFixTR]" dz="([WheelFixDZ]-[WheelFixTZ])/2" startPhi="-[WheelFixDPhi]/2" deltaPhi="[WheelFixDPhi]"/>
		<SubtractionSolid name="TIDWheelFixCutted">
			<rSolid name="TIDWheelFix"/>
			<rSolid name="TIDWheelFixHole"/>
			<Translation x="[zero]" y="[zero]" z="-[WheelFixTZ]/2"/>
		</SubtractionSolid>
	</SolidSection>
	<LogicalPartSection label="tid.xml">
		<LogicalPart name="TIDSupport" category="unspecified">
			<rSolid name="TIDSupport"/>
			<rMaterial name="trackermaterial:T_CarbonFibreStr"/>
		</LogicalPart>
		<LogicalPart name="TIDSupportIn" category="unspecified">
			<rSolid name="TIDSupportIn"/>
			<rMaterial name="trackermaterial:T_Nomex"/>
		</LogicalPart>
		<LogicalPart name="TIDSideDisk" category="unspecified">
			<rSolid name="TIDSideDisk"/>
			<rMaterial name="trackermaterial:T_CarbonFibreStr"/>
		</LogicalPart>
		<LogicalPart name="TIDSideDiskIn" category="unspecified">
			<rSolid name="TIDSideDiskIn"/>
			<rMaterial name="trackermaterial:T_Nomex"/>
		</LogicalPart>
		<LogicalPart name="TIDWheelFixCutted" category="unspecified">
			<rSolid name="TIDWheelFixCutted"/>
			<rMaterial name="tidmaterial:TID_WheelFixation"/>
		</LogicalPart>
	</LogicalPartSection>
	<PosPartSection label="tid.xml">
		<PosPart copyNumber="1">
			<rParent name="tid:TIDSupport"/>
			<rChild name="tid:TIDSupportIn"/>
		</PosPart>
		<PosPart copyNumber="1">
			<rParent name="tid:TIDSideDisk"/>
			<rChild name="tid:TIDSideDiskIn"/>
		</PosPart>
	</PosPartSection>
</DDDefinition>