PageRenderTime 26ms CodeModel.GetById 13ms app.highlight 7ms RepoModel.GetById 2ms app.codeStats 0ms

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