Author: [log in to unmask]
Date: Thu Oct 29 11:23:06 2015
New Revision: 3910
Log:
Phantom Detector to test extrapolation in the field map.
Added:
java/trunk/detector-data/detectors/HPS-Phantom-fieldmap/
java/trunk/detector-data/detectors/HPS-Phantom-fieldmap/HPS-Phantom-fieldmap.lcdd
java/trunk/detector-data/detectors/HPS-Phantom-fieldmap/compact.xml
java/trunk/detector-data/detectors/HPS-Phantom-fieldmap/detector.properties
Added: java/trunk/detector-data/detectors/HPS-Phantom-fieldmap/HPS-Phantom-fieldmap.lcdd
=============================================================================
--- java/trunk/detector-data/detectors/HPS-Phantom-fieldmap/HPS-Phantom-fieldmap.lcdd (added)
+++ java/trunk/detector-data/detectors/HPS-Phantom-fieldmap/HPS-Phantom-fieldmap.lcdd Thu Oct 29 11:23:06 2015
@@ -0,0 +1,355 @@
+<?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-Phantom-fieldmap" />
+ <generator name="GeomConverter" version="1.0" file="compact.xml" checksum="371582178" />
+ <author name="NONE" />
+ <comment>HPS detector with phantom scoring planes to study field propagation</comment>
+ </header>
+ <iddict>
+ <idspec name="PhantomTrackerHits" 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="module" length="12" start="13" />
+ <idfield signed="false" label="sensor" length="1" start="25" />
+ <idfield signed="true" label="side" length="2" start="32" />
+ <idfield signed="false" label="strip" length="12" start="34" />
+ </idspec>
+ </iddict>
+ <sensitive_detectors>
+ <tracker name="TrackerFieldDef" ecut="0.0" eunit="MeV" verbose="0" hits_collection="PhantomTrackerHits">
+ <idspecref ref="PhantomTrackerHits" />
+ </tracker>
+ <tracker name="PhantomTracker" ecut="0.0" eunit="MeV" verbose="0" hits_collection="PhantomTrackerHits">
+ <idspecref ref="PhantomTrackerHits" />
+ </tracker>
+ </sensitive_detectors>
+ <limits />
+ <regions>
+ <region name="TrackingRegion" store_secondaries="true" kill_tracks="false" 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="x_rot_bot" value="0.0" />
+ <constant name="world_side" value="5000.0" />
+ <constant name="z2t" value="96.185" />
+ <constant name="tracking_region_radius" value="2000.0" />
+ <constant name="beam_angle" value="0.03052" />
+ <constant name="z6t" value="296.185" />
+ <constant name="z4t" value="196.185" />
+ <constant name="y_rot" value="0.03052" />
+ <constant name="xtar" value="0.0" />
+ <constant name="pivot" value="791.0" />
+ <constant name="dipoleMagnetLength" value="1080.0" />
+ <constant name="x_rot_top_add" value="0.0" />
+ <constant name="z10t" value="696.185" />
+ <constant name="sensorLength" value="98.33" />
+ <constant name="z12t" value="896.185" />
+ <constant name="z8t" value="496.185" />
+ <constant name="dipoleMagnetHeight" value="177.8" />
+ <constant name="constBFieldY" value="-0.5" />
+ <constant name="ztar" value="0.0" />
+ <constant name="x_rot_bot_add" value="0.0" />
+ <constant name="z1t" value="88.815" />
+ <constant name="dipoleMagnetPositionZ" value="457.2" />
+ <constant name="dipoleMagnetWidth" value="416.052" />
+ <constant name="dipoleMagnetPositionX" value="21.17" />
+ <constant name="sensorWidth" value="38.3399" />
+ <constant name="world_y" value="5000.0" />
+ <constant name="z5t" value="288.815" />
+ <constant name="world_z" value="5000.0" />
+ <constant name="z3t" value="188.815" />
+ <constant name="world_x" value="5000.0" />
+ <constant name="x_rot_top" value="0.0" />
+ <constant name="zst" value="1.0" />
+ <constant name="x_off" value="0.0" />
+ <constant name="SA2" value="0.05" />
+ <constant name="tracking_region_min" value="50.0" />
+ <constant name="SA1" value="0.1" />
+ <constant name="ytar" value="0.0" />
+ <constant name="PI" value="3.14159265359" />
+ <constant name="z7t" value="488.815" />
+ <constant name="z11t" value="888.815" />
+ <constant name="moduleLength" value="100.0" />
+ <constant name="tracking_region_zmax" value="1318.0" />
+ <constant name="moduleWidth" value="40.34" />
+ <constant name="z9t" value="688.815" />
+ <position name="PhantomPlaneFieldDefVolume_component0_position" x="0.0" y="0.0" z="0.0" unit="mm" />
+ <rotation name="PhantomPlaneFieldDefVolume_component0_rotation" x="0.0" y="0.0" z="0.0" unit="radian" />
+ <position name="PhantomPlaneFieldDefVolume_component0Sensor0Position" x="0.0" y="0.0" z="0.0" unit="mm" />
+ <rotation name="PhantomPlaneFieldDefVolume_component0Sensor0Rotation" x="0.0" y="0.0" z="0.0" unit="radian" />
+ <position name="TrackerFieldDef_PhantomPlaneFieldDef_layer1_module0_position" x="21.17" y="0.0" z="-82.80000000000001" unit="mm" />
+ <rotation name="TrackerFieldDef_PhantomPlaneFieldDef_layer1_module0_rotation" x="0.0" y="0.0" z="-1.570796326795" unit="radian" />
+ <position name="TrackerFieldDef_PhantomPlaneFieldDef_layer2_module0_position" x="21.17" y="0.0" z="997.2" unit="mm" />
+ <rotation name="TrackerFieldDef_PhantomPlaneFieldDef_layer2_module0_rotation" x="0.0" y="0.0" z="-1.570796326795" unit="radian" />
+ <position name="PhantomPlaneVolume_component0_position" x="0.0" y="0.0" z="0.0" unit="mm" />
+ <rotation name="PhantomPlaneVolume_component0_rotation" x="0.0" y="0.0" z="0.0" unit="radian" />
+ <position name="PhantomPlaneVolume_component0Sensor0Position" x="0.0" y="0.0" z="0.0" unit="mm" />
+ <rotation name="PhantomPlaneVolume_component0Sensor0Rotation" x="0.0" y="0.0" z="0.0" unit="radian" />
+ <position name="PhantomTracker_PhantomPlane_layer1_module0_position" x="21.17" y="0.0" z="88.815" unit="mm" />
+ <rotation name="PhantomTracker_PhantomPlane_layer1_module0_rotation" x="0.0" y="0.0" z="-1.570796326795" unit="radian" />
+ <position name="PhantomTracker_PhantomPlane_layer2_module0_position" x="21.17" y="0.0" z="96.185" unit="mm" />
+ <rotation name="PhantomTracker_PhantomPlane_layer2_module0_rotation" x="0.0" y="0.0" z="-1.570796326795" unit="radian" />
+ <position name="PhantomTracker_PhantomPlane_layer3_module0_position" x="21.17" y="0.0" z="188.815" unit="mm" />
+ <rotation name="PhantomTracker_PhantomPlane_layer3_module0_rotation" x="0.0" y="0.0" z="-1.570796326795" unit="radian" />
+ <position name="PhantomTracker_PhantomPlane_layer4_module0_position" x="21.17" y="0.0" z="196.185" unit="mm" />
+ <rotation name="PhantomTracker_PhantomPlane_layer4_module0_rotation" x="0.0" y="0.0" z="-1.570796326795" unit="radian" />
+ <position name="PhantomTracker_PhantomPlane_layer5_module0_position" x="21.17" y="0.0" z="288.815" unit="mm" />
+ <rotation name="PhantomTracker_PhantomPlane_layer5_module0_rotation" x="0.0" y="0.0" z="-1.570796326795" unit="radian" />
+ <position name="PhantomTracker_PhantomPlane_layer6_module0_position" x="21.17" y="0.0" z="296.185" unit="mm" />
+ <rotation name="PhantomTracker_PhantomPlane_layer6_module0_rotation" x="0.0" y="0.0" z="-1.570796326795" unit="radian" />
+ <position name="PhantomTracker_PhantomPlane_layer7_module0_position" x="21.17" y="0.0" z="488.815" unit="mm" />
+ <rotation name="PhantomTracker_PhantomPlane_layer7_module0_rotation" x="0.0" y="0.0" z="-1.570796326795" unit="radian" />
+ <position name="PhantomTracker_PhantomPlane_layer8_module0_position" x="21.17" y="0.0" z="496.185" unit="mm" />
+ <rotation name="PhantomTracker_PhantomPlane_layer8_module0_rotation" x="0.0" y="0.0" z="-1.570796326795" unit="radian" />
+ <position name="PhantomTracker_PhantomPlane_layer9_module0_position" x="21.17" y="0.0" z="688.815" unit="mm" />
+ <rotation name="PhantomTracker_PhantomPlane_layer9_module0_rotation" x="0.0" y="0.0" z="-1.570796326795" unit="radian" />
+ <position name="PhantomTracker_PhantomPlane_layer10_module0_position" x="21.17" y="0.0" z="696.185" unit="mm" />
+ <rotation name="PhantomTracker_PhantomPlane_layer10_module0_rotation" x="0.0" y="0.0" z="-1.570796326795" unit="radian" />
+ <position name="PhantomTracker_PhantomPlane_layer11_module0_position" x="21.17" y="0.0" z="888.815" unit="mm" />
+ <rotation name="PhantomTracker_PhantomPlane_layer11_module0_rotation" x="0.0" y="0.0" z="-1.570796326795" unit="radian" />
+ <position name="PhantomTracker_PhantomPlane_layer12_module0_position" x="21.17" y="0.0" z="896.185" unit="mm" />
+ <rotation name="PhantomTracker_PhantomPlane_layer12_module0_rotation" x="0.0" y="0.0" z="-1.570796326795" unit="radian" />
+ </define>
+ <materials>
+ <element Z="1" formula="H" name="H">
+ <atom type="A" unit="g/mol" value="1.00794" />
+ </element>
+ <material name="Vacuum">
+ <D type="density" unit="g/cm3" value="0.00000001" />
+ <fraction n="1" ref="H" />
+ </material>
+ <material name="WorldMaterial">
+ <D type="density" unit="g/cm3" value="0.0000000000000001" />
+ <fraction n="1.0" ref="Vacuum" />
+ </material>
+ <material name="TrackingMaterial">
+ <D type="density" unit="g/cm3" value="0.0000000000000001" />
+ <fraction n="1.0" ref="Vacuum" />
+ </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" />
+ <box name="PhantomPlaneFieldDefBox" x="177.8" y="416.052" z="1.0E-8" />
+ <box name="PhantomPlaneFieldDefVolume_component0Box" x="177.8" y="416.052" z="1.0E-8" />
+ <box name="PhantomPlaneFieldDefVolume_component0Sensor0Box" x="177.8" y="416.052" z="1.0E-8" />
+ <box name="PhantomPlaneBox" x="177.8" y="416.052" z="1.0E-8" />
+ <box name="PhantomPlaneVolume_component0Box" x="177.8" y="416.052" z="1.0E-8" />
+ <box name="PhantomPlaneVolume_component0Sensor0Box" x="177.8" y="416.052" z="1.0E-8" />
+ </solids>
+ <structure>
+ <volume name="PhantomPlaneFieldDefVolume_component0Sensor0">
+ <materialref ref="Vacuum" />
+ <solidref ref="PhantomPlaneFieldDefVolume_component0Sensor0Box" />
+ <sdref ref="TrackerFieldDef" />
+ </volume>
+ <volume name="PhantomPlaneFieldDefVolume_component0">
+ <materialref ref="Vacuum" />
+ <solidref ref="PhantomPlaneFieldDefVolume_component0Box" />
+ <physvol>
+ <volumeref ref="PhantomPlaneFieldDefVolume_component0Sensor0" />
+ <positionref ref="PhantomPlaneFieldDefVolume_component0Sensor0Position" />
+ <rotationref ref="PhantomPlaneFieldDefVolume_component0Sensor0Rotation" />
+ <physvolid field_name="sensor" value="0" />
+ </physvol>
+ </volume>
+ <volume name="PhantomPlaneFieldDefVolume">
+ <materialref ref="Vacuum" />
+ <solidref ref="PhantomPlaneFieldDefBox" />
+ <physvol>
+ <volumeref ref="PhantomPlaneFieldDefVolume_component0" />
+ <positionref ref="PhantomPlaneFieldDefVolume_component0_position" />
+ <rotationref ref="PhantomPlaneFieldDefVolume_component0_rotation" />
+ <physvolid field_name="component" value="0" />
+ </physvol>
+ </volume>
+ <volume name="PhantomPlaneVolume_component0Sensor0">
+ <materialref ref="Vacuum" />
+ <solidref ref="PhantomPlaneVolume_component0Sensor0Box" />
+ <sdref ref="PhantomTracker" />
+ </volume>
+ <volume name="PhantomPlaneVolume_component0">
+ <materialref ref="Vacuum" />
+ <solidref ref="PhantomPlaneVolume_component0Box" />
+ <physvol>
+ <volumeref ref="PhantomPlaneVolume_component0Sensor0" />
+ <positionref ref="PhantomPlaneVolume_component0Sensor0Position" />
+ <rotationref ref="PhantomPlaneVolume_component0Sensor0Rotation" />
+ <physvolid field_name="sensor" value="0" />
+ </physvol>
+ </volume>
+ <volume name="PhantomPlaneVolume">
+ <materialref ref="Vacuum" />
+ <solidref ref="PhantomPlaneBox" />
+ <physvol>
+ <volumeref ref="PhantomPlaneVolume_component0" />
+ <positionref ref="PhantomPlaneVolume_component0_position" />
+ <rotationref ref="PhantomPlaneVolume_component0_rotation" />
+ <physvolid field_name="component" value="0" />
+ </physvol>
+ </volume>
+ <volume name="tracking_volume">
+ <materialref ref="TrackingMaterial" />
+ <solidref ref="tracking_cylinder" />
+ <physvol>
+ <volumeref ref="PhantomPlaneFieldDefVolume" />
+ <positionref ref="TrackerFieldDef_PhantomPlaneFieldDef_layer1_module0_position" />
+ <rotationref ref="TrackerFieldDef_PhantomPlaneFieldDef_layer1_module0_rotation" />
+ <physvolid field_name="system" value="2" />
+ <physvolid field_name="barrel" value="0" />
+ <physvolid field_name="layer" value="1" />
+ <physvolid field_name="module" value="0" />
+ </physvol>
+ <physvol>
+ <volumeref ref="PhantomPlaneFieldDefVolume" />
+ <positionref ref="TrackerFieldDef_PhantomPlaneFieldDef_layer2_module0_position" />
+ <rotationref ref="TrackerFieldDef_PhantomPlaneFieldDef_layer2_module0_rotation" />
+ <physvolid field_name="system" value="2" />
+ <physvolid field_name="barrel" value="0" />
+ <physvolid field_name="layer" value="2" />
+ <physvolid field_name="module" value="0" />
+ </physvol>
+ <physvol>
+ <volumeref ref="PhantomPlaneVolume" />
+ <positionref ref="PhantomTracker_PhantomPlane_layer1_module0_position" />
+ <rotationref ref="PhantomTracker_PhantomPlane_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="PhantomPlaneVolume" />
+ <positionref ref="PhantomTracker_PhantomPlane_layer2_module0_position" />
+ <rotationref ref="PhantomTracker_PhantomPlane_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="PhantomPlaneVolume" />
+ <positionref ref="PhantomTracker_PhantomPlane_layer3_module0_position" />
+ <rotationref ref="PhantomTracker_PhantomPlane_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="PhantomPlaneVolume" />
+ <positionref ref="PhantomTracker_PhantomPlane_layer4_module0_position" />
+ <rotationref ref="PhantomTracker_PhantomPlane_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="PhantomPlaneVolume" />
+ <positionref ref="PhantomTracker_PhantomPlane_layer5_module0_position" />
+ <rotationref ref="PhantomTracker_PhantomPlane_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="PhantomPlaneVolume" />
+ <positionref ref="PhantomTracker_PhantomPlane_layer6_module0_position" />
+ <rotationref ref="PhantomTracker_PhantomPlane_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="PhantomPlaneVolume" />
+ <positionref ref="PhantomTracker_PhantomPlane_layer7_module0_position" />
+ <rotationref ref="PhantomTracker_PhantomPlane_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="PhantomPlaneVolume" />
+ <positionref ref="PhantomTracker_PhantomPlane_layer8_module0_position" />
+ <rotationref ref="PhantomTracker_PhantomPlane_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="PhantomPlaneVolume" />
+ <positionref ref="PhantomTracker_PhantomPlane_layer9_module0_position" />
+ <rotationref ref="PhantomTracker_PhantomPlane_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="PhantomPlaneVolume" />
+ <positionref ref="PhantomTracker_PhantomPlane_layer10_module0_position" />
+ <rotationref ref="PhantomTracker_PhantomPlane_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="PhantomPlaneVolume" />
+ <positionref ref="PhantomTracker_PhantomPlane_layer11_module0_position" />
+ <rotationref ref="PhantomTracker_PhantomPlane_layer11_module0_rotation" />
+ <physvolid field_name="system" value="1" />
+ <physvolid field_name="barrel" value="0" />
+ <physvolid field_name="layer" value="11" />
+ <physvolid field_name="module" value="0" />
+ </physvol>
+ <physvol>
+ <volumeref ref="PhantomPlaneVolume" />
+ <positionref ref="PhantomTracker_PhantomPlane_layer12_module0_position" />
+ <rotationref ref="PhantomTracker_PhantomPlane_layer12_module0_rotation" />
+ <physvolid field_name="system" value="1" />
+ <physvolid field_name="barrel" value="0" />
+ <physvolid field_name="layer" value="12" />
+ <physvolid field_name="module" value="0" />
+ </physvol>
+ <regionref ref="TrackingRegion" />
+ <visref ref="TrackingVis" />
+ </volume>
+ <volume name="world_volume">
+ <materialref ref="WorldMaterial" />
+ <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>
+ <field_map_3d name="HPSDipoleFieldMap3D" lunit="mm" funit="tesla" filename="fieldmap/125acm2_3kg_corrected_unfolded_scaled_0.7992.dat" xoffset="21.17" yoffset="0.0" zoffset="457.2" />
+ </fields>
+</lcdd>
+
Added: java/trunk/detector-data/detectors/HPS-Phantom-fieldmap/compact.xml
=============================================================================
--- java/trunk/detector-data/detectors/HPS-Phantom-fieldmap/compact.xml (added)
+++ java/trunk/detector-data/detectors/HPS-Phantom-fieldmap/compact.xml Thu Oct 29 11:23:06 2015
@@ -0,0 +1,261 @@
+
+<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-Phantom-fieldmap">
+ <comment>HPS detector with phantom scoring planes to study field propagation</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" />
+
+ <!-- beam -->
+ <constant name="beam_angle" value="0.03052"/> <!--30.52 mrad-->
+
+ <!-- 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="131.8*cm"/>
+
+ <!-- dipole magnet and B-field -->
+ <constant name="dipoleMagnetPositionX" value="2.117*cm"/>
+ <constant name="dipoleMagnetPositionZ" value="45.72*cm"/>
+ <constant name="dipoleMagnetHeight" value="17.78*cm"/>
+ <constant name="dipoleMagnetWidth" value="41.6052*cm"/>
+ <constant name="dipoleMagnetLength" value="108*cm"/>
+ <constant name="constBFieldY" value="-0.5"/>
+
+ <!-- SVT module dimensions -->
+ <constant name="moduleLength" value="100.0"/>
+ <constant name="moduleWidth" value="40.34"/>
+
+ <!-- SVT sensor dimensions -->
+ <constant name="sensorLength" value="98.33"/>
+
+
+ <!-- Sensor width slightly less than 38.34 mm so sisim works. -->
+ <constant name="sensorWidth" value="38.3399"/>
+ <constant name="zst" value="1" />
+ <constant name="SA1" value="0.1" />
+ <constant name="SA2" value="0.05" />
+ <constant name="PI" value="3.14159265359" />
+ <!-- positions derived from drawing assuming 1.35/1.2 degress open on top/bottom -->
+
+ <constant name="x_rot_top" value="0" />
+ <constant name="x_rot_bot" value="0" />
+
+ <!-- monkey with the rotations -->
+ <constant name="x_rot_top_add" value="0.00" /> <!-- -ive means further closed -->
+ <constant name="x_rot_bot_add" value="0.00" /> <!-- +ive means further closed -->
+ <!-- distance from target to pivot...this is from an email schematic from Tim on may 12, 2012 -->
+ <constant name="pivot" value="791" />
+
+ <constant name="y_rot" value = "beam_angle"/>
+ <!-- <constant name="x_off" value = "-15.0"/> -->
+ <constant name="x_off" value = "0.0"/>
+
+ <constant name="xtar" value="0" />
+ <constant name="ytar" value="0" />
+ <constant name="ztar" value="0" />
+
+ <!-- Positions of sensor centers along beam relative to nominal target position -->
+ <constant name="z1t" value="0+92.5-3.685" />
+ <constant name="z2t" value="0+92.5+3.685" />
+ <constant name="z3t" value="0+192.5-3.685" />
+ <constant name="z4t" value="0+192.5+3.685" />
+ <constant name="z5t" value="0+292.5-3.685" />
+ <constant name="z6t" value="0+292.5+3.685" />
+ <constant name="z7t" value="0+492.5-3.685" />
+ <constant name="z8t" value="0+492.5+3.685" />
+ <constant name="z9t" value="0+692.5-3.685" />
+ <constant name="z10t" value="0+692.5+3.685" />
+ <constant name="z11t" value="0+892.5-3.685" />
+ <constant name="z12t" value="0+892.5+3.685" />
+<!--
+ <constant name="z1b" value="0+107.5-3.685" />
+ <constant name="z2b" value="0+107.5+3.685" />
+ <constant name="z3b" value="0+207.5-3.685" />
+ <constant name="z4b" value="0+207.5+3.685" />
+ <constant name="z5b" value="0+307.5-3.685" />
+ <constant name="z6b" value="0+307.5+3.685" />
+ <constant name="z7b" value="0+507.5-3.685" />
+ <constant name="z8b" value="0+507.5+3.685" />
+ <constant name="z9b" value="0+707.5-3.685" />
+ <constant name="z10b" value="0+707.5+3.685" />
+ <constant name="z11b" value="0+907.5-3.685" />
+ <constant name="z12b" value="0+907.5+3.685" />
+-->
+ <!-- Lateral positions relative to nominal beamline -->
+<!--
+ <constant name="x1t" value="0" />
+ <constant name="x2t" value="0" />
+ <constant name="x3t" value="0" />
+ <constant name="x4t" value="0" />
+ <constant name="x5t" value="0" />
+ <constant name="x6t" value="0" />
+ <constant name="x7t" value="0" />
+ <constant name="x8t" value="0" />
+ <constant name="x9t" value="0" />
+ <constant name="x10t" value="0" />
+ <constant name="x11t" value="0" />
+ <constant name="x12t" value="0" />
+
+ <constant name="x1b" value="0" />
+ <constant name="x2b" value="0" />
+ <constant name="x3b" value="0" />
+ <constant name="x4b" value="0" />
+ <constant name="x5b" value="0" />
+ <constant name="x6b" value="0" />
+ <constant name="x7b" value="0" />
+ <constant name="x8b" value="0" />
+ <constant name="x9b" value="0" />
+ <constant name="x10b" value="0" />
+ <constant name="x11b" value="0" />
+ <constant name="x12b" value="0" />
+-->
+ <!-- Corrections to stereo angle -->
+<!--
+ <constant name="a1t" value="0" />
+ <constant name="a2t" value="0" />
+ <constant name="a3t" value="0" />
+ <constant name="a4t" value="0" />
+ <constant name="a5t" value="0" />
+ <constant name="a6t" value="0" />
+ <constant name="a7t" value="0" />
+ <constant name="a8t" value="0" />
+ <constant name="a9t" value="0" />
+ <constant name="a10t" value="0" />
+ <constant name="a11t" value="0" />
+ <constant name="a12t" value="0" />
+
+ <constant name="a1b" value="0" />
+ <constant name="a2b" value="0." />
+ <constant name="a3b" value="0" />
+ <constant name="a4b" value="0" />
+ <constant name="a5b" value="0" />
+ <constant name="a6b" value="0" />
+ <constant name="a7b" value="0" />
+ <constant name="a8b" value="0" />
+ <constant name="a9b" value="0" />
+ <constant name="a10b" value="0" />
+ <constant name="a11b" value="0" />
+ <constant name="a12b" value="0" />
+-->
+ <!-- Positions of thin 15 cm planes -->
+<!--
+ <constant name="y01t" value="150*sin(0.015)+sensorWidth/2" />
+ <constant name="y02t" value="150*sin(0.015)+sensorWidth/2" />
+ <constant name="y01b" value="-(150*sin(0.015)+sensorWidth/2)" />
+ <constant name="y02b" value="-(150*sin(0.015)+sensorWidth/2)" />
+
+ <constant name="z01t" value="0+142.5-3.685" />
+ <constant name="z02t" value="0+142.5+3.685" />
+ <constant name="z01b" value="0+157.5-3.685" />
+ <constant name="z02b" value="0+157.5+3.685" />
+-->
+ </define>
+
+ <materials>
+ <!-- Set the world material to vacuum. -->
+ <material name="WorldMaterial">
+ <D type="density" unit="g/cm3" value="0.0000000000000001"/>
+ <fraction n="1.0" ref="Vacuum" />
+ </material>
+ <!-- Set tracking material to vacuum. -->
+ <material name="TrackingMaterial">
+ <D type="density" unit="g/cm3" value="0.0000000000000001"/>
+ <fraction n="1.0" ref="Vacuum" />
+ </material>
+
+ </materials>
+
+ <detectors>
+ <detector id="1" name="PhantomTracker" type="HPSTracker2" readout="PhantomTrackerHits" >
+ <comment>Boundary planes for magnetic field</comment>
+ <module name="PhantomPlane">
+ <box x="dipoleMagnetWidth" y="dipoleMagnetHeight" />
+ <module_component thickness="0.000000001*cm" material = "Vacuum" sensitive="true">
+ <dimensions x="dipoleMagnetWidth" y="dipoleMagnetHeight" />
+ </module_component>
+ </module>
+ <layer id="1">
+ <module_placement name="PhantomPlane" id="0" x="dipoleMagnetPositionX" y="0" z="z1t" rx="0" ry="0" rz="-PI/2"/>
+ </layer>
+ <layer id="2">
+ <module_placement name="PhantomPlane" id="0" x="dipoleMagnetPositionX" y="0" z="z2t" rx="0" ry="0" rz="-PI/2"/>
+ </layer>
+ <layer id="3">
+ <module_placement name="PhantomPlane" id="0" x="dipoleMagnetPositionX" y="0" z="z3t" rx="0" ry="0" rz="-PI/2"/>
+ </layer>
+ <layer id="4">
+ <module_placement name="PhantomPlane" id="0" x="dipoleMagnetPositionX" y="0" z="z4t" rx="0" ry="0" rz="-PI/2"/>
+ </layer>
+ <layer id="5">
+ <module_placement name="PhantomPlane" id="0" x="dipoleMagnetPositionX" y="0" z="z5t" rx="0" ry="0" rz="-PI/2"/>
+ </layer>
+ <layer id="6">
+ <module_placement name="PhantomPlane" id="0" x="dipoleMagnetPositionX" y="0" z="z6t" rx="0" ry="0" rz="-PI/2"/>
+ </layer>
+ <layer id="7">
+ <module_placement name="PhantomPlane" id="0" x="dipoleMagnetPositionX" y="0" z="z7t" rx="0" ry="0" rz="-PI/2"/>
+ </layer>
+ <layer id="8">
+ <module_placement name="PhantomPlane" id="0" x="dipoleMagnetPositionX" y="0" z="z8t" rx="0" ry="0" rz="-PI/2"/>
+ </layer>
+ <layer id="9">
+ <module_placement name="PhantomPlane" id="0" x="dipoleMagnetPositionX" y="0" z="z9t" rx="0" ry="0" rz="-PI/2"/>
+ </layer>
+ <layer id="10">
+ <module_placement name="PhantomPlane" id="0" x="dipoleMagnetPositionX" y="0" z="z10t" rx="0" ry="0" rz="-PI/2"/>
+ </layer>
+ <layer id="11">
+ <module_placement name="PhantomPlane" id="0" x="dipoleMagnetPositionX" y="0" z="z11t" rx="0" ry="0" rz="-PI/2"/>
+ </layer>
+ <layer id="12">
+ <module_placement name="PhantomPlane" id="0" x="dipoleMagnetPositionX" y="0" z="z12t" rx="0" ry="0" rz="-PI/2"/>
+ </layer>
+ </detector>
+
+
+ <detector id="2" name="TrackerFieldDef" type="HPSTracker2" readout="PhantomTrackerHits" >
+ <comment>Boundary planes for magnetic field</comment>
+ <module name="PhantomPlaneFieldDef">
+ <box x="dipoleMagnetWidth" y="dipoleMagnetHeight" />
+ <module_component thickness="0.000000001*cm" material = "Vacuum" sensitive="true">
+ <dimensions x="dipoleMagnetWidth" y="dipoleMagnetHeight" />
+ </module_component>
+ </module>
+ <layer id="1">
+ <module_placement name="PhantomPlaneFieldDef" id="0" x="dipoleMagnetPositionX" y="0" z="dipoleMagnetPositionZ-dipoleMagnetLength/2" rx="0" ry="0" rz="-PI/2"/>
+ </layer>
+ <layer id="2">
+ <module_placement name="PhantomPlaneFieldDef" id="0" x="dipoleMagnetPositionX" y="0" z="dipoleMagnetPositionZ+dipoleMagnetLength/2" rx="0" ry="0" rz="-PI/2"/>
+ </layer>
+ </detector>
+
+ </detectors>
+
+ <readouts>
+ <readout name="PhantomTrackerHits">
+ <id>system:6,barrel:3,layer:4,module:12,sensor:1,side:32:-2,strip:12</id>
+ </readout>
+ </readouts>
+
+ <fields>
+ <field
+ type="FieldMap3D"
+ name="HPSDipoleFieldMap3D"
+ filename="fieldmap/125acm2_3kg_corrected_unfolded_scaled_0.7992.dat"
+ xoffset="2.117*cm"
+ yoffset="0.0*cm"
+ zoffset="45.72*cm"
+ />
+ </fields>
+
+</lccdd>
Added: java/trunk/detector-data/detectors/HPS-Phantom-fieldmap/detector.properties
=============================================================================
--- java/trunk/detector-data/detectors/HPS-Phantom-fieldmap/detector.properties (added)
+++ java/trunk/detector-data/detectors/HPS-Phantom-fieldmap/detector.properties Thu Oct 29 11:23:06 2015
@@ -0,0 +1 @@
+name: HPS-Phantom-fieldmap
|