Warning, /DD4hep/examples/ClientTests/compact/ParamVolume1D.xml is written in an unsupported language. File is not indexed.
0001 <?xml version="1.0" encoding="UTF-8"?>
0002 <lccdd>
0003 <!-- #==========================================================================
0004 # AIDA Detector description implementation
0005 #==========================================================================
0006 # Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
0007 # All rights reserved.
0008 #
0009 # For the licensing terms see $DD4hepINSTALL/LICENSE.
0010 # For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
0011 #
0012 #==========================================================================
0013 -->
0014
0015 <includes>
0016 <gdmlFile ref="${DD4hepINSTALL}/DDDetectors/compact/elements.xml"/>
0017 <gdmlFile ref="${DD4hepINSTALL}/DDDetectors/compact/materials.xml"/>
0018 </includes>
0019
0020 <define>
0021 <constant name="world_size" value="30*m"/>
0022 <constant name="world_x" value="world_size"/>
0023 <constant name="world_y" value="world_size"/>
0024 <constant name="world_z" value="world_size"/>
0025 </define>
0026
0027 <display>
0028 <vis name="Invisible" showDaughters="false" visible="false"/>
0029 <vis name="InvisibleWithChildren" showDaughters="true" visible="false"/>
0030 <vis name="VisibleRed" r="1.0" g="0.0" b="0.0" showDaughters="true" visible="true"/>
0031 <vis name="VisibleBlue" r="0.0" g="0.0" b="1.0" showDaughters="false" visible="true"/>
0032 <vis name="VisibleYellow" r="1.0" g="1.0" b="0.0" showDaughters="false" visible="true"/>
0033 <vis name="VisibleViolet" r="1.0" g="0.0" b="1.0" showDaughters="false" visible="true"/>
0034 <vis name="VisibleGreen" alpha="0.1" r="0.0" g="1.0" b="0.0" drawingStyle="solid" lineStyle="solid" showDaughters="true" visible="true"/>
0035 </display>
0036
0037 <limits>
0038 <limitset name="param_limits">
0039 <limit name="step_length_max" particles="*" value="5.0" unit="mm" />
0040 </limitset>
0041 </limits>
0042
0043 <detectors>
0044 <detector id="1" name="Param1D_1" type="DD4hep_ParamVolume" vis="VisibleGreen" readout="Hits1" limits="param_limits">
0045 <box x="20*cm" y="15*cm" z="150*cm" material="Air"/>
0046 <param x="15*cm" y="10*cm" z="2*cm" material="Iron" vis="VisibleRed" limits="param_limits">
0047 <transformation>
0048 <dim_x repeat="20">
0049 <position x="0*cm" y="0*cm" z="10*cm"/>
0050 <rotation x="0" y="0" z="0"/>
0051 </dim_x>
0052 </transformation>
0053 <start>
0054 <position x="0*cm" y="0*cm" z="-120*cm"/>
0055 <rotation x="0" y="0" z="0"/>
0056 </start>
0057 </param>
0058 <position x="0" y="0" z="175*cm"/>
0059 <rotation x="0" y="0" z="0"/>
0060 </detector>
0061
0062 <detector id="2" name="Param1D_2" type="DD4hep_ParamVolume" vis="VisibleGreen" readout="Hits2" limits="param_limits">
0063 <box x="20*cm" y="100*cm" z="15*cm" material="Air"/>
0064 <param x="15*cm" y="2*cm" z="10*cm" material="Iron" vis="VisibleBlue" limits="param_limits">
0065 <transformation>
0066 <dim_x repeat="12">
0067 <position x="0*cm" y="10*cm" z="0*cm"/>
0068 <rotation x="0" y="0" z="0"/>
0069 </dim_x>
0070 </transformation>
0071 <start>
0072 <position x="0*cm" y="-50*cm" z="0*cm"/>
0073 <rotation x="0" y="0" z="0"/>
0074 </start>
0075 </param>
0076 <position x="0" y="130*cm" z="0*cm"/>
0077 <rotation x="0" y="0" z="0"/>
0078 </detector>
0079
0080 <detector id="3" name="Param1D_3" type="DD4hep_ParamVolume" vis="VisibleGreen" readout="Hits3" limits="param_limits">
0081 <box x="100*cm" y="20*cm" z="15*cm" material="Air"/>
0082 <param x="2*cm" y="15*cm" z="10*cm" material="Iron" vis="VisibleYellow" limits="param_limits">
0083 <transformation>
0084 <dim_x repeat="9">
0085 <position x="10*cm" y="0*cm" z="0*cm"/>
0086 <rotation x="0" y="0" z="0"/>
0087 </dim_x>
0088 </transformation>
0089 <start>
0090 <position x="0*cm" y="0*cm" z="0*cm"/>
0091 <rotation x="0" y="0" z="0"/>
0092 </start>
0093 </param>
0094 <position x="130*cm" y="0*cm" z="0*cm"/>
0095 <rotation x="0" y="0" z="0"/>
0096 </detector>
0097
0098 <detector id="4" name="Param1D_4" type="DD4hep_ParamVolume" vis="VisibleGreen" readout="Hits4" limits="param_limits">
0099 <box x="100*cm" y="20*cm" z="15*cm" material="Air"/>
0100 <param x="2*cm" y="15*cm" z="10*cm" material="Iron" vis="VisibleViolet" limits="param_limits">
0101 <transformation>
0102 <dim_x repeat="8">
0103 <position x="-10*cm" y="0*cm" z="0*cm"/>
0104 <rotation x="0" y="0" z="0"/>
0105 </dim_x>
0106 </transformation>
0107 <start>
0108 <position x="0*cm" y="0*cm" z="0*cm"/>
0109 <rotation x="0" y="0" z="0"/>
0110 </start>
0111 </param>
0112 <position x="-130*cm" y="0*cm" z="0*cm"/>
0113 <rotation x="0" y="0" z="0"/>
0114 </detector>
0115
0116 <detector id="5" name="Param1D_5" type="DD4hep_ParamVolume" vis="VisibleGreen" limits="param_limits">
0117 <box x="100*cm" y="100*cm" z="140*cm" material="Air"/>
0118 <param x="2*cm" y="15*cm" z="10*cm" material="Iron" vis="VisibleViolet" limits="param_limits">
0119 <transformation>
0120 <dim_x repeat="100">
0121 <position x="10*cm" y="25*cm" z="2.5*cm"/>
0122 <rotation x="pi/8" y="0" z="0"/>
0123 </dim_x>
0124 </transformation>
0125 <start>
0126 <position x="40*cm" y="-40*cm" z="-130*cm"/>
0127 <rotation x="0" y="0" z="0"/>
0128 </start>
0129 </param>
0130 <position x="150*cm" y="150*cm" z="170*cm"/>
0131 <rotation x="0" y="pi/4*0" z="0"/>
0132 </detector>
0133
0134 </detectors>
0135
0136 <readouts>
0137 <readout name="Hits1">
0138 <segmentation type="CartesianGridXY" grid_size_x="1*cm" grid_size_y="1*cm"/>
0139 <id>system:6,volume:16,x:32:-6,y:48:-6</id>
0140 </readout>
0141 <readout name="Hits2">
0142 <segmentation type="CartesianGridXY" grid_size_x="1*cm" grid_size_y="1*cm"/>
0143 <id>system:6,volume:16,x:32:-6,y:48:-6</id>
0144 </readout>
0145 <readout name="Hits3">
0146 <segmentation type="CartesianGridXY" grid_size_x="1*cm" grid_size_y="1*cm"/>
0147 <id>system:6,volume:16,x:32:-6,y:48:-6</id>
0148 </readout>
0149 <readout name="Hits4">
0150 <segmentation type="CartesianGridXY" grid_size_x="1*cm" grid_size_y="1*cm"/>
0151 <id>system:6,volume:16,x:32:-6,y:48:-6</id>
0152 </readout>
0153 </readouts>
0154
0155 <fields>
0156 <field name="GlobalSolenoid" type="solenoid"
0157 inner_field="5.0*tesla"
0158 outer_field="-1.5*tesla"
0159 zmax="2*m"
0160 outer_radius="3*m">
0161 </field>
0162 </fields>
0163
0164 </lccdd>