Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ctpps diamond geometry 2021 #44

Open
wants to merge 10 commits into
base: CMSSW_11_0_X
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 48 additions & 0 deletions Geometry/VeryForwardData/data/CTPPS_2021/RP_Dist_Beam_Cent.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
<?xml version="1.0" encoding="UTF-8"?>
<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 ../../DDLSchema/DDLSchema.xsd">
<!-- Generated by makeOfflineGeometry on 07 Jun 2016 12:43:13
time: 1464650000
offset file: /afs/cern.ch/exp/totem/scratch/data/RP/tools/measurement_offsets/zero_offsets
sensor type: RESOLVER
-->
<ConstantsSection label="RP_Dist_Beam_Cent.xml">
<!-- sector 45, 210m station -->
<Constant name="RP_147_Left_Det_Dist_0" value=" +9.129*mm"/> <!-- RESOLVER: +9.129, offset: +0.000 -->
<Constant name="RP_147_Left_Det_Dist_1" value=" +8.885*mm"/> <!-- RESOLVER: +8.885, offset: +0.000 -->
<Constant name="RP_147_Left_Det_Dist_2" value=" +6.480*mm"/> <!-- RESOLVER: +6.480, offset: +0.000 -->
<Constant name="RP_147_Left_Det_Dist_3" value=" +6.181*mm"/> <!-- RESOLVER: +6.181, offset: +0.000 -->
<Constant name="RP_147_Left_Det_Dist_4" value=" +7.000*mm"/>
<Constant name="RP_147_Left_Det_Dist_5" value=" +7.000*mm"/>

<!-- sector 45, 215m diamond station -->
<Constant name="CTPPS_45_Det_Dist" value="3.0*mm"/>

<!-- sector 45, 220m station -->
<Constant name="RP_220_Left_Det_Dist_0" value="+43.391*mm"/> <!-- RESOLVER: +43.391, offset: +0.000 -->
<Constant name="RP_220_Left_Det_Dist_1" value="+42.712*mm"/> <!-- RESOLVER: +42.712, offset: +0.000 -->
<Constant name="RP_220_Left_Det_Dist_2" value="+3.0*mm"/>
<Constant name="RP_220_Left_Det_Dist_3" value="+43.162*mm"/> <!-- RESOLVER: +43.162, offset: +0.000 -->
<Constant name="RP_220_Left_Det_Dist_4" value=" +7.000*mm"/>
<Constant name="RP_220_Left_Det_Dist_5" value=" +7.000*mm"/>


<!-- sector 56, 210m station -->
<Constant name="RP_147_Right_Det_Dist_0" value=" +9.052*mm"/> <!-- RESOLVER: +9.052, offset: +0.000 -->
<Constant name="RP_147_Right_Det_Dist_1" value=" +8.017*mm"/> <!-- RESOLVER: +8.017, offset: +0.000 -->
<Constant name="RP_147_Right_Det_Dist_2" value=" +6.605*mm"/> <!-- RESOLVER: +6.605, offset: +0.000 -->
<Constant name="RP_147_Right_Det_Dist_3" value=" +5.319*mm"/> <!-- RESOLVER: +5.319, offset: +0.000 -->
<Constant name="RP_147_Right_Det_Dist_4" value=" +7.000*mm"/>
<Constant name="RP_147_Right_Det_Dist_5" value=" +7.000*mm"/>

<!-- sector 56, 215m diamond station -->
<Constant name="CTPPS_56_Det_Dist" value="3.0*mm"/>

<!-- sector 56, 220m station -->
<Constant name="RP_220_Right_Det_Dist_0" value="+42.318*mm"/> <!-- RESOLVER: +42.318, offset: +0.000 -->
<Constant name="RP_220_Right_Det_Dist_1" value="+42.266*mm"/> <!-- RESOLVER: +42.266, offset: +0.000 -->
<Constant name="RP_220_Right_Det_Dist_2" value="+3.0*mm"/>
<Constant name="RP_220_Right_Det_Dist_3" value="+43.396*mm"/> <!-- RESOLVER: +43.396, offset: +0.000 -->
<Constant name="RP_220_Right_Det_Dist_4" value=" +7.000*mm"/>
<Constant name="RP_220_Right_Det_Dist_5" value=" +7.000*mm"/>
</ConstantsSection>
</DDDefinition>
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
<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="CTPPS_Diamond_Detector_Assembly.xml" eval="true">
<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]"/>
<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"/>
</ConstantsSection>

<SolidSection label="CTPPS_Diamond_Detector_Assembly.xml">
<!-- Detector Main Box and Planes -->
<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"/>
<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"/>
<UnionSolid name="CTPPS_Diamond_Main_Box">
<rSolid name="Main_Box_main"/>
<rSolid name="Main_Box_extra"/>
<rRotation name="rotations:90YX"/>
<Translation x="-[CTPPS_Diamond_Parameters:PCB_dx]/2-[CTPPS_Diamond_Parameters:PCB_extend_dx]/2" y="0*mm" z="0*mm"/>
</UnionSolid>
<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"/>
<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"/>
<UnionSolid name="PCB">
<rSolid name="PCB_main"/>
<rSolid name="PCB_extra"/>
<rRotation name="rotations:90YX"/>
<Translation x="-[CTPPS_Diamond_Parameters:PCB_dx]/2-[CTPPS_Diamond_Parameters:PCB_extend_dx]/2" y="0*mm" z="0*mm"/>
</UnionSolid>
</SolidSection>

<LogicalPartSection label="CTPPS_Diamond_Detector_Assembly.xml">
<!-- ****** Detector Box and Downstream Plane ****** -->
<LogicalPart name="CTPPS_Diamond_Main_Box" category="envelope">
<rSolid name="CTPPS_Diamond_Main_Box"/>
<rMaterial name="materials:Vacuum"/>
</LogicalPart>
<LogicalPart name="PCB" category="support">
<rSolid name="PCB"/>
<rMaterial name="RP_Materials:PCB"/> <!--should be equivalent to actual RO4350B-->
</LogicalPart>
</LogicalPartSection>

<PosPartSection label="CTPPS_Diamond_Detector_Assembly.xml">
<PosPart copyNumber="1">
<rParent name="CTPPS_Timing_Horizontal_Pot:Primary_Vacuum"/>
<rChild name="CTPPS_Diamond_Main_Box"/>
<rRotation name="CTPPS_Diamond_Transformations:planes_box_rotation"/>
<Translation x="0*cm" y="0*cm" z="-[CTPPS_Timing_Horizontal_Pot:bottom_wall_thickness]/2+[CTPPS_Diamond_Parameters:PCB_extend_dx]"/>
</PosPart>
<PosPart copyNumber="122">
<rParent name="RP_Box_122:RP_box_primary_vacuum"/>
<rChild name="CTPPS_Diamond_Main_Box"/>
<rRotation name="RP_Transformations:RP_90_z_rot"/>
<Translation x="0*cm" y="[RP_Box:RP_Box_Bottom_Wall_Thickness]" z="-[CTPPS_Timing_Horizontal_Pot:bottom_wall_thickness]/2+[CTPPS_Diamond_Parameters:PCB_extend_dx]"/>
</PosPart>
<PosPart copyNumber="22">
<rParent name="RP_Box_022:RP_box_primary_vacuum"/>
<rChild name="CTPPS_Diamond_Main_Box"/>
<rRotation name="RP_Transformations:RP_90_z_rot"/>
<!-- <rRotation name="CTPPS_Diamond_Transformations:planes_box_rotation"/>-->
<Translation x="0*cm" y="[RP_Box:RP_Box_Bottom_Wall_Thickness]" z="-[CTPPS_Timing_Horizontal_Pot:bottom_wall_thickness]/2+[CTPPS_Diamond_Parameters:PCB_extend_dx]"/>
</PosPart>


<PosPart copyNumber="1">
<rParent name="CTPPS_Diamond_Main_Box"/>
<rChild name="CTPPS_Diamond_Plane1_new:CTPPS_Diamond_Plane"/>
<Translation y="0*cm" x="[Shift_dx]" z="-([CTPPS_Diamond_Parameters:Plane_dz]+[CTPPS_Diamond_Parameters:Plane_gap])*3/2"/>
</PosPart>
<PosPart copyNumber="2">
<rParent name="CTPPS_Diamond_Main_Box"/>
<rChild name="CTPPS_Diamond_Plane2_new:CTPPS_Diamond_Plane"/>
<Translation y="0*cm" x="[Shift_dx]" z="-([CTPPS_Diamond_Parameters:Plane_dz]+[CTPPS_Diamond_Parameters:Plane_gap])/2"/>
</PosPart>
<PosPart copyNumber="3">
<rParent name="CTPPS_Diamond_Main_Box"/>
<rChild name="CTPPS_Diamond_Plane3:CTPPS_Diamond_Plane"/>
<Translation y="0*cm" x="[Shift_dx]" z="([CTPPS_Diamond_Parameters:Plane_dz]+[CTPPS_Diamond_Parameters:Plane_gap])/2"/>
<rRotation name="CTPPS_Diamond_Transformations:planes_x_rotation"/>
</PosPart>
<PosPart copyNumber="4">
<rParent name="CTPPS_Diamond_Main_Box"/>
<rChild name="CTPPS_Diamond_Plane4:CTPPS_Diamond_Plane"/>
<Translation y="0*cm" x="[Shift_dx]" z="([CTPPS_Diamond_Parameters:Plane_dz]+[CTPPS_Diamond_Parameters:Plane_gap])*3/2"/>
</PosPart>
</PosPartSection>

</DDDefinition>

Loading