Print

Print


Commit in hps-detectors/detectors/HPS-Test-JLAB-v2pt0 on MAIN
compact.xml+234added 1.1
HPS-Test-JLAB-v2pt0.lcdd+681added 1.1
HPS-Test-JLAB-v2pt0.heprep+383added 1.1
detector.properties+1added 1.1
+1299
4 added files
test tracker in the jlab coordinate system (z=beamline, y=b-field)...uses a Dipole magnet, but currently not working.  Geomconverter puts B-field in x-direction!

hps-detectors/detectors/HPS-Test-JLAB-v2pt0
compact.xml added at 1.1
diff -N compact.xml
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ compact.xml	20 Jun 2011 16:57:45 -0000	1.1
@@ -0,0 +1,234 @@
+<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-v2pt0">
+    <comment>Detector for a Dark Photon Search</comment>
+  </info>
+<!--
+Detector for a test experiment  - v2.0
+4-layers separated by 20cm starting 10cm from target  
+all layers measure non-bend position and 50mrad stereo to it 
+gap around z=0 of +/-15mrad (X dependent)
+layer material:  300u Si
+
+changes since v1.7:
+flip magnetic field so that positrons go up
+rotate sensors so that both edges go into beam on positron side
+-->
+  <define>
+    
+    <constant name="cm" value="10"/>
+    
+    <!-- world -->
+    <constant name="world_side" value="200.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.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="10.0*cm"/>
+    <constant name="modWidth" value="4.0*cm"/>
+  </define>
+  
+  <materials>
+
+ <material name="Air">
+<!--     <D type="density" unit="g/cm3" value="0.0012"/> -->
+    <D type="density" unit="g/cm3" value="0.0000012"/>
+    <fraction n="0.754" ref="N"/>
+    <fraction n="0.234" ref="O"/>
+    <fraction n="0.012" ref="Ar"/>
+  </material>
+
+
+    <material name="Rohacell31_50percent">
+      <D type="density" value="0.016" unit="g/cm3"/>
+      <fraction n="1.0" ref="Rohacell31"/>
+    </material>
+    <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>
+    
+    <material name="Chip">
+      <D type="density" value="3.2" unit="g/cm3"/>
+      <fraction n="0.039" ref="Aluminum"/>
+      <fraction n="0.957" ref="Silicon"/>
+      <fraction n="0.0016" ref="Tin"/>
+      <fraction n="0.0024" ref="Lead"/>
+    </material>
+    
+    <material name="FlexCable">
+      <D type="density" value="10" unit="g/cm3"/>
+      <fraction n="0.155088" ref="Hydrogen"/>
+      <fraction n="0.356334" ref="Carbon"/>
+      <fraction n="0.032555" ref="Nitrogen"/>
+      <fraction n="0.0811049" ref="Oxygen"/>
+      <fraction n="0.00738516" ref="Aluminum"/>
+      <fraction n="0.0246423" ref="Silicon"/>
+      <fraction n="0.0596088" ref="Titanium"/>
+      <fraction n="0.00101926" ref="Nickel"/>
+      <fraction n="0.219478" ref="Copper"/>
+      <fraction n="0.00103413" ref="Ruthenium"/>
+      <fraction n="0.0342783" ref="Palladium"/>
+      <fraction n="0.000879186" ref="Silver"/>
+      <fraction n="0.0186181" ref="Tin"/>
+      <fraction n="0.00112464" ref="Gold"/>
+      <fraction n="0.00685001" ref="Lead"/>
+    </material>
+    
+    <material name="Stave">
+      <D type="density" value="10" unit="g/cm3"/>
+      <fraction n="0.0621474" ref="Hydrogen"/>
+      <fraction n="0.700638" ref="Carbon"/>
+      <fraction n="0.00422771" ref="Nitrogen"/>
+      <fraction n="0.0332932" ref="Oxygen"/>
+      <fraction n="0.0012558" ref="Fluorine"/>
+      <fraction n="0.183551" ref="Aluminum"/>
+      <fraction n="0.00801284" ref="Silicon"/>
+      <fraction n="0.000420019" ref="Titanium"/>
+      <fraction n="1.81336e-05" ref="Vanadium"/>
+      <fraction n="4.62406e-05" ref="Chromium"/>
+      <fraction n="0.000524621" ref="Manganese"/>
+      <fraction n="0.000360016" ref="Iron"/>
+      <fraction n="0.000115602" ref="Copper"/>
+      <fraction n="0.00538952" ref="Zinc"/>
+    </material>
+    </materials>
+  
+  
+  <detectors>
+<!--    
+    <detector id="0" name="Target" type="PolyconeSupport" insideTrackingVolume="true">
+      <material name="Tungsten"/>
+      <zplane rmin="0" rmaz="0.3504*cm*0.01/2" z="-10*cm" />
+      <zplane rmin="0" rmaz="0.3504*cm*0.01/2" z="10*cm" />
+    </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="SiTrackerSpectrometer" 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 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="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="RectangularDipole" name="AnalyzingDipole"
+	   xmin="-20*cm"
+	   xmax="20*cm"
+            ymin="-20*cm"
+	   ymax="20*cm"
+            zmin="0*cm"
+	   zmax="100*cm">
+      <dipoleCoeff value="5.0"/>
+    </field>
+  </fields>
+  -->
+
+  <fields>
+    <field type="Dipole" name="AnalyzingDipole"
+            zmin="0*cm"
+	   zmax="100*cm"
+           rmax="200*cm">
+      <dipoleCoeff value="0.5"/>
+    </field>
+  </fields>
+<!--
+   <fields>
+        <field type="Solenoid" name="GlobalSolenoid"
+        inner_field="-0.5"
+        outer_field="0.0"
+         zmaz="tracking_region_zmax"
+        outer_radius="tracking_region_radius"/>
+    </fields>
+-->
+</lccdd>
\ No newline at end of file

hps-detectors/detectors/HPS-Test-JLAB-v2pt0
HPS-Test-JLAB-v2pt0.lcdd added at 1.1
diff -N HPS-Test-JLAB-v2pt0.lcdd
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ HPS-Test-JLAB-v2pt0.lcdd	20 Jun 2011 16:57:45 -0000	1.1
@@ -0,0 +1,681 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<lcdd xmlns:lcdd="http://www.lcsim.org/schemas/lcdd/1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="http://www.lcsim.org/schemas/lcdd/1.0/lcdd.xsd">
+  <header>
+    <detector name="HPS-Test-JLAB-v2pt0" />
+    <generator name="GeomConverter" version="1.0" file="/Users/mgraham/NetBeansProjects/hps-detectors/detectors/HPS-Test-JLAB-v2pt0/compact.xml" checksum="4086622871" />
+    <author name="NONE" />
+    <comment>Detector for a Dark Photon Search</comment>
+  </header>
+  <iddict>
+    <idspec name="TrackerHits" length="46">
+      <idfield signed="false" label="system" length="6" start="0" />
+      <idfield signed="false" label="barrel" length="3" start="6" />
+      <idfield signed="false" label="layer" length="4" start="9" />
+      <idfield signed="false" label="wedge" length="4" start="13" />
+      <idfield signed="false" label="module" length="12" start="17" />
+      <idfield signed="false" label="sensor" length="1" start="29" />
+      <idfield signed="true" label="side" length="2" start="32" />
+      <idfield signed="false" label="strip" length="12" start="34" />
+    </idspec>
+    <idspec name="TargetHits" length="46">
+      <idfield signed="false" label="system" length="6" start="0" />
+      <idfield signed="false" label="barrel" length="3" start="6" />
+      <idfield signed="false" label="layer" length="4" start="9" />
+      <idfield signed="false" label="wedge" length="4" start="13" />
+      <idfield signed="false" label="module" length="12" start="17" />
+      <idfield signed="false" label="sensor" length="1" start="29" />
+      <idfield signed="true" label="side" length="2" start="32" />
+      <idfield signed="false" label="strip" length="12" start="34" />
+    </idspec>
+  </iddict>
+  <sensitive_detectors>
+    <tracker name="Target" ecut="0.0" eunit="MeV" verbose="0" hits_collection="TargetHits">
+      <idspecref ref="TargetHits" />
+    </tracker>
+    <tracker name="Tracker" ecut="0.0" eunit="MeV" verbose="0" hits_collection="TrackerHits">
+      <idspecref ref="TrackerHits" />
+    </tracker>
+  </sensitive_detectors>
+  <limits />
+  <regions>
+    <region name="TrackingRegion" store_secondaries="true" cut="10.0" lunit="mm" threshold="1.0" eunit="MeV" />
+  </regions>
+  <display>
+    <vis name="WorldVis" line_style="unbroken" drawing_style="wireframe" show_daughters="true" visible="false">
+      <color R="1.0" G="1.0" B="1.0" alpha="1.0" />
+    </vis>
+    <vis name="TrackingVis" line_style="unbroken" drawing_style="wireframe" show_daughters="true" visible="false">
+      <color R="1.0" G="1.0" B="1.0" alpha="1.0" />
+    </vis>
+  </display>
+  <gdml>
+    <define>
+      <rotation name="identity_rot" x="0.0" y="0.0" z="0.0" unit="radian" />
+      <rotation name="reflect_rot" x="3.141592653589793" y="0.0" z="0.0" unit="radian" />
+      <position name="identity_pos" x="0.0" y="0.0" z="0.0" unit="mm" />
+      <constant name="zCent5" value="700.0" />
+      <constant name="modLength" value="100.0" />
+      <constant name="world_side" value="2000.0" />
+      <constant name="zCent4" value="500.0" />
+      <constant name="zCent3" value="300.0" />
+      <constant name="zCent2" value="200.0" />
+      <constant name="tracking_region_radius" value="2000.0" />
+      <constant name="zPlaneDist" value="10.0" />
+      <constant name="modWidth" value="40.0" />
+      <constant name="zCent1" value="100.0" />
+      <constant name="world_y" value="2000.0" />
+      <constant name="world_z" value="2000.0" />
+      <constant name="world_x" value="2000.0" />
+      <constant name="SA2" value="0.05" />
+      <constant name="tracking_region_min" value="50.0" />
+      <constant name="cm" value="10.0" />
+      <constant name="ygap5" value="21.0" />
+      <constant name="ygap3" value="9.0" />
+      <constant name="ygap4" value="15.0" />
+      <constant name="ygap1" value="3.0" />
+      <constant name="ygap2" value="6.0" />
+      <constant name="tracking_region_zmax" value="1000.0" />
+      <constant name="onedeg" value="0.0175" />
+      <constant name="pi" value="3.14159" />
+      <constant name="SA" value="0.1" />
+      <position name="TungstenTargetVolume_component0_position" x="0.0" y="0.0" z="0.0" unit="mm" />
+      <rotation name="TungstenTargetVolume_component0_rotation" x="0.0" y="0.0" z="0.0" unit="radian" />
+      <position name="Target_layer1_module0_position" x="0.0" y="0.0" z="0.0" unit="mm" />
+      <rotation name="Target_layer1_module0_rotation" x="-1.5707963267948966" y="1.5707963267948966" z="0.0" unit="radian" />
+      <position name="Target_layer1_module0_reflect_position" x="0.0" y="-0.0" z="0.0" unit="mm" />
+      <rotation name="Target_layer1_module0_reflect_rotation" x="-1.5707963267948966" y="1.5707963267948966" z="0.0" unit="radian" />
+      <position name="Module1Volume_component0_position" x="0.0" y="-0.1" z="0.0" unit="mm" />
+      <rotation name="Module1Volume_component0_rotation" x="0.0" y="0.0" z="0.0" unit="radian" />
+      <position name="Module1Volume_component1_position" x="0.0" y="0.16" z="0.0" unit="mm" />
+      <rotation name="Module1Volume_component1_rotation" x="0.0" y="0.0" z="0.0" unit="radian" />
+      <position name="Tracker_layer1_module0_position" x="0.0" y="21.5" z="100.0" unit="mm" />
+      <rotation name="Tracker_layer1_module0_rotation" x="-1.5707963267948966" y="1.5707963267948966" z="0.0" unit="radian" />
+      <position name="Tracker_layer1_module0_reflect_position" x="0.0" y="-21.5" z="100.0" unit="mm" />
+      <rotation name="Tracker_layer1_module0_reflect_rotation" x="-1.5707963267948966" y="1.5707963267948966" z="0.0" unit="radian" />
+      <position name="Tracker_layer2_module0_position" x="0.0" y="21.5" z="110.0" unit="mm" />
+      <rotation name="Tracker_layer2_module0_rotation" x="-1.5707963267948966" y="1.6707963267948966" z="0.0" unit="radian" />
+      <position name="Tracker_layer2_module0_reflect_position" x="0.0" y="-21.5" z="110.0" unit="mm" />
+      <rotation name="Tracker_layer2_module0_reflect_rotation" x="-1.5707963267948966" y="1.4707963267948965" z="0.0" unit="radian" />
+      <position name="Tracker_layer3_module0_position" x="0.0" y="23.0" z="200.0" unit="mm" />
+      <rotation name="Tracker_layer3_module0_rotation" x="-1.5707963267948966" y="1.5707963267948966" z="0.0" unit="radian" />
+      <position name="Tracker_layer3_module0_reflect_position" x="0.0" y="-23.0" z="200.0" unit="mm" />
+      <rotation name="Tracker_layer3_module0_reflect_rotation" x="-1.5707963267948966" y="1.5707963267948966" z="0.0" unit="radian" />
+      <position name="Tracker_layer4_module0_position" x="0.0" y="23.0" z="210.0" unit="mm" />
+      <rotation name="Tracker_layer4_module0_rotation" x="-1.5707963267948966" y="1.6707963267948966" z="0.0" unit="radian" />
+      <position name="Tracker_layer4_module0_reflect_position" x="0.0" y="-23.0" z="210.0" unit="mm" />
+      <rotation name="Tracker_layer4_module0_reflect_rotation" x="-1.5707963267948966" y="1.4707963267948965" z="0.0" unit="radian" />
+      <position name="Tracker_layer5_module0_position" x="0.0" y="24.5" z="300.0" unit="mm" />
+      <rotation name="Tracker_layer5_module0_rotation" x="-1.5707963267948966" y="1.5707963267948966" z="0.0" unit="radian" />
+      <position name="Tracker_layer5_module0_reflect_position" x="0.0" y="-24.5" z="300.0" unit="mm" />
+      <rotation name="Tracker_layer5_module0_reflect_rotation" x="-1.5707963267948966" y="1.5707963267948966" z="0.0" unit="radian" />
+      <position name="Tracker_layer6_module0_position" x="0.0" y="24.5" z="310.0" unit="mm" />
+      <rotation name="Tracker_layer6_module0_rotation" x="-1.5707963267948966" y="1.6707963267948966" z="0.0" unit="radian" />
+      <position name="Tracker_layer6_module0_reflect_position" x="0.0" y="-24.5" z="310.0" unit="mm" />
+      <rotation name="Tracker_layer6_module0_reflect_rotation" x="-1.5707963267948966" y="1.4707963267948965" z="0.0" unit="radian" />
+      <position name="Tracker_layer7_module0_position" x="0.0" y="27.5" z="500.0" unit="mm" />
+      <rotation name="Tracker_layer7_module0_rotation" x="-1.5707963267948966" y="1.5707963267948966" z="0.0" unit="radian" />
+      <position name="Tracker_layer7_module0_reflect_position" x="0.0" y="-27.5" z="500.0" unit="mm" />
+      <rotation name="Tracker_layer7_module0_reflect_rotation" x="-1.5707963267948966" y="1.5707963267948966" z="0.0" unit="radian" />
+      <position name="Tracker_layer8_module0_position" x="0.0" y="27.5" z="510.0" unit="mm" />
+      <rotation name="Tracker_layer8_module0_rotation" x="-1.5707963267948966" y="1.6207963267948966" z="0.0" unit="radian" />
+      <position name="Tracker_layer8_module0_reflect_position" x="0.0" y="-27.5" z="510.0" unit="mm" />
+      <rotation name="Tracker_layer8_module0_reflect_rotation" x="-1.5707963267948966" y="1.5207963267948965" z="0.0" unit="radian" />
+      <position name="Tracker_layer9_module0_position" x="0.0" y="30.5" z="700.0" unit="mm" />
+      <rotation name="Tracker_layer9_module0_rotation" x="-1.5707963267948966" y="1.5707963267948966" z="0.0" unit="radian" />
+      <position name="Tracker_layer9_module0_reflect_position" x="0.0" y="-30.5" z="700.0" unit="mm" />
+      <rotation name="Tracker_layer9_module0_reflect_rotation" x="-1.5707963267948966" y="1.5707963267948966" z="0.0" unit="radian" />
+      <position name="Tracker_layer10_module0_position" x="0.0" y="30.5" z="710.0" unit="mm" />
+      <rotation name="Tracker_layer10_module0_rotation" x="-1.5707963267948966" y="1.6207963267948966" z="0.0" unit="radian" />
+      <position name="Tracker_layer10_module0_reflect_position" x="0.0" y="-30.5" z="710.0" unit="mm" />
+      <rotation name="Tracker_layer10_module0_reflect_rotation" x="-1.5707963267948966" y="1.5207963267948965" z="0.0" unit="radian" />
+    </define>
+    <materials>
+      <element Z="7" formula="N" name="N">
+        <atom type="A" unit="g/mol" value="14.0068" />
+      </element>
+      <element Z="8" formula="O" name="O">
+        <atom type="A" unit="g/mol" value="15.9994" />
+      </element>
+      <element Z="18" formula="Ar" name="Ar">
+        <atom type="A" unit="g/mol" value="39.9477" />
+      </element>
+      <element Z="6" formula="C" name="C">
+        <atom type="A" unit="g/mol" value="12.0107" />
+      </element>
+      <element Z="1" formula="H" name="H">
+        <atom type="A" unit="g/mol" value="1.00794" />
+      </element>
+      <element Z="13" formula="Al" name="Al">
+        <atom type="A" unit="g/mol" value="26.9815" />
+      </element>
+      <element Z="14" formula="Si" name="Si">
+        <atom type="A" unit="g/mol" value="28.0854" />
+      </element>
+      <element Z="50" formula="Sn" name="Sn">
+        <atom type="A" unit="g/mol" value="118.71" />
+      </element>
+      <element Z="82" formula="Pb" name="Pb">
+        <atom type="A" unit="g/mol" value="207.217" />
+      </element>
+      <element Z="22" formula="Ti" name="Ti">
+        <atom type="A" unit="g/mol" value="47.8667" />
+      </element>
+      <element Z="28" formula="Ni" name="Ni">
+        <atom type="A" unit="g/mol" value="58.6933" />
+      </element>
+      <element Z="29" formula="Cu" name="Cu">
+        <atom type="A" unit="g/mol" value="63.5456" />
+      </element>
+      <element Z="44" formula="Ru" name="Ru">
+        <atom type="A" unit="g/mol" value="101.065" />
+      </element>
+      <element Z="46" formula="Pd" name="Pd">
+        <atom type="A" unit="g/mol" value="106.415" />
+      </element>
+      <element Z="47" formula="Ag" name="Ag">
+        <atom type="A" unit="g/mol" value="107.868" />
+      </element>
+      <element Z="79" formula="Au" name="Au">
+        <atom type="A" unit="g/mol" value="196.967" />
+      </element>
+      <element Z="9" formula="F" name="F">
+        <atom type="A" unit="g/mol" value="18.9984" />
+      </element>
+      <element Z="23" formula="V" name="V">
+        <atom type="A" unit="g/mol" value="50.9415" />
+      </element>
+      <element Z="24" formula="Cr" name="Cr">
+        <atom type="A" unit="g/mol" value="51.9961" />
+      </element>
+      <element Z="25" formula="Mn" name="Mn">
+        <atom type="A" unit="g/mol" value="54.938" />
+      </element>
+      <element Z="26" formula="Fe" name="Fe">
+        <atom type="A" unit="g/mol" value="55.8451" />
+      </element>
+      <element Z="30" formula="Zn" name="Zn">
+        <atom type="A" unit="g/mol" value="65.3955" />
+      </element>
+      <material name="Air">
+        <D type="density" unit="g/cm3" value="0.0000012" />
+        <fraction n="0.754" ref="N" />
+        <fraction n="0.234" ref="O" />
+        <fraction n="0.012" ref="Ar" />
+      </material>
+      <material name="Rohacell31">
+        <D type="density" value="0.032" unit="g/cm3" />
+        <composite n="9" ref="C" />
+        <composite n="13" ref="H" />
+        <composite n="2" ref="O" />
+        <composite n="1" ref="N" />
+      </material>
+      <material name="Rohacell31_50percent">
+        <D type="density" value="0.016" unit="g/cm3" />
+        <fraction n="1.0" ref="Rohacell31" />
+      </material>
+      <material name="Hydrogen">
+        <RL type="X0" unit="cm" value="752776" />
+        <NIL type="lambda" unit="cm" value="421239" />
+        <D type="density" unit="g/cm3" value="8.3748e-05" />
+        <composite n="1" ref="H" />
+      </material>
+      <material name="Carbon">
+        <RL type="X0" unit="cm" value="21.3485" />
+        <NIL type="lambda" unit="cm" value="40.1008" />
+        <D type="density" unit="g/cm3" value="2" />
+        <composite n="1" ref="C" />
+      </material>
+      <material name="Oxygen">
+        <RL type="X0" unit="cm" value="25713.8" />
+        <NIL type="lambda" unit="cm" value="66233.9" />
+        <D type="density" unit="g/cm3" value="0.00133151" />
+        <composite n="1" ref="O" />
+      </material>
+      <material name="Aluminum">
+        <RL type="X0" unit="cm" value="8.89632" />
+        <NIL type="lambda" unit="cm" value="38.8766" />
+        <D type="density" unit="g/cm3" value="2.699" />
+        <composite n="1" ref="Al" />
+      </material>
+      <material name="Silicon">
+        <RL type="X0" unit="cm" value="9.36607" />
+        <NIL type="lambda" unit="cm" value="45.7531" />
+        <D type="density" unit="g/cm3" value="2.33" />
+        <composite n="1" ref="Si" />
+      </material>
+      <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>
+      <material name="Tin">
+        <RL type="X0" unit="cm" value="1.20637" />
+        <NIL type="lambda" unit="cm" value="23.4931" />
+        <D type="density" unit="g/cm3" value="7.31" />
+        <composite n="1" ref="Sn" />
+      </material>
+      <material name="Lead">
+        <RL type="X0" unit="cm" value="0.561253" />
+        <NIL type="lambda" unit="cm" value="18.2607" />
+        <D type="density" unit="g/cm3" value="11.35" />
+        <composite n="1" ref="Pb" />
+      </material>
+      <material name="Chip">
+        <D type="density" value="3.2" unit="g/cm3" />
+        <fraction n="0.039" ref="Aluminum" />
+        <fraction n="0.957" ref="Silicon" />
+        <fraction n="0.0016" ref="Tin" />
+        <fraction n="0.0024" ref="Lead" />
+      </material>
+      <material name="Nitrogen">
+        <RL type="X0" unit="cm" value="32602.2" />
+        <NIL type="lambda" unit="cm" value="72430.3" />
+        <D type="density" unit="g/cm3" value="0.0011652" />
+        <composite n="1" ref="N" />
+      </material>
+      <material name="Titanium">
+        <RL type="X0" unit="cm" value="3.5602" />
+        <NIL type="lambda" unit="cm" value="27.9395" />
+        <D type="density" unit="g/cm3" value="4.54" />
+        <composite n="1" ref="Ti" />
+      </material>
+      <material name="Nickel">
+        <RL type="X0" unit="cm" value="1.42422" />
+        <NIL type="lambda" unit="cm" value="15.2265" />
+        <D type="density" unit="g/cm3" value="8.902" />
+        <composite n="1" ref="Ni" />
+      </material>
+      <material name="Copper">
+        <RL type="X0" unit="cm" value="1.43558" />
+        <NIL type="lambda" unit="cm" value="15.5141" />
+        <D type="density" unit="g/cm3" value="8.96" />
+        <composite n="1" ref="Cu" />
+      </material>
+      <material name="Ruthenium">
+        <RL type="X0" unit="cm" value="0.764067" />
+        <NIL type="lambda" unit="cm" value="13.1426" />
+        <D type="density" unit="g/cm3" value="12.41" />
+        <composite n="1" ref="Ru" />
+      </material>
+      <material name="Palladium">
+        <RL type="X0" unit="cm" value="0.765717" />
+        <NIL type="lambda" unit="cm" value="13.7482" />
+        <D type="density" unit="g/cm3" value="12.02" />
+        <composite n="1" ref="Pd" />
+      </material>
+      <material name="Silver">
+        <RL type="X0" unit="cm" value="0.854292" />
+        <NIL type="lambda" unit="cm" value="15.8546" />
+        <D type="density" unit="g/cm3" value="10.5" />
+        <composite n="1" ref="Ag" />
+      </material>
+      <material name="Gold">
+        <RL type="X0" unit="cm" value="0.334436" />
+        <NIL type="lambda" unit="cm" value="10.5393" />
+        <D type="density" unit="g/cm3" value="19.32" />
+        <composite n="1" ref="Au" />
+      </material>
+      <material name="FlexCable">
+        <D type="density" value="10" unit="g/cm3" />
+        <fraction n="0.155088" ref="Hydrogen" />
+        <fraction n="0.356334" ref="Carbon" />
+        <fraction n="0.032555" ref="Nitrogen" />
+        <fraction n="0.0811049" ref="Oxygen" />
+        <fraction n="0.00738516" ref="Aluminum" />
+        <fraction n="0.0246423" ref="Silicon" />
+        <fraction n="0.0596088" ref="Titanium" />
+        <fraction n="0.00101926" ref="Nickel" />
+        <fraction n="0.219478" ref="Copper" />
+        <fraction n="0.00103413" ref="Ruthenium" />
+        <fraction n="0.0342783" ref="Palladium" />
+        <fraction n="0.000879186" ref="Silver" />
+        <fraction n="0.0186181" ref="Tin" />
+        <fraction n="0.00112464" ref="Gold" />
+        <fraction n="0.00685001" ref="Lead" />
+      </material>
+      <material name="Fluorine">
+        <RL type="X0" unit="cm" value="20838.2" />
+        <NIL type="lambda" unit="cm" value="59094.3" />
+        <D type="density" unit="g/cm3" value="0.00158029" />
+        <composite n="1" ref="F" />
+      </material>
+      <material name="Vanadium">
+        <RL type="X0" unit="cm" value="2.59285" />
+        <NIL type="lambda" unit="cm" value="21.2187" />
+        <D type="density" unit="g/cm3" value="6.11" />
+        <composite n="1" ref="V" />
+      </material>
+      <material name="Chromium">
+        <RL type="X0" unit="cm" value="2.0814" />
+        <NIL type="lambda" unit="cm" value="18.1933" />
+        <D type="density" unit="g/cm3" value="7.18" />
+        <composite n="1" ref="Cr" />
+      </material>
+      <material name="Manganese">
+        <RL type="X0" unit="cm" value="1.96772" />
+        <NIL type="lambda" unit="cm" value="17.8701" />
+        <D type="density" unit="g/cm3" value="7.44" />
+        <composite n="1" ref="Mn" />
+      </material>
+      <material name="Iron">
+        <RL type="X0" unit="cm" value="1.75749" />
+        <NIL type="lambda" unit="cm" value="16.959" />
+        <D type="density" unit="g/cm3" value="7.874" />
+        <composite n="1" ref="Fe" />
+      </material>
+      <material name="Zinc">
+        <RL type="X0" unit="cm" value="1.74286" />
+        <NIL type="lambda" unit="cm" value="19.8488" />
+        <D type="density" unit="g/cm3" value="7.133" />
+        <composite n="1" ref="Zn" />
+      </material>
+      <material name="Stave">
+        <D type="density" value="10" unit="g/cm3" />
+        <fraction n="0.0621474" ref="Hydrogen" />
+        <fraction n="0.700638" ref="Carbon" />
+        <fraction n="0.00422771" ref="Nitrogen" />
+        <fraction n="0.0332932" ref="Oxygen" />
+        <fraction n="0.0012558" ref="Fluorine" />
+        <fraction n="0.183551" ref="Aluminum" />
+        <fraction n="0.00801284" ref="Silicon" />
+        <fraction n="0.000420019" ref="Titanium" />
+        <fraction n="1.81336e-05" ref="Vanadium" />
+        <fraction n="4.62406e-05" ref="Chromium" />
+        <fraction n="0.000524621" ref="Manganese" />
+        <fraction n="0.000360016" ref="Iron" />
+        <fraction n="0.000115602" ref="Copper" />
+        <fraction n="0.00538952" ref="Zinc" />
+      </material>
+      <material name="Vacuum">
+        <D type="density" unit="g/cm3" value="0.00000001" />
+        <fraction n="1" ref="H" />
+      </material>
+      <element name="W" formula="W" Z="74">
+        <atom type="A" unit="g/mol" value="183.842" />
+      </element>
+      <material name="Tungsten">
+        <RL type="X0" unit="cm" value="0.350418" />
+        <NIL type="lambda" unit="cm" value="10.3057" />
+        <D type="density" unit="g/cm3" value="19.3" />
+        <composite n="1" ref="W" />
+      </material>
+    </materials>
+    <solids>
+      <box name="world_box" x="world_x" y="world_y" z="world_z" />
+      <tube name="tracking_cylinder" deltaphi="6.283185307179586" rmin="0.0" rmax="tracking_region_radius" z="2*tracking_region_zmax" />
+      <trd name="TungstenTargetTrd" x1="100.0" x2="100.0" y1="0.00438" y2="0.00438" z="100.0" />
+      <trd name="TungstenTargetVolume_component0_trd" x1="100.0" x2="100.0" y1="0.00438" y2="0.00438" z="100.0" />
+      <trd name="Module1Trd" x1="40.0" x2="40.0" y1="0.52" y2="0.52" z="100.0" />
+      <trd name="Module1Volume_component0_trd" x1="40.0" x2="40.0" y1="0.32" y2="0.32" z="100.0" />
+      <trd name="Module1Volume_component1_trd" x1="40.0" x2="40.0" y1="0.2" y2="0.2" z="100.0" />
+    </solids>
+    <structure>
+      <volume name="TungstenTargetVolume_component0">
+        <materialref ref="Tungsten" />
+        <solidref ref="TungstenTargetVolume_component0_trd" />
+      </volume>
+      <volume name="TungstenTargetVolume">
+        <materialref ref="Vacuum" />
+        <solidref ref="TungstenTargetTrd" />
+        <physvol>
+          <volumeref ref="TungstenTargetVolume_component0" />
+          <positionref ref="TungstenTargetVolume_component0_position" />
+          <rotationref ref="TungstenTargetVolume_component0_rotation" />
+          <physvolid field_name="component" value="0" />
+        </physvol>
+      </volume>
+      <volume name="Module1Volume_component0">
+        <materialref ref="Silicon" />
+        <solidref ref="Module1Volume_component0_trd" />
+        <sdref ref="Tracker" />
+      </volume>
+      <volume name="Module1Volume_component1">
+        <materialref ref="Carbon" />
+        <solidref ref="Module1Volume_component1_trd" />
+      </volume>
+      <volume name="Module1Volume">
+        <materialref ref="Vacuum" />
+        <solidref ref="Module1Trd" />
+        <physvol>
+          <volumeref ref="Module1Volume_component0" />
+          <positionref ref="Module1Volume_component0_position" />
+          <rotationref ref="Module1Volume_component0_rotation" />
+          <physvolid field_name="component" value="0" />
+          <physvolid field_name="sensor" value="0" />
+        </physvol>
+        <physvol>
+          <volumeref ref="Module1Volume_component1" />
+          <positionref ref="Module1Volume_component1_position" />
+          <rotationref ref="Module1Volume_component1_rotation" />
+          <physvolid field_name="component" value="1" />
+        </physvol>
+      </volume>
+      <volume name="tracking_volume">
+        <materialref ref="Air" />
+        <solidref ref="tracking_cylinder" />
+        <physvol>
+          <volumeref ref="TungstenTargetVolume" />
+          <positionref ref="Target_layer1_module0_position" />
+          <rotationref ref="Target_layer1_module0_rotation" />
+          <physvolid field_name="system" value="10" />
+          <physvolid field_name="barrel" value="0" />
+          <physvolid field_name="layer" value="1" />
+          <physvolid field_name="module" value="0" />
+        </physvol>
+        <physvol>
+          <volumeref ref="TungstenTargetVolume" />
+          <positionref ref="Target_layer1_module0_reflect_position" />
+          <rotationref ref="Target_layer1_module0_reflect_rotation" />
+          <physvolid field_name="system" value="10" />
+          <physvolid field_name="barrel" value="0" />
+          <physvolid field_name="layer" value="1" />
+          <physvolid field_name="module" value="1" />
+        </physvol>
+        <physvol>
+          <volumeref ref="Module1Volume" />
+          <positionref ref="Tracker_layer1_module0_position" />
+          <rotationref ref="Tracker_layer1_module0_rotation" />
+          <physvolid field_name="system" value="1" />
+          <physvolid field_name="barrel" value="0" />
+          <physvolid field_name="layer" value="1" />
+          <physvolid field_name="module" value="0" />
+        </physvol>
+        <physvol>
+          <volumeref ref="Module1Volume" />
+          <positionref ref="Tracker_layer1_module0_reflect_position" />
+          <rotationref ref="Tracker_layer1_module0_reflect_rotation" />
+          <physvolid field_name="system" value="1" />
+          <physvolid field_name="barrel" value="0" />
+          <physvolid field_name="layer" value="1" />
+          <physvolid field_name="module" value="1" />
+        </physvol>
+        <physvol>
+          <volumeref ref="Module1Volume" />
+          <positionref ref="Tracker_layer2_module0_position" />
+          <rotationref ref="Tracker_layer2_module0_rotation" />
+          <physvolid field_name="system" value="1" />
+          <physvolid field_name="barrel" value="0" />
+          <physvolid field_name="layer" value="2" />
+          <physvolid field_name="module" value="0" />
+        </physvol>
+        <physvol>
+          <volumeref ref="Module1Volume" />
+          <positionref ref="Tracker_layer2_module0_reflect_position" />
+          <rotationref ref="Tracker_layer2_module0_reflect_rotation" />
+          <physvolid field_name="system" value="1" />
+          <physvolid field_name="barrel" value="0" />
+          <physvolid field_name="layer" value="2" />
+          <physvolid field_name="module" value="1" />
+        </physvol>
+        <physvol>
+          <volumeref ref="Module1Volume" />
+          <positionref ref="Tracker_layer3_module0_position" />
+          <rotationref ref="Tracker_layer3_module0_rotation" />
+          <physvolid field_name="system" value="1" />
+          <physvolid field_name="barrel" value="0" />
+          <physvolid field_name="layer" value="3" />
+          <physvolid field_name="module" value="0" />
+        </physvol>
+        <physvol>
+          <volumeref ref="Module1Volume" />
+          <positionref ref="Tracker_layer3_module0_reflect_position" />
+          <rotationref ref="Tracker_layer3_module0_reflect_rotation" />
+          <physvolid field_name="system" value="1" />
+          <physvolid field_name="barrel" value="0" />
+          <physvolid field_name="layer" value="3" />
+          <physvolid field_name="module" value="1" />
+        </physvol>
+        <physvol>
+          <volumeref ref="Module1Volume" />
+          <positionref ref="Tracker_layer4_module0_position" />
+          <rotationref ref="Tracker_layer4_module0_rotation" />
+          <physvolid field_name="system" value="1" />
+          <physvolid field_name="barrel" value="0" />
+          <physvolid field_name="layer" value="4" />
+          <physvolid field_name="module" value="0" />
+        </physvol>
+        <physvol>
+          <volumeref ref="Module1Volume" />
+          <positionref ref="Tracker_layer4_module0_reflect_position" />
+          <rotationref ref="Tracker_layer4_module0_reflect_rotation" />
+          <physvolid field_name="system" value="1" />
+          <physvolid field_name="barrel" value="0" />
+          <physvolid field_name="layer" value="4" />
+          <physvolid field_name="module" value="1" />
+        </physvol>
+        <physvol>
+          <volumeref ref="Module1Volume" />
+          <positionref ref="Tracker_layer5_module0_position" />
+          <rotationref ref="Tracker_layer5_module0_rotation" />
+          <physvolid field_name="system" value="1" />
+          <physvolid field_name="barrel" value="0" />
+          <physvolid field_name="layer" value="5" />
+          <physvolid field_name="module" value="0" />
+        </physvol>
+        <physvol>
+          <volumeref ref="Module1Volume" />
+          <positionref ref="Tracker_layer5_module0_reflect_position" />
+          <rotationref ref="Tracker_layer5_module0_reflect_rotation" />
+          <physvolid field_name="system" value="1" />
+          <physvolid field_name="barrel" value="0" />
+          <physvolid field_name="layer" value="5" />
+          <physvolid field_name="module" value="1" />
+        </physvol>
+        <physvol>
+          <volumeref ref="Module1Volume" />
+          <positionref ref="Tracker_layer6_module0_position" />
+          <rotationref ref="Tracker_layer6_module0_rotation" />
+          <physvolid field_name="system" value="1" />
+          <physvolid field_name="barrel" value="0" />
+          <physvolid field_name="layer" value="6" />
+          <physvolid field_name="module" value="0" />
+        </physvol>
+        <physvol>
+          <volumeref ref="Module1Volume" />
+          <positionref ref="Tracker_layer6_module0_reflect_position" />
+          <rotationref ref="Tracker_layer6_module0_reflect_rotation" />
+          <physvolid field_name="system" value="1" />
+          <physvolid field_name="barrel" value="0" />
+          <physvolid field_name="layer" value="6" />
+          <physvolid field_name="module" value="1" />
+        </physvol>
+        <physvol>
+          <volumeref ref="Module1Volume" />
+          <positionref ref="Tracker_layer7_module0_position" />
+          <rotationref ref="Tracker_layer7_module0_rotation" />
+          <physvolid field_name="system" value="1" />
+          <physvolid field_name="barrel" value="0" />
+          <physvolid field_name="layer" value="7" />
+          <physvolid field_name="module" value="0" />
+        </physvol>
+        <physvol>
+          <volumeref ref="Module1Volume" />
+          <positionref ref="Tracker_layer7_module0_reflect_position" />
+          <rotationref ref="Tracker_layer7_module0_reflect_rotation" />
+          <physvolid field_name="system" value="1" />
+          <physvolid field_name="barrel" value="0" />
+          <physvolid field_name="layer" value="7" />
+          <physvolid field_name="module" value="1" />
+        </physvol>
+        <physvol>
+          <volumeref ref="Module1Volume" />
+          <positionref ref="Tracker_layer8_module0_position" />
+          <rotationref ref="Tracker_layer8_module0_rotation" />
+          <physvolid field_name="system" value="1" />
+          <physvolid field_name="barrel" value="0" />
+          <physvolid field_name="layer" value="8" />
+          <physvolid field_name="module" value="0" />
+        </physvol>
+        <physvol>
+          <volumeref ref="Module1Volume" />
+          <positionref ref="Tracker_layer8_module0_reflect_position" />
+          <rotationref ref="Tracker_layer8_module0_reflect_rotation" />
+          <physvolid field_name="system" value="1" />
+          <physvolid field_name="barrel" value="0" />
+          <physvolid field_name="layer" value="8" />
+          <physvolid field_name="module" value="1" />
+        </physvol>
+        <physvol>
+          <volumeref ref="Module1Volume" />
+          <positionref ref="Tracker_layer9_module0_position" />
+          <rotationref ref="Tracker_layer9_module0_rotation" />
+          <physvolid field_name="system" value="1" />
+          <physvolid field_name="barrel" value="0" />
+          <physvolid field_name="layer" value="9" />
+          <physvolid field_name="module" value="0" />
+        </physvol>
+        <physvol>
+          <volumeref ref="Module1Volume" />
+          <positionref ref="Tracker_layer9_module0_reflect_position" />
+          <rotationref ref="Tracker_layer9_module0_reflect_rotation" />
+          <physvolid field_name="system" value="1" />
+          <physvolid field_name="barrel" value="0" />
+          <physvolid field_name="layer" value="9" />
+          <physvolid field_name="module" value="1" />
+        </physvol>
+        <physvol>
+          <volumeref ref="Module1Volume" />
+          <positionref ref="Tracker_layer10_module0_position" />
+          <rotationref ref="Tracker_layer10_module0_rotation" />
+          <physvolid field_name="system" value="1" />
+          <physvolid field_name="barrel" value="0" />
+          <physvolid field_name="layer" value="10" />
+          <physvolid field_name="module" value="0" />
+        </physvol>
+        <physvol>
+          <volumeref ref="Module1Volume" />
+          <positionref ref="Tracker_layer10_module0_reflect_position" />
+          <rotationref ref="Tracker_layer10_module0_reflect_rotation" />
+          <physvolid field_name="system" value="1" />
+          <physvolid field_name="barrel" value="0" />
+          <physvolid field_name="layer" value="10" />
+          <physvolid field_name="module" value="1" />
+        </physvol>
+        <regionref ref="TrackingRegion" />
+        <visref ref="TrackingVis" />
+      </volume>
+      <volume name="world_volume">
+        <materialref ref="Air" />
+        <solidref ref="world_box" />
+        <physvol>
+          <volumeref ref="tracking_volume" />
+          <positionref ref="identity_pos" />
+          <rotationref ref="identity_rot" />
+        </physvol>
+        <visref ref="WorldVis" />
+      </volume>
+    </structure>
+    <setup name="Default" version="1.0">
+      <world ref="world_volume" />
+    </setup>
+  </gdml>
+  <fields>
+    <dipole name="AnalyzingDipole" lunit="mm" funit="tesla" zmax="1000.0" zmin="0.0" rmax="2000.0">
+      <dipole_coeff value="0.5" />
+    </dipole>
+  </fields>
+</lcdd>
+

hps-detectors/detectors/HPS-Test-JLAB-v2pt0
HPS-Test-JLAB-v2pt0.heprep added at 1.1
diff -N HPS-Test-JLAB-v2pt0.heprep
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ HPS-Test-JLAB-v2pt0.heprep	20 Jun 2011 16:57:45 -0000	1.1
@@ -0,0 +1,383 @@
+<?xml version="1.0" ?>
+<heprep version="2.0"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.freehep.org/schemas/heprep/2.0 http://java.freehep.org/schemas/heprep/2.0/HepRep.xsd"
+  xmlns="http://java.freehep.org/schemas/heprep/2.0">
+  <layer order="Detector"/>
+  <typetree version="1.0" name="DetectorType">
+    <type name="Barrel">
+      <attvalue name="layer" value="Detector"/>
+      <type name="Target">
+        <attvalue name="color" type="Color" value="White"/>
+        <type name="Target_positive">
+          <type name="Target_positive_layer1">
+            <type name="Target_layer1_module0">
+              <attvalue name="drawAs" value="Prism"/>
+            </type>
+          </type>
+        </type>
+        <type name="Target_negative">
+          <type name="Target_negative_layer_reflected1">
+            <type name="Target_layer1_module0_reflected">
+              <attvalue name="drawAs" value="Prism"/>
+            </type>
+          </type>
+        </type>
+      </type>
+      <type name="Tracker">
+        <attvalue name="color" type="Color" value="White"/>
+        <type name="Tracker_positive">
+          <type name="Tracker_positive_layer1">
+            <type name="Tracker_layer1_module0">
+              <attvalue name="drawAs" value="Prism"/>
+            </type>
+          </type>
+          <type name="Tracker_positive_layer2">
+            <type name="Tracker_layer2_module0">
+              <attvalue name="drawAs" value="Prism"/>
+            </type>
+          </type>
+          <type name="Tracker_positive_layer3">
+            <type name="Tracker_layer3_module0">
+              <attvalue name="drawAs" value="Prism"/>
+            </type>
+          </type>
+          <type name="Tracker_positive_layer4">
+            <type name="Tracker_layer4_module0">
+              <attvalue name="drawAs" value="Prism"/>
+            </type>
+          </type>
+          <type name="Tracker_positive_layer5">
+            <type name="Tracker_layer5_module0">
+              <attvalue name="drawAs" value="Prism"/>
+            </type>
+          </type>
+          <type name="Tracker_positive_layer6">
+            <type name="Tracker_layer6_module0">
+              <attvalue name="drawAs" value="Prism"/>
+            </type>
+          </type>
+          <type name="Tracker_positive_layer7">
+            <type name="Tracker_layer7_module0">
+              <attvalue name="drawAs" value="Prism"/>
+            </type>
+          </type>
+          <type name="Tracker_positive_layer8">
+            <type name="Tracker_layer8_module0">
+              <attvalue name="drawAs" value="Prism"/>
+            </type>
+          </type>
+          <type name="Tracker_positive_layer9">
+            <type name="Tracker_layer9_module0">
+              <attvalue name="drawAs" value="Prism"/>
+            </type>
+          </type>
+          <type name="Tracker_positive_layer10">
+            <type name="Tracker_layer10_module0">
+              <attvalue name="drawAs" value="Prism"/>
+            </type>
+          </type>
+        </type>
+        <type name="Tracker_negative">
+          <type name="Tracker_negative_layer_reflected1">
+            <type name="Tracker_layer1_module0_reflected">
+              <attvalue name="drawAs" value="Prism"/>
+            </type>
+          </type>
+          <type name="Tracker_negative_layer_reflected2">
+            <type name="Tracker_layer2_module0_reflected">
+              <attvalue name="drawAs" value="Prism"/>
+            </type>
+          </type>
+          <type name="Tracker_negative_layer_reflected3">
+            <type name="Tracker_layer3_module0_reflected">
+              <attvalue name="drawAs" value="Prism"/>
+            </type>
+          </type>
+          <type name="Tracker_negative_layer_reflected4">
+            <type name="Tracker_layer4_module0_reflected">
+              <attvalue name="drawAs" value="Prism"/>
+            </type>
+          </type>
+          <type name="Tracker_negative_layer_reflected5">
+            <type name="Tracker_layer5_module0_reflected">
+              <attvalue name="drawAs" value="Prism"/>
+            </type>
+          </type>
+          <type name="Tracker_negative_layer_reflected6">
+            <type name="Tracker_layer6_module0_reflected">
+              <attvalue name="drawAs" value="Prism"/>
+            </type>
+          </type>
+          <type name="Tracker_negative_layer_reflected7">
+            <type name="Tracker_layer7_module0_reflected">
+              <attvalue name="drawAs" value="Prism"/>
+            </type>
+          </type>
+          <type name="Tracker_negative_layer_reflected8">
+            <type name="Tracker_layer8_module0_reflected">
+              <attvalue name="drawAs" value="Prism"/>
+            </type>
+          </type>
+          <type name="Tracker_negative_layer_reflected9">
+            <type name="Tracker_layer9_module0_reflected">
+              <attvalue name="drawAs" value="Prism"/>
+            </type>
+          </type>
+          <type name="Tracker_negative_layer_reflected10">
+            <type name="Tracker_layer10_module0_reflected">
+              <attvalue name="drawAs" value="Prism"/>
+            </type>
+          </type>
+        </type>
+      </type>
+    </type>
+    <type name="Endcap">
+      <attvalue name="layer" value="Detector"/>
+    </type>
+  </typetree>
+  <instancetree typetreeversion="1.0" version="1.0"
+    name="Detector" typetreename="DetectorType">
+    <instance
+      type="Barrel/Target/Target_positive/Target_positive_layer1/Target_layer1_module0">
+      <point x="50.000" z=".0021900" y="50.000"/>
+      <point x="50.000" z=".0021900" y="-50.000"/>
+      <point x="50.000" z="-.0021900" y="-50.000"/>
+      <point x="50.000" z="-.0021900" y="50.000"/>
+      <point x="-50.000" z=".0021900" y="50.000"/>
+      <point x="-50.000" z=".0021900" y="-50.000"/>
+      <point x="-50.000" z="-.0021900" y="-50.000"/>
+      <point x="-50.000" z="-.0021900" y="50.000"/>
+    </instance>
+    <instance
+      type="Barrel/Target/Target_negative/Target_negative_layer_reflected1/Target_layer1_module0_reflected">
+      <point x="50.000" z=".0021900" y="50.000"/>
+      <point x="50.000" z=".0021900" y="-50.000"/>
+      <point x="50.000" z="-.0021900" y="-50.000"/>
+      <point x="50.000" z="-.0021900" y="50.000"/>
+      <point x="-50.000" z=".0021900" y="50.000"/>
+      <point x="-50.000" z=".0021900" y="-50.000"/>
+      <point x="-50.000" z="-.0021900" y="-50.000"/>
+      <point x="-50.000" z="-.0021900" y="50.000"/>
+    </instance>
+    <instance
+      type="Barrel/Tracker/Tracker_positive/Tracker_positive_layer1/Tracker_layer1_module0">
+      <point x="50.000" z="100.26" y="41.500"/>
+      <point x="50.000" z="100.26" y="1.5000"/>
+      <point x="50.000" z="99.740" y="1.5000"/>
+      <point x="50.000" z="99.740" y="41.500"/>
+      <point x="-50.000" z="100.26" y="41.500"/>
+      <point x="-50.000" z="100.26" y="1.5000"/>
+      <point x="-50.000" z="99.740" y="1.5000"/>
+      <point x="-50.000" z="99.740" y="41.500"/>
+    </instance>
+    <instance
+      type="Barrel/Tracker/Tracker_positive/Tracker_positive_layer2/Tracker_layer2_module0">
+      <point x="51.747" z="110.26" y="36.408"/>
+      <point x="47.754" z="110.26" y="-3.3918"/>
+      <point x="47.754" z="109.74" y="-3.3918"/>
+      <point x="51.747" z="109.74" y="36.408"/>
+      <point x="-47.754" z="110.26" y="46.392"/>
+      <point x="-51.747" z="110.26" y="6.5916"/>
+      <point x="-51.747" z="109.74" y="6.5916"/>
+      <point x="-47.754" z="109.74" y="46.392"/>
+    </instance>
+    <instance
+      type="Barrel/Tracker/Tracker_positive/Tracker_positive_layer3/Tracker_layer3_module0">
+      <point x="50.000" z="200.26" y="43.000"/>
+      <point x="50.000" z="200.26" y="3.0000"/>
+      <point x="50.000" z="199.74" y="3.0000"/>
+      <point x="50.000" z="199.74" y="43.000"/>
+      <point x="-50.000" z="200.26" y="43.000"/>
+      <point x="-50.000" z="200.26" y="3.0000"/>
+      <point x="-50.000" z="199.74" y="3.0000"/>
+      <point x="-50.000" z="199.74" y="43.000"/>
+    </instance>
+    <instance
+      type="Barrel/Tracker/Tracker_positive/Tracker_positive_layer4/Tracker_layer4_module0">
+      <point x="51.747" z="210.26" y="37.908"/>
+      <point x="47.754" z="210.26" y="-1.8918"/>
+      <point x="47.754" z="209.74" y="-1.8918"/>
+      <point x="51.747" z="209.74" y="37.908"/>
+      <point x="-47.754" z="210.26" y="47.892"/>
+      <point x="-51.747" z="210.26" y="8.0916"/>
+      <point x="-51.747" z="209.74" y="8.0916"/>
+      <point x="-47.754" z="209.74" y="47.892"/>
+    </instance>
+    <instance
+      type="Barrel/Tracker/Tracker_positive/Tracker_positive_layer5/Tracker_layer5_module0">
+      <point x="50.000" z="300.26" y="44.500"/>
+      <point x="50.000" z="300.26" y="4.5000"/>
+      <point x="50.000" z="299.74" y="4.5000"/>
+      <point x="50.000" z="299.74" y="44.500"/>
+      <point x="-50.000" z="300.26" y="44.500"/>
+      <point x="-50.000" z="300.26" y="4.5000"/>
+      <point x="-50.000" z="299.74" y="4.5000"/>
+      <point x="-50.000" z="299.74" y="44.500"/>
+    </instance>
+    <instance
+      type="Barrel/Tracker/Tracker_positive/Tracker_positive_layer6/Tracker_layer6_module0">
+      <point x="51.747" z="310.26" y="39.408"/>
+      <point x="47.754" z="310.26" y="-.39175"/>
+      <point x="47.754" z="309.74" y="-.39175"/>
+      <point x="51.747" z="309.74" y="39.408"/>
+      <point x="-47.754" z="310.26" y="49.392"/>
+      <point x="-51.747" z="310.26" y="9.5916"/>
+      <point x="-51.747" z="309.74" y="9.5916"/>
+      <point x="-47.754" z="309.74" y="49.392"/>
+    </instance>
+    <instance
+      type="Barrel/Tracker/Tracker_positive/Tracker_positive_layer7/Tracker_layer7_module0">
+      <point x="50.000" z="500.26" y="47.500"/>
+      <point x="50.000" z="500.26" y="7.5000"/>
+      <point x="50.000" z="499.74" y="7.5000"/>
+      <point x="50.000" z="499.74" y="47.500"/>
+      <point x="-50.000" z="500.26" y="47.500"/>
+      <point x="-50.000" z="500.26" y="7.5000"/>
+      <point x="-50.000" z="499.74" y="7.5000"/>
+      <point x="-50.000" z="499.74" y="47.500"/>
+    </instance>
+    <instance
+      type="Barrel/Tracker/Tracker_positive/Tracker_positive_layer8/Tracker_layer8_module0">
+      <point x="50.937" z="510.26" y="44.976"/>
+      <point x="48.938" z="510.26" y="5.0260"/>
+      <point x="48.938" z="509.74" y="5.0260"/>
+      <point x="50.937" z="509.74" y="44.976"/>
+      <point x="-48.938" z="510.26" y="49.974"/>
+      <point x="-50.937" z="510.26" y="10.024"/>
+      <point x="-50.937" z="509.74" y="10.024"/>
+      <point x="-48.938" z="509.74" y="49.974"/>
+    </instance>
+    <instance
+      type="Barrel/Tracker/Tracker_positive/Tracker_positive_layer9/Tracker_layer9_module0">
+      <point x="50.000" z="700.26" y="50.500"/>
+      <point x="50.000" z="700.26" y="10.500"/>
+      <point x="50.000" z="699.74" y="10.500"/>
+      <point x="50.000" z="699.74" y="50.500"/>
+      <point x="-50.000" z="700.26" y="50.500"/>
+      <point x="-50.000" z="700.26" y="10.500"/>
+      <point x="-50.000" z="699.74" y="10.500"/>
+      <point x="-50.000" z="699.74" y="50.500"/>
+    </instance>
+    <instance
+      type="Barrel/Tracker/Tracker_positive/Tracker_positive_layer10/Tracker_layer10_module0">
+      <point x="50.937" z="710.26" y="47.976"/>
+      <point x="48.938" z="710.26" y="8.0260"/>
+      <point x="48.938" z="709.74" y="8.0260"/>
+      <point x="50.937" z="709.74" y="47.976"/>
+      <point x="-48.938" z="710.26" y="52.974"/>
+      <point x="-50.937" z="710.26" y="13.024"/>
+      <point x="-50.937" z="709.74" y="13.024"/>
+      <point x="-48.938" z="709.74" y="52.974"/>
+    </instance>
+    <instance
+      type="Barrel/Tracker/Tracker_negative/Tracker_negative_layer_reflected1/Tracker_layer1_module0_reflected">
+      <point x="50.000" z="100.26" y="-1.5000"/>
+      <point x="50.000" z="100.26" y="-41.500"/>
+      <point x="50.000" z="99.740" y="-41.500"/>
+      <point x="50.000" z="99.740" y="-1.5000"/>
+      <point x="-50.000" z="100.26" y="-1.5000"/>
+      <point x="-50.000" z="100.26" y="-41.500"/>
+      <point x="-50.000" z="99.740" y="-41.500"/>
+      <point x="-50.000" z="99.740" y="-1.5000"/>
+    </instance>
+    <instance
+      type="Barrel/Tracker/Tracker_negative/Tracker_negative_layer_reflected2/Tracker_layer2_module0_reflected">
+      <point x="47.754" z="110.26" y="3.3918"/>
+      <point x="51.747" z="110.26" y="-36.408"/>
+      <point x="51.747" z="109.74" y="-36.408"/>
+      <point x="47.754" z="109.74" y="3.3918"/>
+      <point x="-51.747" z="110.26" y="-6.5916"/>
+      <point x="-47.754" z="110.26" y="-46.392"/>
+      <point x="-47.754" z="109.74" y="-46.392"/>
+      <point x="-51.747" z="109.74" y="-6.5916"/>
+    </instance>
+    <instance
+      type="Barrel/Tracker/Tracker_negative/Tracker_negative_layer_reflected3/Tracker_layer3_module0_reflected">
+      <point x="50.000" z="200.26" y="-3.0000"/>
+      <point x="50.000" z="200.26" y="-43.000"/>
+      <point x="50.000" z="199.74" y="-43.000"/>
+      <point x="50.000" z="199.74" y="-3.0000"/>
+      <point x="-50.000" z="200.26" y="-3.0000"/>
+      <point x="-50.000" z="200.26" y="-43.000"/>
+      <point x="-50.000" z="199.74" y="-43.000"/>
+      <point x="-50.000" z="199.74" y="-3.0000"/>
+    </instance>
+    <instance
+      type="Barrel/Tracker/Tracker_negative/Tracker_negative_layer_reflected4/Tracker_layer4_module0_reflected">
+      <point x="47.754" z="210.26" y="1.8918"/>
+      <point x="51.747" z="210.26" y="-37.908"/>
+      <point x="51.747" z="209.74" y="-37.908"/>
+      <point x="47.754" z="209.74" y="1.8918"/>
+      <point x="-51.747" z="210.26" y="-8.0916"/>
+      <point x="-47.754" z="210.26" y="-47.892"/>
+      <point x="-47.754" z="209.74" y="-47.892"/>
+      <point x="-51.747" z="209.74" y="-8.0916"/>
+    </instance>
+    <instance
+      type="Barrel/Tracker/Tracker_negative/Tracker_negative_layer_reflected5/Tracker_layer5_module0_reflected">
+      <point x="50.000" z="300.26" y="-4.5000"/>
+      <point x="50.000" z="300.26" y="-44.500"/>
+      <point x="50.000" z="299.74" y="-44.500"/>
+      <point x="50.000" z="299.74" y="-4.5000"/>
+      <point x="-50.000" z="300.26" y="-4.5000"/>
+      <point x="-50.000" z="300.26" y="-44.500"/>
+      <point x="-50.000" z="299.74" y="-44.500"/>
+      <point x="-50.000" z="299.74" y="-4.5000"/>
+    </instance>
+    <instance
+      type="Barrel/Tracker/Tracker_negative/Tracker_negative_layer_reflected6/Tracker_layer6_module0_reflected">
+      <point x="47.754" z="310.26" y=".39175"/>
+      <point x="51.747" z="310.26" y="-39.408"/>
+      <point x="51.747" z="309.74" y="-39.408"/>
+      <point x="47.754" z="309.74" y=".39175"/>
+      <point x="-51.747" z="310.26" y="-9.5916"/>
+      <point x="-47.754" z="310.26" y="-49.392"/>
+      <point x="-47.754" z="309.74" y="-49.392"/>
+      <point x="-51.747" z="309.74" y="-9.5916"/>
+    </instance>
+    <instance
+      type="Barrel/Tracker/Tracker_negative/Tracker_negative_layer_reflected7/Tracker_layer7_module0_reflected">
+      <point x="50.000" z="500.26" y="-7.5000"/>
+      <point x="50.000" z="500.26" y="-47.500"/>
+      <point x="50.000" z="499.74" y="-47.500"/>
+      <point x="50.000" z="499.74" y="-7.5000"/>
+      <point x="-50.000" z="500.26" y="-7.5000"/>
+      <point x="-50.000" z="500.26" y="-47.500"/>
+      <point x="-50.000" z="499.74" y="-47.500"/>
+      <point x="-50.000" z="499.74" y="-7.5000"/>
+    </instance>
+    <instance
+      type="Barrel/Tracker/Tracker_negative/Tracker_negative_layer_reflected8/Tracker_layer8_module0_reflected">
+      <point x="48.938" z="510.26" y="-5.0260"/>
+      <point x="50.937" z="510.26" y="-44.976"/>
+      <point x="50.937" z="509.74" y="-44.976"/>
+      <point x="48.938" z="509.74" y="-5.0260"/>
+      <point x="-50.937" z="510.26" y="-10.024"/>
+      <point x="-48.938" z="510.26" y="-49.974"/>
+      <point x="-48.938" z="509.74" y="-49.974"/>
+      <point x="-50.937" z="509.74" y="-10.024"/>
+    </instance>
+    <instance
+      type="Barrel/Tracker/Tracker_negative/Tracker_negative_layer_reflected9/Tracker_layer9_module0_reflected">
+      <point x="50.000" z="700.26" y="-10.500"/>
+      <point x="50.000" z="700.26" y="-50.500"/>
+      <point x="50.000" z="699.74" y="-50.500"/>
+      <point x="50.000" z="699.74" y="-10.500"/>
+      <point x="-50.000" z="700.26" y="-10.500"/>
+      <point x="-50.000" z="700.26" y="-50.500"/>
+      <point x="-50.000" z="699.74" y="-50.500"/>
+      <point x="-50.000" z="699.74" y="-10.500"/>
+    </instance>
+    <instance
+      type="Barrel/Tracker/Tracker_negative/Tracker_negative_layer_reflected10/Tracker_layer10_module0_reflected">
+      <point x="48.938" z="710.26" y="-8.0260"/>
+      <point x="50.937" z="710.26" y="-47.976"/>
+      <point x="50.937" z="709.74" y="-47.976"/>
+      <point x="48.938" z="709.74" y="-8.0260"/>
+      <point x="-50.937" z="710.26" y="-13.024"/>
+      <point x="-48.938" z="710.26" y="-52.974"/>
+      <point x="-48.938" z="709.74" y="-52.974"/>
+      <point x="-50.937" z="709.74" y="-13.024"/>
+    </instance>
+  </instancetree>
+</heprep>

hps-detectors/detectors/HPS-Test-JLAB-v2pt0
detector.properties added at 1.1
diff -N detector.properties
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ detector.properties	20 Jun 2011 16:57:45 -0000	1.1
@@ -0,0 +1 @@
+name: HPS-Test-JLAB-v2pt0
\ No newline at end of file
CVSspam 0.2.8