Skip to content

Commit

Permalink
Define modules for HFNose followiing the structure of updated HGCal (…
Browse files Browse the repository at this point in the history
…as in V17 version)
  • Loading branch information
Sunanda committed Nov 30, 2023
1 parent 2990989 commit 35b66c5
Show file tree
Hide file tree
Showing 9 changed files with 567 additions and 2 deletions.
151 changes: 151 additions & 0 deletions Geometry/ForwardCommonData/data/hfnose/v5/hfnose.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,151 @@
<?xml version="1.0"?>
<DDDefinition>

<ConstantsSection label="hfnose.xml" eval="true">
<Constant name="FixShldZ1" value="10.910*m"/>
<Constant name="FixShldZ2" value="11.110*m"/>
<Constant name="FixShldR1" value="1.1130*m"/>
<Constant name="FixShldR2" value="[cms:ForwdVcalR1]"/>
<Constant name="FixShldR5" value="1.7000*m"/>
<Constant name="FixShldR7" value="2.1000*m"/>
<Constant name="FixShldR8" value="2.1500*m"/>
<Constant name="WaferSize" value="167.4408*mm"/>
<Constant name="WaferThickness" value="0.30*mm"/>
<Constant name="WaferThicknessFine" value="0.30*mm"/>
<Constant name="SensorSeparation" value="1.00*mm"/>
<Constant name="SensorSizeOffset" value="0.87*mm"/>
<Constant name="GuardRingOffset" value="0.90*mm"/>
<Constant name="MouseBite" value="5.00*mm"/>
<Constant name="ModuleThicknessEE" value="8.495*mm"/>
<Constant name="ModuleThicknessHE" value="8.495*mm"/>
<Constant name="CellThicknessFine" value="0.12*mm"/>
<Constant name="NumberOfCellsFine" value="12"/>
<Constant name="NumberOfCellsCoarse" value="12"/>
<Constant name="LayerRotation" value="30*deg"/>
<Constant name="HFNoseAngle1" value="1.644*deg"/>
<Constant name="HFNoseAngle2" value="5.70*deg"/>
<Constant name="HFNoseSlope1" value="tan([HFNoseAngle1])"/>
<Constant name="HFNoseSlope2" value="tan([HFNoseAngle2])"/>
<Constant name="HFNoseDz1" value="50.0*mm"/>
<Constant name="HFNoseDz2" value="23.0*mm"/>
<Constant name="HFNoseDz3" value="70.0*mm"/>
<Constant name="HFNoseDz0" value="18.55*mm"/>
<Constant name="NumberAbs1" value="1"/>
<Constant name="NumberAbs2" value="6"/>
<Constant name="NumberAbs3" value="2"/>
<Constant name="NumberDetP" value="8"/>
<Constant name="HFNoseDz" value="([HFNoseDz1]*[NumberAbs1]
+[HFNoseDz2]*[NumberAbs2]
+[HFNoseDz3]*[NumberAbs3]
+[HFNoseDz0]*[NumberDetP])"/>
<Constant name="HFNoseZ3" value="[cms:MuonBeamZ2]+30.0*mm"/>
<Constant name="HFNoseZ1" value="[HFNoseZ3]-[HFNoseDz]"/>
<Constant name="HFNoseZ2" value="[cms:MuonBeamZ2]"/>
<Constant name="HFNoseZ4" value="[cms:ForwdVcalZ1]"/>
<Constant name="HFNoseRMin1" value="[HFNoseZ1]*[HFNoseSlope1]"/>
<Constant name="HFNoseRMin2" value="[HFNoseZ2]*[HFNoseSlope1]"/>
<Constant name="HFNoseRMin3" value="[HFNoseZ3]*[HFNoseSlope1]"/>
<Constant name="HFNoseRMin4" value="[HFNoseZ4]*[HFNoseSlope1]"/>
<Constant name="HFNoseRMax1" value="[HFNoseZ1]*[HFNoseSlope2]"/>
<Constant name="HFNoseRMax2" value="[HFNoseZ2]*[HFNoseSlope2]"/>
<Constant name="HFNoseRMax3" value="[HFNoseZ3]*[HFNoseSlope2]"/>
<Constant name="HFNoseRMax4" value="[HFNoseZ4]*[HFNoseSlope2]"/>
<Constant name="ChoiceType" value="0"/>
<Constant name="NCornerCut" value="2"/>
<Constant name="FracAreaMin" value="0.2"/>
</ConstantsSection>

<SolidSection label="hfnose.xml">
<Polycone name="HFNoseVol" startPhi="0*deg" deltaPhi="360*deg">
<ZSection z="[HFNoseZ1]" rMin="[HFNoseRMin1]" rMax="[HFNoseRMax1]"/>
<ZSection z="[HFNoseZ2]" rMin="[HFNoseRMin2]" rMax="[HFNoseRMax2]"/>
<ZSection z="[HFNoseZ2]" rMin="[cms:ForwdBeamR1]" rMax="[cms:CMSR3]"/>
<ZSection z="[HFNoseZ4]" rMin="[cms:ForwdBeamR1]" rMax="[cms:CMSR3]"/>
</Polycone>
<Polycone name="HFNose" startPhi="0*deg" deltaPhi="360*deg">
<ZSection z="[HFNoseZ1]" rMin="[HFNoseRMin1]" rMax="[HFNoseRMax1]"/>
<ZSection z="[HFNoseZ3]" rMin="[HFNoseRMin3]" rMax="[HFNoseRMax3]"/>
</Polycone>
<Tubs name="HFNoseShield01" rMin="[cms:ForwdBeamR2]" rMax="[FixShldR1]"
dz="([FixShldZ2]-[FixShldZ1])/2" startPhi="0*deg" deltaPhi="360*deg"/>
<Polycone name="HFNoseShield02" startPhi="0*deg" deltaPhi="360*deg">
<ZSection z="[HFNoseZ2]" rMin="[FixShldR1]" rMax="[FixShldR5]"/>
<ZSection z="[FixShldZ2]" rMin="[FixShldR1]" rMax="[FixShldR5]"/>
<ZSection z="[FixShldZ2]" rMin="[FixShldR2]" rMax="[FixShldR5]"/>
<ZSection z="[HFNoseZ4]" rMin="[FixShldR2]" rMax="[FixShldR5]"/>
</Polycone>
<Tubs name="HFNoseShield03" rMin="[FixShldR5]" rMax="[FixShldR7]"
dz="([HFNoseZ4]-[HFNoseZ2])/2" startPhi="0*deg" deltaPhi="360*deg"/>
<Tubs name="HFNoseShield04" rMin="[FixShldR7]" rMax="[FixShldR8]"
dz="([HFNoseZ4]-[HFNoseZ2])/2" startPhi="0*deg" deltaPhi="360*deg"/>
</SolidSection>

<LogicalPartSection label="hfnose.xml">
<LogicalPart name="HFNoseVol" category="unspecified">
<rSolid name="HFNoseVol"/>
<rMaterial name="materials:Air"/>
</LogicalPart>
<LogicalPart name="HFNose" category="unspecified">
<rSolid name="HFNose"/>
<rMaterial name="materials:Air"/>
</LogicalPart>
<LogicalPart name="HFNoseShield01" category="unspecified">
<rSolid name="HFNoseShield01"/>
<rMaterial name="materials:Polyethylene"/>
</LogicalPart>
<LogicalPart name="HFNoseShield02" category="unspecified">
<rSolid name="HFNoseShield02"/>
<rMaterial name="materials:Steel-008"/>
</LogicalPart>
<LogicalPart name="HFNoseShield03" category="unspecified">
<rSolid name="HFNoseShield03"/>
<rMaterial name="materials:MagnetiteConc"/>
</LogicalPart>
<LogicalPart name="HFNoseShield04" category="unspecified">
<rSolid name="HFNoseShield04"/>
<rMaterial name="materials:Borated Polyethyl."/>
</LogicalPart>
</LogicalPartSection>

<PosPartSection label="hfnose.xml">
<PosPart copyNumber="1">
<rParent name="cms:CMSE"/>
<rChild name="hfnose:HFNoseVol"/>
<rRotation name="rotations:000D"/>
</PosPart>
<PosPart copyNumber="2">
<rParent name="cms:CMSE"/>
<rChild name="hfnose:HFNoseVol"/>
<rRotation name="rotations:180D"/>
</PosPart>
<PosPart copyNumber="1">
<rParent name="hfnose:HFNoseVol"/>
<rChild name="hfnose:HFNose"/>
<rRotation name="rotations:000D"/>
</PosPart>
<PosPart copyNumber="1">
<rParent name="hfnose:HFNoseVol"/>
<rChild name="hfnose:HFNoseShield01"/>
<Translation x="0*fm" y="0*fm" z="([FixShldZ2]+[FixShldZ1])/2"/>
<rRotation name="rotations:000D"/>
</PosPart>
<PosPart copyNumber="1">
<rParent name="hfnose:HFNoseVol"/>
<rChild name="hfnose:HFNoseShield02"/>
<rRotation name="rotations:000D"/>
</PosPart>
<PosPart copyNumber="1">
<rParent name="hfnose:HFNoseVol"/>
<rChild name="hfnose:HFNoseShield03"/>
<Translation x="0*fm" y="0*fm" z="([HFNoseZ4]+[HFNoseZ2])/2"/>
<rRotation name="rotations:000D"/>
</PosPart>
<PosPart copyNumber="1">
<rParent name="hfnose:HFNoseVol"/>
<rChild name="hfnose:HFNoseShield04"/>
<Translation x="0*fm" y="0*fm" z="([HFNoseZ4]+[HFNoseZ2])/2"/>
<rRotation name="rotations:000D"/>
</PosPart>
</PosPartSection>

</DDDefinition>
102 changes: 102 additions & 0 deletions Geometry/ForwardCommonData/data/hfnoseCell/v2/hfnoseCell.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
<?xml version="1.0"?>
<DDDefinition>

<ConstantsSection label="hfnoseCell.xml" eval="true">
<Constant name="WaferSize" value="[hfnose:WaferSize]"/>
<Constant name="SensorSizeOffset" value="[hfnose:SensorSizeOffset]"/>
<Constant name="WaferThicknessFine" value="[hfnose:WaferThicknessFine]"/>
<Constant name="MouseBite" value="[hfnose:MouseBite]"/>
<Constant name="CellThicknessFine" value="[hfnose:CellThicknessFine]"/>
<Constant name="NumberOfCellsFine" value="[hfnose:NumberOfCellsFine]"/>
</ConstantsSection>

<PosPartSection label="hfnoseCell.xml">
<Algorithm name="hgcal:DDHGCalCell">
<rParent name="hfnoseWafer:HFNoseCell"/>
<Numeric name="WaferSize" value="[WaferSize]"/>
<Numeric name="WaferSeparation" value="[SensorSizeOffset]"/>
<Numeric name="AddWaferSeparation" value="1"/>
<Numeric name="WaferThick" value="[WaferThicknessFine]"/>
<Numeric name="CellThick" value="[CellThicknessFine]"/>
<Numeric name="NCells" value="[NumberOfCellsFine]"/>
<Numeric name="PosSensitive" value="0"/>
<String name="Material" value="materials:Silicon"/>
<String name="FullCell" value="HFNoseEECellFull0Fine"/>
<String name="FullSensitive" value="HFNoseEESensitiveFull0Fine"/>
<Vector name="TruncatedCell" type="string" nEntries="6">
HFNoseEECellTrunc01Fine, HFNoseEECellTrunc02Fine,
HFNoseEECellTrunc03Fine, HFNoseEECellTrunc04Fine,
HFNoseEECellTrunc05Fine, HFNoseEECellTrunc06Fine</Vector>
<Vector name="TruncatedSensitive" type="string" nEntries="6">
HFNoseEESensitiveTrunc01Fine, HFNoseEESensitiveTrunc02Fine,
HFNoseEESensitiveTrunc03Fine, HFNoseEESensitiveTrunc04Fine,
HFNoseEESensitiveTrunc05Fine, HFNoseEESensitiveTrunc06Fine</Vector>
<Vector name="ExtendedCell" type="string" nEntries="6">
HFNoseEECellExten01Fine, HFNoseEECellExten02Fine,
HFNoseEECellExten03Fine, HFNoseEECellExten04Fine,
HFNoseEECellExten05Fine, HFNoseEECellExten06Fine</Vector>
<Vector name="ExtendedSensitive" type="string" nEntries="6">
HFNoseEESensitiveExten01Fine, HFNoseEESensitiveExten02Fine,
HFNoseEESensitiveExten03Fine, HFNoseEESensitiveExten04Fine,
HFNoseEESensitiveExten05Fine, HFNoseEESensitiveExten06Fine</Vector>
<Vector name="CornerCell" type="string" nEntries="12">
HFNoseEECellCorner01Fine, HFNoseEECellCorner02Fine,
HFNoseEECellCorner03Fine, HFNoseEECellCorner04Fine,
HFNoseEECellCorner05Fine, HFNoseEECellCorner06Fine,
HFNoseEECellCorner07Fine, HFNoseEECellCorner08Fine,
HFNoseEECellCorner09Fine, HFNoseEECellCorner10Fine,
HFNoseEECellCorner11Fine, HFNoseEECellCorner12Fine</Vector>
<Vector name="CornerSensitive" type="string" nEntries="12">
HFNoseEESensitiveCorner01Fine, HFNoseEESensitiveCorner02Fine,
HFNoseEESensitiveCorner03Fine, HFNoseEESensitiveCorner04Fine,
HFNoseEESensitiveCorner05Fine, HFNoseEESensitiveCorner06Fine,
HFNoseEESensitiveCorner07Fine, HFNoseEESensitiveCorner08Fine,
HFNoseEESensitiveCorner09Fine, HFNoseEESensitiveCorner10Fine,
HFNoseEESensitiveCorner11Fine, HFNoseEESensitiveCorner12Fine</Vector>
</Algorithm>
<Algorithm name="hgcal:DDHGCalCell">
<rParent name="hfnoseWafer:HFNoseWafer"/>
<Numeric name="WaferSize" value="[WaferSize]"/>
<Numeric name="WaferSeparation" value="[SensorSizeOffset]"/>
<Numeric name="AddWaferSeparation" value="1"/>
<Numeric name="WaferThick" value="[WaferThicknessFine]"/>
<Numeric name="CellThick" value="[CellThicknessFine]"/>
<Numeric name="NCells" value="[NumberOfCellsFine]"/>
<Numeric name="PosSensitive" value="0"/>
<String name="Material" value="materials:Silicon"/>
<String name="FullCell" value="HFNoseHECellFull0Fine"/>
<String name="FullSensitive" value="HFNoseHESensitiveFull0Fine"/>
<Vector name="TruncatedCell" type="string" nEntries="6">
HFNoseHECellTrunc01Fine, HFNoseHECellTrunc02Fine,
HFNoseHECellTrunc03Fine, HFNoseHECellTrunc04Fine,
HFNoseHECellTrunc05Fine, HFNoseHECellTrunc06Fine</Vector>
<Vector name="TruncatedSensitive" type="string" nEntries="6">
HFNoseHESensitiveTrunc01Fine, HFNoseHESensitiveTrunc02Fine,
HFNoseHESensitiveTrunc03Fine, HFNoseHESensitiveTrunc04Fine,
HFNoseHESensitiveTrunc05Fine, HFNoseHESensitiveTrunc06Fine</Vector>
<Vector name="ExtendedCell" type="string" nEntries="6">
HFNoseHECellExten01Fine, HFNoseHECellExten02Fine,
HFNoseHECellExten03Fine, HFNoseHECellExten04Fine,
HFNoseHECellExten05Fine, HFNoseHECellExten06Fine</Vector>
<Vector name="ExtendedSensitive" type="string" nEntries="6">
HFNoseHESensitiveExten01Fine, HFNoseHESensitiveExten02Fine,
HFNoseHESensitiveExten03Fine, HFNoseHESensitiveExten04Fine,
HFNoseHESensitiveExten05Fine, HFNoseHESensitiveExten06Fine</Vector>
<Vector name="CornerCell" type="string" nEntries="12">
HFNoseHECellCorner01Fine, HFNoseHECellCorner02Fine,
HFNoseHECellCorner03Fine, HFNoseHECellCorner04Fine,
HFNoseHECellCorner05Fine, HFNoseHECellCorner06Fine,
HFNoseHECellCorner07Fine, HFNoseHECellCorner08Fine,
HFNoseHECellCorner09Fine, HFNoseHECellCorner10Fine,
HFNoseHECellCorner11Fine, HFNoseHECellCorner12Fine</Vector>
<Vector name="CornerSensitive" type="string" nEntries="12">
HFNoseHESensitiveCorner01Fine, HFNoseHESensitiveCorner02Fine,
HFNoseHESensitiveCorner03Fine, HFNoseHESensitiveCorner04Fine,
HFNoseHESensitiveCorner05Fine, HFNoseHESensitiveCorner06Fine,
HFNoseHESensitiveCorner07Fine, HFNoseHESensitiveCorner08Fine,
HFNoseHESensitiveCorner09Fine, HFNoseHESensitiveCorner10Fine,
HFNoseHESensitiveCorner11Fine, HFNoseHESensitiveCorner12Fine</Vector>
</Algorithm>
</PosPartSection>

</DDDefinition>
20 changes: 20 additions & 0 deletions Geometry/ForwardCommonData/data/hfnoseWafer/v2/hfnose.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0"?>
<DDDefinition>

<ConstantsSection label="hfnose.xml" eval="true">
<Constant name="WaferSize" value="167.4408*mm"/>
<Constant name="WaferThickness" value="0.30*mm"/>
<Constant name="WaferThicknessFine" value="0.30*mm"/>
<Constant name="SensorSeparation" value="1.00*mm"/>
<Constant name="SensorSizeOffset" value="0.87*mm"/>
<Constant name="GuardRingOffset" value="0.90*mm"/>
<Constant name="MouseBite" value="5.00*mm"/>
<Constant name="ModuleThicknessEE" value="8.495*mm"/>
<Constant name="ModuleThicknessHE" value="8.495*mm"/>
<Constant name="CellThicknessFine" value="0.12*mm"/>
<Constant name="NumberOfCellsFine" value="12"/>
<Constant name="NumberOfCellsCoarse" value="12"/>
<Constant name="LayerRotation" value="30*deg"/>
</ConstantsSection>

</DDDefinition>
Loading

0 comments on commit 35b66c5

Please sign in to comment.