Back to home page

EIC code displayed by LXR

 
 

    


Warning, /DD4hep/examples/ClientTests/compact/MagnetFields.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="clic_sid_cdr"
0016         title="CLIC Silicon Detector CDR"
0017         author="Christian Grefe"
0018         url="https://twiki.cern.ch/twiki/bin/view/CLIC/ClicSidCdr"
0019         status="development"
0020         version="$Id: compact.xml 1368 2014-11-03 20:15:27Z markus.frank@cern.ch $">
0021     <comment>The compact format for the CLIC Silicon Detector used for the conceptual design report</comment>        
0022   </info>
0023 
0024   <includes>
0025     <gdmlFile  ref="${DD4hepINSTALL}/DDDetectors/compact/elements.xml"/>
0026     <gdmlFile  ref="${DD4hepINSTALL}/DDDetectors/compact/materials.xml"/>
0027   </includes>
0028 
0029   <define>
0030     <constant name="world_side"             value="10*m"/>
0031     <constant name="world_x"                value="world_side/2"/>
0032     <constant name="world_y"                value="world_side/2"/>
0033     <constant name="world_z"                value="world_side/2"/>        
0034     <constant name="CrossingAngle"          value="0.014*rad"/>
0035   </define>
0036 
0037   <detectors>
0038     <include ref="${DD4hepINSTALL}/DDDetectors/compact/SiD.xml"/>
0039   </detectors>
0040 
0041   <fields>
0042 
0043     <field name="MagnetFields_Constant" type="ConstantField" field="magnetic">
0044       <strength x="0" y="0" z="5.0*tesla"/>
0045     </field>
0046 
0047     <field name="MagnetFields_Solenoid" type="solenoid" 
0048            inner_field="5.0*tesla"
0049            outer_field="-1.5*tesla" 
0050            zmax="SolenoidCoilOuterZ"
0051            outer_radius="SolenoidalFieldRadius">
0052     </field>
0053 
0054     <field name="MagnetFields_GlobalDipole" type="DipoleMagnet" 
0055            rmax="50*cm"
0056            zmin="0*cm"
0057            zmax="50*cm">
0058       <dipole_coeff>1.0*tesla</dipole_coeff>
0059       <dipole_coeff>0.1*tesla/pow(cm,1)</dipole_coeff>
0060       <dipole_coeff>0.01*tesla/pow(cm,2)</dipole_coeff>
0061     </field>
0062 
0063 
0064     <field name="MagnetFields_GlobalMultipole" type="MultipoleMagnet" Z="5*tesla">
0065       <position x="30*cm" y="20*cm" z="40*cm"/>
0066       <rotation x="1" y="0" z="0"/>
0067       <coefficient coefficient="1.0*tesla" skew="0.1*tesla"/>
0068       <coefficient coefficient="2.0*tesla/cm" skew="0.2*tesla/cm"/>
0069       <coefficient coefficient="3.0*tesla/cm" skew="0.3*tesla/cm/cm"/>
0070       <coefficient coefficient="4.0*tesla/cm" skew="0.4*tesla/cm/cm/cm"/>
0071       <shape type="Box" dx="5*cm" dy="10*cm" dz="20*cm"/>
0072     </field>
0073   </fields>
0074 </lccdd>