/DetectorDescription/Parser/test/testPosParts.xml

https://github.com/aivanov-cern/cmssw · XML · 126 lines · 118 code · 7 blank · 1 comment · 0 complexity · 470fa01b6a6ad73501a3734c9330c4b0 MD5 · raw file

  1. <?xml version="1.0"?>
  2. <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 ../../Schema/DDLSchema.xsd">
  3. <PosPartSection label="pospart">
  4. <PosPart copyNumber="0">
  5. <rParent name="testLogicalParts:MotherOfAllBoxes"/>
  6. <rChild name="testLogicalParts:trap1"/>
  7. <rRotation name="testRotations:x90"/>
  8. <Translation z="5*m" y="0*m" x="0*m"/>
  9. </PosPart>
  10. <PosPart copyNumber="0">
  11. <rParent name="testLogicalParts:MotherOfAllBoxes"/>
  12. <rChild name="testLogicalParts:trap2"/>
  13. <rRotation name="testRotations:x90y45"/>
  14. <Translation z="5*m" y="0*m" x="0*m"/>
  15. </PosPart>
  16. <PosPart copyNumber="0">
  17. <rParent name="testLogicalParts:MotherOfAllBoxes"/>
  18. <rChild name="testLogicalParts:trd1"/>
  19. <rRotation name="testRotations:x90y90"/>
  20. <Translation z="5*m" y="0*m" x="0*m"/>
  21. </PosPart>
  22. <PosPart copyNumber="0">
  23. <rParent name="testLogicalParts:MotherOfAllBoxes"/>
  24. <rChild name="testLogicalParts:trd2"/>
  25. <rRotation name="testRotations:x90y135"/>
  26. <Translation z="5*m" y="0*m" x="0*m"/>
  27. </PosPart>
  28. <PosPart copyNumber="0">
  29. <rParent name="testLogicalParts:MotherOfAllBoxes"/>
  30. <rChild name="testLogicalParts:trd2mirror"/>
  31. <rRotation name="testRotations:x90y135"/>
  32. <Translation z="5.1*m" y="0*m" x="0*m"/>
  33. </PosPart>
  34. <PosPart copyNumber="0">
  35. <rParent name="testLogicalParts:MotherOfAllBoxes"/>
  36. <rChild name="testLogicalParts:intsolid"/>
  37. <Translation z="-5*m" y="0*m" x="0*m"/>
  38. </PosPart>
  39. <PosPart copyNumber="0">
  40. <rParent name="testLogicalParts:MotherOfAllBoxes"/>
  41. <rChild name="testLogicalParts:pczsect1"/>
  42. <Translation z="5.5*m" y="0" x="0"/>
  43. </PosPart>
  44. <PosPart copyNumber="0">
  45. <rParent name="testLogicalParts:MotherOfAllBoxes"/>
  46. <rChild name="testLogicalParts:pczsect2"/>
  47. <Translation z="6.5*m" y="0" x="0"/>
  48. </PosPart>
  49. <PosPart copyNumber="0">
  50. <rParent name="testLogicalParts:MotherOfAllBoxes"/>
  51. <rChild name="testLogicalParts:pczsect3"/>
  52. <Translation z="7.5*m" y="0" x="0"/>
  53. </PosPart>
  54. <PosPart copyNumber="0">
  55. <rParent name="testLogicalParts:MotherOfAllBoxes"/>
  56. <rChild name="testLogicalParts:ptrap1"/>
  57. </PosPart>
  58. <PosPart copyNumber="0">
  59. <rParent name="testLogicalParts:MotherOfAllBoxes"/>
  60. <rChild name="testLogicalParts:ptrap2"/>
  61. </PosPart>
  62. <PosPart copyNumber="0">
  63. <rParent name="testLogicalParts:MotherOfAllBoxes"/>
  64. <rChild name="testLogicalParts:box1"/>
  65. <Translation z="-.5*m" y="0" x="0"/>
  66. </PosPart>
  67. <PosPart copyNumber="0">
  68. <rParent name="testLogicalParts:MotherOfAllBoxes"/>
  69. <rChild name="testLogicalParts:cone1"/>
  70. <Translation z="-5*m" y="0" x="0"/>
  71. </PosPart>
  72. <PosPart copyNumber="0">
  73. <rParent name="testLogicalParts:MotherOfAllBoxes"/>
  74. <rChild name="testLogicalParts:cone3"/>
  75. <Translation z="-6.5*m" y="0" x="0"/>
  76. </PosPart>
  77. <PosPart copyNumber="0">
  78. <rParent name="testLogicalParts:MotherOfAllBoxes"/>
  79. <rChild name="testLogicalParts:cone2"/>
  80. <Translation z="-8*m" y="0" x="0"/>
  81. </PosPart>
  82. <PosPart copyNumber="0">
  83. <rParent name="testLogicalParts:MotherOfAllBoxes"/>
  84. <rChild name="testLogicalParts:subsolid"/>
  85. <Translation z="-8*m" y="5*m" x="0"/>
  86. </PosPart>
  87. <PosPart copyNumber="0">
  88. <rParent name="testLogicalParts:MotherOfAllBoxes"/>
  89. <rChild name="testLogicalParts:torus"/>
  90. <Translation z="-8.5*m" y="5.5*m" x="0"/>
  91. </PosPart>
  92. <!-- beyond this point I'm not worrying about overlaps :( -->
  93. <PosPart copyNumber="1">
  94. <rParent name="testLogicalParts:MotherOfAllBoxes"/>
  95. <rChild name="testLogicalParts:asphere"/>
  96. <Translation z="-8.7*m" y="5.7*m" x="0."/>
  97. </PosPart>
  98. <PosPart copyNumber="1">
  99. <rParent name="testLogicalParts:MotherOfAllBoxes"/>
  100. <rChild name="testLogicalParts:anorb"/>
  101. <Translation z="-8.8*m" y="5.8*m" x="0."/>
  102. </PosPart>
  103. <PosPart copyNumber="1">
  104. <rParent name="testLogicalParts:MotherOfAllBoxes"/>
  105. <rChild name="testLogicalParts:etube"/>
  106. <Translation z="-8.9*m" y="5.9*m" x="0."/>
  107. </PosPart>
  108. <PosPart copyNumber="1">
  109. <rParent name="testLogicalParts:MotherOfAllBoxes"/>
  110. <rChild name="testLogicalParts:anellipsoid"/>
  111. <Translation z="-9.*m" y="6.*m" x="0."/>
  112. </PosPart>
  113. <PosPart copyNumber="1">
  114. <rParent name="testLogicalParts:MotherOfAllBoxes"/>
  115. <rChild name="testLogicalParts:para"/>
  116. <Translation z="-9.1*m" y="6.1*m" x="0."/>
  117. </PosPart>
  118. </PosPartSection>
  119. </DDDefinition>