Commit in hps-detectors/detectors/HPS-Test-JLAB-v4pt0 on MAIN
compact.xml+53-141.7 -> 1.8
set stereo angles for top and bottom independently; set angle for rotation about y-axis

hps-detectors/detectors/HPS-Test-JLAB-v4pt0
compact.xml 1.7 -> 1.8
diff -u -r1.7 -r1.8
--- compact.xml	23 Feb 2012 00:08:00 -0000	1.7
+++ compact.xml	19 Mar 2012 21:05:45 -0000	1.8
@@ -31,7 +31,8 @@
         <!-- module tilt for stereo angle -->
         <constant name="SA"  value="0.10" />
         <constant name="SA2"  value="0.05" />
-
+        
+        <constant name="pi"  value="3.14159" />
         <!-- module z placement -->
         <constant name="zCent1" value="10*cm"/>
         <constant name="zCent2" value="20*cm"/>
@@ -79,7 +80,7 @@
     </display> 
     
     <detectors>
-
+ 
         <detector id="13"
                   name="Ecal"
                   type="HPSEcal3"
@@ -93,7 +94,7 @@
                 <remove ixmin="-10" ixmax="-2" iymin="-1" iymax="1" />
             </layout>
         </detector>
-
+        
         <detector id="10" name="Target" type="SiTrackerSpectrometer" readout="TargetHits" reflect="false">
             <comment>The Tungsten fixed target.</comment>
             <module name="TungstenTarget">
@@ -104,7 +105,6 @@
                 <quadrant xStart="0" nx="1" xStep="moduleLength" yStart="0" ny="1" yStep="moduleWidth" phi0="0.0" z="0.0" dz="0.0*cm"  module="TungstenTarget"/>
             </layer>
         </detector>
-
         <detector id="1" name="Tracker" type="HPSTracker" readout="TrackerHits" combineHits="true" flipSA="true" reflect="true">
             <comment> The Silicon Vertex Tracker.</comment>
             <module name="Module1">
@@ -123,36 +123,75 @@
                           yStep="moduleWidth" 
                           z="zCent1" 
                           dz="0.0*cm"  
-                          phi0="0.0"
+                          top_phi0="0.0"
+                          bot_phi0="SA"
+                          theta = "0.0"
                           module="Module1"
                           />
             </layer>
             <layer id="2">
-                <quadrant xStart="0" nx="1" xStep="moduleLength" yStart="(ygap1+moduleWidth)/2" ny="1" yStep="moduleWidth" phi0="SA" z="zCent1+zPlaneDist" dz="0.0*cm"  module="Module1"/>
+                <quadrant xStart="0" nx="1" xStep="moduleLength" yStart="(ygap1+moduleWidth)/2" ny="1" yStep="moduleWidth"    
+                          top_phi0="pi+SA"
+                          bot_phi0="pi"
+                          theta = "pi"
+                          z="zCent1+zPlaneDist" dz="0.0*cm"  module="Module1"/>
             </layer>
+            
             <layer id="3">
-                <quadrant xStart="0" nx="1" xStep="moduleLength" yStart="(ygap2+moduleWidth)/2" ny="1" yStep="moduleWidth" phi0="0.0" z="zCent2" dz="0.0*cm"  module="Module1"/>
+                <quadrant xStart="0" nx="1" xStep="moduleLength" yStart="(ygap2+moduleWidth)/2" ny="1" yStep="moduleWidth" 
+                          top_phi0="0.0"
+                          bot_phi0="SA"
+                          theta = "0.0" 
+                          z="zCent2" dz="0.0*cm"  module="Module1"/>
             </layer>
             <layer id="4">
-                <quadrant xStart="0" nx="1" xStep="moduleLength" yStart="(ygap2+moduleWidth)/2" ny="1" yStep="moduleWidth" phi0="SA" z="zCent2+zPlaneDist" dz="0.0*cm" module="Module1"/>
+                <quadrant xStart="0" nx="1" xStep="moduleLength" yStart="(ygap2+moduleWidth)/2" ny="1" yStep="moduleWidth" 
+                          top_phi0="pi+SA"
+                          bot_phi0="pi"
+                          theta = "pi" 
+                          z="zCent2+zPlaneDist" dz="0.0*cm" module="Module1"/>
             </layer>
             <layer id="5">
-                <quadrant xStart="0" nx="1" xStep="moduleLength" yStart="(ygap3+moduleWidth)/2" ny="1" yStep="moduleWidth" phi0="0.0" z="zCent3" dz="0.0*cm" module="Module1"/>
+                <quadrant xStart="0" nx="1" xStep="moduleLength" yStart="(ygap3+moduleWidth)/2" ny="1" yStep="moduleWidth" 
+                          top_phi0="0.0"
+                          bot_phi0="SA"
+                          theta = "0.0" 
+                          z="zCent3" dz="0.0*cm" module="Module1"/>
             </layer>
             <layer id="6">
-                <quadrant xStart="0" nx="1" xStep="moduleLength" yStart="(ygap3+moduleWidth)/2" ny="1" yStep="moduleWidth" phi0="SA" z="zCent3+zPlaneDist" dz="0.0*cm" module="Module1"/>
+                <quadrant xStart="0" nx="1" xStep="moduleLength" yStart="(ygap3+moduleWidth)/2" ny="1" yStep="moduleWidth" 
+                          top_phi0="pi+SA"
+                          bot_phi0="pi"
+                          theta = "pi" 
+                          z="zCent3+zPlaneDist" dz="0.0*cm" module="Module1"/>
             </layer>
             <layer id="7">
-                <quadrant xStart="0" nx="1" xStep="moduleLength" yStart="(ygap4+moduleWidth)/2" ny="1" yStep="moduleWidth" phi0="0.0" z="zCent4" dz="0.0*cm" module="Module1"/>
+                <quadrant xStart="0" nx="1" xStep="moduleLength" yStart="(ygap4+moduleWidth)/2" ny="1" yStep="moduleWidth" 
+                          top_phi0="0.0"
+                          bot_phi0="SA2"
+                          theta = "0.0" 
+                          z="zCent4" dz="0.0*cm" module="Module1"/>
             </layer>
             <layer id="8">
-                <quadrant xStart="0" nx="1" xStep="moduleLength" yStart="(ygap4+moduleWidth)/2" ny="1" yStep="moduleWidth" phi0="SA2" z="zCent4+zPlaneDist" dz="0.0*cm" module="Module1"/>
+                <quadrant xStart="0" nx="1" xStep="moduleLength" yStart="(ygap4+moduleWidth)/2" ny="1" yStep="moduleWidth" 
+                          top_phi0="pi+SA2"
+                          bot_phi0="pi"
+                          theta = "pi" 
+                          z="zCent4+zPlaneDist" dz="0.0*cm" module="Module1"/>
             </layer>
             <layer id="9">
-                <quadrant xStart="0" nx="1" xStep="moduleLength" yStart="(ygap5+moduleWidth)/2" ny="1" yStep="moduleWidth" phi0="0.0" z="zCent5" dz="0.0*cm"  module="Module1"/>
+                <quadrant xStart="0" nx="1" xStep="moduleLength" yStart="(ygap5+moduleWidth)/2" ny="1" yStep="moduleWidth" 
+                          top_phi0="0.0"
+                          bot_phi0="SA2"
+                          theta = "0.0" 
+                          z="zCent5" dz="0.0*cm"  module="Module1"/>
             </layer>
             <layer id="10">
-                <quadrant xStart="0" nx="1" xStep="moduleLength" yStart="(ygap5+moduleWidth)/2" ny="1" yStep="moduleWidth" phi0="SA2" z="zCent5+zPlaneDist" dz="0.0*cm" module="Module1"/>
+                <quadrant xStart="0" nx="1" xStep="moduleLength" yStart="(ygap5+moduleWidth)/2" ny="1" yStep="moduleWidth" 
+                          top_phi0="pi+SA2"
+                          bot_phi0="pi"
+                          theta = "pi"
+                          z="zCent5+zPlaneDist" dz="0.0*cm" module="Module1"/>
             </layer>
         </detector>     
     </detectors>
CVSspam 0.2.12


Use REPLY-ALL to reply to list

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