Print

Print


Author: [log in to unmask]
Date: Thu Oct 29 12:01:43 2015
New Revision: 3911

Log:
rotated phantom sensors by 30.5 mr
added ECal scoring plane

Modified:
    java/trunk/detector-data/detectors/HPS-Phantom-fieldmap/HPS-Phantom-fieldmap.lcdd
    java/trunk/detector-data/detectors/HPS-Phantom-fieldmap/compact.xml

Modified: java/trunk/detector-data/detectors/HPS-Phantom-fieldmap/HPS-Phantom-fieldmap.lcdd
 =============================================================================
--- java/trunk/detector-data/detectors/HPS-Phantom-fieldmap/HPS-Phantom-fieldmap.lcdd	(original)
+++ java/trunk/detector-data/detectors/HPS-Phantom-fieldmap/HPS-Phantom-fieldmap.lcdd	Thu Oct 29 12:01:43 2015
@@ -2,12 +2,30 @@
 <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" />
+    <generator name="GeomConverter" version="1.0" file="compact.xml" checksum="1953036368" />
     <author name="NONE" />
     <comment>HPS detector with phantom scoring planes to study field propagation</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="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>
     <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>
+    <idspec name="ECalScoringTrackerHits" 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" />
@@ -21,8 +39,11 @@
     <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 name="PhantomTracker" ecut="0.0" eunit="MeV" verbose="0" hits_collection="TrackerHits">
+      <idspecref ref="TrackerHits" />
+    </tracker>
+    <tracker name="ECalScoringPlane" ecut="0.0" eunit="MeV" verbose="0" hits_collection="ECalScoringTrackerHits">
+      <idspecref ref="ECalScoringTrackerHits" />
     </tracker>
   </sensitive_detectors>
   <limits />
@@ -99,29 +120,35 @@
       <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" />
+      <rotation name="PhantomTracker_PhantomPlane_layer1_module0_rotation" x="0.0" y="-0.03052" 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" />
+      <rotation name="PhantomTracker_PhantomPlane_layer2_module0_rotation" x="0.0" y="-0.03052" 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" />
+      <rotation name="PhantomTracker_PhantomPlane_layer3_module0_rotation" x="0.0" y="-0.03052" 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" />
+      <rotation name="PhantomTracker_PhantomPlane_layer4_module0_rotation" x="0.0" y="-0.03052" 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" />
+      <rotation name="PhantomTracker_PhantomPlane_layer5_module0_rotation" x="0.0" y="-0.03052" 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" />
+      <rotation name="PhantomTracker_PhantomPlane_layer6_module0_rotation" x="0.0" y="-0.03052" 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" />
+      <rotation name="PhantomTracker_PhantomPlane_layer7_module0_rotation" x="0.0" y="-0.03052" 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" />
+      <rotation name="PhantomTracker_PhantomPlane_layer8_module0_rotation" x="0.0" y="-0.03052" 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" />
+      <rotation name="PhantomTracker_PhantomPlane_layer9_module0_rotation" x="0.0" y="-0.03052" 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" />
+      <rotation name="PhantomTracker_PhantomPlane_layer10_module0_rotation" x="0.0" y="-0.03052" 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" />
+      <rotation name="PhantomTracker_PhantomPlane_layer11_module0_rotation" x="0.0" y="-0.03052" 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" />
+      <rotation name="PhantomTracker_PhantomPlane_layer12_module0_rotation" x="0.0" y="-0.03052" z="-1.570796326795" unit="radian" />
+      <position name="ECalScoringPlaneDefVolume_component0_position" x="0.0" y="0.0" z="0.0" unit="mm" />
+      <rotation name="ECalScoringPlaneDefVolume_component0_rotation" x="0.0" y="0.0" z="0.0" unit="radian" />
+      <position name="ECalScoringPlaneDefVolume_component0Sensor0Position" x="0.0" y="0.0" z="0.0" unit="mm" />
+      <rotation name="ECalScoringPlaneDefVolume_component0Sensor0Rotation" x="0.0" y="0.0" z="0.0" unit="radian" />
+      <position name="ECalScoringPlane_ECalScoringPlaneDef_layer1_module0_position" x="0.0" y="0.0" z="1338.0" unit="mm" />
+      <rotation name="ECalScoringPlane_ECalScoringPlaneDef_layer1_module0_rotation" x="0.0" y="0.0" z="-1.570796326795" unit="radian" />
     </define>
     <materials>
       <element Z="1" formula="H" name="H">
@@ -149,6 +176,9 @@
       <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" />
+      <box name="ECalScoringPlaneDefBox" x="177.8" y="416.052" z="1.0E-8" />
+      <box name="ECalScoringPlaneDefVolume_component0Box" x="177.8" y="416.052" z="1.0E-8" />
+      <box name="ECalScoringPlaneDefVolume_component0Sensor0Box" x="177.8" y="416.052" z="1.0E-8" />
     </solids>
     <structure>
       <volume name="PhantomPlaneFieldDefVolume_component0Sensor0">
@@ -201,6 +231,31 @@
           <physvolid field_name="component" value="0" />
         </physvol>
       </volume>
+      <volume name="ECalScoringPlaneDefVolume_component0Sensor0">
+        <materialref ref="Vacuum" />
+        <solidref ref="ECalScoringPlaneDefVolume_component0Sensor0Box" />
+        <sdref ref="ECalScoringPlane" />
+      </volume>
+      <volume name="ECalScoringPlaneDefVolume_component0">
+        <materialref ref="Vacuum" />
+        <solidref ref="ECalScoringPlaneDefVolume_component0Box" />
+        <physvol>
+          <volumeref ref="ECalScoringPlaneDefVolume_component0Sensor0" />
+          <positionref ref="ECalScoringPlaneDefVolume_component0Sensor0Position" />
+          <rotationref ref="ECalScoringPlaneDefVolume_component0Sensor0Rotation" />
+          <physvolid field_name="sensor" value="0" />
+        </physvol>
+      </volume>
+      <volume name="ECalScoringPlaneDefVolume">
+        <materialref ref="Vacuum" />
+        <solidref ref="ECalScoringPlaneDefBox" />
+        <physvol>
+          <volumeref ref="ECalScoringPlaneDefVolume_component0" />
+          <positionref ref="ECalScoringPlaneDefVolume_component0_position" />
+          <rotationref ref="ECalScoringPlaneDefVolume_component0_rotation" />
+          <physvolid field_name="component" value="0" />
+        </physvol>
+      </volume>
       <volume name="tracking_volume">
         <materialref ref="TrackingMaterial" />
         <solidref ref="tracking_cylinder" />
@@ -328,6 +383,15 @@
           <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>
+        <physvol>
+          <volumeref ref="ECalScoringPlaneDefVolume" />
+          <positionref ref="ECalScoringPlane_ECalScoringPlaneDef_layer1_module0_position" />
+          <rotationref ref="ECalScoringPlane_ECalScoringPlaneDef_layer1_module0_rotation" />
+          <physvolid field_name="system" value="3" />
+          <physvolid field_name="barrel" value="0" />
+          <physvolid field_name="layer" value="1" />
           <physvolid field_name="module" value="0" />
         </physvol>
         <regionref ref="TrackingRegion" />

Modified: java/trunk/detector-data/detectors/HPS-Phantom-fieldmap/compact.xml
 =============================================================================
--- java/trunk/detector-data/detectors/HPS-Phantom-fieldmap/compact.xml	(original)
+++ java/trunk/detector-data/detectors/HPS-Phantom-fieldmap/compact.xml	Thu Oct 29 12:01:43 2015
@@ -176,7 +176,7 @@
     </materials>
 
     <detectors>       
-        <detector id="1" name="PhantomTracker" type="HPSTracker2" readout="PhantomTrackerHits" >
+        <detector id="1" name="PhantomTracker" type="HPSTracker2" readout="TrackerHits" >
             <comment>Boundary planes for magnetic field</comment>
             <module name="PhantomPlane">
                 <box x="dipoleMagnetWidth" y="dipoleMagnetHeight" />
@@ -185,40 +185,40 @@
                 </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"/>
+                <module_placement name="PhantomPlane" id="0" x="dipoleMagnetPositionX" y="0" z="z1t" rx="0" ry="-y_rot" 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"/>
+                <module_placement name="PhantomPlane" id="0" x="dipoleMagnetPositionX" y="0" z="z2t" rx="0" ry="-y_rot" 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"/>
+                <module_placement name="PhantomPlane" id="0" x="dipoleMagnetPositionX" y="0" z="z3t" rx="0" ry="-y_rot" 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"/>
+                <module_placement name="PhantomPlane" id="0" x="dipoleMagnetPositionX" y="0" z="z4t" rx="0" ry="-y_rot" 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"/>
+                <module_placement name="PhantomPlane" id="0" x="dipoleMagnetPositionX" y="0" z="z5t" rx="0" ry="-y_rot" 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"/>
+                <module_placement name="PhantomPlane" id="0" x="dipoleMagnetPositionX" y="0" z="z6t" rx="0" ry="-y_rot" 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"/>
+                <module_placement name="PhantomPlane" id="0" x="dipoleMagnetPositionX" y="0" z="z7t" rx="0" ry="-y_rot" 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"/>
+                <module_placement name="PhantomPlane" id="0" x="dipoleMagnetPositionX" y="0" z="z8t" rx="0" ry="-y_rot" 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"/>
+                <module_placement name="PhantomPlane" id="0" x="dipoleMagnetPositionX" y="0" z="z9t" rx="0" ry="-y_rot" 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"/>
+                <module_placement name="PhantomPlane" id="0" x="dipoleMagnetPositionX" y="0" z="z10t" rx="0" ry="-y_rot" 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"/>
+                <module_placement name="PhantomPlane" id="0" x="dipoleMagnetPositionX" y="0" z="z11t" rx="0" ry="-y_rot" 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"/>
+                <module_placement name="PhantomPlane" id="0" x="dipoleMagnetPositionX" y="0" z="z12t" rx="0" ry="-y_rot" rz="-PI/2"/>
             </layer>            
         </detector>
         
@@ -237,12 +237,31 @@
             <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>     
-     
+        </detector>
+        
+        <detector id="3" name="ECalScoringPlane" type="HPSTracker2" readout="ECalScoringTrackerHits" >
+            <comment>Boundary planes for magnetic field</comment>
+            <module name="ECalScoringPlaneDef">
+                <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="ECalScoringPlaneDef" id="0" x="0" y="0" z="1338*mm" 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>
+        <readout name="ECalScoringTrackerHits">
+            <id>system:6,barrel:3,layer:4,module:12,sensor:1,side:32:-2,strip:12</id> 
+        </readout>        
+        <readout name="TrackerHits">
             <id>system:6,barrel:3,layer:4,module:12,sensor:1,side:32:-2,strip:12</id> 
         </readout> 
     </readouts>