|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<lccdd> |
| 3 | + |
| 4 | + <info name="DriftChamber" |
| 5 | + title="Test with Drift Chamber" |
| 6 | + author="Tao Lin" |
| 7 | + url="http://github.com/cepc/CEPCSW" |
| 8 | + status="development" |
| 9 | + version="v0"> |
| 10 | + <comment>Test with Drift Chamber</comment> |
| 11 | + </info> |
| 12 | + |
| 13 | + <define> |
| 14 | + |
| 15 | + <!-- SDT --> |
| 16 | + <constant name="SDT_radius_min" value="DC_inner_radius"/> |
| 17 | + <constant name="SDT_radius_max" value="DC_outer_radius"/> |
| 18 | + |
| 19 | + <constant name="SDT_half_length" value="MainTracker_half_length"/> |
| 20 | + <constant name="DC_length" value="DC_half_length*2"/> |
| 21 | + <constant name="SDT_length" value="SDT_half_length*2"/> |
| 22 | + |
| 23 | + <constant name="SDT_chamber_radius_min" value="DC_chamber_layer_rbegin-DC_safe_distance"/> |
| 24 | + <constant name="SDT_chamber_radius_max" value="DC_chamber_layer_rend+DC_chamber_safe_distance+DC_safe_distance"/> |
| 25 | + <constant name="SDT_chamber_half_length" value="DC_half_length"/> |
| 26 | + |
| 27 | + <constant name="SDT_chamber_layer_width" value="10*mm"/> |
| 28 | + <constant name="SDT_chamber_cell_width" value="10*mm"/> |
| 29 | + <constant name="Alpha" value="12*deg"/> |
| 30 | + |
| 31 | + <constant name="SDT_chamber_inner_wall_radius_min" value="SDT_chamber_radius_min-SDT_inner_wall_thickness"/> |
| 32 | + <constant name="SDT_chamber_inner_wall_radius_max" value="SDT_chamber_radius_min"/> |
| 33 | + <constant name="SDT_chamber_outer_wall_radius_min" value="SDT_chamber_radius_max"/> |
| 34 | + <constant name="SDT_chamber_outer_wall_radius_max" value="SDT_chamber_radius_max+SDT_outer_wall_thickness"/> |
| 35 | + |
| 36 | + <constant name="DC_Endcap_rmin" value="SDT_radius_min"/> |
| 37 | + <constant name="DC_Endcap_rmax" value="SDT_radius_max"/> |
| 38 | + |
| 39 | + </define> |
| 40 | + |
| 41 | + <limits> |
| 42 | + <limitset name="DC_limits"> |
| 43 | + <limit name="step_length_max" particles="*" value="0.1" unit="mm" /> |
| 44 | + </limitset> |
| 45 | + </limits> |
| 46 | + |
| 47 | + <regions> |
| 48 | + <region name="DriftChamberRegion"> |
| 49 | + <limitsetref name="DC_limits"/> |
| 50 | + </region> |
| 51 | + </regions> |
| 52 | + |
| 53 | + <detectors> |
| 54 | + <detector id="DetID_DC" name="DriftChamber_Stero" type="DriftChamber_Stero" readout="DriftChamberHitsCollection" vis="DCVis" sensitive="true" insideTrackingVolume="true" limits="DC_limits"> |
| 55 | + <material name="Air"/> |
| 56 | + <chamber id="0" material="GasHe_90Isob_10"/> |
| 57 | + <side material="CarbonFiber"/> |
| 58 | + <envelope vis="SeeThrough"> |
| 59 | + <shape type="BooleanShape" operation="Union" material="Air"> |
| 60 | + <shape type="Tube" rmin="SDT_radius_min" rmax="SDT_radius_max" dz="SDT_half_length" /> |
| 61 | + </shape> |
| 62 | + </envelope> |
| 63 | + |
| 64 | + <module id="0" name="SignalWire" type="Tube" rmin="0*mm" rmax="0.01*mm" vis="RedVis"> |
| 65 | + <tubs name="W" type="Tube" rmin="0*mm" rmax="0.007*mm" material="Tungsten"/> |
| 66 | + <tubs name="Au" type="Tube" rmin="0.007*mm" rmax="0.01*mm" material="Gold"/> |
| 67 | + </module> |
| 68 | + |
| 69 | + <module id="1" name="FieldWire" type="Tube" rmin="0*mm" rmax="0.02*mm" vis="GreenVis"> |
| 70 | + <tubs name="Al" type="Tube" rmin="0*mm" rmax="0.017*mm" material="Aluminum"/> |
| 71 | + <tubs name="Ag" type="Tube" rmin="0.017*mm" rmax="0.02*mm" material="Silver"/> |
| 72 | + </module> |
| 73 | + |
| 74 | + <type_flags type="DetType_TRACKER + DetType_BARREL + DetType_GASEOUS + DetType_WIRE"/> |
| 75 | + <!-- Use cm as unit if you want to use Pandora for reconstruction --> |
| 76 | + <sensitive type="SimpleDriftChamber"/> |
| 77 | + </detector> |
| 78 | + </detectors> |
| 79 | + |
| 80 | + <readouts> |
| 81 | + <readout name="DriftChamberHitsCollection"> |
| 82 | + <segmentation type="GridDriftChamber" cell_size="SDT_chamber_cell_width" detector_length="DC_length" identifier_phi="cellID" DC_rbegin="DC_chamber_layer_rbegin" DC_rend="DC_chamber_layer_rend" DC_rmin="SDT_chamber_radius_min" DC_rmax="SDT_chamber_radius_max" safe_distance="DC_safe_distance" layerID="layer" layer_width="SDT_chamber_layer_width"/> |
| 83 | + |
| 84 | + |
| 85 | + <id>system:5,layer:7:9,chamber:8,cellID:32:16</id> |
| 86 | + </readout> |
| 87 | + </readouts> |
| 88 | + |
| 89 | +</lccdd> |
0 commit comments