LISTSERV mailing list manager LISTSERV 16.5

Help for LCDET-SVN Archives


LCDET-SVN Archives

LCDET-SVN Archives


LCDET-SVN@LISTSERV.SLAC.STANFORD.EDU


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

LCDET-SVN Home

LCDET-SVN Home

LCDET-SVN  December 2014

LCDET-SVN December 2014

Subject:

r3443 - /projects/lcsim/trunk/detector-framework/src/main/java/org/lcsim/geometry/compact/converter/HPSTracker2014GeometryDefinition.java

From:

[log in to unmask]

Reply-To:

Notification of commits to the lcdet svn repository <[log in to unmask]>

Date:

Tue, 9 Dec 2014 06:31:50 -0000

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (202 lines)

Author: [log in to unmask]
Date: Mon Dec  8 22:31:46 2014
New Revision: 3443

Log:
Use Shawn's module numbers for module positions in U-channels.

Modified:
    projects/lcsim/trunk/detector-framework/src/main/java/org/lcsim/geometry/compact/converter/HPSTracker2014GeometryDefinition.java

Modified: projects/lcsim/trunk/detector-framework/src/main/java/org/lcsim/geometry/compact/converter/HPSTracker2014GeometryDefinition.java
 =============================================================================
--- projects/lcsim/trunk/detector-framework/src/main/java/org/lcsim/geometry/compact/converter/HPSTracker2014GeometryDefinition.java	(original)
+++ projects/lcsim/trunk/detector-framework/src/main/java/org/lcsim/geometry/compact/converter/HPSTracker2014GeometryDefinition.java	Mon Dec  8 22:31:46 2014
@@ -271,13 +271,13 @@
         }
         protected void setPos() {
 
-            final double ball_pos_x = -SvtBoxBasePlate.kin_mount_to_edge_of_plate_x + SvtBoxBasePlate.width/2.0 - 6.622*inch;
-            final double ball_pos_y = -SvtBoxBasePlate.kin_mount_to_edge_of_plate_y + SvtBoxBasePlate.length -28.531*inch;
+            final double ball_pos_x = -SvtBoxBasePlate.kin_mount_to_edge_of_plate_x + SvtBoxBasePlate.width/2.0 - 6.997*inch;
+            final double ball_pos_y = -SvtBoxBasePlate.kin_mount_to_edge_of_plate_y + SvtBoxBasePlate.length -28.543*inch;
             final double ball_pos_z = 0.0;
 
             
             final double vee_pos_x = -SvtBoxBasePlate.kin_mount_to_edge_of_plate_x + SvtBoxBasePlate.width/2.0 + 6.622*inch;
-            final double vee_pos_y = -SvtBoxBasePlate.kin_mount_to_edge_of_plate_y + SvtBoxBasePlate.length - 28.127*inch;
+            final double vee_pos_y = -SvtBoxBasePlate.kin_mount_to_edge_of_plate_y + SvtBoxBasePlate.length - 28.116*inch;
             final double vee_pos_z = 0.0;
             
             
@@ -976,9 +976,9 @@
             init();
         }
         protected Hep3Vector getHolePosition() {
-            double x = hole_to_center_of_plate_width_dir;
-            double y = getHoleModuleCenterOffset();
-            double z = -UChannelL13.side_plate_cone_y - UChannelL13Plate.pocket_depth_L1;
+            double x = 95.25;
+            double y = 9.525;
+            double z = -51.435;
             return new BasicHep3Vector(x, y, z);
         }
         
@@ -994,9 +994,9 @@
         }
        
         protected Hep3Vector getHolePosition() {
-            double x = -1.0*hole_to_center_of_plate_width_dir; // not minus sign compared to bottom
-            double y = getHoleModuleCenterOffset();
-            double z = -UChannelL13.side_plate_cone_y - UChannelL13Plate.pocket_depth_L1;
+            double x = -95.25; // note minus sign compared to bottom
+            double y = -9.525;
+            double z = -51.435;
             return new BasicHep3Vector(x, y, z);
         }
         
@@ -1012,10 +1012,9 @@
             init();
         }
         protected Hep3Vector getHolePosition() {
-            //hole position (sensor side)
-            double x = hole_to_center_of_plate_width_dir;
-            double y = getHoleModuleCenterOffset() + UChannelL13Plate.module_mounting_hole_to_hole_x;
-            double z = -UChannelL13.side_plate_cone_y - UChannelL13Plate.pocket_depth_L2;
+            double x = 95.25;
+            double y = 109.525;
+            double z = -51.435 - 1.5;
             return new BasicHep3Vector(x, y, z);
         }
         
@@ -1030,9 +1029,9 @@
         }
        
         protected Hep3Vector getHolePosition() {
-            double x = -1.0*hole_to_center_of_plate_width_dir; // not minus sign compared to bottom
-            double y = getHoleModuleCenterOffset() + UChannelL13Plate.module_mounting_hole_to_hole_x;
-            double z = -UChannelL13.side_plate_cone_y - UChannelL13Plate.pocket_depth_L2;
+            double x = -95.25; // note minus sign compared to bottom
+            double y = 90.475;
+            double z = -51.435 - 1.5;
             return new BasicHep3Vector(x, y, z);
         }
         
@@ -1049,10 +1048,9 @@
             init();
         }
         protected Hep3Vector getHolePosition() {
-            //hole position (sensor side)
-            double x = hole_to_center_of_plate_width_dir;
-            double y = getHoleModuleCenterOffset() + 2*UChannelL13Plate.module_mounting_hole_to_hole_x;
-            double z = -UChannelL13.side_plate_cone_y - UChannelL13Plate.pocket_depth_L3;
+            double x = 95.25;
+            double y = 209.525;
+            double z = -51.435 - 2*1.5;
             return new BasicHep3Vector(x, y, z);
         }
         
@@ -1067,9 +1065,9 @@
         }
        
         protected Hep3Vector getHolePosition() {
-            double x = -1.0*hole_to_center_of_plate_width_dir; // not minus sign compared to bottom
-            double y = getHoleModuleCenterOffset() + 2*UChannelL13Plate.module_mounting_hole_to_hole_x;
-            double z = -UChannelL13.side_plate_cone_y - UChannelL13Plate.pocket_depth_L2;
+            double x = -95.25; // note minus sign compared to bottom
+            double y = 190.475;
+            double z = -51.435 - 2*1.5;
             return new BasicHep3Vector(x, y, z);
         }
         
@@ -1180,9 +1178,12 @@
         }
 
         protected Hep3Vector getHole() {
-            double x = hole_to_center_of_plate_width_dir;   
-            double y = -getHoleModuleCenterOffset(); //Note minus sign compared to top
-            double z = -UChannelL46.side_plate_cone_y - UChannelL46Plate.pocket_depth_L4;
+            double x = 149.225;
+            double y = 9.525;
+            double z = -53.34;
+            //double x = hole_to_center_of_plate_width_dir;   
+            //double y = -getHoleModuleCenterOffset(); //Note minus sign compared to top
+            //double z = -UChannelL46.side_plate_cone_y - UChannelL46Plate.pocket_depth_L4;
             return new BasicHep3Vector(x, y, z);
         }
         
@@ -1197,9 +1198,12 @@
         }
 
         protected Hep3Vector getHole() {
-            double x = -1*hole_to_center_of_plate_width_dir;   
-            double y = -getHoleModuleCenterOffset();
-            double z = -UChannelL46.side_plate_cone_y - UChannelL46Plate.pocket_depth_L4;
+            double x = -149.225;
+            double y = -9.525;
+            double z = -53.34;
+//            double x = -1*hole_to_center_of_plate_width_dir;   
+//            double y = -getHoleModuleCenterOffset();
+//            double z = -UChannelL46.side_plate_cone_y - UChannelL46Plate.pocket_depth_L4;
             return new BasicHep3Vector(x, y, z);
         }
         
@@ -1215,9 +1219,9 @@
         }
 
         protected Hep3Vector getHole() {
-            double x = hole_to_center_of_plate_width_dir;   
-            double y = -getHoleModuleCenterOffset() + UChannelL46Plate.module_mounting_hole_to_hole_x; 
-            double z = -UChannelL46.side_plate_cone_y - UChannelL46Plate.pocket_depth_L5;
+            double x = 149.225;
+            double y = 209.525;
+            double z = -53.34 - 3.0;
             return new BasicHep3Vector(x, y, z);
         }
 
@@ -1232,9 +1236,9 @@
         }
 
         protected Hep3Vector getHole() {
-            double x = -1*hole_to_center_of_plate_width_dir;   
-            double y = -getHoleModuleCenterOffset() + UChannelL46Plate.module_mounting_hole_to_hole_x; 
-            double z = -UChannelL46.side_plate_cone_y - UChannelL46Plate.pocket_depth_L5;
+            double x = -149.225;
+            double y = 190.475;
+            double z = -53.34 - 3.0;
             return new BasicHep3Vector(x, y, z);
         }
 
@@ -1249,9 +1253,9 @@
         }
 
         protected Hep3Vector getHole() {
-            double x = hole_to_center_of_plate_width_dir;   
-            double y = -getHoleModuleCenterOffset() + 2.0*UChannelL46Plate.module_mounting_hole_to_hole_x; 
-            double z = -UChannelL46.side_plate_cone_y - UChannelL46Plate.pocket_depth_L6;
+            double x = 149.225;
+            double y = 409.525;
+            double z = -53.34 - 2*3.0;
             return new BasicHep3Vector(x, y, z);
         }
 
@@ -1266,9 +1270,9 @@
         }
 
         protected Hep3Vector getHole() {
-            double x = -hole_to_center_of_plate_width_dir;   
-            double y = -getHoleModuleCenterOffset() + 2.0*UChannelL46Plate.module_mounting_hole_to_hole_x; 
-            double z = -UChannelL46.side_plate_cone_y - UChannelL46Plate.pocket_depth_L6;
+            double x = -149.225;
+            double y = 390.475;
+            double z = -53.34 - 2*3.0;
             return new BasicHep3Vector(x, y, z);
         }
 

########################################################################
Use REPLY-ALL to reply to list

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

Top of Message | Previous Page | Permalink

Advanced Options


Options

Log In

Log In

Get Password

Get Password


Search Archives

Search Archives


Subscribe or Unsubscribe

Subscribe or Unsubscribe


Archives

January 2016
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
December 2013
November 2013

ATOM RSS1 RSS2



LISTSERV.SLAC.STANFORD.EDU

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager

Privacy Notice, Security Notice and Terms of Use