Warning, /Geometry/VeryForwardData/data/CTPPS_Diamond_2017/CTPPS_Diamond_Detector_Assembly.xml is written in an unsupported language. File is not indexed.
0001 <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">
0002
0003 <ConstantsSection label="CTPPS_Diamond_Detector_Assembly.xml" eval="true">
0004 <Constant name="Shift_dx" value="[CTPPS_Diamond_Parameters:Plane_dx]/2-([CTPPS_Timing_Horizontal_Pot:plane_length]+[CTPPS_Timing_Horizontal_Pot:bottom_wall_thickness])/2-[CTPPS_Timing_Horizontal_Pot:cut_depth]"/>
0005 <Constant name="box_dz" value="([CTPPS_Diamond_Parameters:Metalized_thick]*2+[CTPPS_Diamond_Parameters:Diamond_dz]+[CTPPS_Diamond_Parameters:PCB_thick])*4+[CTPPS_Diamond_Parameters:Plane_gap]*3"/>
0006 </ConstantsSection>
0007
0008 <SolidSection label="CTPPS_Diamond_Detector_Assembly.xml">
0009 <!-- Detector Main Box and Planes -->
0010 <Box name="Main_Box_main" dx="[CTPPS_Diamond_Parameters:PCB_dx]/2-[CTPPS_Diamond_Parameters:PCB_extend_dx]+[CTPPS_Timing_Horizontal_Pot:cut_depth]" dy="[CTPPS_Diamond_Parameters:PCB_dy]/2" dz="[box_dz]/2"/>
0011 <Trd1 name="Main_Box_extra" dz="[CTPPS_Diamond_Parameters:PCB_extend_dx]/2" dy1="[CTPPS_Diamond_Parameters:PCB_extend_dy1]/2" dy2="[CTPPS_Diamond_Parameters:PCB_extend_dy2]/2" dx1="[box_dz]/2" dx2="[box_dz]/2"/>
0012 <UnionSolid name="CTPPS_Diamond_Main_Box">
0013 <rSolid name="Main_Box_main"/>
0014 <rSolid name="Main_Box_extra"/>
0015 <rRotation name="rotations:90YX"/>
0016 <Translation x="-[CTPPS_Diamond_Parameters:PCB_dx]/2-[CTPPS_Diamond_Parameters:PCB_extend_dx]/2" y="0*mm" z="0*mm"/>
0017 </UnionSolid>
0018 <Box name="PCB_main" dx="[CTPPS_Diamond_Parameters:PCB_dx]/2" dy="[CTPPS_Diamond_Parameters:PCB_dy]/2" dz="[CTPPS_Diamond_Parameters:PCB_thick]/2"/>
0019 <Trd1 name="PCB_extra" dz="[CTPPS_Diamond_Parameters:PCB_extend_dx]/2" dy1="[CTPPS_Diamond_Parameters:PCB_extend_dy1]/2" dy2="[CTPPS_Diamond_Parameters:PCB_extend_dy2]/2" dx1="[CTPPS_Diamond_Parameters:PCB_thick]/2" dx2="[CTPPS_Diamond_Parameters:PCB_thick]/2"/>
0020 <UnionSolid name="PCB">
0021 <rSolid name="PCB_main"/>
0022 <rSolid name="PCB_extra"/>
0023 <rRotation name="rotations:90YX"/>
0024 <Translation x="-[CTPPS_Diamond_Parameters:PCB_dx]/2-[CTPPS_Diamond_Parameters:PCB_extend_dx]/2" y="0*mm" z="0*mm"/>
0025 </UnionSolid>
0026 </SolidSection>
0027
0028 <LogicalPartSection label="CTPPS_Diamond_Detector_Assembly.xml">
0029 <!-- ****** Detector Box and Downstream Plane ****** -->
0030 <LogicalPart name="CTPPS_Diamond_Main_Box" category="envelope">
0031 <rSolid name="CTPPS_Diamond_Main_Box"/>
0032 <rMaterial name="materials:Vacuum"/>
0033 </LogicalPart>
0034 <LogicalPart name="PCB" category="support">
0035 <rSolid name="PCB"/>
0036 <rMaterial name="RP_Materials:PCB"/> <!--should be equivalent to actual RO4350B-->
0037 </LogicalPart>
0038 </LogicalPartSection>
0039
0040 <PosPartSection label="CTPPS_Diamond_Detector_Assembly.xml">
0041 <PosPart copyNumber="1">
0042 <rParent name="CTPPS_Timing_Horizontal_Pot:Primary_Vacuum"/>
0043 <rChild name="CTPPS_Diamond_Main_Box"/>
0044 <rRotation name="CTPPS_Diamond_Transformations:planes_box_rotation"/>
0045 <Translation x="0*cm" y="0*cm" z="-[CTPPS_Timing_Horizontal_Pot:bottom_wall_thickness]/2+[CTPPS_Diamond_Parameters:PCB_extend_dx]"/>
0046 </PosPart>
0047 <PosPart copyNumber="1">
0048 <rParent name="CTPPS_Diamond_Main_Box"/>
0049 <rChild name="CTPPS_Diamond_Plane1:CTPPS_Diamond_Plane"/>
0050 <Translation y="0*cm" x="[Shift_dx]" z="-([CTPPS_Diamond_Parameters:Plane_dz]+[CTPPS_Diamond_Parameters:Plane_gap])*3/2"/>
0051 </PosPart>
0052 <PosPart copyNumber="2">
0053 <rParent name="CTPPS_Diamond_Main_Box"/>
0054 <rChild name="CTPPS_Diamond_Plane2:CTPPS_Diamond_Plane"/>
0055 <Translation y="0*cm" x="[Shift_dx]" z="-([CTPPS_Diamond_Parameters:Plane_dz]+[CTPPS_Diamond_Parameters:Plane_gap])/2"/>
0056 </PosPart>
0057 <PosPart copyNumber="3">
0058 <rParent name="CTPPS_Diamond_Main_Box"/>
0059 <rChild name="CTPPS_Diamond_Plane3:CTPPS_Diamond_Plane"/>
0060 <Translation y="0*cm" x="[Shift_dx]" z="([CTPPS_Diamond_Parameters:Plane_dz]+[CTPPS_Diamond_Parameters:Plane_gap])/2"/>
0061 <rRotation name="CTPPS_Diamond_Transformations:planes_x_rotation"/>
0062 </PosPart>
0063 <PosPart copyNumber="4">
0064 <rParent name="CTPPS_Diamond_Main_Box"/>
0065 <rChild name="CTPPS_UFSD_Plane4:CTPPS_UFSD_Plane"/>
0066 <Translation y="0*cm" x="[Shift_dx]-(4*[CTPPS_Diamond_Parameters:Diamond_dx]-[CTPPS_UFSD_Parameters:UFSD_dx])/2" z="([CTPPS_Diamond_Parameters:Plane_dz]+[CTPPS_Diamond_Parameters:Plane_gap])*3/2"/>
0067 </PosPart>
0068 </PosPartSection>
0069
0070 </DDDefinition>
0071