Difference between revisions of "Determining wire-phi correspondance"

From New IAC Wiki
Jump to navigation Jump to search
 
(84 intermediate revisions by the same user not shown)
Line 1: Line 1:
=Detector Geometry=
 
Examining the geometry of the Drift Chamber, we can see that the detector is similar to a hexagonal pyramid in shape. 
 
  
 
[[File:DC_Geomentry_Sideview.png|thumb|center|600px|alt=Drift Chamber Geometry|'''Figure 1:''' A graphical rendering of a drift chamber sector.]]
 
 
 
From the geometry it is given that xdist, the distance between the line of intersection of the two end-plate planes and the target position, is equal to 8.298 cm and th_min, the angle from the target vertex to the the same line, is 4.694 degrees.  Using this knowledge we can simulate this situation by having  the end-plate planes intersect at the beam line axis.  This action in effect would grant the sector to measure angles below ~5 degrees, which we can account for by limiting angles theta within the accepted detector range.  The quantity dist2tgt, the distance from the target to the first guard wire plane along the normal of said plane, is given as 228.078 cm.  Using the previous understanding of the distances between planes within a Superlayer:
 
 
 
 
[[File:hex.png|thumb|center|600px|alt=DC Wire Geometry|'''Figure 2:''' A graphical rendering of a drift chamber wire spacing.]]
 
 
We know that the seperation between levels is a constant D=.3861 cm, and that sensor layer 1 is 3 layers deep.
 
 
 
This gives us the distance to level 1 from the vertex (0,0,0) as 228.078 cm+3(0.3861) cm=229.2363 cm in the normal direction from the wire plane to the target.  Using the fact that the wire planes are at 25 degrees to the beam line normal, we can approximate sector one as triangle that intersects with a line perpendicular to the beam line at the vertex position of (0,0,0) along the bisector of the triangle.  This then by geometry shown in the figure below implies the distance traveling along the beam line would intersect the theoretical extension of the sector at z= 2.53 m.  While this is beyond the physical constructs of the experimental design, we do this mathematical simplicity.  This again is acceptable in that angles beyond the physical limitations of 40 degrees will not be simulated.  From the geometry of a hexagonal pyramid, we can see that the quantity h should be
 
 
 
[[File:Hex_Pyramid_side.png|thumb|center|600px|alt=DC Wire Geometry Side view|'''Figure 3:''' A graphical rendering of a drift chamber wire spacing from the side.]]
 
 
 
<center><math>h=\frac{2.292363\ m}{sin(25^{\circ})}</math></center>
 
 
 
<center><math>h=5.42\ m</math></center>
 
 
 
 
Examining the geometry of a hexagonal of h=<math>\sqrt{3}\approx1.732</math> whose coordinates are easy to calculate:
 
 
 
[[File:Hexagon.png|thumb|600px|center|alt=DC Sector Geometry|'''Figure 4:''' A graphical rendering of a drift chamber geometry.]]
 
 
 
We can scale this hexagon by a factor of 3.13 to find the base of the hexagonal pyramid simulating the drift chamber geometry.
 
 
<pre>
 
sector1=Graphics3D[{Red,Opacity[.8],Polygon[{{0,0,2.53},{3.13\[Sqrt]3,3.13,0},{3.13\[Sqrt]3,-3.13,0}}]},BoxStyle->Dashing[{0.02,0.02}],Axes->True,AxesLabel->{"x","y","z"},Ticks->None,AxesStyle->Thickness[0.01]];
 
sector2=Graphics3D[{GrayLevel[0.5],Opacity[.2],Polygon[{{0,0,2.53},{3.13\[Sqrt]3,-3.13,0},{0,-2*3.13,0}}]},BoxStyle->Dashing[{0.02,0.02}],Axes->True,AxesLabel->{"x","y","z"},Ticks->None,AxesStyle->Thickness[0.01]];
 
sector3=Graphics3D[{GrayLevel[0.5],Opacity[.2],Polygon[{{0,0,2.53},{0,-2*3.13,0},{-3.13\[Sqrt]3,-3.13,0}}]},BoxStyle->Dashing[{0.02,0.02}],Axes->True,AxesLabel->{"x","y","z"},Ticks->None,AxesStyle->Thickness[0.01]];
 
sector4=Graphics3D[{GrayLevel[0.5],Opacity[.2],Polygon[{{0,0,2.53},{-3.13\[Sqrt]3,-3.13,0},{-3.13\[Sqrt]3,3.13,0}}]},BoxStyle->Dashing[{0.02,0.02}],Axes->True,AxesLabel->{"x","y","z"},Ticks->None,AxesStyle->Thickness[0.01]];
 
sector5=Graphics3D[{GrayLevel[0.5],Opacity[.2],Polygon[{{0,0,2.53},{-3.13\[Sqrt]3,3.13,0},{0,2*3.13,0}}]},BoxStyle->Dashing[{0.02,0.02}],Axes->True,AxesLabel->{"x","y","z"},Ticks->None,AxesStyle->Thickness[0.01]];
 
sector6=Graphics3D[{GrayLevel[0.5],Opacity[.2],Polygon[{{0,0,2.53},{0,2*3.13,0},{3.13\[Sqrt]3,3.13,0}}]},BoxStyle->Dashing[{0.02,0.02}],Axes->True,AxesLabel->{"x","y","z"},Ticks->None,AxesStyle->Thickness[0.01]];
 
Bisector0Sector1=Graphics3D[Line[{{0,0,2.53},{3.13\[Sqrt]3,0,0}}]];
 
Bisector0perpSector1=Graphics3D[Line[{{0,0,0},{3.13\[Sqrt]3,0,0}}]];
 
RightAngleVertical=Graphics3D[Line[{{.25,0,.25},{.25,0,0}}]];
 
RightAngleHorizontal=Graphics3D[Line[{{.25,0,.25},{0,0,.25}}]];
 
Bisector0Cone=Graphics3D[Line[{{3.13\[Sqrt]3,0,0},{3.13\[Sqrt]3,0,2.53}}]];
 
Bisector0perpCone=Graphics3D[Line[{{0,0,2.53},{3.13\[Sqrt]3,0,2.53}}]];
 
RightAngleVertical2=Graphics3D[Line[{{3.13\[Sqrt]3-.25,0,2.53-.25},{3.13\[Sqrt]3-.25,0,2.53}}]];
 
RightAngleHorizontal2=Graphics3D[Line[{{3.13\[Sqrt]3-.25,0,2.53-.25},{3.13\[Sqrt]3,0,2.53-.25}}]];
 
BeamLine=Graphics3D[Arrow[{{0,0,-.5},{0,0,2.79}}]];
 
PhiCone=Graphics3D[{Blue,Opacity[.3],Cone[{{0,0,2.53},{0,0,0}},3.13\[Sqrt]3]},BoxStyle->Dashing[{0.02,0.02}],Axes->True,AxesLabel->{"x","y","z"},Ticks->None,AxesStyle->Thickness[0.01]];
 
</pre>
 
 
 
Viewing the simulation,
 
<pre>
 
Show[sector1,sector2,sector3,sector4,sector5,sector6,PhiCone,BeamLine,Bisector0Sector1,Bisector0perpSector1,Bisector0Cone,Bisector0perpCone,RightAngleVertical,RightAngleHorizontal,RightAngleVertical2,RightAngleHorizontal2]
 
</pre>
 
 
 
When the scattering angle theta, which is measured with respect to the beam line, is held constant and rotated through 360 degrees in phi, a cone is created.  Using Mathematica, we can produce a 3D rendering of how the sectors for Level 1 would have to interact with a steady angle theta with respect to the beam line, as angle phi is rotated through 360 degrees.
 
 
 
 
[[File:PhiCone.png|thumb|center|600px|alt=Cone of constant Theta for varying Phi|'''Figure 5:''' A cone of constant Theta with varying Phi.]]
 
 
=Conic Sections=
 
Looking just at sector 1, we can see that the intersection of level 1 and the cone of constant angle theta forms a conic section.
 
<pre>
 
Show[sector1,PhiCone,BeamLine,Bisector0Sector1,Bisector0perpSector1,Bisector0Cone,Bisector0perpCone,RightAngleVertical,RightAngleHorizontal,RightAngleVertical2,RightAngleHorizontal2]
 
</pre>
 
 
 
 
[[File:Projection_side_view.png|thumb|center|600px|alt=Cone of constant Theta for varying Phi|'''Figure 5:''' A cone of constant Theta with varying Phi.]]
 
Without loss of generalization, we can extend the triangle to an infinite plane to aid in viewing the conic section.  Again, this falls outside of the experimental design range, but simulations would not occur in this forbidden zone.
 
 
<pre>
 
sector1plane =
 
  Graphics3D[{Red, Opacity[.8],
 
    InfinitePlane[{{0, 0, 2.53}, {3.13 \[Sqrt]3, .617,
 
      0}, {3.13 \[Sqrt]3, -3.13, 0}}]},
 
  BoxStyle -> Dashing[{0.02, 0.02}], Axes -> True,
 
  AxesLabel -> {"x", "y", "z"}, Ticks -> None,
 
  AxesStyle -> Thickness[0.01]];
 
 
Show[sector1plane, PhiCone, BeamLine, Bisector0Sector1, \
 
Bisector0perpSector1, Bisector0Cone, Bisector0perpCone, \
 
RightAngleVertical, RightAngleHorizontal, RightAngleVertical2, \
 
RightAngleHorizontal2]
 
</pre>
 
 
 
 
[[File:Projection_Rear_view.png|thumb|center|600px|alt=Cone of constant Theta for varying Phi|'''Figure 5:''' A cone of constant Theta with varying Phi.]]
 
 
Following the rules of conic sections we know that the eccentricity of the conic is given by:
 
 
<center><math>e=\frac{\sin \beta}{\sin\alpha}</math></center>
 
 
 
where β is the angle between the plane and the horizontal and α is the angle between the cone's base and the horizontal.
 
 
 
 
Examining the different conic sections possible we know that:
 
==Circular Conic Section==
 
If the conic is an circle, e=0.  This implies
 
 
<center><math>e=\frac{\sin (\beta)}{\sin (\alpha)}=\frac{\sin (25^{\circ})}{\sin (90-\theta)}=0</math></center>
 
 
 
Using the relation
 
 
<center><math>sin(90^{\circ}-\theta)=cos(\theta)</math></center>
 
 
<center><math>\frac{sin (25^{\circ})}{0}=cos( \theta) =\infty</math></center>
 
 
 
The sector angle will never be perpendicular to the plane of the light cone, so this is not a physical possibility.
 
 
==Elliptic Conic Section==
 
 
If the conic is an ellipse, 0<e<1.  This implies
 
 
<center><math>e=\frac{\sin \beta}{\sin \alpha}=\frac{\sin\ (25^{\circ})}{\sin (90^{\circ}-\theta)}</math></center>
 
 
 
 
 
<center><math>\frac{sin (25^{\circ})}{cos (\theta)}=e</math></center>
 
 
 
since e must be less than 1, this sets the limit of theta at less than 65 degrees.  Since the limit of <math>\theta=0</math>, this implies the minimum eccentricity will be <math>e\approx .4291</math>
 
 
 
This implies that the shape made on the the plane of the sector is an ellipse for angles
 
 
<center><math> 0<\theta<65^{\circ}</math></center>
 
 
===Determining ellipse components===
 
[[File:Plane_side_view.png|thumb|center|600px|alt=Cone of constant Theta for varying Phi|'''Figure 5:''' A cone of constant Theta with varying Phi.]]
 
 
Here we must take note of the fact that the center of the cone and the center of the ellipse do not coincide as can be shown visually by extending the cone length.
 
 
[[File:Ellipse_Cone_overlay_full.png|thumb|center|600px|alt=Cone of constant Theta for varying Phi|'''Figure 5:''' A cone of constant Theta with varying Phi.]]
 
 
 
Here we will make use of Dandelin spheres to help determine the ellipse components with reference to the cone created at a constant theta.  The basic construction of using Dandelin spheres is that within the cone, there are two spheres which are tangent to the plane as well as tangent to the cone as shown below in the xz plane.  The Dandelin method picks an arbitrary point,P, on the intersection of the cone and the ellipse's plane.  Drawing a line from the cone vertex through the point P, the directrix lines are intersected as shown below at D1 and D2.  From the geometry as shown in the xz plane, it is shown that the line segments F1P=D1P and F2P=D2P since they share a common line segment, all three angles, and both have a the respective Dandelin radius as parts of the triangles they form.
 
 
 
[[File:Dandelin_spheres2.png|thumb|center|600px|alt=Cone of constant Theta for varying Phi|'''Figure 5:''' A cone of constant Theta with varying Phi.]]
 
 
 
 
We can use the law of sines to find a portion of the ellipse
 
 
[[File:Law_of_sines_conic_section.png|thumb|center|600px|alt=Cone of constant Theta for varying Phi|'''Figure 5:''' A cone of constant Theta with varying Phi.]]
 
 
<center><math>\frac{a}{sin(A)}=\frac{b}{sin(B)}</math></center>
 
 
 
<center><math>\frac{2.53\ m}{sin(115^{\circ}-\theta)}=\frac{a_1}{sin(\theta)}</math></center>
 
 
 
[[File:Law_of_sines_conic_section2.png|thumb|center|600px|alt=Cone of constant Theta for varying Phi|'''Figure 5:''' A cone of constant Theta with varying Phi.]]
 
 
 
<center><math>\frac{a}{sin(A)}=\frac{b}{sin(B)}</math></center>
 
 
 
<center><math>\frac{2.53\ m}{sin(65^{\circ}-\theta)}=\frac{a_2}{sin(\theta)}</math></center>
 
 
 
Since these lines meet at the intersection of each other, and they both originate at the vertex positions for the ellipse, we can state that the semi major axis is:
 
 
<center><math>2a\equiv a_1+a_2</math></center>
 
 
[[File:Dandelin_spheres.png|thumb|center|600px|alt=Cone of constant Theta for varying Phi|'''Figure 5:''' A cone of constant Theta with varying Phi.]]
 
 
 
Using the fact that half the semi-major axis will give use the center of the ellipse
 
 
<center><math>a=\frac{a_1+a_2}{2}</math></center>
 
 
 
<center><math>a=\frac{2.53sin(\theta)}{2}\left (\frac{sin(115^{\circ}-\theta)+sin(65^{\circ}-\theta)}{sin(115^{\circ}-\theta)sin(65^{\circ}-\theta)}\right )</math></center>
 
 
 
 
<center><math>a=\frac{2.53sin(\theta)}{2}\left (sin(115^{\circ}-\theta)+sin(65^{\circ}-\theta)\right ) csc(115^{\circ}-\theta)csc(65^{\circ}-\theta)</math></center>
 
 
 
 
{| class="wikitable" align="center"
 
| style="background: gray"      | <math>a=\frac{2.53sin(\theta)}{2}\left (csc(65^{\circ}-\theta)+csc(115^{\circ}-\theta) \right )</math>
 
|}
 
 
[[File:Directrix_delta_z.png|thumb|center|600px|alt=Cone of constant Theta for varying Phi|'''Figure 5:''' A cone of constant Theta with varying Phi.]]
 
 
 
Earlier, using the law of sines it was found:
 
 
<center><math>\frac{2.53\ m}{sin(115^{\circ}-\theta)}=\frac{a_1}{sin(\theta)}</math></center>
 
 
 
<center><math>\frac{2.53\ m \cdot sin(\theta)}{sin(115^{\circ}-\theta)}=a_1</math></center>
 
 
 
Taking the difference
 
 
<center><math>\Delta a=a-a_1=\frac{a_1+a_2}{2}-a_1=\frac{a_2-a_1}{2}</math></center>
 
 
 
 
{| class="wikitable" align="center"
 
| style="background: gray"      | <math>\Delta a=\frac{2.53sin(\theta)}{2}\left (csc(65^{\circ}-\theta)-csc(115^{\circ}-\theta) \right )</math>
 
|}
 
 
 
<center><math>\Delta z=\Delta a \cdot cos(65^{\circ})</math></center>
 
 
 
<center><math>\Delta x=\Delta a \cdot sin(65^{\circ})</math></center>
 
 
Since the vertex position is at (0,0,0) this shows the center of the ellipse to be at
 
 
 
 
<center><math>c_{ellipse} \equiv (-\Delta a sin(65^{\circ}), 0,z+\Delta z)</math></center>
 
 
 
<center><math>c_{ellipse} \equiv (-\Delta a sin(65^{\circ}), 0,2.53+\Delta z)</math></center>
 
 
The sum of the distance from both focal points to a point on the surface of the ellipse is a constant
 
 
[[File:Ellipse_sum_rule1.png|thumb|center|600px|alt=Cone of constant Theta for varying Phi|'''Figure 5:''' A cone of constant Theta with varying Phi.]]
 
 
<center><math>PF1+PF2\equiv 2a</math></center>
 
 
 
A property of an ellipse is that the distance from the center of the ellipse to a focal point is given by
 
 
<center><math>f=ae=\left (\frac{a_1+a_2}{2}\right ) \left ( \frac{sin(25^{\circ})}{cos(\theta)}\right )</math></center>
 
 
[[File:Ellipse_sum_rule2.png|thumb|center|600px|alt=Cone of constant Theta for varying Phi|'''Figure 5:''' A cone of constant Theta with varying Phi.]]
 
 
 
<center><math>2ae+2b=2a\Rightarrow b=a(1-e)</math></center>
 
 
 
<center><math>b=\left (\frac{a_1+a_2}{2}\right ) \left (1-\frac{sin(25^{\circ})}{cos(\theta)}\right )</math></center>
 
 
 
<center><math>b=\frac{2.53sin(\theta)}{2}\left (\frac{sin(115^{\circ}-\theta)+sin(65^{\circ}-\theta)}{sin(115^{\circ}-\theta)sin(65^{\circ}-\theta)}\right ) \left (1-\frac{sin(25^{\circ})}{cos(\theta)}\right )</math></center>
 
 
 
Additionally, using the fact that the distance from the center to a focal point is ae
 
 
[[File:Dandelin_spheres_zoom.png|thumb|center|600px|alt=Cone of constant Theta for varying Phi|'''Figure 5:''' A cone of constant Theta with varying Phi.]]
 
 
 
<center><math>R_{Lower\ Dandelin}=(ae-\Delta a) tan(65^{\circ})</math></center>
 
 
 
<center><math>r_{D1}=R_{Lower\ Dandelin}sec(\theta)=(ae-\Delta a) tan(65^{\circ})cos(\theta)</math></center>
 
 
 
 
 
 
By symmetry,
 
<center><math>R_{Upper\ Dandelin}=(ae+\Delta a) tan(65^{\circ})</math></center>
 
 
 
<center><math>r_{D2}=R_{Lower\ Dandelin}sec(\theta)=(ae+\Delta a) tan(65^{\circ})cos(\theta)</math></center>
 
 
===Determining  Elliptical Equation===
 
 
 
 
 
As found earlier
 
 
 
[[File:Dandelin_spheres_zoom2.png|thumb|center|600px|alt=Cone of constant Theta for varying Phi|'''Figure 5:''' A cone of constant Theta with varying Phi.]]
 
 
 
<center><math>CP_x=a\ sin(65^{\circ})</math></center>
 
 
 
<center><math>CP_z=a\ cos(65^{\circ})</math></center>
 
 
 
Given the center point coordinates found earlier:
 
 
 
<center><math>c \equiv (-\Delta x, 0,z+\Delta z)</math></center>
 
 
 
 
<center><math>c \equiv (-\Delta a\ sin(65^{\circ}), 0,z+\Delta a\ cos(65^{\circ}))</math></center>
 
 
This gives the location of P(<math>\phi=0</math>) at
 
 
<center><math>P(\phi=0) \equiv (-\Delta a\ sin(65^{\circ})+a\ sin((65^{\circ}), 0,z+\Delta a\ cos(65^{\circ})-a\ cos(65^{\circ}))</math></center>
 
 
 
 
<center><math>P(\phi=0) \equiv (-\frac{a_2-a_1}{2} sin(65^{\circ})+\frac{a_1+a_2}{2} sin((65^{\circ}), 0,2.53+\frac{a_2-a_1}{2} cos(65^{\circ})-\frac{a_1+a_2}{2} cos(65^{\circ}))</math></center>
 
 
 
The height in z can be viewed as a linear function of x and expressed in slope intercept form for a plane:
 
 
 
<center><math>z_{Plane\ of\ sector}=m_{plane}x+b_{plane}</math></center>
 
 
where
 
 
 
<center><math>m_{plane}=\frac{\Delta z}{\Delta x}=\frac{a\ cos(65^{\circ})}{-a\ sin(65^{\circ})}=-cot(65^{\circ})</math></center>
 
 
 
<center><math>b_{plane}\equiv (0,0,2.53)</math></center>
 
 
 
 
The D1 and D2 components can be obtained by finding the x and y components of the two directrix circles, which will be a function of their respective radii and the angle phi around the z axis.
 
 
 
<center><math>x_{Lower\ Directrix}^2+y_{Lower\ Directrix}^2=r_{Lower\ Directrix}^2\equiv r_{Lower\ Directrix}^2 cos^2(\phi)+r_{Lower\ Directrix}^2 sin^2(\phi)</math></center>
 
 
Solving for the cartesian components,
 
 
 
<center><math>x_{Lower\ Directrix}=r_{Lower\ Directrix}\ cos(\phi)\qquad \qquad \qquad y_{Lower\ Directrix}=r_{Lower\ Directrix}\ sin(\phi)</math></center>
 
 
Similarly,
 
 
<center><math>x_{Upper\ Directrix}=r_{Upper\ Directrix}\ cos(\phi)\qquad \qquad \qquad y_{Upper\ Directrix}=r_{Upper\ Directrix}\ sin(\phi)</math></center>
 
 
Using the radius information found earlier for the upper and lower Dandelin spheres and directrix,
 
 
<center><math>R_{Lower\ Dandelin}=(ae-\Delta a) tan(65^{\circ})\qquad \qquad \qquad R_{Upper\ Dandelin}=(ae+\Delta a) tan(65^{\circ})</math></center>
 
 
 
 
<center><math>r_{D1}=R_{Lower\ Dandelin}cos(\theta)=(ae-\Delta a) tan(65^{\circ})sec(\theta)\qquad \qquad\ \qquad r_{D2}=R_{Upper\ Dandelin}cos(\theta)=(ae+\Delta a) tan(65^{\circ})cos(\theta)</math></center>
 
 
 
<center><math>r_{D1}=(\frac{a_1+a_2}{2}\frac{sin(25^{\circ})}{cos(\theta)}-\frac{a_2-a_1}{2}) tan(65^{\circ})cos(\theta)\qquad \qquad \qquad r_{D2}=(\frac{a_1+a_2}{2}\frac{sin(25^{\circ})}{sec(\theta)}+\frac{a_2-a_1}{2}) tan(65^{\circ})cos(\theta)</math></center>
 
 
The height to the first directrix circle is
 
 
<center><math>z_{D1}=r_{D1}\ cot(\theta)</math></center>
 
 
 
The height to the second directrix circle is
 
 
<center><math>z_{D2}=r_{D2}\ cot(\theta)</math></center>
 
 
 
This gives the components for a point on the directrix circles as
 
 
{| class="wikitable" align="center"
 
| style="background: gray"      | <math>x_{D1}=(\frac{a_1+a_2}{2}\frac{sin(25^{\circ})}{cos(\theta)}-\frac{a_2-a_1}{2}) tan(65^{\circ})cos(\theta) cos(\phi)\qquad  \qquad y_{D1}=(\frac{a_1+a_2}{2}\frac{sin(25^{\circ})}{cos(\theta)}-\frac{a_2-a_1}{2}) tan(65^{\circ})cos(\theta) sin(\phi)\qquad \qquad z_{D1}=r_{D1}\ cot(\theta)</math>
 
|}
 
 
 
{| class="wikitable" align="center"
 
| style="background: gray"      | <math>x_{D2}=(\frac{a_1+a_2}{2}\frac{sin(25^{\circ})}{cos(\theta)}+\frac{a_2-a_1}{2}) tan(65^{\circ})cos(\theta) cos(\phi)\qquad \qquad y_{D2}=(\frac{a_1+a_2}{2}\frac{sin(25^{\circ})}{cos(\theta)}+\frac{a_2-a_1}{2}) tan(65^{\circ})cos(\theta) sin(\phi)\qquad \qquad z_{D2}=r_{D2}\ cot(\theta)</math>
 
|}
 
 
 
Using these two points, which will be at the same angle phi around the z axis, a line can be created
 
 
 
<center><math>\vec d=r_{D2}cos(\phi)-r_{D1}cos(\phi)\ \hat x+r_{D2}sin(\phi)-r_{D1}sin(\phi)\ \hat y+r_{D2}cot(\theta)-r_{D1}cot(\theta)\ \hat z</math></center>
 
 
Since this line is composed of the difference in the cartesian components of the two points it acts as a direction vector pointing from one point to the next.  We can use the fact that a line in space is simply the intersection of two planes which in this situation results in the direction vector.  Finding the parametric form equation of this line
 
 
 
<center><math>(x,y,z)=(r_{D1}cos(\phi),\ r_{D1}sin(\phi),\ r_{D1}cot(\theta))+t(r_{D2}cos(\phi)-r_{D1}cos(\phi),\ r_{D2}sin(\phi)-r_{D1}sin(\phi),\ r_{D2}cot(\theta)-r_{D1}cot(\theta))</math></center>
 
 
 
Solving for the individual cartesian components
 
 
<center><math>x=r_{D1}cos(\phi)+t(r_{D2}cos(\phi)-r_{D1}cos(\phi))\qquad \qquad y=r_{D1}sin(\phi)+t(r_{D2}sin(\phi)-r_{D1}sin(\phi))\qquad \qquad z=r_{D1}cot(\theta)+t(r_{D2}cot(\theta)-r_{D1}cot(\theta))</math></center>
 
 
 
<center><math>\Rightarrow t=\frac{x-r_{D1}cos(\phi)}{r_{D2}cos(\phi)-r_{D1}cos(\phi)}=\frac{y-r_{D1}sin(\phi)}{r_{D2}sin(\phi)-r_{D1}sin(\phi)}=\frac{z-r_{D1}cot(\theta)}{r_{D2}cot(\theta)-r_{D1}cot(\theta)}</math></center>
 
 
 
Since this condition implies that the 3 equations listed above for all conditions, we can solve for the <math>\phi=0</math> situation which must then hold for all other instances of <math>\phi</math>
 
 
<center><math>\frac{x-r_{D1}cos(\phi)}{r_{D2}cos(\phi)-r_{D1}cos(\phi)}=\frac{z-r_{D1}cot(\theta)}{r_{D2}cot(\theta)-r_{D1}cot(\theta)}</math></center>
 
 
 
<center><math>\frac{x-r_{D1}cos(\phi)}{(r_{D2}-r_{D1})cos(\phi)}=\frac{z-r_{D1}cot(\theta)}{(r_{D2}-r_{D1})cot(\theta)}</math></center>
 
 
 
 
<center><math>\frac{(x-r_{D1}cos(\phi))(r_{D2}-r_{D1})cot(\theta)}{(r_{D2}-r_{D1})cos(\phi)}+r_{D1}cot(\theta)=z</math></center>
 
 
 
 
Using the condition that on the plane
 
 
<center><math>z_{plane}=-cot(65^{\circ})x+2.53</math></center>
 
 
We can substitute for z to find the point of intersection for the plane and cone at a given <math>\theta</math> and <math>\phi</math>
 
 
<center><math>\frac{ \left( x_P-r_{D1}cos(\phi) \right) cot(\theta)}{cos(\phi)}+r_{D1}cot(\theta)=-cot(65^{\circ})x_P+2.53</math></center>
 
 
 
 
<center><math> \left ( \frac{x_P}{cos(\phi)}+r_{D1}-r_{D1} \right )cot(\theta )=-cot(65^{\circ})x_P+2.53</math></center>
 
 
 
 
<center><math> \left ( \frac{x_P}{cos(\phi)} \right )cot(\theta )+cot(65^{\circ})x_P=2.53</math></center>
 
 
 
<center><math> \frac{x_P\ cot(\theta )}{cos(\phi)}+cot(65^{\circ})x_P=2.53</math></center>
 
 
 
 
<center><math> x_P \left (\frac{ cot(\theta)+cos(\phi)cot(65^{\circ})}{cos(\phi)}\right )=2.53</math></center>
 
 
 
 
<center><math>x_P(cot(\theta)+cos(\phi)cot(65^{\circ})=2.53cos(\phi)</math></center>
 
 
 
{| class="wikitable" align="center"
 
| style="background: gray"      | <math>x_P=\frac{2.53cos(\phi)}{(cot(\theta)+cos(\phi)cot(65^{\circ})}</math>
 
|}
 
 
 
 
<center><math>\Rightarrow t=\frac{x-r_{D1}cos(\phi)}{r_{D2}cos(\phi)-r_{D1}cos(\phi)}=\frac{y-r_{D1}sin(\phi)}{r_{D2}sin(\phi)-r_{D1}sin(\phi)}=\frac{z-r_{D1}cot(\theta)}{r_{D2}cot(\theta)-r_{D1}cot(\theta)}</math></center>
 
 
 
 
<center><math>\frac{x_P-r_{D1}cos(\phi)}{r_{D2}cos(\phi)-r_{D1}cos(\phi)}=\frac{y-r_{D1}sin(\phi)}{r_{D2}sin(\phi)-r_{D1}sin(\phi)}</math></center>
 
 
 
 
<center><math>(r_{D2}sin(\phi)-r_{D1}sin(\phi))\frac{(x_P-r_{D1}cos(\phi))}{r_{D2}cos(\phi)-r_{D1}cos(\phi)}=y_P-r_{D1}sin(\phi)</math></center>
 
 
 
<center><math>(r_{D2}-r_{D1})sin(\phi)\frac{(x_P-r_{D1}cos(\phi))}{(r_{D2}-r_{D1})cos(\phi)}=y_P-r_{D1}sin(\phi)</math></center>
 
 
 
 
<center><math>sin(\phi)\frac{(x_P-r_{D1}cos(\phi))}{cos(\phi)}=y_P-r_{D1}sin(\phi)</math></center>
 
 
 
 
<center><math>y_P=sin(\phi)\frac{(x_P-r_{D1}cos(\phi))}{cos(\phi)}+r_{D1}sin(\phi)</math></center>
 
 
 
 
<center><math>y_P=tan(\phi)x_P-r_{D1}sin(\phi)+r_{D1}sin(\phi)</math></center>
 
 
 
 
 
<center><math>y_P=tan(\phi)x_P-r_{D1}sin(\phi)+r_{D1}sin(\phi)</math></center>
 
 
 
 
 
<center><math>y_P=tan(\phi)\left (\frac{2.53cos(\phi)}{(cot(\theta)+cos(\phi)cot(65^{\circ})}\right )</math></center>
 
 
 
 
 
{| class="wikitable" align="center"
 
| style="background: gray"      | <math>y_P=\frac{2.53sin(\phi)}{(cot(\theta)+cos(\phi)cot(65^{\circ})}</math>
 
|}
 
 
 
<center><math>z_P=\frac{(x_P-r_{D1}cos(\phi))(r_{D2}-r_{D1})cot(\theta)}{(r_{D2}-r_{D1})cos(\phi)}+r_{D1}cot(\theta)</math></center>
 
 
 
 
<center><math>z_P=\frac{(x_P)cot(\theta)}{cos(\phi)}</math></center>
 
 
 
 
<center><math>z_P=\frac{(\frac{2.53cos(\phi)}{(cot(\theta)+cos(\phi)cot(65^{\circ})})cot(\theta)}{cos(\phi)}</math></center>
 
 
 
{| class="wikitable" align="center"
 
| style="background: gray"      | <math>z_P=\frac{2.53cot(\theta)}{(cot(\theta)+cos(\phi)cot(65^{\circ})}</math>
 
|}
 
 
 
 
====Test for <math>\theta=20</math> and <math>\phi=0</math>====
 
 
 
Solving for the components of the ellipse
 
 
<center><math>a_1=\frac{2.53sin(\theta)}{sin(115-\theta)}=\frac{2.53sin(20^{\circ})}{sin(115^{\circ}-20^{\circ})}=\frac{2.53\cdot.342}{.9962}=.8686</math></center>
 
 
 
<center><math>a_2=\frac{2.53sin(\theta)}{sin(65-\theta)}=\frac{2.53sin(20^{\circ})}{sin(65^{\circ}-20^{\circ})}=\frac{2.53\cdot.342}{.0872}=1.2237</math></center>
 
 
 
<center><math>c_{ellipse} \equiv (-\Delta a\ sin(65^{\circ}), 0,z+\Delta a\ cos(65^{\circ}))</math></center>
 
 
 
<center><math>c_{ellipse} \equiv (-\frac{a_2-a_1}{2} sin(65^{\circ}), 0,2.53+\frac{a_2-a_1}{2} cos(65^{\circ}))</math></center>
 
 
 
 
<center><math>c_{ellipse} \equiv (-\frac{1.2237-.8686}{2} sin(65^{\circ}), 0,2.53+\frac{1.2237-.8686}{2} cos(65^{\circ}))</math></center>
 
 
 
 
<center><math>c_{ellipse} \equiv (-\frac{.3550}{2} sin(65^{\circ}), 0,2.53+\frac{.3550}{2} cos(65^{\circ}))</math></center>
 
 
 
 
<center><math>c_{ellipse} \equiv (-.1775 sin(65^{\circ}), 0,2.53+.1775 cos(65^{\circ}))</math></center>
 
 
 
 
<center><math>c_{ellipse} \equiv (-.1609, 0,.0750)</math></center>
 
 
 
 
<center><math>P(\phi=0) \equiv (-\frac{a_2-a_1}{2} sin(65^{\circ})+\frac{a_1+a_2}{2} sin((65^{\circ}), 0,2.53+\frac{a_2-a_1}{2} cos(65^{\circ})-\frac{a_1+a_2}{2} cos(65^{\circ}))</math></center>
 
 
 
 
<center><math>P(\phi=0) \equiv (-\frac{1.2234-.8684}{2} sin(65^{\circ})+\frac{.8684+1.2234}{2} sin((65^{\circ}), 0,2.53+\frac{1.2234-.8684}{2} cos(65^{\circ})-\frac{.8684+1.2234}{2} cos(65^{\circ}))</math></center>
 
 
 
 
<center><math>P(\phi=0) \equiv (-\frac{.3550}{2} sin(65^{\circ})+\frac{2.0918}{2} sin((65^{\circ}), 0,2.53+\frac{.3550}{2} cos(65^{\circ})-\frac{2.0918}{2} cos(65^{\circ}))</math></center>
 
 
 
 
<center><math>P(\phi=0) \equiv (-.1775 sin(65^{\circ})+1.0459 sin((65^{\circ}), 0,2.53+.1775 cos(65^{\circ})-1.0459 cos(65^{\circ}))</math></center>
 
 
 
 
<center><math>P(\phi=0) \equiv (.7870, 0,2.1623)</math></center>
 
 
 
<center><math>x=\frac{2.53cos(\phi)}{cot(\theta)+cos(\phi)cot(65^{\circ})}</math></center>
 
 
 
 
<center><math>x=\frac{2.53cos(0)}{cot(20^{\circ})+cos(0)cot(65^{\circ})}</math></center>
 
 
 
 
<center><math>x=\frac{2.53}{2.7475+.4663}</math></center>
 
 
 
 
<center><math>x=\frac{2.53}{3.2138}=.7870\text{cm}</math></center>
 
 
 
The y component is zero for <math>\phi=0</math>
 
 
The z component can be found from the ellipse equation
 
 
<center><math>z=-cot(65^{\circ})x+2.53=-cot(65^{\circ})(.7870)+2.53=2.1623\ \text{cm}</math></center>
 
 
 
 
<center><math>e\equiv \frac{sin(25^{\circ})}{cos(20^{\circ})}=0.96447</math></center>
 
 
 
<center><math>r_{D1}=R_{Lower\ Dandelin}cos(\theta)=(ae-\Delta a) tan(65^{\circ})cos(\theta)\qquad \qquad r_{D2}=R_{Lower\ Dandelin}cos(\theta)=(ae+\Delta a) tan(65^{\circ})cos(\theta)</math></center>
 
 
 
 
<center><math>r_{D1}=(\frac{a_1+a_2}{2}e-\frac{a_2-a_1}{2}) tan(65^{\circ})cos(\theta)\qquad \qquad r_{D2}=(\frac{a_1+a_2}{2}e+\frac{a_2-a_1}{2}) tan(65^{\circ})cos(\theta)</math></center>
 
 
 
<center><math>r_{D1}=(\frac{.8686+1.2237}{2}e-\frac{1.2237-.8686}{2}) tan(65^{\circ})cos(\theta)\qquad \qquad r_{D2}=(\frac{.8686+1.2237}{2}e+\frac{1.2237-.8686}{2}) tan(65^{\circ})cos(\theta)</math></center>
 
 
 
<center><math>r_{D1}=(\frac{2.0923}{2}\frac{sin(25^{\circ})}{cos(20^{\circ})}-\frac{.3551}{2}) tan(65^{\circ})cos(20^{\circ})\qquad \qquad r_{D2}=(\frac{2.0923}{2}\frac{sin(25^{\circ})}{cos(20^{\circ})}+\frac{.3551}{2}) tan(65^{\circ})cos(20^{\circ}))</math></center>
 
 
 
 
<center><math>r_{D1}=(\frac{2.0923}{2}\frac{sin(25^{\circ})}{cos(20^{\circ})}-\frac{.3551}{2}) tan(65^{\circ})cos(20^{\circ})\qquad \qquad r_{D2}=(\frac{2.0923}{2}\frac{sin(25^{\circ})}{cos(20^{\circ})}+\frac{.3551}{2}) tan(65^{\circ})cos(20^{\circ}))</math></center>
 
 
 
<center><math>r_{D1}=(1.0459(.4497)-.1775)\cdot 2.1445\cdot .9397=.5901\ \text{m} \qquad \qquad r_{D2}=(1.0459(.4497)+.1775)\cdot 2.1445\cdot .9397=1.3055 \text{m}</math></center>
 
 
 
The height to the first directrix circle is
 
 
<center><math>z_{D1}=r_{D1} cot(\theta)=.5901cot(20)=1.6212</math></center>
 
 
and the x and y components are
 
<center><math>x_{D1}=r_{D1}\ cos(\phi)=.5901 cos(0)=.5901\text {m}\ \ \ \ y_{D1}=r_{D1}cos(\phi)=.5901 sin(0)=0</math></center>
 
 
 
The height to the second directrix circle is
 
 
<center><math>z_{D2}=r_{D2} cot(\theta)=1.3055cot(20)=3.5868\ \text{m}</math></center>
 
 
and the x and y components are
 
<center><math>x_{D2}=r_{D2} cos(\phi)=1.3055cos(0)=1.3055\text {m}\ \ \ \ y_{D2}=r_{D2} sin(\phi)=1.3055sin(0)=0</math></center>
 
 
 
The distance between the two point
 
 
<center><math>\sqrt{(1.3055-.5901)^2+(0-0)^2+(3.5868-1.6212)^2}=\sqrt{.715^2+1.9656^2}=2.09\text {m}</math></center>
 
 
 
This should be equal to 2a
 
 
<center><math>2a=2(\frac{a_1+a_2}{2})=2(\frac{.8684+1.2234}{2})=2.09\text {m}</math></center>
 
 
 
This gives the components for a point on the directrix circles as
 
 
{| class="wikitable" align="center"
 
| style="background: gray"      | <math>x_{D1}=r_{D1}\ cos(\phi)=.5901cos(0)=.5901\text {m}\qquad y_{D1}=r_{D1}cos(\phi)=.5901 sin(0)=0\qquad z_{D1}=r_{D1} cot(\theta)=.5901cot(20)=1.6212\ \text{m}</math>
 
|}
 
 
{| class="wikitable" align="center"
 
| style="background: gray"      | <math>x_{D2}=r_{D2} cos(\phi)=1.3055cos(0)=1.3055\text {m}\qquad y_{D2}=r_{D2} sin(\phi)=1.3055sin(0)=0\qquad z_{D2}=r_{D2} cot(\theta)=1.3055cot(20)=3.5868\ \text{m}</math>
 
|}
 
 
 
{| class="wikitable" align="center"
 
| style="background: gray"      | <math>x_P=\frac{2.53cos(\phi)}{(cot(\theta)+cos(\phi)cot(65^{\circ})}=\frac{2.53cos(0)}{(cot(20^{\circ})+cos(0)cot(65^{\circ})}=0.7872\qquad y_P=\frac{2.53sin(\phi)}{(cot(\theta)+cos(\phi)cot(65^{\circ})}=\frac{2.53sin(0)}{(cot(20^{\circ})+cos(0)cot(65^{\circ})}=0\qquad z_P=\frac{2.53cot(\theta)}{(cot(\theta)+cos(\phi)cot(65^{\circ})}=\frac{2.53cot(20^{\circ})}{(cot(20^{\circ})+cos(0)cot(65^{\circ})}=2.1623</math>
 
|}
 
 
<center><math>D2P=\sqrt{(x_{D2}-x_P)^2+(y_{D2}-y_P)^2+(z_{D2}-z_P)^2}=\sqrt{(1.3055-0.7872)^2+(0-0)^2+(3.5868-2.1623)^2}=\sqrt{(.5183)^2+(1.445)^2}=\sqrt{.2686+2.12}=1.516\ \text{m}</math></center>
 
 
 
<center><math>D1P=\sqrt{(x_P-x_{D1})^2+(y_P-y_{D1})^2+(z_P-z_{D1})^2}=\sqrt{(0.7872-.5901)^2+(0-0)^2+(2.1623-1.6212)^2}=\sqrt{(.1971)^2+(.5411)^2}=\sqrt{.0388+.2927}=.576\ \text{m}</math></center>
 
 
===In the plane===
 
We can use the geometry of the sector to impose limits on the allowed x and y for this plane.  The angle which the two sides of the triangle that make up the sector is given as <math>59^{\circ}</math>.  Each focii will have a ray that creates a circle around the point that is equal to the length found from the D1P and D2P lines.  These circles will overlap at a common y component, which can be used to determine if the point is within the detector limits.
 
 
<center>[[File:Sector1plane.png]]</center>
 
 
Using the physical constraints of the distance the interior walls of the side walls intersect each other from the beam line, as well as the angle the lowest guard wire at the plane midpoint.
 
 
<center>[[File:Detector_constraints.png]]</center>
 
 
where b' is the location on the y' axis where the two interior side walls of the sector intersect. 
 
<center><math>b'=\frac{0.08298\ m}{sin(65^{\circ})}=.09156\ m</math></center>
 
 
 
 
The quantity <math>x_0^'</math> is the corresponding x' distance from the beam line and detector plane intersection.
 
<center><math>\frac{x_0^'}{sin(4.694^{\circ})}=\frac{2.53\ m}{sin(110.306^{\circ})}</math></center>
 
 
 
 
<center><math>x_0^'=\frac{sin(4.694^{\circ})2.53\ m}{sin(110.306^{\circ})}=.0872(2.53)=.22070/ m</math></center>
 
 
 
Since the interior sides of the sector make an angle of <math>59^{\circ}</math> in the plane of the wires, this can be represented by equations
 
 
 
 
<center><math>x'=\pm cot(29.5^{\circ})y^'+.09156\ m</math></center>
 
 
 
 
 
Using the properties of an ellipse, we can work in the coordinates of the ellipse, in the plane of the ellipse, where the vertex is located at the crossing of the ellipse and the cone.  Since the Dandelin construction was used, we know that
 
 
<center><math>F1P=D1P\qquad \text{and}\ F2P=D2P</math></center>
 
 
 
If we shift the origin from the center of the ellipse to the intersection of the plane and cone for a given theta
 
 
<center><math>c_{ellipse}\equiv(-\Delta a,0)</math></center>
 
 
 
<center><math>F1\equiv (-\Delta a+ae,0)\qquad F2\equiv (-\Delta a-ae,0)</math></center>
 
 
 
 
 
Writing the equations for circles centered at an ellipse focii points, we find
 
 
<center><math>x_1^{'2}+y_1^{'2}=r_1^{'2}\qquad \qquad x_2+^{'2}+y_2^{'}2=r_2^{'2}</math></center>
 
 
 
<center><math>r_1^{'2}-x_1^{'2}=y_1^{'2}\qquad \qquad y_2^{'2}=r_2^{'2}-x_2^{'2}</math></center>
 
 
 
 
Since the focii are seperated by 2ae as found earlier
 
 
<center><math>x_2^'=x_1^'+2ae</math></center>
 
 
 
<center><math>r_1^{'2}-x_1^{'2}=r_2^{'2}-(x_1^'+2ae)^2</math></center>
 
 
 
 
 
<center><math>r_1^{'2}-r_2^{'2}=-4x_1^'ae-4a^2e^2</math></center>
 
 
 
<center><math>r_2^{'2}-r_1^{'2}=8ae(x_1^'+ae+\Delta a)</math></center>
 
 
 
 
<center><math>\frac{r_2^{'2}-r_1^{'2}}{4ae}-ae=x_1^'</math></center>
 
 
 
====Test for <math>\theta=20</math> and <math>\phi=0</math>====
 
 
Substituting in the values found earlier for the case of <math>\theta=20^{\circ}</math> and <math>\phi=0</math>
 
 
 
<center><math>a=\frac{a_1+a_2}{2}=1.0459</math></center>
 
 
 
 
 
<center><math>e\equiv \frac{sin(25^{\circ})}{cos(\theta)}= \frac{sin(25^{\circ})}{cos(20^{\circ})}=.4497</math></center>
 
 
 
<center><math>x_1^'=\frac{r_2^{'2}-r_1^{'2}}{4ae}-ae=\frac{r_2^{'2}-r_1^{'2}}{4(1.0459)(.4497)}-(1.0459)(.4497)</math></center>
 
 
 
 
 
Since
 
<center><math>\lVert \overrightarrow{D1P} \rVert \equiv \lVert \overrightarrow{F1P} \rVert \qquad \qquad \lVert \overrightarrow{D2P} \rVert \equiv \lVert \overrightarrow{F2P} \rVert</math></center>
 
 
 
 
<center><math>D1P \approx .576\ \text{m}\qquad D2P \approx 1.516\ \text{m}</math></center>
 
 
The <math>x_1^' </math> distance from focal point 1 is:
 
<center><math>x_1^'=\frac{1.516^2-.576^2}{4(1.0459)(.4497)}-(1.0459)(.4497)=\frac{1.97}{1.88}-.4703=.576\ \text{m}=r_1</math></center>
 
 
This is the radius from focal point 1, which is to be expected since the y component is equal to zero for <math>\phi=0</math>
 
 
 
The focii are located at
 
<center><math>F1\equiv (-\Delta a+ae,0)=(-.1775+1.0459(.4497),0)=(.292,0)\ \text{m}\qquad F2\equiv (-\Delta a-ae,0)=(-.1775-1.0450(.4497),0)=(-6.478,0)\ \text{m}</math></center>
 
 
 
This implies that with respect to the origin, x', we find
 
<center><math>x'=x_1'+\Delta a+ae=.576+.292=.868\ \text{m}</math></center>
 
 
====Test for <math>\theta=20</math> and <math>\phi=1</math>====
 
All previous quantities where calculated for <math>\theta=20^{\circ}</math> and do not depend on the angle <math>\phi</math>.  The quantities that do change
 
 
{| class="wikitable" align="center"
 
| style="background: gray"      | <math>x_{D1}=r_{D1}\ cos(\phi)=.5901cos(1^{\circ}))=.5900\text {m}\qquad y_{D1}=r_{D1}cos(\phi)=.5901 sin(1^{\circ}))=.0103\qquad z_{D1}=r_{D1} cot(\theta)=.5901cot(20)=1.6212\ \text{m}</math>
 
|}
 
 
{| class="wikitable" align="center"
 
| style="background: gray"      | <math>x_{D2}=r_{D2} cos(\phi)=1.3055cos(1^{\circ}))=1.3053\text {m}\qquad y_{D2}=r_{D2} sin(\phi)=1.3055sin(1^{\circ}))=.0228\qquad z_{D2}=r_{D2} cot(\theta)=1.3055cot(20)=3.5868\ \text{m}</math>
 
|}
 
 
 
{| class="wikitable" align="center"
 
| style="background: gray"      | <math>x_P=\frac{2.53cos(\phi)}{(cot(\theta)+cos(\phi)cot(65^{\circ})}=\frac{2.53cos(1^{\circ}))}{(cot(20^{\circ})+cos(1^{\circ}))cot(65^{\circ})}=0.7869</math>
 
|}
 
 
{| class="wikitable" align="center"
 
| style="background: gray"      | <math>y_P=\frac{2.53sin(\phi)}{(cot(\theta)+cos(\phi)cot(65^{\circ})}=\frac{2.53sin(1^{\circ}))}{(cot(20^{\circ})+cos(1^{\circ}))cot(65^{\circ})}=.0137</math>
 
|}
 
 
{| class="wikitable" align="center"
 
| style="background: gray"      | <math>z_P=\frac{2.53cot(\theta)}{(cot(\theta)+cos(\phi)cot(65^{\circ})}=\frac{2.53cot(20^{\circ})}{(cot(20^{\circ})+cos(1^{\circ}))cot(65^{\circ})}=2.1624</math>
 
|}
 
 
 
<center><math>D2P=\sqrt{(x_{D2}-x_P)^2+(y_{D2}-y_P)^2+(z_{D2}-z_P)^2}=\sqrt{(1.3053-0.7869)^2+(.0228-.0137)^2+(3.5868-2.1624)^2}=\sqrt{(.5184)^2+(.0091)^2+(1.4244)^2}=1.5158\ \text{m}</math></center>
 
 
 
<center><math>D1P=\sqrt{(x_P-x_{D1})^2+(y_P-y_{D1})^2+(z_P-z_{D1})^2}=\sqrt{(0.7871-.5900)^2+(.0137-.0103)^2+(2.1624-1.6212)^2}=\sqrt{(.1971)^2+(.0034)^2+(.5412)^2}=.5758\ \text{m}</math></center>
 
 
 
Using the pythagorean theorem
 
<center><math>y=\sqrt{.576^2-.412^2}=.403\ \text{m}</math></center>
 
 
 
The two possible answers denote shifting to the left on right on the y axis.  We take the direction of positive and negative to be the same as the sign convention for the angle phi starting on the x axis and shifting positive clockwise.
 
 
 
 
 
<center><math>\theta\equiv 4.49876 +0.293001 n+0.000679074 n^2-3.57132\times 10^{-6} n^3</math></center>
 
 
As discussed earlier, taking the 1st derivative of this function will give us the spacing of the bins as a function of wire number.
 
 
<center><math>\theta '\equiv 0.293001 + 0.00135815 n - 0.000010714 n^2</math></center>
 
 
 
 
<center>[[File:DC_stereo.png]]</center>
 

Latest revision as of 04:14, 4 March 2017