Back to home page

EIC code displayed by LXR

 
 

    


Warning, /DD4hep/examples/ClientTests/compact/MiniTelGenerate.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="Sensor"
0016         title="Sensor for New experiment"
0017         author="Anastasia Karachaliou"
0018         status="development"
0019         url="/afs/cern.ch/user/a/akaracha/workspace/MyExperiment/DetDesc/xmlDDescr/geometry_myexper.xml"
0020         version= "v0r1">
0021     <comment>Simple Detector as a small box</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="2*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.020"/>
0035   </define>
0036 
0037   <display>
0038     <vis name="DetVis"  alpha="1.0" r="0.0" g="1.0" b="0.0"  showDaughters="true"  visible="true"/>
0039     <vis name="ModVis1" alpha="1.0" r="1.0" g="0.0" b="0.0"  showDaughters="true"  visible="true"/>
0040     <vis name="ModVis2" alpha="1.0" r="0.0" g="0.0" b="1.0"  showDaughters="true"  visible="true"/>
0041     <vis name="ModVis3" alpha="1.0" r="0.0" g="1.0" b="0.0"  showDaughters="true"  visible="true"/>
0042   </display>
0043 
0044 
0045   <detectors>
0046     <detector name="Minitel1" type="MiniTelPixel" material="Silicon" vis="DetVis" id ="1" sensitive="true" readout="Minitel1Hits" limits="minitel_limits_1" region="minitel_region_1">
0047       <dimensions z="1*mm" y="10*cm" x="10*cm" />
0048       <module name="pixel" type="MiniTelPixel" material="Silicon" x="6*mm" y="6*mm" z="1*mm" vis="ModVis1" alpha="-2.*radian" beta="-2.*radian" gamma="-0.*radian" />
0049       <side_position   z="50*mm" y="0*cm" x="0*cm" />
0050       <module_position z="-40*mm" y="0*cm" x="0*cm" />
0051       <module_position z="-30*mm" y="0*cm" x="0*cm" />
0052       <module_position z="-20*mm" y="0*cm" x="0*cm" />
0053       <module_position z="-10*mm" y="0*cm" x="0*cm" />
0054       <module_position z="0*mm" y="0*cm" x="0*cm" />
0055       <module_position z="10*mm" y="0*cm" x="0*cm" />
0056       <module_position z="20*mm" y="0*cm" x="0*cm" />
0057       <module_position z="30*mm" y="0*cm" x="0*cm" />
0058       <module_position z="40*mm" y="0*cm" x="0*cm" />
0059       <reflect/>
0060     </detector>
0061     <detector name="Minitel2" type="MiniTelPixel" material="Silicon" vis="DetVis" id ="2" sensitive="true" readout="Minitel2Hits" limits="minitel_limits_1" region="minitel_region_1">
0062       <dimensions z="2*mm" y="15*cm" x="15*cm" />
0063       <module name="pixel" type="MiniTelPixel" material="Silicon" x="6*mm" y="6*mm" z="1*mm" vis="ModVis2" alpha="-2.*radian" beta="-2.*radian" gamma="-0.*radian" />
0064       <side_position   z="130*mm" y="0*cm" x="0*cm" />
0065       <module_position z="-30*mm" y="0*cm" x="0*cm" />
0066       <module_position z="-20*mm" y="0*cm" x="0*cm" />
0067       <module_position z="-10*mm" y="0*cm" x="0*cm" />
0068       <module_position z="10*mm" y="0*cm" x="0*cm" />
0069       <module_position z="20*mm" y="0*cm" x="0*cm" />
0070       <module_position z="30*mm" y="0*cm" x="0*cm" />
0071       <reflect/>
0072     </detector>
0073     <detector name="Minitel3" type="MiniTelPixel" material="Silicon" vis="DetVis" id ="3" sensitive="true" readout="Minitel3Hits" limits="minitel_limits_1" region="minitel_region_1">
0074       <dimensions z="4*mm" y="20*cm" x="20*cm" />
0075       <module name="pixel" type="MiniTelPixel" material="Silicon" x="6*mm" y="6*mm" z="1*mm" vis="ModVis3" alpha="-2.*radian" beta="-2.*radian" gamma="-0.*radian" />
0076       <side_position   z="200*mm" y="0*cm" x="0*cm" />
0077       <module_position z="-20*mm" y="0*cm" x="0*cm" />
0078       <module_position z="-10*mm" y="0*cm" x="0*cm" />
0079       <module_position z="0*mm" y="0*cm" x="0*cm" />
0080       <module_position z="10*mm" y="0*cm" x="0*cm" />
0081       <module_position z="20*mm" y="0*cm" x="0*cm" />
0082       <reflect/>
0083     </detector>
0084   </detectors>
0085 
0086   <limits>
0087     <limitset name="minitel_limits_1">
0088       <limit name="step_length_max" particles="e[+-]" value="1.0" unit="mm" />
0089       <limit name="step_length_max" particles="mu[+-]" value="3.0" unit="mm" />
0090       <limit name="step_length_max" particles="*" value="5.0" unit="mm" />
0091       <limit name="track_length_max" particles="*" value="5.0" unit="mm" />
0092       <limit name="time_max"         particles="*" value="5.0" unit="ns" />
0093       <limit name="ekin_min"         particles="*" value="0.01" unit="MeV" />
0094       <limit name="range_min"        particles="*" value="5.0" unit="mm" />
0095       <cut   particles="e+"          value="2.0"   unit="mm" />
0096       <cut   particles="e-"          value="2.0"   unit="mm" />
0097       <cut   particles="gamma"       value="5.0"   unit="mm" />
0098     </limitset>
0099     <limitset name="minitel_limits">
0100       <limit name="step_length_max" particles="e[+-]" value="1.0" unit="mm" />
0101       <limit name="step_length_max" particles="mu[+-]" value="3.0" unit="mm" />
0102       <limit name="step_length_max" particles="*" value="5.0" unit="mm" />
0103     </limitset>
0104   </limits>
0105 
0106   <regions>
0107     <region name="minitel_region_1" eunit="MeV" lunit="mm" cut="0.001" threshold="0.001">
0108       <limitsetref name="minitel_limits_1"/>
0109     </region>
0110     <region name="minitel_region" eunit="MeV" lunit="mm" cut="0.001" threshold="0.001">
0111       <limitsetref name="minitel_limits"/>
0112     </region>
0113   </regions>
0114 
0115   <readouts>
0116     <readout name="Minitel1Hits">
0117       <segmentation type="CartesianGridXY" grid_size_x="6*mm" grid_size_y="6*mm"/>
0118       <id>system:6,side:2,module:8,x:28:-12,y:52:-12</id>
0119     </readout>
0120     <readout name="Minitel2Hits">
0121       <segmentation type="CartesianGridXY" grid_size_x="6*mm" grid_size_y="6*mm"/>
0122       <id>system:6,side:2,module:8,x:28:-12,y:52:-12</id>
0123     </readout>
0124     <readout name="Minitel3Hits">
0125       <segmentation type="CartesianGridXY" grid_size_x="6*mm" grid_size_y="6*mm"/>
0126       <id>system:6,side:2,module:8,x:28:-12,y:52:-12</id>
0127     </readout>
0128   </readouts>
0129 
0130   <fields>
0131     <field name="GlobalSolenoid" type="solenoid" 
0132            inner_field="0.0*tesla"
0133            outer_field="0.0*tesla" 
0134            zmax="2*m"
0135            outer_radius="2*m">
0136     </field>
0137   </fields>
0138 
0139 </lccdd>