GeomConverter/testResources/org/lcsim/geometry/subdetector
diff -u -r1.2 -r1.3
--- HPSTest.xml 19 Apr 2011 22:04:17 -0000 1.2
+++ HPSTest.xml 25 Apr 2011 23:02:43 -0000 1.3
@@ -1,96 +1,152 @@
<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">
+ xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
+ xs:noNamespaceSchemaLocation="http://www.lcsim.org/schemas/compact/1.0/compact.xsd">
- <info name="HPSTest">
- <comment>HPS test detector for GeomConverter including tracker and inner ECal</comment>
- </info>
-
- <define>
-
- <constant name="cm" value="10" />
-
- <!-- world -->
- <constant name="world_side" value="10000.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="pi" value="3.14159" />
- <constant name="onedeg" value="0.0175" />
- <constant name="SA" value="0.050" />
+ <info name="HPSTest">
+ <comment>HPS test setup</comment>
+ </info>
+
+ <define>
+
+<!-- <constant name="pi" value="3.14159" />-->
+ <constant name="SA" value="0.10" />
+ <constant name="SA2" value="0.05" />
+
+ <!-- world -->
+ <constant name="world_side" value="10000.0*cm" />
+ <constant name="world_x" value="world_side" />
+ <constant name="world_y" value="world_side" />
+ <constant name="world_z" value="world_side" />
+
+ <!-- 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="xCent1" value="10*cm"/>
+ <constant name="xCent2" value="20*cm"/>
+ <constant name="xCent3" value="30*cm"/>
+ <constant name="xCent4" value="50*cm"/>
+ <constant name="xCent5" value="70*cm"/>
+
+ <constant name="zgap1" value="0.30*cm" />
+ <constant name="zgap2" value="0.60*cm" />
+ <constant name="zgap3" value="0.90*cm" />
+ <constant name="zgap4" value="1.5*cm" />
+ <constant name="zgap5" value="2.1*cm" />
+
+ <constant name="zPlaneDist" value="1.0*cm"/>
+
+ <constant name="modLength" value="10.0*cm"/>
+ <constant name="modWidth" value="4.0*cm"/>
- <!-- tracking region -->
- <constant name="tracking_region_radius" value="200.0*cm"/>
+ <constant name="ecal_front" value="13.3/2*mm" />
+ <constant name="ecal_back" value="16/2*mm" />
+ <!--<constant name="ecal_back" value="30/2*mm"/>-->
+ <constant name="ecal_z" value="160/2*mm" />
+
+
+ <!-- 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="xCent1" value="10*cm" />
- <constant name="xCent2" value="20*cm" />
+ <constant name="xCent1" value="10*cm" />
+ <constant name="xCent2" value="20*cm" />
- <constant name="xCent3" value="30*cm" />
- <constant name="xCent4" value="50*cm" />
- <constant name="xCent5" value="70*cm" />
- <constant name="xCent6" value="90*cm" />
-
- <constant name="zgap1" value="0.30*cm" />
- <constant name="zgap2" value="0.60*cm" />
-
- <constant name="zgap3" value="0.498*cm" />
- <constant name="zgap4" value="0.830*cm" />
- <constant name="zgap5" value="1.162*cm" />
- <constant name="zgap6" value="1.494*cm" />
-
- <constant name="zPlaneDist" value="1.0*cm" />
-
- <constant name="modLength" value="10.0*cm" />
- <constant name="modWidth" value="4.0*cm" />
-
- <constant name="ecal_front" value="13.3/2*mm" />
- <constant name="ecal_back" value="16/2*mm" />
- <!--<constant name="ecal_back" value="30/2*mm"/>-->
- <constant name="ecal_z" value="160/2*mm" />
-
- </define>
-
- <materials>
- <material name="Hybrid">
- <D type="density" value="3.9" unit="g/cm3" />
- <fraction n="0.01581" ref="Hydrogen" />
- <fraction n="0.37608" ref="Carbon" />
- <fraction n="0.06267" ref="Oxygen" />
- <fraction n="0.10564" ref="Aluminum" />
- <fraction n="0.4398" ref="Silicon" />
- </material>
- </materials>
-
- <detectors>
- <!-- TEST -->
- <detector id="0" name="Target2" type="PolyconeSupport"
- insideTrackingVolume="true"> <material name="Hybrid"/> <zplane
- rmin="0" rmax="0.3504*cm*0.01/2" z="-10*cm" /> <zplane rmin="0"
- rmax="0.3504*cm*0.01/2" z="10*cm" /> </detector>
- <detector id="13" name="HPSEcalTest" type="HPSEcal" insideTrackingVolume="false" readout="EcalHits">
- <material name="Air" />
+ <constant name="xCent3" value="30*cm" />
+ <constant name="xCent4" value="50*cm" />
+ <constant name="xCent5" value="70*cm" />
+ <constant name="xCent6" value="90*cm" />
+
+ <constant name="zgap1" value="0.30*cm" />
+ <constant name="zgap2" value="0.60*cm" />
+
+ <constant name="zgap3" value="0.498*cm" />
+ <constant name="zgap4" value="0.830*cm" />
+ <constant name="zgap5" value="1.162*cm" />
+ <constant name="zgap6" value="1.494*cm" />
+
+ <constant name="zPlaneDist" value="1.0*cm" />
+
+ <constant name="modLength" value="10.0*cm" />
+ <constant name="modWidth" value="4.0*cm" />
+-->
+
+ </define>
+
+ <materials>
+ <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>
+
+ <detectors>
+
+ <detector id="13"
+ name="HPSEcalTest"
+ type="HPSEcal"
+ insideTrackingVolume="true"
+ readout="EcalHits"
+ >
+ <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="130.0*cm" />
- <!-- <layout beamgap="20.0*mm" nx="4" ny="1" />-->
+ <layout beamgap="20.0*mm" nx="46" ny="5" dface="120.0*cm" />
</detector>
-
- <detector id="10" name="Target" type="SiTrackerFixedTarget2"
- readout="TargetHits" combineHits="true">
- <module name="TungstenTarget">
- <trd x1="5*cm" x2="5*cm" z="5*cm" />
- <module_component thickness="0.3504*cm*0.0025"
- material="Tungsten" sensitive="false" />
- </module>
+
+ <detector id="1" name="Tracker" type="SiTrackerFixedTarget2" readout="TrackerHits" combineHits="true" reflect="true" flipSA="true">
+ <module name="Module1">
+ <trd x1="modWidth/2" x2="modWidth/2" z="modLength/2" />
+ <module_component thickness="0.032*cm" material = "Silicon" sensitive="true"/><!-- X0=0.32% -->
+ <module_component thickness="0.02*cm" material = "Carbon" sensitive="false"/> <!-- X0=0.1% -->
+ </module>
+
<layer id="1">
- <quadrant yStart="0" ny="1" yStep="modLength" zStart="0"
- nz="1" zStep="modWidth" phi0="0.0" x="0.0" dx="0.0*cm" module="TungstenTarget" />
+ <quadrant yStart="0" ny="1" yStep="modLength" zStart="(zgap1+modWidth)/2" nz="1" zStep="modWidth" phi0="0.0" x="xCent1" dx="0.0*cm" module="Module1"/>
+ </layer>
+ <layer id="2">
+ <quadrant yStart="0" ny="1" yStep="modLength" zStart="(zgap1+modWidth)/2" nz="1" zStep="modWidth" phi0="SA" x="xCent1+zPlaneDist" dx="0.0*cm" module="Module1"/>
+ </layer>
+
+ <layer id="3">
+ <quadrant yStart="0" ny="1" yStep="modLength" zStart="(zgap2+modWidth)/2" nz="1" zStep="modWidth" phi0="0.0" x="xCent2" dx="0.0*cm" module="Module1"/>
+ </layer>
+ <layer id="4">
+ <quadrant yStart="0" ny="1" yStep="modLength" zStart="(zgap2+modWidth)/2" nz="1" zStep="modWidth" phi0="SA" x="xCent2+zPlaneDist" dx="0.0*cm" module="Module1"/>
</layer>
- </detector>
-
+
+ <layer id="5">
+ <quadrant yStart="0" ny="1" yStep="modLength" zStart="(zgap3+modWidth)/2" nz="1" zStep="modWidth" phi0="0.0" x="xCent3" dx="0.0*cm" module="Module1"/>
+ </layer>
+ <layer id="6">
+ <quadrant yStart="0" ny="1" yStep="modLength" zStart="(zgap3+modWidth)/2" nz="1" zStep="modWidth" phi0="SA" x="xCent3+zPlaneDist" dx="0.0*cm" module="Module1"/>
+ </layer>
+
+ <layer id="7">
+ <quadrant yStart="0" ny="1" yStep="modLength" zStart="(zgap4+modWidth)/2" nz="1" zStep="modWidth" phi0="0.0" x="xCent4" dx="0.0*cm" module="Module1"/>
+ </layer>
+ <layer id="8">
+ <quadrant yStart="0" ny="1" yStep="modLength" zStart="(zgap4+modWidth)/2" nz="1" zStep="modWidth" phi0="SA2" x="xCent4+zPlaneDist" dx="0.0*cm" module="Module1"/>
+ </layer>
+
+ <layer id="9">
+ <quadrant yStart="0" ny="1" yStep="modLength" zStart="(zgap5+modWidth)/2" nz="1" zStep="modWidth" phi0="0.0" x="xCent5" dx="0.0*cm" module="Module1"/>
+ </layer>
+ <layer id="10">
+ <quadrant yStart="0" ny="1" yStep="modLength" zStart="(zgap5+modWidth)/2" nz="1" zStep="modWidth" phi0="SA2" x="xCent5+zPlaneDist" dx="0.0*cm" module="Module1"/>
+ </layer>
+
+
+ </detector>
+
+<!--
+Proposal detector
<detector id="1" name="Tracker" type="SiTrackerFixedTarget2"
readout="TrackerHits" combineHits="true" reflect="true">
<module name="Module1">
@@ -154,26 +210,27 @@
<quadrant yStart="-3*modWidth" ny="7" yStep="modWidth"
zStart="(zgap5+modLength)/2" nz="1" zStep="modLength" phi0="pi/2.0"
x="xCent5+zPlaneDist" dx="0.0*cm" module="Module1" />
- </layer>
-
+ </layer>
<layer id="11">
<quadrant yStart="-7*modWidth/2" ny="8" yStep="modWidth"
zStart="(zgap6+modLength)/2" nz="1" zStep="modLength" phi0="pi/2.0-SA"
x="xCent6" dx="0.0*cm" module="Module1" />
- </layer>
+ </layer>
<layer id="12">
<quadrant yStart="-7*modWidth/2" ny="8" yStep="modWidth"
zStart="(zgap6+modLength)/2" nz="1" zStep="modLength" phi0="pi/2.0"
x="xCent6+zPlaneDist" dx="0.0*cm" module="Module1" />
</layer>
- </detector>
+ </detector>
+-->
- </detectors>
+ </detectors>
- <readouts>
+ <readouts>
<readout name="EcalHits">
+ <segmentation type="GridXYZ" gridSizeX="0.0" gridSizeY="0.0" gridSizeZ="0.0" />
<id>system:6,side:-2,layer:4,ix:9,iy:9</id>
</readout>
<readout name="TargetHits">
@@ -183,15 +240,15 @@
<id>system:6,barrel:3,layer:4,wedge:4,module:12,sensor:1,side:32:-2,strip:12</id>
</readout>
</readouts>
-
- <!--
- <fields> <field type="Dipole" name="AnalyzingDipole" zmin="15*cm"
- zmax="60*cm" rmax="20*cm"> <dipoleCoeff value="1.0"/> </field>
- </fields>
- -->
- <fields>
- <field type="Solenoid" name="GlobalSolenoid" inner_field="1.0"
- outer_field="0.0" zmax="tracking_region_zmax" outer_radius="tracking_region_radius" />
- </fields>
+ <fields>
+ <field type="Solenoid"
+ name="GlobalSolenoid"
+ inner_field="0.0"
+ outer_field="1.0"
+ zmax="17.78*cm"
+ inner_radius="10.0*cm"
+ outer_radius="101.44*cm"
+ />
+ </fields>
</lccdd>