Commit in hps-detectors/detectors/HPS-Test-JLAB-v4pt0 on MAIN
compact.xml+180added 1.1
preliminary version of HPS detector with new module geometry

hps-detectors/detectors/HPS-Test-JLAB-v4pt0
compact.xml added at 1.1
diff -N compact.xml
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ compact.xml	14 Jan 2012 00:07:04 -0000	1.1
@@ -0,0 +1,180 @@
+<lccdd xmlns:compact="http://www.lcsim.org/schemas/compact/1.0"
+       xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
+       xs:noNamespaceSchemaLocation="http://www.lcsim.org/schemas/compact/1.0/compact.xsd">
+    
+    <info name="HPS-Test-JLAB-v4pt0">
+        <comment>HPS Test Proposal detector</comment>
+    </info>
+
+    <define>
+        
+        <!-- world -->
+        <constant name="world_side" value="500.0*cm" />
+        <constant name="world_x" value="world_side" />
+        <constant name="world_y" value="world_side" />
+        <constant name="world_z" value="world_side" />
+        <constant name="SA"  value="0.10" />
+        <constant name="SA2"  value="0.05" />
+        
+        <!-- tracking region -->
+        <constant name="tracking_region_radius" value="200.0*cm"/>
+        <constant name="tracking_region_min" value="5.0*cm"/>
+        <constant name="tracking_region_zmax" value="100.0*cm"/>
+        
+        <constant name="zCent1" value="10*cm"/>
+        <constant name="zCent2" value="20*cm"/>
+        <constant name="zCent3" value="30*cm"/>
+        <constant name="zCent4" value="50*cm"/>
+        <constant name="zCent5" value="70*cm"/>
+
+        <constant name="ygap1" value="0.30*cm" />
+        <constant name="ygap2" value="0.60*cm" />
+        <constant name="ygap3" value="0.90*cm" />
+        <constant name="ygap4" value="1.5*cm" />
+        <constant name="ygap5" value="2.1*cm" />
+
+        <constant name="zPlaneDist" value="1.0*cm"/>
+
+<!--
+        <constant name="modLength" value="100."/>
+        <constant name="modWidth" value="50."/>
+-->
+
+        <constant name="modLength" value="10.0*cm"/>
+        <constant name="modWidth" value="4.0*cm"/>
+
+        <!-- Params for the ecal crystal volume. -->
+        <constant name="ecal_front" value="13.3/2*mm" />
+        <constant name="ecal_back" value="16/2*mm" />
+        <constant name="ecal_z" value="160/2*mm" />
+
+    </define>
+    
+    <materials>
+
+        <material name="TrackingMaterial">
+            <D type="density" unit="g/cm3" value="0.0000000000000001"/>
+            <fraction n="1.0" ref="Air" />
+        </material>
+
+        <material name="LeadTungstate">
+            <D value="8.28" unit="g/cm3"/>
+            <composite n="1" ref="Pb"/>
+            <composite n="1" ref="W"/>
+            <composite n="4" ref="O"/>
+        </material>
+
+    </materials>
+   
+    <display>
+        <vis name="EcalVis" r="0.8" g="0.5" b="0.1" />
+    </display> 
+    
+    <detectors>
+
+        <detector id="13"
+                  name="Ecal"
+                  type="HPSEcal3"
+                  insideTrackingVolume="false"
+                  readout="EcalHits"
+                  vis="EcalVis">
+            <material name="LeadTungstate" />
+            <dimensions x1="ecal_front" y1="ecal_front" x2="ecal_back" y2="ecal_back" z="ecal_z" />
+            <layout beamgap="20.0*mm" nx="46" ny="5" dface="137.0*cm">
+                <remove ixmin="-10" ixmax="-2" iymin="-1" iymax="1" />
+            </layout>
+        </detector>
+
+        <detector id="10" name="Target" type="SiTrackerSpectrometer"  readout="TargetHits" combineHits="true">
+            <module name="TungstenTarget">
+                <trd x1="5*cm" x2="5*cm" z="5*cm" />
+                <module_component thickness="0.3504*cm*0.00125" material="Tungsten" sensitive="false"/>
+            </module> 
+            <layer id="1">
+                <quadrant xStart="0" nx="1" xStep="modLength" yStart="0" ny="1" yStep="modWidth" phi0="0.0" z="0.0" dz="0.0*cm"  module="TungstenTarget"/>
+            </layer>
+        </detector>
+
+        <detector id="1" name="Tracker" type="HPSTracker" readout="TrackerHits" combineHits="true" flipSA="true" reflect="true">
+            <module name="Module1">
+                <box x="modLength" y="modWidth" />
+                <module_component thickness="0.032*cm" material = "Silicon" sensitive="true">
+                    <dimensions x="modLength-1.0" y="modWidth-1.0" /> <!-- TODO Get actual dead area size. -->
+                </module_component>
+                <module_component thickness="0.02*cm" material = "Carbon" sensitive="false"/> 
+            </module> 
+            <layer id="1">
+                <quadrant xStart="0" 
+                          nx="1" 
+                          xStep="modLength" 
+                          yStart="(ygap1+modWidth)/2" 
+                          ny="1" 
+                          yStep="modWidth" 
+                          phi0="0.0" 
+                          z="zCent1" 
+                          dz="0.0*cm"  
+                          module="Module1"/>
+            </layer>
+            <layer id="2">
+                <quadrant xStart="0" nx="1" xStep="modLength" yStart="(ygap1+modWidth)/2" ny="1" yStep="modWidth" phi0="SA" z="zCent1+zPlaneDist" dz="0.0*cm"  module="Module1"/>
+            </layer>
+            <layer id="3">
+                <quadrant xStart="0" nx="1" xStep="modLength" yStart="(ygap2+modWidth)/2" ny="1" yStep="modWidth" phi0="0.0" z="zCent2" dz="0.0*cm"  module="Module1"/>
+            </layer>
+            <layer id="4">
+                <quadrant xStart="0" nx="1" xStep="modLength" yStart="(ygap2+modWidth)/2" ny="1" yStep="modWidth" phi0="SA" z="zCent2+zPlaneDist" dz="0.0*cm" module="Module1"/>
+            </layer>
+            <layer id="5">
+                <quadrant xStart="0" nx="1" xStep="modLength" yStart="(ygap3+modWidth)/2" ny="1" yStep="modWidth" phi0="0.0" z="zCent3" dz="0.0*cm" module="Module1"/>
+            </layer>
+            <layer id="6">
+                <quadrant xStart="0" nx="1" xStep="modLength" yStart="(ygap3+modWidth)/2" ny="1" yStep="modWidth" phi0="SA" z="zCent3+zPlaneDist" dz="0.0*cm" module="Module1"/>
+            </layer>
+            <layer id="7">
+                <quadrant xStart="0" nx="1" xStep="modLength" yStart="(ygap4+modWidth)/2" ny="1" yStep="modWidth" phi0="0.0" z="zCent4" dz="0.0*cm" module="Module1"/>
+            </layer>
+            <layer id="8">
+                <quadrant xStart="0" nx="1" xStep="modLength" yStart="(ygap4+modWidth)/2" ny="1" yStep="modWidth" phi0="SA2" z="zCent4+zPlaneDist" dz="0.0*cm" module="Module1"/>
+            </layer>
+            <layer id="9">
+                <quadrant xStart="0" nx="1" xStep="modLength" yStart="(ygap5+modWidth)/2" ny="1" yStep="modWidth" phi0="0.0" z="zCent5" dz="0.0*cm"  module="Module1"/>
+            </layer>
+            <layer id="10">
+                <quadrant xStart="0" nx="1" xStep="modLength" yStart="(ygap5+modWidth)/2" ny="1" yStep="modWidth" phi0="SA2" z="zCent5+zPlaneDist" dz="0.0*cm" module="Module1"/>
+            </layer>
+        </detector>     
+    </detectors>
+    
+    <readouts>
+        <readout name="EcalHits">
+            <segmentation type="GridXYZ" gridSizeX="0.0" gridSizeY="0.0" gridSizeZ="0.0" />
+            <id>system:6,layer:2,ix:-8,iy:-6</id>
+        </readout>      
+        <readout name="TargetHits">
+            <id>system:6,barrel:3,layer:4,wedge:4,module:12,sensor:1,side:32:-2,strip:12</id> 
+        </readout>
+        <readout name="TrackerHits">
+            <id>system:6,barrel:3,layer:4,wedge:4,module:12,sensor:1,side:32:-2,strip:12</id> 
+        </readout>
+    </readouts>
+
+    <fields>
+        <field type="BoxDipole" 
+               name="AnalyzingDipole"
+               x="0*cm"
+               y="0*cm"
+               z="45.22*cm"
+               dx="22.86*cm"
+               dy="7.62*cm"
+               dz="46.22*cm"
+               bx="0.0"
+               by="-0.5"
+               bz="0.0">     
+        </field>
+    </fields>
+
+    <includes>
+        <gdmlFile ref="http://www.lcsim.org/test/gdml/vacuumChamber.gdml" />
+    </includes>
+
+</lccdd>
CVSspam 0.2.12


Use REPLY-ALL to reply to list

To unsubscribe from the LCD-CVS list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=LCD-CVS&A=1