Difference between revisions of "DC Super Layer 1:Layer 1"
Line 109: | Line 109: | ||
{| border=1 align=center | {| border=1 align=center | ||
− | |+ Table | + | |+ Table 4: Calculated Superlayer 1 Wire-Angle Theta Correspondence in Degrees |
|- style="font-weight:bold; text-align:center;" | |- style="font-weight:bold; text-align:center;" | ||
! style=" border:1px solid gray;"|Wire Number | ! style=" border:1px solid gray;"|Wire Number | ||
! style=" border:1px solid gray;"|Layer 1 | ! style=" border:1px solid gray;"|Layer 1 | ||
− | + | ||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
| style="border:1px solid gray;"|'''1''' | | style="border:1px solid gray;"|'''1''' | ||
− | + | | style="border:1px solid gray;"|5.23 | |
− | |||
− | |||
− | |||
− | |||
− | | style="border:1px solid gray;"|5. | ||
|- | |- | ||
| style="border:1px solid gray;"|''' 2''' | | style="border:1px solid gray;"|''' 2''' | ||
− | | style="border:1px solid gray;"|5. | + | | style="border:1px solid gray;"|5.53 |
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
| style="border:1px solid gray;"|'''77''' | | style="border:1px solid gray;"|'''77''' | ||
− | | style="border:1px solid gray;"|29. | + | | style="border:1px solid gray;"|29.80 |
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
| style="border:1px solid gray;"|'''78''' | | style="border:1px solid gray;"|'''78''' | ||
− | | style="border:1px solid gray;"| | + | | style="border:1px solid gray;"|30.13 |
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
| style="border:1px solid gray;"|'''79''' | | style="border:1px solid gray;"|'''79''' | ||
− | | style="border:1px solid gray;"|30. | + | | style="border:1px solid gray;"|30.46 |
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
| style="border:1px solid gray;"|'''110''' | | style="border:1px solid gray;"|'''110''' | ||
− | | style="border:1px solid gray;"|40. | + | | style="border:1px solid gray;"|40.45 |
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
| style="border:1px solid gray;"|'''111''' | | style="border:1px solid gray;"|'''111''' | ||
− | | style="border:1px solid gray;"|40. | + | | style="border:1px solid gray;"|40.76 |
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
| style="border:1px solid gray;"|''' 112''' | | style="border:1px solid gray;"|''' 112''' | ||
− | | style="border:1px solid gray;"| | + | | style="border:1px solid gray;"|41.07 |
− | |||
− | |||
− | |||
− | |||
− | |||
|} | |} | ||
Line 187: | Line 143: | ||
Declaring the data set: | Declaring the data set: | ||
<pre> | <pre> | ||
− | In[ | + | In[4]:= data1={{1,5.23},{2,5.53},{77,29.80},{78,30.13},{79,30.46},{110,40.45},{111,40.76},{112,41.07}} |
− | Out[ | + | Out[4]= {{1,5.23},{2,5.53},{77,29.8},{78,30.13},{79,30.46},{110,40.45},{111,40.76},{112,41.07}} |
</pre> | </pre> | ||
Line 195: | Line 151: | ||
Testing for a linear fit: | Testing for a linear fit: | ||
<pre> | <pre> | ||
− | In[ | + | In[5]:= line1=Fit[data1,{1,n},n] |
− | Out[ | + | Out[5]= 4.90443 +0.323148 n |
</pre> | </pre> | ||
− | + | Examining the range limits for the angle theta for layer 1: | |
Line 206: | Line 162: | ||
Taking the difference of the upper and lower limits in theta, | Taking the difference of the upper and lower limits in theta, | ||
− | <center><math>\Delta degrees= | + | <center><math>\Delta degrees=41.07^{\circ}-5.23^{\circ}=35.84^{\circ}</math></center> |
Dividing by the change in wire numbers (112-1=111), we find | Dividing by the change in wire numbers (112-1=111), we find | ||
− | <center><math>\frac{\Delta degrees}{\Delta wire\ number}=\frac{ | + | <center><math>\frac{\Delta degrees}{\Delta wire\ number}=\frac{35.84^{\circ}}{111\ wires}\approx\ \frac{0.323^{\circ}}{wire\ number}</math></center> |
− | This would imply that if the wires were evenly placed, their change in angle theta would increase by the factor of . | + | This would imply that if the wires were evenly placed, their change in angle theta would increase by the factor of .323 degrees for each increase in wire number, starting obviously with wire 1 at 5.23 degrees. In addition, this implies that the bin spacing for each wire would be around .323 degrees in width. |
− | + | Checking this, we can find the difference between wires 1 and 2, | |
− | <center><math>\frac{\Delta degree}{\Delta wire\ number}=\frac{5. | + | <center><math>\frac{\Delta degree}{\Delta wire\ number}=\frac{5.53^{\circ}-5.23^{\circ} }{wire\ number}=\frac{.3^{\circ}}{wire\ number} </math></center> |
Similarly, finding the difference between wires 111 and 112, | Similarly, finding the difference between wires 111 and 112, | ||
− | <center><math>\frac{\Delta degree}{\Delta wire\ number}=\frac{ | + | <center><math>\frac{\Delta degree}{\Delta wire\ number}=\frac{41.07^{\circ}-40.76^{\circ}}{wire\ number}=\frac{.31^{\circ}}{wire\ number}</math></center> |
Line 234: | Line 190: | ||
Testing for a quadratic fit: | Testing for a quadratic fit: | ||
<pre> | <pre> | ||
− | In[ | + | In[6]:= quad1=Fit[data1,{1,n,n^2},n] |
− | Out[ | + | Out[6]= 4.89326 +0.324556 n-0.0000129154 n^2 |
</pre> | </pre> | ||
The quadratic fit does not work since it's first derivative | The quadratic fit does not work since it's first derivative | ||
− | <center><math>\theta'\approx \Delta \theta=. | + | <center><math>\theta'\approx \Delta \theta=0.324556 -0.0000258\ n</math></center> |
does not give the same spacing between low and high values of n as seen in the ced data. The coefficient near the first order will have to smaller than .31 to find a correlation that would agree. | does not give the same spacing between low and high values of n as seen in the ced data. The coefficient near the first order will have to smaller than .31 to find a correlation that would agree. | ||
Line 247: | Line 203: | ||
Testing for a polynomial of degree 3 fit: | Testing for a polynomial of degree 3 fit: | ||
<pre> | <pre> | ||
− | In[ | + | In[7]:= polynomial1=Fit[data1,{1,n,n^2,n^3},n] |
− | Out[ | + | Out[7]= 4.93253 +0.297371 n+0.000566298 n^2-3.04016*10^-6 n^3 |
</pre> | </pre> | ||
Revision as of 17:04, 24 May 2017
DC Super Layer 1:Layer 1
From the ced simulations
Coordinates(cm) | Layer 1 | Layer 2 | Layer 3 | Layer 4 | Layer 5 | Layer 6 |
---|---|---|---|---|---|---|
1.22 | 1.22 | 1.22 | 1.22 | 1.21 | 1.22 | |
0.00 | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 | |
.55 | .56 | .57 | .57 | .57 | .57 |
While the wire placement is off, the difference in x and z position is matched by the calculated values. Using the geometric construction for determining angle theta to wire 2:
This equation can be solved for a hypothetical wire 0, which will allow the wire number to be the multiplicative factor for the change from the starting position.
where
Using Mathematica, a series expansion about n=0 can be found:
In[2]:= Series[ArcTan[(20.9972+1.212 n)/(243.1431-0.5652 n)],{n,0,4}] Out[2]= 0.0861437+0.00514708 n+9.67686*10^-6 n^2-2.72596*10^-8 n^3-2.22159*10^-10 n^4+O[n]^5
This expression will find the angle theta in radians given the wire number. To convert from radians to degrees, we can multiply by 180 and divide by Pi.
In[3]:= 180(0.08614365821719583`+0.005147076698801422` n+9.676859262994711`*^-6 n^2-2.7259639443492433`*^-8 n^3-2.2215881081233252`*^-10 n^4+O[n]^5)/3.14159265359 Out[3]= 4.93567+0.294906 n+0.000554443 n^2-1.56186*10^-6 n^3-1.27288*10^-8 n^4+O[n]^5
This tells us that the expression for theta will follow a function that comes from a series expansion. Using Mathematica, a line can be fitted to the data collected on the wire number to angle theta correspondence.
Wire Number | Layer 1 |
---|---|
1 | 5.23 |
2 | 5.53 |
77 | 29.80 |
78 | 30.13 |
79 | 30.46 |
110 | 40.45 |
111 | 40.76 |
112 | 41.07 |
Declaring the data set:
In[4]:= data1={{1,5.23},{2,5.53},{77,29.80},{78,30.13},{79,30.46},{110,40.45},{111,40.76},{112,41.07}} Out[4]= {{1,5.23},{2,5.53},{77,29.8},{78,30.13},{79,30.46},{110,40.45},{111,40.76},{112,41.07}}
Testing for a linear fit:
In[5]:= line1=Fit[data1,{1,n},n] Out[5]= 4.90443 +0.323148 n
Examining the range limits for the angle theta for layer 1:
Taking the difference of the upper and lower limits in theta,
Dividing by the change in wire numbers (112-1=111), we find
This would imply that if the wires were evenly placed, their change in angle theta would increase by the factor of .323 degrees for each increase in wire number, starting obviously with wire 1 at 5.23 degrees. In addition, this implies that the bin spacing for each wire would be around .323 degrees in width.
Checking this, we can find the difference between wires 1 and 2,
Similarly, finding the difference between wires 111 and 112,
These differing values show that the bin width is not uniform in length, therefore a first order, linear fit, will not suffice.
Testing for a quadratic fit:
In[6]:= quad1=Fit[data1,{1,n,n^2},n] Out[6]= 4.89326 +0.324556 n-0.0000129154 n^2
The quadratic fit does not work since it's first derivative
does not give the same spacing between low and high values of n as seen in the ced data. The coefficient near the first order will have to smaller than .31 to find a correlation that would agree.
Testing for a polynomial of degree 3 fit:
In[7]:= polynomial1=Fit[data1,{1,n,n^2,n^3},n] Out[7]= 4.93253 +0.297371 n+0.000566298 n^2-3.04016*10^-6 n^3
This fit best matches the data found in ced
As discussed earlier, taking the 1st derivative of this function will give us the spacing of the bins as a function of wire number.
The derivative of this function then will tell us where the bin spacing is at a minimum and a maximum.
Comparing this maximum, we can see from Table 3 that near the maximum of 63 are separated by larger distances than at n=1 or n=112. This is the midpoint of the plane as seen in the geometry file.