Warning, /DD4hep/examples/ClientTests/compact/ConstantField.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 <info name="FieldTest"
0016 title="Test for constant magnetic field"
0017 author="Markus Frank"
0018 status="development"
0019 version= "v0r1">
0020 </info>
0021
0022 <includes>
0023 <gdmlFile ref="${DD4hepINSTALL}/DDDetectors/compact/elements.xml"/>
0024 <gdmlFile ref="${DD4hepINSTALL}/DDDetectors/compact/materials.xml"/>
0025 </includes>
0026
0027 <define>
0028 <constant name="world_side" value="2*m"/>
0029 <constant name="world_x" value="world_side/2"/>
0030 <constant name="world_y" value="world_side/2"/>
0031 <constant name="world_z" value="world_side/2"/>
0032 <constant name="CrossingAngle" value="0.020"/>
0033 </define>
0034
0035 <materials>
0036 </materials>
0037
0038 <fields>
0039 <field name="ConstantMagneticField" type="ConstantField" field="magnetic">
0040 <strength x="0*tesla" y="0*tesla" z="0.5*tesla"/>
0041 </field>
0042 <field name="ConstantElectricField" type="ConstantField" field="electric">
0043 <strength x="1000*V/m" y="1000*V/m" z="0*V/m"/>
0044 </field>
0045 <field name="LocalMagneticField" type="ConstantField" field="magnetic">
0046 <strength x="0*tesla" y="0*tesla" z="1.5*tesla"/>
0047 <shape type="Box" dx="10*cm" dy="10*cm" dz="25*cm">
0048 <position x="0*cm" y="0*cm" z="-50*cm"/>
0049 </shape>
0050 </field>
0051 <field name="LocalElectricField" type="ConstantField" field="electric">
0052 <strength x="0*V/m" y="0*V/m" z="5000*V/m"/>
0053 <shape type="Box" dx="10*cm" dy="10*cm" dz="25*cm">
0054 <position x="0*cm" y="0*cm" z="-50*cm"/>
0055 </shape>
0056 </field>
0057 </fields>
0058 </lccdd>