Back to home page

EIC code displayed by LXR

 
 

    


Warning, /DD4hep/DDTest/units.xml is written in an unsupported language. File is not indexed.

0001 <lccdd xmlns:compact="http://www.lcsim.org/schemas/compact/1.0" 
0002     xmlns:xs="http://www.w3.org/2001/XMLSchema" 
0003     xs:noNamespaceSchemaLocation="http://www.lcsim.org/schemas/compact/1.0/compact.xsd">
0004 
0005     <info name="units_test"
0006           title="units"
0007           url=""
0008           author="gaede"
0009           status="test"
0010           version="$Id: $">
0011         <comment>minimal compact file used for units conversion tests</comment>        
0012     </info>
0013   
0014     <includes>
0015     </includes>
0016     
0017     <define>
0018       <!-- need to define world volume -->
0019       <constant name="world_side"             value="10*m"/>
0020       <constant name="world_x"                value="world_side/2"/>
0021       <constant name="world_y"                value="world_side/2"/>
0022       <constant name="world_z"                value="world_side/2"/>
0023 
0024       <constant name="M_PI"  value="3.14159265358979323846"/>
0025 
0026       <!-- some constants with units -->
0027       <constant name="alpha_half_arc_deg"  value="180.*deg"/>
0028       <constant name="alpha_half_arc_rad"  value="M_PI*rad"/>
0029 
0030       <constant name="rho1"  value="2.5e3*kg/m3"/>
0031       <constant name="rho2"  value="2.5*g/cm3"/>
0032       
0033     </define>
0034     
0035     <!-- need to define vacuum and air -->
0036     <includes>
0037         <gdmlFile  ref="elements.xml"/>
0038     </includes>
0039     
0040     <materials>
0041       <material name="Vacuum">
0042             <D type="density" unit="g/cm3" value="0.00000001" />
0043             <fraction n="1" ref="H" />
0044       </material>
0045       <material name="Air">
0046             <D type="density" unit="g/cm3" value="0.0012"/>
0047             <fraction n="0.754" ref="N"/>
0048             <fraction n="0.234" ref="O"/>
0049             <fraction n="0.012" ref="Ar"/>
0050       </material>    
0051       <material formula="Si" name="Silicon" state="solid" >
0052         <RL type="X0" unit="cm" value="9.36607" />
0053         <NIL type="lambda" unit="cm" value="45.7531" />
0054         <D type="density" unit="g/cm3" value="2.33" />
0055         <composite n="1" ref="Si" />
0056       </material>
0057     </materials>
0058 
0059 </lccdd>