Back to home page

Project CMSSW displayed by LXR

 
 

    


Warning, /Geometry/HcalCommonData/data/hcalendcap/PhaseII/hcalendcapalgo.xml is written in an unsupported language. File is not indexed.

0001 <?xml version="1.0"?>
0002 <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">
0003 
0004 <ConstantsSection label="hcalendcapalgo.xml" eval="true">
0005   <Constant name="etaMinF"     value="1.392"/>
0006   <Constant name="slopeTopF"   value="tan(2.0*atan(exp(-[etaMinF])))"/>
0007   <Constant name="slopeTop"    value="tan(53.0*deg)"/>
0008   <Constant name="zShiftHE"    value="-23.92*mm"/>
0009   <Constant name="z1Beam"      value="2412.7*mm"/>
0010   <Constant name="rMaxHECal2"  value="2639.0*mm"/>    
0011   <Constant name="rMaxHECal3"  value="2459.0*mm"/>
0012   <Constant name="zHECal1"     value="3684.0*mm"/>
0013   <Constant name="zHECal2"     value="(([rMaxHECal2]/[slopeTop])+[z1Beam])"/>
0014   <Constant name="zHECal3"     value="4870.5*mm"/>
0015   <Constant name="zHECal4"     value="5218.5*mm"/>
0016   <Constant name="zHECal5"     value="5242.5*mm"/>
0017   <Constant name="rMinHECal1"  value="[etaMax:slope]*[zHECal1]"/>
0018   <Constant name="rMinHECal2"  value="[etaMax:slope]*[zHECal2]"/>
0019   <Constant name="rMinHECal3"  value="[etaMax:slope]*[zHECal3]"/>    
0020   <Constant name="rMinHECal4"  value="[etaMax:slope]*[zHECal4]"/>
0021   <Constant name="rMinHECal5"  value="[etaMax:slope]*[zHECal5]"/>
0022   <Constant name="rMaxHECal1"  value="([zHECal1]-[z1Beam])*[slopeTop]"/>
0023   <Constant name="zHECalP1"    value="3739.5*mm"/>
0024   <Constant name="zHECalP2"    value="4435.5*mm"/>
0025   <Constant name="rMinHECalP1" value="[etaMax:slope]*[zHECalP1]"/>
0026   <Constant name="rMinHECalP2" value="[etaMax:slope]*[zHECalP2]"/>
0027   <Constant name="rMaxHECalP1" value="([zHECalP1]-[z1Beam])*[slopeTop]"/>
0028 </ConstantsSection>
0029 
0030 <SolidSection label="hcalendcapalgo.xml">
0031   <Polyhedra name="HE" numSide="18" startPhi="350*deg" deltaPhi="360*deg">
0032     <ZSection z="[zHECal1]" rMin="[rMinHECal1]" rMax="[rMaxHECal1]"/>
0033     <ZSection z="[zHECal2]" rMin="[rMinHECal2]" rMax="[rMaxHECal2]"/>
0034     <ZSection z="[zHECal3]" rMin="[rMinHECal3]" rMax="[rMaxHECal2]"/>
0035     <ZSection z="[zHECal3]" rMin="[rMinHECal3]" rMax="[rMaxHECal3]"/>
0036     <ZSection z="[zHECal5]" rMin="[rMinHECal5]" rMax="[rMaxHECal3]"/>
0037   </Polyhedra>
0038   <Polyhedra name="HEFront" numSide="18" startPhi="350*deg" deltaPhi="360*deg">
0039     <ZSection z="[zHECal1]" rMin="[rMinHECal1]" rMax="[rMaxHECal1]"/>
0040     <ZSection z="[zHECal2]" rMin="[rMinHECal2]" rMax="[rMaxHECal2]"/>
0041     <ZSection z="[zHECal3]" rMin="[rMinHECal3]" rMax="[rMaxHECal2]"/>
0042     <ZSection z="[zHECal3]" rMin="[rMinHECal3]" rMax="[rMaxHECal3]"/>
0043     <ZSection z="[zHECal4]" rMin="[rMinHECal4]" rMax="[rMaxHECal3]"/>
0044   </Polyhedra>
0045   <Polyhedra name="HEModule" numSide="1" startPhi="350*deg" deltaPhi="20*deg">
0046     <ZSection z="[zHECal1]" rMin="[rMinHECal1]" rMax="[rMaxHECal1]"/>
0047     <ZSection z="[zHECal2]" rMin="[rMinHECal2]" rMax="[rMaxHECal2]"/>
0048     <ZSection z="[zHECal3]" rMin="[rMinHECal3]" rMax="[rMaxHECal2]"/>
0049     <ZSection z="[zHECal3]" rMin="[rMinHECal3]" rMax="[rMaxHECal3]"/>
0050     <ZSection z="[zHECal4]" rMin="[rMinHECal4]" rMax="[rMaxHECal3]"/>
0051   </Polyhedra>
0052   <Polyhedra name="HEPart1" numSide="1" startPhi="350*deg" deltaPhi="20*deg">
0053     <ZSection z="[zHECal1]"  rMin="[rMinHECal1]"  rMax="[rMaxHECal1]"/>
0054     <ZSection z="[zHECalP1]" rMin="[rMinHECalP1]" rMax="[rMaxHECalP1]"/>
0055   </Polyhedra>
0056   <Polyhedra name="HEPart2" numSide="1" startPhi="350*deg" deltaPhi="20*deg">
0057     <ZSection z="[zHECalP1]" rMin="[rMinHECalP1]" rMax="[rMaxHECalP1]"/>
0058     <ZSection z="[zHECal2]"  rMin="[rMinHECal2]"  rMax="[rMaxHECal2]"/>
0059     <ZSection z="[zHECalP2]" rMin="[rMinHECalP2]" rMax="[rMaxHECal2]"/>
0060   </Polyhedra>
0061   <Polyhedra name="HEPart3" numSide="1" startPhi="350*deg" deltaPhi="20*deg">
0062     <ZSection z="[zHECalP2]" rMin="[rMinHECalP2]" rMax="[rMaxHECal2]"/>
0063     <ZSection z="[zHECal3]"  rMin="[rMinHECal3]"  rMax="[rMaxHECal2]"/>
0064     <ZSection z="[zHECal3]"  rMin="[rMinHECal3]"  rMax="[rMaxHECal3]"/>
0065     <ZSection z="[zHECal4]"  rMin="[rMinHECal4]"  rMax="[rMaxHECal3]"/>
0066   </Polyhedra>
0067   <Polyhedra name="HEBack" numSide="18" startPhi="350*deg" deltaPhi="360*deg">
0068     <ZSection z="[zHECal4]" rMin="[rMinHECal4]" rMax="[rMaxHECal3]"/>
0069     <ZSection z="[zHECal5]" rMin="[rMinHECal5]" rMax="[rMaxHECal3]"/>
0070   </Polyhedra>
0071 </SolidSection>
0072 
0073 <LogicalPartSection label="hcalencapalgo.xml">
0074   <LogicalPart name="HE" category="unspecified">
0075     <rSolid name="HE"/>
0076     <rMaterial name="materials:Air"/>
0077   </LogicalPart>
0078   <LogicalPart name="HEFront" category="unspecified">
0079     <rSolid name="HEFront"/>
0080     <rMaterial name="materials:Air"/>
0081   </LogicalPart>
0082   <LogicalPart name="HEModule" category="unspecified">
0083     <rSolid name="HEModule"/>
0084     <rMaterial name="materials:Air"/>
0085   </LogicalPart>
0086   <LogicalPart name="HEPart1" category="unspecified">
0087     <rSolid name="HEPart1"/>
0088     <rMaterial name="materials:Air"/>
0089   </LogicalPart>
0090   <LogicalPart name="HEPart2" category="unspecified">
0091     <rSolid name="HEPart2"/>
0092     <rMaterial name="materials:H_Brass"/>
0093   </LogicalPart>
0094   <LogicalPart name="HEPart3" category="unspecified">
0095     <rSolid name="HEPart3"/>
0096     <rMaterial name="materials:H_Brass"/>
0097   </LogicalPart>
0098   <LogicalPart name="HEBack" category="unspecified">
0099     <rSolid name="HEBack"/>
0100     <rMaterial name="materials:H_Brass"/>
0101   </LogicalPart>
0102 </LogicalPartSection>
0103 
0104 <PosPartSection label="hcalendcapalgo.xml">
0105   <PosPart copyNumber="1">
0106     <rParent name="hcalalgo:HCal"/>
0107     <rChild name="hcalendcapalgo:HE"/>
0108     <rRotation name="rotations:000D"/>
0109   </PosPart>
0110   <PosPart copyNumber="2">
0111     <rParent name="hcalalgo:HCal"/>
0112     <rChild name="hcalendcapalgo:HE"/>
0113     <rRotation name="rotations:180D"/>
0114   </PosPart>
0115   <PosPart copyNumber="1">
0116     <rParent name="hcalendcapalgo:HE"/>
0117     <rChild name="hcalendcapalgo:HEFront"/>
0118     <rRotation name="rotations:000D"/>
0119   </PosPart>
0120   <PosPart copyNumber="1">
0121     <rParent name="hcalendcapalgo:HE"/>
0122     <rChild name="hcalendcapalgo:HEBack"/>
0123     <rRotation name="rotations:000D"/>
0124   </PosPart>
0125   <Algorithm name="global:DDAngular">
0126     <rParent name="hcalendcapalgo:HEFront"/>
0127     <String name="ChildName" value="hcalendcapalgo:HEModule"/>
0128     <Numeric name="N" value="18"/>
0129     <Numeric name="StartCopyNo" value="1"/>
0130     <Numeric name="IncrCopyNo"  value="1"/>
0131     <Numeric name="RangeAngle"  value="360*deg"/>
0132     <Numeric name="StartAngle"  value="0*deg"/>
0133     <Numeric name="Radius"      value="0"/>
0134     <Vector name="Center" type="numeric" nEntries="3"> 0, 0, 0 </Vector>
0135     <Vector name="RotateSolid" type="numeric" nEntries="3"> 0.*deg, 0.*deg, 0.*deg </Vector>
0136    </Algorithm>
0137    <PosPart copyNumber="1">
0138     <rParent name="hcalendcapalgo:HEModule"/>
0139     <rChild name="hcalendcapalgo:HEPart1"/>
0140     <rRotation name="rotations:000D"/>
0141   </PosPart>
0142   <PosPart copyNumber="2">
0143     <rParent name="hcalendcapalgo:HEModule"/>
0144     <rChild name="hcalendcapalgo:HEPart2"/>
0145     <rRotation name="rotations:000D"/>
0146   </PosPart>
0147   <PosPart copyNumber="3">
0148     <rParent name="hcalendcapalgo:HEModule"/>
0149     <rChild name="hcalendcapalgo:HEPart3"/>
0150     <rRotation name="rotations:000D"/>
0151   </PosPart>
0152   <Algorithm name="hcal:DDHCalEndcapModuleAlgo">
0153     <rParent name="hcalendcapalgo:HEPart1"/>
0154     <String  name="MaterialName"  value="materials:Air"/>
0155     <String  name="AbsorberMat"   value="materials:H_Brass"/>
0156     <String  name="PlasticMat"    value="materials:Polyethylene"/>
0157     <String  name="ScintMat"      value="materials:Scintillator"/>
0158     <String  name="Rotation"      value="hcalrotations:YXZ4"/>
0159     <Numeric name="Sectors"       value="18"/>
0160     <Numeric name="ZMinBlock"     value="[zHECal1]"/>
0161     <Numeric name="ZMaxBlock"     value="[zHECalP1]"/>
0162     <Numeric name="Z1Beam"        value="[z1Beam]"/>
0163     <Numeric name="ZiDip"         value="[zHECal3]"/>
0164     <Numeric name="DzStep"        value="87.0*mm"/>
0165     <Numeric name="ModuleThick"   value="43.5*mm"/>
0166     <Numeric name="LayerThick"    value="12.0*mm"/>
0167     <Numeric name="ScintThick"    value="9.0*mm"/>
0168     <Numeric name="RMaxFront"     value="[rMaxHECalP1]"/>
0169     <Numeric name="RMaxBack"      value="[rMaxHECalP1]"/>
0170     <Numeric name="TrimLeft"      value="0.5*mm"/>
0171     <Numeric name="TrimRight"     value="1.5*mm"/>
0172     <Numeric name="TolAbs"        value="0.75*mm"/>
0173     <Numeric name="SlopeBottom"   value="[etaMax:slope]"/>
0174     <Numeric name="SlopeTop"      value="[slopeTop]"/>
0175     <Numeric name="SlopeTopFront" value="[slopeTop]"/>
0176     <Numeric name="ModType"       value="0"/>
0177     <Numeric name="ModNumber"     value="-1"/>
0178     <Numeric name="LayerType"     value="0"/>
0179     <Vector name="LayerNumber" type="numeric" nEntries="2"> 0, 1 </Vector>
0180     <Vector name="PhiName" type="string" nEntries="2"> Phi0, Phi1</Vector>
0181     <Vector name="LayerName" type="string" nEntries="1"> Layer00</Vector>
0182     <String  name="MotherName"    value="HE"/>
0183     <String  name="ModName"       value="Part1"/>
0184     <Numeric name="IdOffset"      value="4000"/>
0185   </Algorithm>
0186   <Algorithm name="hcal:DDHCalEndcapModuleAlgo">
0187     <rParent name="hcalendcapalgo:HEPart2"/>
0188     <String  name="MaterialName"  value="materials:Air"/>
0189     <String  name="AbsorberMat"   value="materials:H_Brass"/>
0190     <String  name="PlasticMat"    value="materials:Polyethylene"/>
0191     <String  name="ScintMat"      value="materials:Scintillator"/>
0192     <String  name="Rotation"      value="hcalrotations:YXZ4"/>
0193     <Numeric name="Sectors"       value="18"/>
0194     <Numeric name="ZMinBlock"     value="[zHECalP1]"/>
0195     <Numeric name="ZMaxBlock"     value="[zHECalP2]"/>
0196     <Numeric name="Z1Beam"        value="[z1Beam]"/>
0197     <Numeric name="ZiDip"         value="[zHECal3]"/>
0198     <Numeric name="DzStep"        value="87.0*mm"/>
0199     <Numeric name="ModuleThick"   value="9.0*mm"/>
0200     <Numeric name="LayerThick"    value="7.0*mm"/>
0201     <Numeric name="ScintThick"    value="3.7*mm"/>
0202     <Numeric name="RMaxFront"     value="[rMaxHECal2]"/>
0203     <Numeric name="RMaxBack"      value="[rMaxHECal3]"/>
0204     <Numeric name="TrimLeft"      value="0.5*mm"/>
0205     <Numeric name="TrimRight"     value="0.5*mm"/>
0206     <Numeric name="TolAbs"        value="0.75*mm"/>
0207     <Numeric name="SlopeBottom"   value="[etaMax:slope]"/>
0208     <Numeric name="SlopeTop"      value="[slopeTop]"/>
0209     <Numeric name="SlopeTopFront" value="[slopeTop]"/>
0210     <Numeric name="ModType"       value="1"/>
0211     <Numeric name="ModNumber"     value="1"/>
0212     <Numeric name="LayerType"     value="1"/>
0213     <Vector name="LayerNumber" type="numeric" nEntries="8"> 
0214        2, 3, 4, 5, 6, 7, 8, 9 </Vector>
0215     <Vector name="PhiName" type="string" nEntries="2"> Phi0, Phi1</Vector>
0216     <Vector name="LayerName" type="string" nEntries="8"> Layer02, Layer03, 
0217        Layer04, Layer05, Layer06, Layer07, Layer08, Layer09</Vector>
0218     <String  name="MotherName"    value="HE"/>
0219     <String  name="ModName"       value="Part2"/>
0220     <Numeric name="IdOffset"      value="4000"/>
0221   </Algorithm>
0222   <Algorithm name="hcal:DDHCalEndcapModuleAlgo">
0223     <rParent name="hcalendcapalgo:HEPart3"/>
0224     <String  name="MaterialName"  value="materials:Air"/>
0225     <String  name="AbsorberMat"   value="materials:H_Brass"/>
0226     <String  name="PlasticMat"    value="materials:Polyethylene"/>
0227     <String  name="ScintMat"      value="materials:Scintillator"/>
0228     <String  name="Rotation"      value="hcalrotations:YXZ4"/>
0229     <Numeric name="Sectors"       value="18"/>
0230     <Numeric name="ZMinBlock"     value="[zHECalP2]"/>
0231     <Numeric name="ZMaxBlock"     value="[zHECal4]"/>
0232     <Numeric name="Z1Beam"        value="[z1Beam]"/>
0233     <Numeric name="ZiDip"         value="[zHECal3]"/>
0234     <Numeric name="DzStep"        value="87.0*mm"/>
0235     <Numeric name="ModuleThick"   value="9.0*mm"/>
0236     <Numeric name="LayerThick"    value="7.0*mm"/>
0237     <Numeric name="ScintThick"    value="3.7*mm"/>
0238     <Numeric name="RMaxFront"     value="[rMaxHECal2]"/>
0239     <Numeric name="RMaxBack"      value="[rMaxHECal3]"/>
0240     <Numeric name="TrimLeft"      value="0.5*mm"/>
0241     <Numeric name="TrimRight"     value="0.5*mm"/>
0242     <Numeric name="TolAbs"        value="0.75*mm"/>
0243     <Numeric name="SlopeBottom"   value="[etaMax:slope]"/>
0244     <Numeric name="SlopeTop"      value="[slopeTop]"/>
0245     <Numeric name="SlopeTopFront" value="[slopeTop]"/>
0246     <Numeric name="ModType"       value="1"/>
0247     <Numeric name="ModNumber"     value="1"/>
0248     <Numeric name="LayerType"     value="1"/>
0249     <Vector name="LayerNumber" type="numeric" nEntries="9">
0250        10, 11, 12, 13, 14, 15, 16, 17, 18 </Vector>
0251     <Vector name="PhiName" type="string" nEntries="2"> Phi0, Phi1</Vector>
0252     <Vector name="LayerName" type="string" nEntries="9"> Layer10, Layer11, 
0253        Layer12, Layer13, Layer14, Layer15, Layer16, Layer17, Layer18</Vector>
0254     <String  name="MotherName"    value="HE"/>
0255     <String  name="ModName"       value="Part3"/>
0256     <Numeric name="IdOffset"      value="4000"/>
0257   </Algorithm>
0258 </PosPartSection>
0259 </DDDefinition>