PageRenderTime 12ms CodeModel.GetById 9ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/DetectorDescription/Parser/test/testNoSections.xml

https://github.com/aivanov-cern/cmssw
XML | 51 lines | 43 code | 1 blank | 7 comment | 0 complexity | 96855fa993c6d50167f8c2899798f564 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	<Box name="Box1" dx="10*m" dy="10*m" dz="10*m"/>
 4	<LogicalPart name="LP1">
 5		<rSolid name="Box1"/>
 6		<rMaterial name="Oxygen"/>
 7	</LogicalPart>
 8	<!--Algorithm name="ecal:DDTestAlgorithm">
 9		<rParent name="LP1"/>
10		<Numeric name="alg1v1" value="10"/>
11		<String name="alg1str1" value="StringForAlgo1"/>
12		<Vector name="alg1vector1" nEntries="10">1, 2, 3, 4, 5, 6 ,7, 8, 9, 10</Vector>
13		<Map name="alg1map1" nEntries="3">a=1, b=2, c=3</Map>
14	</Algorithm-->
15	<ElementaryMaterial name="Oxygen" atomicNumber="8" density="8.92535e+15" atomicWeight="9.98579e+22"/>
16	<Trd1 name="Trap1" dx1="0.3*m" dx2="0.5*m" dz="0.5*m" dy1="10*cm"/>
17	<String name="str1" value="String One"/>
18	<LogicalPart name="Trap1">
19		<rSolid name="Trap1"/>
20		<rMaterial name="Oxygen"/>
21	</LogicalPart>
22	<Numeric name="num1" value="4.5"/>
23	<Vector name="vec1" nEntries="3">4.5, 3.2, 5.6</Vector>
24	<Map name="map1" nEntries="3">tol=0.5e-4, x=10.0*cm, y=3.1*cm</Map>
25	<Rotation name="Identity" thetaX="90*deg" phiX="0*deg" thetaY="90*deg" phiY="90*deg" thetaZ="0*deg" phiZ="0*deg"/>
26	<RotationByAxis axis="z" angle="20*deg" name="Z20deg"/>
27	<Algorithm name="global:DDLinear">
28		<rParent name="Box1"/>
29		<String  name="ChildName" value="Trap1"/>
30		<Numeric name="N" value="5"/>
31                <Numeric name="StartCopyNo" value="1"/>
32                <Numeric name="IncrCopyNo" value="1"/>
33		<Numeric name="Delta" value="0.5*m"/>
34                <Vector  name="Base" type="numeric" nEntries="3"> 0.*mm, 0.*mm, 0.*mm </Vector>
35                <Numeric name="Theta" value="90.*deg"/>
36                <Numeric name="Phi" value="0.*deg"/>
37        </Algorithm>
38	<PosPart copyNumber="0">
39		<rParent name="Box1"/>
40		<rChild name="Poly1"/>
41		<Translation x="5*m" y="5*m" z="5*m"/>
42	</PosPart>
43	<Polyhedra name="Poly1" startPhi="0" deltaPhi="360*deg" numSide="8">
44		<RZPoint r="0*m" z="0*m"/>
45		<RZPoint r="1*m" z="0.6*m"/>
46		<RZPoint r="1*m" z="1*m"/>
47		<RZPoint r="10*cm" z="1*m"/>
48		<RZPoint r="0*m" z="10*cm"/>
49	</Polyhedra>
50
51</DDDefinition>