Back to home page

Project CMSSW displayed by LXR

 
 

    


Warning, /Geometry/HcalCommonData/data/hcalendcap/HGCal/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.495"/>
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="rMaxHECal2"  value="2639.0*mm"/>
0010   <Constant name="rMaxHECal3"  value="2458.0*mm"/>
0011   <Constant name="zHECal1"     value="[hgcal:zHGCal3]"/>
0012   <Constant name="zHECal2"     value="([zHECal1]+348.0*mm)"/>
0013   <Constant name="zHECal3"     value="([zHECal2]+348.0*mm)"/>
0014   <Constant name="zHECal4"     value="([zHECal3]+348.0*mm)"/>
0015   <Constant name="zHECal5"     value="([zHECal4]+15.0*mm)"/>
0016   <Constant name="zHECalP3"    value="([zHECal1]+522.0*mm)"/>
0017   <Constant name="z1Beam"      value="([zHECal2]-([rMaxHECal2]/[slopeTop]))"/>
0018   <Constant name="rMaxHECal1" value="([zHECal1]-[z1Beam])*[slopeTop]"/>
0019   <Constant name="rMaxHECalP3" value="[rMaxHECal2]"/>
0020   <Constant name="rMinHECal1"  value="[etaMax:slope]*[zHECal1]"/>
0021   <Constant name="rMinHECal2"  value="[etaMax:slope]*[zHECal2]"/>
0022   <Constant name="rMinHECal3"  value="[etaMax:slope]*[zHECal3]"/>    
0023   <Constant name="rMinHECal4"  value="[etaMax:slope]*[zHECal4]"/>
0024   <Constant name="rMinHECal5"  value="[etaMax:slope]*[zHECal5]"/>
0025   <Constant name="rMinHECalP3" value="[etaMax:slope]*[zHECalP3]"/>
0026 </ConstantsSection>
0027 
0028 <SolidSection label="hcalendcapalgo.xml">
0029   <Polyhedra name="HE" numSide="18" startPhi="350*deg" deltaPhi="360*deg">
0030     <ZSection z="[zHECal1]" rMin="[rMinHECal1]" rMax="[rMaxHECal1]"/>
0031     <ZSection z="[zHECal2]" rMin="[rMinHECal2]" rMax="[rMaxHECal2]"/>
0032     <ZSection z="[zHECal3]" rMin="[rMinHECal3]" rMax="[rMaxHECal2]"/>
0033     <ZSection z="[zHECal3]" rMin="[rMinHECal3]" rMax="[rMaxHECal3]"/>
0034     <ZSection z="[zHECal5]" rMin="[rMinHECal5]" rMax="[rMaxHECal3]"/>
0035   </Polyhedra>
0036   <Polyhedra name="HEFront" numSide="18" startPhi="350*deg" deltaPhi="360*deg">
0037     <ZSection z="[zHECal1]" rMin="[rMinHECal1]" rMax="[rMaxHECal1]"/>
0038     <ZSection z="[zHECal2]" rMin="[rMinHECal2]" rMax="[rMaxHECal2]"/>
0039     <ZSection z="[zHECal3]" rMin="[rMinHECal3]" rMax="[rMaxHECal2]"/>
0040     <ZSection z="[zHECal3]" rMin="[rMinHECal3]" rMax="[rMaxHECal3]"/>
0041     <ZSection z="[zHECal4]" rMin="[rMinHECal4]" rMax="[rMaxHECal3]"/>
0042   </Polyhedra>
0043   <Polyhedra name="HEModule" numSide="1" startPhi="350*deg" deltaPhi="20*deg">
0044     <ZSection z="[zHECal1]" rMin="[rMinHECal1]" rMax="[rMaxHECal1]"/>
0045     <ZSection z="[zHECal2]" rMin="[rMinHECal2]" rMax="[rMaxHECal2]"/>
0046     <ZSection z="[zHECal3]" rMin="[rMinHECal3]" rMax="[rMaxHECal2]"/>
0047     <ZSection z="[zHECal3]" rMin="[rMinHECal3]" rMax="[rMaxHECal3]"/>
0048     <ZSection z="[zHECal4]" rMin="[rMinHECal4]" rMax="[rMaxHECal3]"/>
0049   </Polyhedra>
0050   <Polyhedra name="HEPart1" numSide="1" startPhi="350*deg" deltaPhi="20*deg">
0051     <ZSection z="[zHECal1]"  rMin="[rMinHECal1]"  rMax="[rMaxHECal1]"/>
0052     <ZSection z="[zHECal2]"  rMin="[rMinHECal2]"  rMax="[rMaxHECal2]"/>
0053     <ZSection z="[zHECalP3]" rMin="[rMinHECalP3]" rMax="[rMaxHECalP3]"/>
0054   </Polyhedra>
0055   <Polyhedra name="HEPart2" numSide="1" startPhi="350*deg" deltaPhi="20*deg">
0056     <ZSection z="[zHECalP3]" rMin="[rMinHECalP3]" rMax="[rMaxHECalP3]"/>
0057     <ZSection z="[zHECal3]"  rMin="[rMinHECal3]"  rMax="[rMaxHECal2]"/>
0058     <ZSection z="[zHECal3]"  rMin="[rMinHECal3]"  rMax="[rMaxHECal3]"/>
0059     <ZSection z="[zHECal4]"  rMin="[rMinHECal4]"  rMax="[rMaxHECal3]"/>
0060   </Polyhedra>
0061   <Polyhedra name="HEBack" numSide="18" startPhi="350*deg" deltaPhi="360*deg">
0062     <ZSection z="[zHECal4]" rMin="[rMinHECal4]" rMax="[rMaxHECal3]"/>
0063     <ZSection z="[zHECal5]" rMin="[rMinHECal5]" rMax="[rMaxHECal3]"/>
0064   </Polyhedra>
0065 </SolidSection>
0066 
0067 <LogicalPartSection label="hcalencapalgo.xml">
0068   <LogicalPart name="HE" category="unspecified">
0069     <rSolid name="HE"/>
0070     <rMaterial name="materials:Air"/>
0071   </LogicalPart>
0072   <LogicalPart name="HEFront" category="unspecified">
0073     <rSolid name="HEFront"/>
0074     <rMaterial name="materials:Air"/>
0075   </LogicalPart>
0076   <LogicalPart name="HEModule" category="unspecified">
0077     <rSolid name="HEModule"/>
0078     <rMaterial name="materials:Air"/>
0079   </LogicalPart>
0080   <LogicalPart name="HEPart1" category="unspecified">
0081     <rSolid name="HEPart1"/>
0082     <rMaterial name="materials:H_Brass"/>
0083   </LogicalPart>
0084   <LogicalPart name="HEPart2" category="unspecified">
0085     <rSolid name="HEPart2"/>
0086     <rMaterial name="materials:H_Brass"/>
0087   </LogicalPart>
0088   <LogicalPart name="HEBack" category="unspecified">
0089     <rSolid name="HEBack"/>
0090     <rMaterial name="materials:H_Brass"/>
0091   </LogicalPart>
0092 </LogicalPartSection>
0093 
0094 <PosPartSection label="hcalendcapalgo.xml">
0095   <PosPart copyNumber="1">
0096     <rParent name="hcalalgo:HCal"/>
0097     <rChild name="hcalendcapalgo:HE"/>
0098     <rRotation name="rotations:000D"/>
0099   </PosPart>
0100   <PosPart copyNumber="2">
0101     <rParent name="hcalalgo:HCal"/>
0102     <rChild name="hcalendcapalgo:HE"/>
0103     <rRotation name="rotations:180D"/>
0104   </PosPart>
0105   <PosPart copyNumber="1">
0106     <rParent name="hcalendcapalgo:HE"/>
0107     <rChild name="hcalendcapalgo:HEFront"/>
0108     <rRotation name="rotations:000D"/>
0109   </PosPart>
0110   <PosPart copyNumber="1">
0111     <rParent name="hcalendcapalgo:HE"/>
0112     <rChild name="hcalendcapalgo:HEBack"/>
0113     <rRotation name="rotations:000D"/>
0114   </PosPart>
0115   <Algorithm name="global:DDAngular">
0116     <rParent name="hcalendcapalgo:HEFront"/>
0117     <String name="ChildName" value="hcalendcapalgo:HEModule"/>
0118     <Numeric name="N" value="18"/>
0119     <Numeric name="StartCopyNo" value="1"/>
0120     <Numeric name="IncrCopyNo"  value="1"/>
0121     <Numeric name="RangeAngle"  value="360*deg"/>
0122     <Numeric name="StartAngle"  value="0*deg"/>
0123     <Numeric name="Radius"      value="0"/>
0124     <Vector name="Center" type="numeric" nEntries="3"> 0, 0, 0 </Vector>
0125     <Vector name="RotateSolid" type="numeric" nEntries="3"> 0.*deg, 0.*deg, 0.*deg </Vector>
0126    </Algorithm>
0127    <PosPart copyNumber="1">
0128     <rParent name="hcalendcapalgo:HEModule"/>
0129     <rChild name="hcalendcapalgo:HEPart1"/>
0130     <rRotation name="rotations:000D"/>
0131    </PosPart>
0132    <PosPart copyNumber="1">
0133     <rParent name="hcalendcapalgo:HEModule"/>
0134     <rChild name="hcalendcapalgo:HEPart2"/>
0135     <rRotation name="rotations:000D"/>
0136    </PosPart>
0137    <Algorithm name="hcal:DDHCalEndcapModuleAlgo">
0138     <rParent name="hcalendcapalgo:HEPart1"/>
0139     <String  name="MaterialName"  value="materials:Air"/>
0140     <String  name="AbsorberMat"   value="materials:H_Brass"/>
0141     <String  name="PlasticMat"    value="materials:Polyethylene"/>
0142     <String  name="ScintMat"      value="materials:Scintillator"/>
0143     <String  name="Rotation"      value="hcalrotations:YXZ4"/>
0144     <Numeric name="Sectors"       value="18"/>
0145     <Numeric name="ZMinBlock"     value="[zHECal1]"/>
0146     <Numeric name="ZMaxBlock"     value="[zHECalP3]"/>
0147     <Numeric name="Z1Beam"        value="[z1Beam]"/>
0148     <Numeric name="ZiDip"         value="[zHECal3]"/>
0149     <Numeric name="DzStep"        value="87.0*mm"/>
0150     <Numeric name="ModuleThick"   value="9.0*mm"/>
0151     <Numeric name="LayerThick"    value="7.0*mm"/>
0152     <Numeric name="ScintThick"    value="3.7*mm"/>
0153     <Numeric name="RMaxFront"     value="[rMaxHECalP3]"/>
0154     <Numeric name="RMaxBack"      value="[rMaxHECalP3]"/>
0155     <Numeric name="TrimLeft"      value="0.5*mm"/>
0156     <Numeric name="TrimRight"     value="0.5*mm"/>
0157     <Numeric name="TolAbs"        value="0.75*mm"/>
0158     <Numeric name="SlopeBottom"   value="[etaMax:slope]"/>
0159     <Numeric name="SlopeTop"      value="[slopeTop]"/>
0160     <Numeric name="SlopeTopFront" value="[slopeTopF]"/>
0161     <Numeric name="ModType"       value="1"/>
0162     <Numeric name="ModNumber"     value="1"/>
0163     <Numeric name="LayerType"     value="1"/>
0164     <Vector name="LayerNumber" type="numeric" nEntries="6"> 
0165        7, 8, 9, 10, 11, 12 </Vector>
0166     <Vector name="PhiName" type="string" nEntries="2"> Phi0, Phi1</Vector>
0167     <Vector name="LayerName" type="string" nEntries="6"> 
0168        Layer07, Layer08, Layer09, Layer10, Layer11, Layer12 </Vector>
0169     <String  name="MotherName"    value="HE"/>
0170     <String  name="ModName"       value="Part1"/>
0171     <Numeric name="IdOffset"      value="4000"/>
0172   </Algorithm>
0173   <Algorithm name="hcal:DDHCalEndcapModuleAlgo">
0174     <rParent name="hcalendcapalgo:HEPart2"/>
0175     <String  name="MaterialName"  value="materials:Air"/>
0176     <String  name="AbsorberMat"   value="materials:H_Brass"/>
0177     <String  name="PlasticMat"    value="materials:Polyethylene"/>
0178     <String  name="ScintMat"      value="materials:Scintillator"/>
0179     <String  name="Rotation"      value="hcalrotations:YXZ4"/>
0180     <Numeric name="Sectors"       value="18"/>
0181     <Numeric name="ZMinBlock"     value="[zHECalP3]"/>
0182     <Numeric name="ZMaxBlock"     value="[zHECal4]"/>
0183     <Numeric name="Z1Beam"        value="[z1Beam]"/>
0184     <Numeric name="ZiDip"         value="[zHECal3]"/>
0185     <Numeric name="DzStep"        value="87.0*mm"/>
0186     <Numeric name="ModuleThick"   value="9.0*mm"/>
0187     <Numeric name="LayerThick"    value="7.0*mm"/>
0188     <Numeric name="ScintThick"    value="3.7*mm"/>
0189     <Numeric name="RMaxFront"     value="[rMaxHECal2]"/>
0190     <Numeric name="RMaxBack"      value="[rMaxHECal3]"/>
0191     <Numeric name="TrimLeft"      value="0.5*mm"/>
0192     <Numeric name="TrimRight"     value="0.5*mm"/>
0193     <Numeric name="TolAbs"        value="0.75*mm"/>
0194     <Numeric name="SlopeBottom"   value="[etaMax:slope]"/>
0195     <Numeric name="SlopeTop"      value="[slopeTop]"/>
0196     <Numeric name="SlopeTopFront" value="[slopeTop]"/>
0197     <Numeric name="ModType"       value="1"/>
0198     <Numeric name="ModNumber"     value="1"/>
0199     <Numeric name="LayerType"     value="1"/>
0200     <Vector name="LayerNumber" type="numeric" nEntries="6">
0201         13, 14, 15, 16, 17, 18 </Vector>
0202     <Vector name="PhiName" type="string" nEntries="2"> Phi0, Phi1</Vector>
0203     <Vector name="LayerName" type="string" nEntries="6"> 
0204        Layer13, Layer14, Layer15, Layer16, Layer17, Layer18</Vector>
0205     <String  name="MotherName"    value="HE"/>
0206     <String  name="ModName"       value="Part2"/>
0207     <Numeric name="IdOffset"      value="4000"/>
0208   </Algorithm>
0209 </PosPartSection>
0210 </DDDefinition>