Back to home page

EIC code displayed by LXR

 
 

    


Warning, /DD4hep/examples/DDCodex/compact/CODEX-b.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   <includes>
0006     <gdmlFile  ref="elements.xml"/>
0007     <gdmlFile  ref="materials.xml"/>
0008   </includes>
0009 -->
0010   <define>
0011     <constant name="COBEX_beam_angle" value="60*degree"/>
0012     <constant name="COBEX_cone_len" value="50*m"/>
0013     <constant name="Global_gap" value="3*cm" />
0014     <constant name="Layer_thickness" value="0.5*cm" />
0015     <constant name="Layer_pitch" value="4*cm" />
0016   </define> 
0017 
0018   <comment>Common Generic visualization attributes</comment>
0019   <display>
0020     <vis name="BlackVis"                alpha="1"  r="0.1" g="0.1" b="0.1" showDaughters="false"  visible="true"/>
0021     <vis name="Codex_Envelope_Vis"      alpha="0.7" r="0.2" g="0.2" b="0.7" showDaughters="true"  visible="true"/>
0022     <vis name="Codex_Box_Vis"           alpha="0.1"  r="0.8" g="0.8" b="0.8" showDaughters="true"  visible="true"/>
0023     <vis name="Codex_Module_center_Vis" alpha="0.4"  r="0.2" g="0.2" b="0.8" showDaughters="true"  visible="true"/>
0024     <vis name="Codex_Module_front_Vis"  alpha="0.4"  r="0.8" g="0.2" b="0.2" showDaughters="true"  visible="true"/>
0025     <vis name="Codex_Layer1_Vis"        alpha="0.4"  r="0.2" g="0.2" b="0.8" showDaughters="true"  visible="true"/>
0026     <vis name="Codex_Layer2_Vis"        alpha="0.4"  r="0.2" g="0.8" b="0.2" showDaughters="true"  visible="true"/>
0027     <vis name="Codex_Shield_Pb_Vis"     alpha="1"  r="0.4" g="0.4" b="0.4" showDaughters="false" visible="true"/>
0028     <vis name="Codex_Shield_Veto_Vis"   alpha="1"  r="0.9" g="0.9" b="0.0" showDaughters="true"  visible="true"/>
0029   </display>
0030 
0031   <geometry  open="false" close="false"/>
0032 
0033   <!--  Includes for sensitives and support                -->
0034   <detectors>
0035 
0036     <!--detector id="1" name="Shield" type="DD4hep_CODEXb_shield" vis="Codex_Envelope_Vis" readout="ShieldHits">
0037 
0038       <envelope angle="COBEX_beam_angle" dz="COBEX_cone_len" rmax="8*m" />
0039       <shield name="Pb-shield-1" z="7*m"   dz="1.5*m" material="Lead" sensitive="false" vis="Codex_Shield_Pb_Vis"/>
0040       <shield name="Shield-veto" z="8.5*m" dz="0.1*m" material="Si"   sensitive="true"  vis="Codex_Shield_Veto_Vis"/>
0041       <shield name="Pb-shield-2" z="8.6*m" dz="0.5*m" material="Lead" sensitive="false" vis="Codex_Shield_Pb_Vis"/>
0042 
0043       <position x="-sin(COBEX_beam_angle)*COBEX_cone_len/2" y="0"   z="cos(COBEX_beam_angle)*COBEX_cone_len/2"/>
0044       <rotation x="0"     y="COBEX_beam_angle"   z="0"/>
0045     </detector-->
0046 
0047     <!--
0048     <detector id="2" name="CODEXb" type="DD4hep_CODEXb_layer" vis="Codex_Envelope_Vis" readout="CodexHits" >
0049        <envelope width="5*m" length="5*m" height="5*m" vis="Codex_Module1_Vis" />
0050        <station material="Al" width="5*m" thickness="60*cm" height="5*m" 
0051                 x="1.67*m" y="0" z="0" gap="1.67*m" repeat="5" vis="Codex_Module1_Vis" />
0052        <layer material="Si" width="5*m" thickness="Layer_thickness" height="5*m" sensitive="true"
0053               x="0" y="0" z="0" gap="Global_gap" distance="Layer_pitch*10" repeat="3" vis="Codex_Module2_Vis" />
0054        
0055        <position x="2500*cm*sin(60*degree)+500*cm" y="0" z="2500*cm*cos(60*degree)" />
0056     </detector>
0057    -->
0058 
0059     <detector id="13" name="CODEXb" type="DD4hep_CODEXb_detector" vis="Codex_Box_Vis" readout="CodexHits" >
0060        <envelope thickness="16*m" length="8*m" height="8*m" vis="Codex_Box_Vis">
0061        </envelope>
0062        <station name="inner_station" material="Air" width="5*m" thickness="40*cm" height="5*m" 
0063                 repeat="5" distance="1.67*m" angle="0" vis="Codex_Module_front_Vis">
0064          <layers name="CODEX_layer_type_0" material="Si" width="5*m" thickness="Layer_thickness" height="5*m" sensitive="true" 
0065                  vis="Codex_Layer1_Vis" number="3" gap="Layer_pitch" />
0066          <position x="0" y="0" z="0" />
0067        </station>
0068        <station name="face_station" material="Air" width="6.2*m" thickness="40*cm" height="6.2*m" 
0069                 repeat="6" distance="1.3*m" angle="90*degree" vis="Codex_Module_center_Vis">
0070          <layers name="CODEX_layer_type_1" material="Si" width="5*m" thickness="Layer_thickness" height="5*m" sensitive="true"
0071                  vis="Codex_Layer2_Vis" number="6" gap="Layer_pitch" />
0072          <position x="0" y="0" z="0" />
0073        </station>
0074        <position x="2872.5*cm+500*cm" y="0" z="1265*cm" />
0075     </detector>
0076 
0077    </detectors>
0078   <limits>
0079     <limitset name="codex_limits">
0080       <limit name="step_length_max" particles="*" value="5.0" unit="mm" />
0081     </limitset>
0082   </limits>
0083   <readouts>
0084     <readout name="CodexHits">
0085       <segmentation type="CartesianGridXY" grid_size_x="1*cm" grid_size_y="1*cm" />
0086       <id>system:8,super:5,station:5,layer:5,x:32:-16,y:-16</id>
0087     </readout>
0088     <readout name="ShieldHits">
0089       <segmentation type="CartesianGridXY" grid_size_x="1*cm" grid_size_y="1*cm" />
0090       <id>system:8,station:5,x:32:-16,y:-16</id>
0091     </readout>
0092 
0093   </readouts>
0094 
0095   <fields>
0096   </fields>
0097 
0098 </lccdd>