/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
Geometry/CMSCommonData/data/mgnt.xml
148 строк
6 KB
Giulio Eulisse
Snapshot of CMSSW_6_2_0_pre8.
26 июн 2013, 18:12
26 июн 2013, 18:12
214ab73
Код
Авторство
О чём код?
<?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="mgnt.xml" eval="true"> <Constant name="MGNT_rmin" value="2.97*m"/> <Constant name="MGNT_rmax1" value="3.77*m"/> <Constant name="MGNT_rmax2" value="3.80*m"/> <Constant name="ChimHole_height" value="([MGNT_rmax2]-[MGNT_rmin])/2."/> <Constant name="ChimHole_posR" value="([MGNT_rmin]+[MGNT_rmax2])/2."/> <Constant name="ChimHole_posZ_P" value="1.471*m"/> <Constant name="ChimHole_posZ_N" value="-1.560*m"/> </ConstantsSection> <SolidSection label="mgnt.xml"> <Polycone name="MGNT_0" startPhi="0*deg" deltaPhi="360*deg"> <ZSection z="-6.5*m" rMin="[MGNT_rmin]" rMax="[MGNT_rmax1]"/> <ZSection z="-2.2*m" rMin="[MGNT_rmin]" rMax="[MGNT_rmax1]"/> <ZSection z="-2.2*m" rMin="[MGNT_rmin]" rMax="[MGNT_rmax2]"/> <ZSection z="2.2*m" rMin="[MGNT_rmin]" rMax="[MGNT_rmax2]"/> <ZSection z="2.2*m" rMin="[MGNT_rmin]" rMax="[MGNT_rmax1]"/> <ZSection z="6.5*m" rMin="[MGNT_rmin]" rMax="[MGNT_rmax1]"/> </Polycone> <Tubs name="COII_0" rMin="3.03*m" rMax="3.74*m" dz="6.42*m" startPhi="0*deg" deltaPhi="360*deg"/> <Tubs name="COIV_0" rMin="3.06*m" rMax="3.71*m" dz="6.39*m" startPhi="0*deg" deltaPhi="360*deg"/> <Tubs name="COIS_0" rMin="3.18*m" rMax="3.48*m" dz="6.24*m" startPhi="0*deg" deltaPhi="360*deg"/> <Tubs name="COCF_0" rMin="3.185*m" rMax="3.43*m" dz="6.19*m" startPhi="0*deg" deltaPhi="360*deg"/> <Tubs name="CHIMNEY_HOLE_P" rMin="0.*m" rMax="0.48*m" dz="[ChimHole_height]" startPhi="0*deg" deltaPhi="360*deg"/> <Tubs name="CHIMNEY_HOLE_N_a" rMin="0.*m" rMax="0.725*m" dz="[ChimHole_height]" startPhi="90*deg" deltaPhi="180*deg"/> <Tubs name="CHIMNEY_HOLE_N_b" rMin="0.*m" rMax="0.725*m" dz="[ChimHole_height]" startPhi="270*deg" deltaPhi="180*deg"/> <Box name="CHIMNEY_HOLE_N_c" dx="0.3/2.*m" dy="0.5/2*m" dz="[ChimHole_height]"/> <!-- %%%%%%%% Build the oval chimney hole --> <UnionSolid name="CHIMNEY_HOLE_N_ca"> <rSolid name="CHIMNEY_HOLE_N_c"/> <rSolid name="CHIMNEY_HOLE_N_a"/> <rRotation name="rotations:000D"/> <Translation x="-0.15*m" y="0.*fm" z="0.*fm"/> </UnionSolid> <UnionSolid name="CHIMNEY_HOLE_N"> <rSolid name="CHIMNEY_HOLE_N_ca"/> <rSolid name="CHIMNEY_HOLE_N_b"/> <rRotation name="rotations:000D"/> <Translation x="0.15*m" y="0.*fm" z="0.*fm"/> </UnionSolid> <!-- %%%%%%%% Substract the oval to the volumes --> <SubtractionSolid name="MGNT_1"> <rSolid name="MGNT_0"/> <rSolid name="CHIMNEY_HOLE_P"/> <rRotation name="rotations:RMCHIMHOLEP"/> <Translation x="[ChimHole_posR]*sin(0.*deg)" y="[ChimHole_posR]*cos(0.*deg)" z="[ChimHole_posZ_P]"/> </SubtractionSolid> <SubtractionSolid name="MGNT"> <rSolid name="MGNT_1"/> <rSolid name="CHIMNEY_HOLE_N"/> <rRotation name="rotations:RMCHIMHOLEN"/> <Translation x="[ChimHole_posR]*sin(30.*deg)" y="[ChimHole_posR]*cos(30.*deg)" z="[ChimHole_posZ_N]"/> </SubtractionSolid> <SubtractionSolid name="COII_1"> <rSolid name="COII_0"/> <rSolid name="CHIMNEY_HOLE_P"/> <rRotation name="rotations:RMCHIMHOLEP"/> <Translation x="[ChimHole_posR]*sin(0.*deg)" y="[ChimHole_posR]*cos(0.*deg)" z="[ChimHole_posZ_P]"/> </SubtractionSolid> <SubtractionSolid name="COII"> <rSolid name="COII_1"/> <rSolid name="CHIMNEY_HOLE_N"/> <rRotation name="rotations:RMCHIMHOLEN"/> <Translation x="[ChimHole_posR]*sin(30.*deg)" y="[ChimHole_posR]*cos(30.*deg)" z="[ChimHole_posZ_N]"/> </SubtractionSolid> <SubtractionSolid name="COIV_1"> <rSolid name="COIV_0"/> <rSolid name="CHIMNEY_HOLE_P"/> <rRotation name="rotations:RMCHIMHOLEP"/> <Translation x="[ChimHole_posR]*sin(0.*deg)" y="[ChimHole_posR]*cos(0.*deg)" z="[ChimHole_posZ_P]"/> </SubtractionSolid> <SubtractionSolid name="COIV"> <rSolid name="COIV_1"/> <rSolid name="CHIMNEY_HOLE_N"/> <rRotation name="rotations:RMCHIMHOLEN"/> <Translation x="[ChimHole_posR]*sin(30.*deg)" y="[ChimHole_posR]*cos(30.*deg)" z="[ChimHole_posZ_N]"/> </SubtractionSolid> <SubtractionSolid name="COIS_1"> <rSolid name="COIS_0"/> <rSolid name="CHIMNEY_HOLE_P"/> <rRotation name="rotations:RMCHIMHOLEP"/> <Translation x="[ChimHole_posR]*sin(0.*deg)" y="[ChimHole_posR]*cos(0.*deg)" z="[ChimHole_posZ_P]"/> </SubtractionSolid> <SubtractionSolid name="COIS"> <rSolid name="COIS_1"/> <rSolid name="CHIMNEY_HOLE_N"/> <rRotation name="rotations:RMCHIMHOLEN"/> <Translation x="[ChimHole_posR]*sin(30.*deg)" y="[ChimHole_posR]*cos(30.*deg)" z="[ChimHole_posZ_N]"/> </SubtractionSolid> <SubtractionSolid name="COCF_1"> <rSolid name="COCF_0"/> <rSolid name="CHIMNEY_HOLE_P"/> <rRotation name="rotations:RMCHIMHOLEP"/> <Translation x="[ChimHole_posR]*sin(0.*deg)" y="[ChimHole_posR]*cos(0.*deg)" z="[ChimHole_posZ_P]"/> </SubtractionSolid> <SubtractionSolid name="COCF"> <rSolid name="COCF_1"/> <rSolid name="CHIMNEY_HOLE_N"/> <rRotation name="rotations:RMCHIMHOLEN"/> <Translation x="[ChimHole_posR]*sin(30.*deg)" y="[ChimHole_posR]*cos(30.*deg)" z="[ChimHole_posZ_N]"/> </SubtractionSolid> </SolidSection> <LogicalPartSection label="mgnt.xml"> <LogicalPart name="MGNT" category="unspecified"> <rSolid name="MGNT"/> <rMaterial name="materials:StainlessSteel"/> </LogicalPart> <LogicalPart name="COII" category="unspecified"> <rSolid name="COII"/> <rMaterial name="materials:Insulation"/> </LogicalPart> <LogicalPart name="COIV" category="unspecified"> <rSolid name="COIV"/> <rMaterial name="materials:Vacuum"/> </LogicalPart> <LogicalPart name="COIS" category="unspecified"> <rSolid name="COIS"/> <rMaterial name="materials:StainlessSteel"/> </LogicalPart> <LogicalPart name="COCF" category="unspecified"> <rSolid name="COCF"/> <rMaterial name="materials:Coil average"/> </LogicalPart> </LogicalPartSection> <PosPartSection label="mgnt.xml"> <PosPart copyNumber="1"> <rParent name="mgnt:MGNT"/> <rChild name="mgnt:COII"/> <rRotation name="rotations:000D"/> </PosPart> <PosPart copyNumber="1"> <rParent name="mgnt:COII"/> <rChild name="mgnt:COIV"/> <rRotation name="rotations:000D"/> </PosPart> <PosPart copyNumber="1"> <rParent name="mgnt:COIV"/> <rChild name="mgnt:COIS"/> <rRotation name="rotations:000D"/> </PosPart> <PosPart copyNumber="1"> <rParent name="mgnt:COIS"/> <rChild name="mgnt:COCF"/> <rRotation name="rotations:000D"/> </PosPart> </PosPartSection> </DDDefinition>