Back to home page

Project CMSSW displayed by LXR

 
 

    


Warning, /Geometry/VeryForwardData/data/CTPPS_Diamond_2021/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]/2+[CTPPS_Timing_Horizontal_Pot:thin_window_thickness]*2"/>
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     <Constant name="Sensors_Displacement_Foil" value="0.5*mm"/>
0007   </ConstantsSection>
0008 
0009   <SolidSection label="CTPPS_Diamond_Detector_Assembly.xml">
0010     <!-- Detector Main Box and Planes -->
0011     <Box name="CTPPS_Diamond_Main_Box" dx="[CTPPS_Diamond_Parameters:PCB_dx]/2-[Sensors_Displacement_Foil]" dy="[CTPPS_Diamond_Parameters:Plane_dy]/2" dz="[box_dz]/2"/>
0012     <Box name="CTPPS_Diamond_Main_Short" dx="[RP_Box:RP_Box_Height]/2-[Sensors_Displacement_Foil]" dy="[CTPPS_Diamond_Parameters:Plane_dy]/2" dz="[box_dz]/2"/> 
0013     <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"/>
0014     <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"/>
0015     <UnionSolid name="PCB">
0016       <rSolid name="PCB_main"/>
0017       <rSolid name="PCB_extra"/>
0018       <rRotation name="rotations:90YX"/>
0019       <Translation x="-[CTPPS_Diamond_Parameters:PCB_dx]/2-[CTPPS_Diamond_Parameters:PCB_extend_dx]/2" y="0*mm" z="0*mm"/>
0020     </UnionSolid>
0021   </SolidSection>
0022 
0023   <LogicalPartSection label="CTPPS_Diamond_Detector_Assembly.xml">
0024     <!-- ****** Detector Box and Downstream Plane ****** -->
0025     <LogicalPart name="CTPPS_Diamond_Main_Box" category="envelope">
0026       <rSolid name="CTPPS_Diamond_Main_Box"/>
0027       <rMaterial name="materials:Vacuum"/>
0028     </LogicalPart>
0029     <LogicalPart name="CTPPS_Diamond_Main_Short" category="envelope">
0030       <rSolid name="CTPPS_Diamond_Main_Short"/>
0031       <rMaterial name="materials:Vacuum"/>
0032     </LogicalPart>
0033     <LogicalPart name="PCB" category="support">
0034       <rSolid name="PCB"/>
0035       <rMaterial name="RP_Materials:PCB"/> <!--should be equivalent to actual RO4350B-->
0036     </LogicalPart>
0037   </LogicalPartSection>
0038 
0039   <PosPartSection label="CTPPS_Diamond_Detector_Assembly.xml">
0040     <PosPart copyNumber="1">
0041       <rParent name="CTPPS_Timing_Horizontal_Pot:Primary_Vacuum"/>
0042       <rChild name="CTPPS_Diamond_Main_Box"/>
0043       <Translation x="0*cm" y="0*cm" z="[Sensors_Displacement_Foil]"/>
0044       <rRotation name="CTPPS_Diamond_Transformations:planes_box_rotation"/>
0045     </PosPart>
0046     <PosPart copyNumber="1">
0047       <rParent name="CTPPS_Diamond_Main_Box"/>
0048       <rChild name="CTPPS_Diamond_Plane1:CTPPS_Diamond_Plane"/>
0049       <Translation y="0*cm" x="[Shift_dx]" z="-([CTPPS_Diamond_Parameters:Plane_dz]+[CTPPS_Diamond_Parameters:Plane_gap])*3/2"/>
0050     </PosPart>
0051     <PosPart copyNumber="2">
0052       <rParent name="CTPPS_Diamond_Main_Box"/>
0053       <rChild name="CTPPS_Diamond_Plane2:CTPPS_Diamond_Plane"/>
0054       <Translation y="0*cm" x="[Shift_dx]" z="-([CTPPS_Diamond_Parameters:Plane_dz]+[CTPPS_Diamond_Parameters:Plane_gap])/2"/>
0055     </PosPart>
0056     <PosPart copyNumber="3">
0057       <rParent name="CTPPS_Diamond_Main_Box"/>
0058       <rChild name="CTPPS_Diamond_Plane3:CTPPS_Diamond_Plane"/>
0059       <Translation y="0*cm" x="[Shift_dx]" z="([CTPPS_Diamond_Parameters:Plane_dz]+[CTPPS_Diamond_Parameters:Plane_gap])/2"/>
0060       <rRotation name="CTPPS_Diamond_Transformations:planes_x_rotation"/>
0061     </PosPart>
0062     <PosPart copyNumber="4">
0063       <rParent name="CTPPS_Diamond_Main_Box"/>
0064       <rChild name="CTPPS_Diamond_Plane4:CTPPS_Diamond_Plane"/>
0065       <Translation y="0*cm" x="[Shift_dx]" z="([CTPPS_Diamond_Parameters:Plane_dz]+[CTPPS_Diamond_Parameters:Plane_gap])*3/2"/>
0066     </PosPart>
0067   </PosPartSection>
0068 
0069 </DDDefinition>