Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61
<?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 ../../Schema/DDLSchema.xsd">

<RotationSection label="rotations.xml">
 <Rotation name="IDENT" phiX="0"
                        thetaX="90*deg" 
                        phiY="90*deg" 
                        thetaY="90*deg" 
                        phiZ="0" 
                        thetaZ="0"/>
 <Rotation name="R2618" phiX="3.50824e-15*deg" 
                        thetaX="90*deg" 
                        phiY="90*deg" 
                        thetaY="90*deg" 
                        phiZ="45*deg" 
                        thetaZ="0"/>
 <Rotation name="R2682" phiX="3.50824e-15*deg" 
                        thetaX="90*deg" 
                        phiY="90*deg" 
                        thetaY="90*deg" 
                        phiZ="45*deg" 
                        thetaZ="0"/>
 <Rotation name="R2767" phiX="3.50824e-15*deg" 
                        thetaX="90*deg" 
                        phiY="90*deg" 
                        thetaY="90*deg" 
                        phiZ="45*deg" 
                        thetaZ="0"/>

  <Rotation name="000D" thetaX="90*deg" phiX="0*deg" thetaY="90*deg" phiY="90*deg" thetaZ="0*deg" phiZ="0*deg"/>

  <ReflectionRotation name="180R" thetaX="90*deg" phiX="0*deg" thetaY="90*deg" phiY="90*deg" thetaZ="180*deg" phiZ="0*deg" />

  <RotationByAxis name="fred1" axis="y" angle="20*deg"/>

  <RotationSequence name="fred2">
    <RotationByAxis axis="y" angle="90*deg"/>
    <RotationByAxis axis="z" angle="20*deg"/>
  </RotationSequence>

<!-- This demonstrates catching the rotation which should be a reflection rotation 
<Rotation name="180Rv2" thetaX="90*deg" 
                                phiX="0.0" 
                                thetaY="90*deg" 
                                phiY="90*deg" 
                                thetaZ="180*deg" 
                                phiZ="0.0"/>
-->

<!-- This demonstrates the reflection rotation -->
<ReflectionRotation name="180R" thetaX="90*deg" 
                                phiX="0.0" 
                                thetaY="90*deg" 
                                phiY="90*deg" 
                                thetaZ="180*deg" 
                                phiZ="0.0"/>

</RotationSection>


</DDDefinition>