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

Run3-sim60 Define the new Totem T2 for Run3 #29268

Merged
merged 4 commits into from Mar 24, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
155 changes: 155 additions & 0 deletions Geometry/CMSCommonData/data/cms/2021/v3/cms.xml
@@ -0,0 +1,155 @@
<?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="cms.xml" eval="true">
<Constant name="Rmin" value="[cmsextent:Rmin]"/>
<Constant name="Zmin" value="[cmsextent:Zmin]"/>
<Constant name="HallZ" value="[cmsextent:HallZ]"/>
<Constant name="HallR" value="[cmsextent:HallR]"/>
<Constant name="HallRMax" value="[cmsextent:HallRMax]"/>
<Constant name="CMSR1" value="[cmsextent:CMSR1]"/>
<Constant name="CMSR2" value="[cmsextent:CMSR2]"/>
<Constant name="CMSR3" value="[cavernData:CMSR3]"/>
<Constant name="CMSR4" value="[cavernData:CMSR4]"/>
<Constant name="CMSZ1" value="[cmsextent:CMSZ1]"/>
<Constant name="CMSZ2" value="[cmsextent:CMSZ2]"/>
<Constant name="HFRiseZ1" value="[cavernData:HFRiseZ1]"/>
<Constant name="HFRiseZ2" value="[cavernData:HFRiseZ2]"/>
<Constant name="ShaftY" value="[cavernData:ShaftY]"/>
<Constant name="ShaftZ" value="[cavernData:ShaftZ]"/>
<Constant name="CMSZ2" value="[cmsextent:CMSZ2]"/>
<Constant name="TrackCalorR" value="1.233*m"/>
<Constant name="CalorMuonR" value="2.950*m"/>
<Constant name="CalorMuonR2" value="2.810*m"/>
<Constant name="TrackBeamZ1" value="1.948*m"/>
<Constant name="TrackBeamZ2" value="2.932*m"/>
<Constant name="TrackBeamSupZ1" value="1.630*m-.6*cm"/>
<Constant name="TrackBeamSupZ2" value="1.630*m+.6*cm"/>
<Constant name="TrackBeamR1" value="2.50*cm"/>
<Constant name="TrackBeamR11" value="3.10*cm"/>
<Constant name="TrackBeamR12" value="3.15*cm"/>
<Constant name="TrackBeamR2" value="7.40*cm"/>
<Constant name="TrackBeamR3" value="7.7633*cm"/>
<Constant name="TrackLumiZ1" value="1.722*m"/>
<Constant name="TrackLumiZ2" value="1.800*m"/>
<Constant name="TrackLumiR1" value="7.70*cm"/>
<Constant name="TrackLumiR1Min" value="3.170*cm"/>
<Constant name="TrackLumiR2Min" value="3.3*cm"/>
<Constant name="TrackFwdZ3" value="1.948*m"/>
<Constant name="TrackFwdZOffset" value="106.91950*cm"/>
<Constant name="PIXSandwichLayer1Thick" value="0.2*mm"/>
<Constant name="PIXSandwichLayer2Thick" value="11.0*mm"/>
<Constant name="PIXSandwichLayer3Thick" value="0.5*mm"/>
<Constant name="PIXSandwichLayer4Thick" value="0.3*mm"/>
<Constant name="PIXSandwichLayerThick" value="[PIXSandwichLayer1Thick]+[PIXSandwichLayer2Thick]+[PIXSandwichLayer3Thick]+[PIXSandwichLayer4Thick]"/>
<Constant name="PIXNoseRin" value="215*mm"/>
<Constant name="PIXNoseRout" value="[PIXNoseRin]+[PIXSandwichLayerThick]"/>
<Constant name="PIXNoseLength" value="619.5*mm"/>
<Constant name="CalorBeamZ1" value="3.180*m"/>
<Constant name="CalorBeamZ2" value="5.541*m"/>
<Constant name="CalorBeamZ3" value="5.245*m"/>
<Constant name="CalorBeamR1" value="8.00*cm"/>
<Constant name="CalorBeamR2" value="8.93*cm"/>
<Constant name="MuonBeamZ0" value="6.50*m"/>
<Constant name="MuonBeamZ1" value="7.499*m"/>
<Constant name="MuonBeamZ2" value="10.86*m"/>
<Constant name="MuonBeamR0" value="10.50*cm"/>
<Constant name="MuonBeamR1" value="11.785*cm"/>
<Constant name="MuonBeamR2" value="76.80*cm"/>
<Constant name="TotemMuonR1" value="1.0411*m"/>
<Constant name="TotemMuonR2" value="1.1300*m"/>
<Constant name="TotemBeamR1" value="[MuonBeamR1]"/>
<Constant name="TotemBeamR2" value="12.15*cm"/>
<Constant name="TotemBeamR3" value="12.20*cm"/>
<Constant name="TotemBeamR4" value="45.0*mm"/>
<Constant name="TotemBeamR5" value="200.0*mm"/>
<Constant name="TotemBeamZ1" value="7.9500*m"/>
<Constant name="TotemBeamZ2" value="15.092*m"/>
<Constant name="TotemBeamZ3" value="15.308*m"/>
<Constant name="TotemBeamZ4" value="15.100*m"/>
<Constant name="TotemMuonZ1" value="10.165*m"/>
<Constant name="TotemMuonZ2" value="10.50*m"/>
<Constant name="ForwdBeamZ1" value="10.539*m"/>
<Constant name="ForwdBeamZ2" value="13.109*m"/>
<Constant name="ForwdBeamZ3" value="13.290*m"/>
<Constant name="ForwdBeamZ4" value="16.0305*m"/>
<Constant name="ForwdBeamZ5" value="16.424*m"/>
<Constant name="ForwdBeamZ6" value="17.058*m"/>
<Constant name="ForwdBeamZ7" value="17.920*m"/>
<Constant name="ForwdBeamZ8" value="18.562*m"/>
<Constant name="ForwdBeamZ9" value="18.905*m"/>
<Constant name="ForwdBeamR0" value="15.95*cm"/>
<Constant name="ForwdBeamR1" value="12.495*cm"/>
<Constant name="ForwdBeamR2" value="12.50*cm"/>
<Constant name="ForwdBeamR3" value="25.0*cm"/>
<Constant name="ForwdBeamR4" value="2.85*cm+0.65*cm"/> <!-- Post LS2 beam-pipe -->
<Constant name="ForwdBeamR5" value="7.50*cm"/>
<Constant name="ForwdBeamR6" value="20.5*cm"/>
<Constant name="ForwdBeamR7" value="4.00*cm"/>
<Constant name="ForwdBeamR8" value="2.15*cm"/>
<Constant name="ForwdVcalZ1" value="11.1495*m"/>
<Constant name="ForwdVcalZ2" value="12.8005*m"/>
<Constant name="ForwdVcalR1" value="1.595*m"/>
<Constant name="ForwdDetsZ1" value="16.0065*m"/>
<Constant name="ForwdDetsZ2" value="16.0065*m-1.6165*m"/>
<Constant name="ForwdDetsR1" value="33.00*cm"/>
<Constant name="MBarRmin" value="3.80*m"/>
<Constant name="MBarRmax" value="[CMSR4]"/>
<Constant name="MBarZ" value="6.61*m"/>
<Constant name="MBRingZ" value="1.268*m"/>
<Constant name="MBRing1Zpos" value="2.686*m"/>
<Constant name="MBRing2Zpos" value="5.342*m"/>
<Constant name="MEndcapZ0" value="6.59*m"/>
<Constant name="MEndcapZ1" value="6.835*m"/>
<Constant name="MERmin0" value="66.569*cm"/>
<Constant name="MERmin1" value="67.50*cm"/>
<Constant name="MERmin2" value="70.00*cm"/>
<Constant name="MERmin3" value="108.60*cm"/>
</ConstantsSection>

<SolidSection label="cms.xml">
<Box name="OCMS" dx="101*m" dy="101*m" dz="450*m"/>
<Polycone name="CMSEp" startPhi="0*deg" deltaPhi="360*deg" >
<ZSection z="-[CMSZ1]" rMin="[Rmin]" rMax="[CMSR2]"/>
<ZSection z="-[CMSZ2]" rMin="[Rmin]" rMax="[CMSR2]"/>
<ZSection z="-[CMSZ2]" rMin="[Rmin]" rMax="[CMSR4]"/>
<ZSection z="-[HFRiseZ1]" rMin="[Rmin]" rMax="[CMSR4]"/>
<ZSection z="-[HFRiseZ1]" rMin="[Rmin]" rMax="[CMSR3]"/>
<ZSection z="-[HFRiseZ2]" rMin="[Rmin]" rMax="[CMSR3]"/>
<ZSection z="-[HFRiseZ2]" rMin="[Rmin]" rMax="[CMSR4]"/>
<ZSection z="[HFRiseZ2]" rMin="[Rmin]" rMax="[CMSR4]"/>
<ZSection z="[HFRiseZ2]" rMin="[Rmin]" rMax="[CMSR3]"/>
<ZSection z="[HFRiseZ1]" rMin="[Rmin]" rMax="[CMSR3]"/>
<ZSection z="[HFRiseZ1]" rMin="[Rmin]" rMax="[CMSR4]"/>
<ZSection z="[CMSZ2]" rMin="[Rmin]" rMax="[CMSR4]"/>
<ZSection z="[CMSZ2]" rMin="[Rmin]" rMax="[CMSR2]"/>
<ZSection z="[CMSZ1]" rMin="[Rmin]" rMax="[CMSR2]"/>
</Polycone>
<Box name="YBFeetBox" dx="505*cm" dy="280*cm" dz="670*cm"/>
<UnionSolid name="CMSE">
<rSolid name="CMSEp"/>
<rSolid name="YBFeetBox"/>
<Translation x="0*fm" y="-880*cm+280*cm" z="0*fm"/>
</UnionSolid>
</SolidSection>

<LogicalPartSection label="cms.xml">
<LogicalPart name="World" category="unspecified">
<rSolid name="OCMS"/>
<rMaterial name="materials:Air"/>
</LogicalPart>
<LogicalPart name="OCMS" category="unspecified">
<rSolid name="OCMS"/>
<rMaterial name="materials:Air"/>
</LogicalPart>
<LogicalPart name="MCMS" category="unspecified">
<rSolid name="OCMS"/>
<rMaterial name="materials:Air"/>
</LogicalPart>
<LogicalPart name="CMSE" category="unspecified">
<rSolid name="OCMS"/>
<rMaterial name="materials:Air"/>
</LogicalPart>
</LogicalPartSection>

</DDDefinition>
35 changes: 35 additions & 0 deletions Geometry/ForwardCommonData/data/forward/2021/v1/forward.xml
@@ -0,0 +1,35 @@
<?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 ../../../../../../DetectorDescription/Schema/DDLSchema.xsd">

<ConstantsSection label="forward.xml" eval="true">
<Constant name="TotemT2dZ" value="([cms:TotemBeamZ3]-[cms:TotemBeamZ2])/2"/>
<Constant name="TotemT2Z" value="([cms:TotemBeamZ3]+[cms:TotemBeamZ2])/2"/>
</ConstantsSection>

<SolidSection label="forward.xml">
<Tubs name="TotemT2" rMin="[cms:TotemBeamR4]" rMax="[cms:TotemBeamR5]" dz="[TotemT2dZ]" startPhi="0*deg" deltaPhi="360*deg"/>
</SolidSection>

<LogicalPartSection label="forward.xml">
<LogicalPart name="TotemT2" category="unspecified">
<rSolid name="TotemT2"/>
<rMaterial name="materials:Air"/>
</LogicalPart>
</LogicalPartSection>

<PosPartSection label="forward.xml">
<PosPart copyNumber="1">
<rParent name="cms:CMSE"/>
<rChild name="forward:TotemT2"/>
<Translation x="0*fm" y="0*fm" z="[TotemT2Z]"/>
<rRotation name="rotations:000D"/>
</PosPart>
<PosPart copyNumber="2">
<rParent name="cms:CMSE"/>
<rChild name="forward:TotemT2"/>
<Translation x="0*fm" y="0*fm" z="-[TotemT2Z]"/>
<rRotation name="rotations:180D"/>
</PosPart>
</PosPartSection>

</DDDefinition>
192 changes: 192 additions & 0 deletions Geometry/ForwardCommonData/data/totemt2/2021/v1/totemt2.xml
@@ -0,0 +1,192 @@
<?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 ../../../../../../DetectorDescription/Schema/DDLSchema.xsd">

<ConstantsSection label="totemt2.xml" eval="true">
<Constant name="tol" value="1.0*mm"/>
<Constant name="SupportDiskRmin" value="155.0*mm"/>
<Constant name="SupportDiskRmax" value="198.0*mm"/>
<Constant name="SupportDiskDz" value="3.0*mm"/>
<Constant name="SupportDiskZ1" value="(-[forward:TotemT2dZ]+[SupportDiskDz])"/>
<Constant name="SupportDiskZ2" value="([forward:TotemT2dZ]-[SupportDiskDz])"/>
<Constant name="SupportBoxDyOut" value="102.0*mm"/>
<Constant name="SupportBoxDyIn" value="([SupportBoxDyOut]-9.5*mm)"/>
<Constant name="SupportBoxDxOut" value="46.0*mm"/>
<Constant name="SupportBoxDxIn" value="([SupportBoxDxOut]-21.0*mm)"/>
<Constant name="SupportBoxDz" value="3.0*mm"/>
<Constant name="T2ScintAng" value="45.0*deg"/>
<Constant name="T2ScintH" value="105.0*mm"/>
<Constant name="T2ScintDy" value="10.0*mm"/>
<Constant name="T2ScintDz" value="0.5*[T2ScintH]"/>
<Constant name="T2ScintDxLow" value="24.0*mm"/>
<Constant name="T2ScintDxTop" value="([T2ScintDxLow]+[T2ScintH]*tan(0.5*[T2ScintAng]))"/>
<Constant name="T2ScintR" value="([cms:TotemBeamR4]+[T2ScintDz])"/>
<Constant name="T2ServiceDz" value="200*mm"/>
<Constant name="T2ScintGap1" value="1*mm"/>
<Constant name="T2ScintGap2" value="([T2ServiceDz]-4*[T2ScintGap1]-
16*[T2ScintDy])/3"/>
<Constant name="T2ScintZ1" value="(-0.5*[T2ServiceDz]+[T2ScintDy])"/>
<Constant name="T2ScintZ2" value="([T2ScintZ1]+[T2ScintGap1]+2*[T2ScintDy])"/>
<Constant name="T2ScintZ3" value="([T2ScintZ2]+[T2ScintGap2]+2*[T2ScintDy])"/>
<Constant name="T2ScintZ4" value="([T2ScintZ3]+[T2ScintGap1]+2*[T2ScintDy])"/>
<Constant name="T2ScintZ5" value="([T2ScintZ4]+[T2ScintGap2]+2*[T2ScintDy])"/>
<Constant name="T2ScintZ6" value="([T2ScintZ5]+[T2ScintGap1]+2*[T2ScintDy])"/>
<Constant name="T2ScintZ7" value="([T2ScintZ6]+[T2ScintGap2]+2*[T2ScintDy])"/>
<Constant name="T2ScintZ8" value="([T2ScintZ7]+[T2ScintGap1]+2*[T2ScintDy])"/>
<Constant name="SupportBoxR0" value="([cms:TotemBeamR4]+[T2ScintH])"/>
<Constant name="SupportBoxR" value="(sqrt([SupportBoxR0]*[SupportBoxR0]+
[T2ScintDxTop]*[T2ScintDxTop])+
[SupportBoxDz]+[tol])"/>
</ConstantsSection>

<SolidSection label="totemt2.xml">
<Tubs name="TotemT2SupportDisk" rMin="[SupportDiskRmin]" rMax="[SupportDiskRmax]" dz="[SupportDiskDz]" startPhi="0*deg" deltaPhi="360*deg"/>
<Box name="TotemT2SupportBox" dx="[SupportBoxDxOut]" dy="[SupportBoxDyOut]" dz="[SupportBoxDz]"/>
<Box name="TotemT2SupportBoxIn" dx="[SupportBoxDxIn]" dy="[SupportBoxDyIn]" dz="[SupportBoxDz]"/>
<Trapezoid name="TotemT2Scint" dz="[T2ScintDz]" alp1="0*deg" bl1="[T2ScintDxLow]" tl1="[T2ScintDxLow]" h1="[T2ScintDy]" alp2="0*deg" bl2="[T2ScintDxTop]" tl2="[T2ScintDxTop]" h2="[T2ScintDy]" phi="0*deg" theta="0*deg"/>
</SolidSection>

<LogicalPartSection label="forward.xml">
<LogicalPart name="TotemT2SupportDisk" category="unspecified">
<rSolid name="TotemT2SupportDisk"/>
<rMaterial name="materials:Aluminium"/>
</LogicalPart>
<LogicalPart name="TotemT2SupportBox" category="unspecified">
<rSolid name="TotemT2SupportBox"/>
<rMaterial name="materials:Aluminium"/>
</LogicalPart>
<LogicalPart name="TotemT2SupportBoxIn" category="unspecified">
<rSolid name="TotemT2SupportBoxIn"/>
<rMaterial name="materials:Air"/>
</LogicalPart>
<LogicalPart name="TotemT2Scint" category="unspecified">
<rSolid name="TotemT2Scint"/>
<rMaterial name="materials:Scintillator"/>
</LogicalPart>
</LogicalPartSection>

<PosPartSection label="forward.xml">
<PosPart copyNumber="1">
<rParent name="forward:TotemT2"/>
<rChild name="totemt2:TotemT2SupportDisk"/>
<Translation x="0*fm" y="0*fm" z="[SupportDiskZ1]"/>
</PosPart>
<PosPart copyNumber="2">
<rParent name="forward:TotemT2"/>
<rChild name="totemt2:TotemT2SupportDisk"/>
<Translation x="0*fm" y="0*fm" z="[SupportDiskZ2]"/>
</PosPart>
<PosPart copyNumber="1">
<rParent name="totemt2:TotemT2SupportBox"/>
<rChild name="totemt2:TotemT2SupportBoxIn"/>
</PosPart>
<Algorithm name="forward:DDTotemAngular">
<rParent name="forward:TotemT2"/>
<String name="ChildName" value="TotemT2SupportBox"/>
<String name="RotNameSpace" value="rotations"/>
<Numeric name="n" value="8"/>
<Numeric name="startCopyNo" value="1"/>
<Numeric name="incrCopyNo" value="1"/>
<Numeric name="stepAngle" value="45*deg"/>
<Numeric name="startAngle" value="0*deg"/>
<Numeric name="roffset" value="[SupportBoxR]"/>
<Numeric name="zoffset" value="0*fm"/>
</Algorithm>
<Algorithm name="forward:DDTotemAngular">
<rParent name="forward:TotemT2"/>
<String name="ChildName" value="TotemT2Scint"/>
<String name="RotNameSpace" value="rotations"/>
<Numeric name="n" value="4"/>
<Numeric name="startCopyNo" value="1"/>
<Numeric name="incrCopyNo" value="2"/>
<Numeric name="stepAngle" value="90*deg"/>
<Numeric name="startAngle" value="22.5*deg"/>
<Numeric name="roffset" value="[T2ScintR]"/>
<Numeric name="zoffset" value="[T2ScintZ1]"/>
</Algorithm>
<Algorithm name="forward:DDTotemAngular">
<rParent name="forward:TotemT2"/>
<String name="ChildName" value="TotemT2Scint"/>
<String name="RotNameSpace" value="rotations"/>
<Numeric name="n" value="4"/>
<Numeric name="startCopyNo" value="2"/>
<Numeric name="incrCopyNo" value="2"/>
<Numeric name="stepAngle" value="90*deg"/>
<Numeric name="startAngle" value="67.5*deg"/>
<Numeric name="roffset" value="[T2ScintR]"/>
<Numeric name="zoffset" value="[T2ScintZ2]"/>
</Algorithm>
<Algorithm name="forward:DDTotemAngular">
<rParent name="forward:TotemT2"/>
<String name="ChildName" value="TotemT2Scint"/>
<String name="RotNameSpace" value="rotations"/>
<Numeric name="n" value="4"/>
<Numeric name="startCopyNo" value="11"/>
<Numeric name="incrCopyNo" value="2"/>
<Numeric name="stepAngle" value="90*deg"/>
<Numeric name="startAngle" value="22.5*deg"/>
<Numeric name="roffset" value="[T2ScintR]"/>
<Numeric name="zoffset" value="[T2ScintZ3]"/>
</Algorithm>
<Algorithm name="forward:DDTotemAngular">
<rParent name="forward:TotemT2"/>
<String name="ChildName" value="TotemT2Scint"/>
<String name="RotNameSpace" value="rotations"/>
<Numeric name="n" value="4"/>
<Numeric name="startCopyNo" value="12"/>
<Numeric name="incrCopyNo" value="2"/>
<Numeric name="stepAngle" value="90*deg"/>
<Numeric name="startAngle" value="67.5*deg"/>
<Numeric name="roffset" value="[T2ScintR]"/>
<Numeric name="zoffset" value="[T2ScintZ4]"/>
</Algorithm>
<Algorithm name="forward:DDTotemAngular">
<rParent name="forward:TotemT2"/>
<String name="ChildName" value="TotemT2Scint"/>
<String name="RotNameSpace" value="rotations"/>
<Numeric name="n" value="4"/>
<Numeric name="startCopyNo" value="21"/>
<Numeric name="incrCopyNo" value="2"/>
<Numeric name="stepAngle" value="90*deg"/>
<Numeric name="startAngle" value="22.5*deg"/>
<Numeric name="roffset" value="[T2ScintR]"/>
<Numeric name="zoffset" value="[T2ScintZ5]"/>
</Algorithm>
<Algorithm name="forward:DDTotemAngular">
<rParent name="forward:TotemT2"/>
<String name="ChildName" value="TotemT2Scint"/>
<String name="RotNameSpace" value="rotations"/>
<Numeric name="n" value="4"/>
<Numeric name="startCopyNo" value="22"/>
<Numeric name="incrCopyNo" value="2"/>
<Numeric name="stepAngle" value="90*deg"/>
<Numeric name="startAngle" value="67.5*deg"/>
<Numeric name="roffset" value="[T2ScintR]"/>
<Numeric name="zoffset" value="[T2ScintZ6]"/>
</Algorithm>
<Algorithm name="forward:DDTotemAngular">
<rParent name="forward:TotemT2"/>
<String name="ChildName" value="TotemT2Scint"/>
<String name="RotNameSpace" value="rotations"/>
<Numeric name="n" value="4"/>
<Numeric name="startCopyNo" value="31"/>
<Numeric name="incrCopyNo" value="2"/>
<Numeric name="stepAngle" value="90*deg"/>
<Numeric name="startAngle" value="22.5*deg"/>
<Numeric name="roffset" value="[T2ScintR]"/>
<Numeric name="zoffset" value="[T2ScintZ7]"/>
</Algorithm>
<Algorithm name="forward:DDTotemAngular">
<rParent name="forward:TotemT2"/>
<String name="ChildName" value="TotemT2Scint"/>
<String name="RotNameSpace" value="rotations"/>
<Numeric name="n" value="4"/>
<Numeric name="startCopyNo" value="32"/>
<Numeric name="incrCopyNo" value="2"/>
<Numeric name="stepAngle" value="90*deg"/>
<Numeric name="startAngle" value="67.5*deg"/>
<Numeric name="roffset" value="[T2ScintR]"/>
<Numeric name="zoffset" value="[T2ScintZ8]"/>
</Algorithm>
</PosPartSection>

</DDDefinition>