Upload
helki
View
30
Download
0
Embed Size (px)
DESCRIPTION
Data Analysis Program. The program receives input from the labview program The data is in decimal format in a .txt file Each set of two rows is an event The first row represents the tube number The second row holds the time that the signal was received from the tube. 0 0 0 4 0 6 7 0 9 0 - PowerPoint PPT Presentation
Citation preview
Data Analysis Program
Input
• The program receives input from the labview program
• The data is in decimal format in a .txt file
• Each set of two rows is an event
• The first row represents the tube number
• The second row holds the time that the signal was received from the tube.
• 0 0 0 4 0 6 7 0 9 0 • 0 0 0 3 0 8 9 0 11 0
• 1 0 3 0 5 0 0 9 0 0• 16 0 3 0 8 0 0 10 0
• 0 2 3 0 6 0 9 0 0 0• 0 8 7 0 2 0 10 0 0 0
Output
• Our goal is to output/display graphs of the muon’s track through the chambers.
• The program will display these on the console and output them to a storage folder
Finding The Track
Finding The Track
Points of Tangency
))sin(),cos((
))sin(),cos((
2222
1111
ryrxB
ryrxA
A
B
Tangent Line Slope
• Slope of radial line:
• Slope of tangent:
).
.()tan(Adj
Opp
)tan(
1
m
x
ym
or
Equation)()( 1212 yxmyy
)))cos(((tan
1)())sin((( 122122 xrxyry
)tan(
1
m
6
5
4
3
1211
21
6
5
4
3
1121
12
2
1
1211
12
180
180
)(tan)(cos
:3_
)(
180
180
)(tan)(cos
:2_
)(
180
360
)(cos)(tan
:1_
)(
x
y
d
rr
CASE
rrIf
x
y
d
rr
CASE
rrIf
d
rr
x
y
CASE
xxIf
)))cos(()())sin((( 12221222 xrxmyry
360
360
180
180
)(tan)(cos
:3_
)(
360
360
180
180
)(tan)(cos
:2_
)(
180
)(cos)(tan
:1_
)(
6
5
4
3
1211
21
6
5
4
3
1121
12
2
1
1211
21
x
y
d
rr
CASE
rrIf
x
y
d
rr
CASE
rrIf
d
rr
x
y
CASE
xxIf
Looks All Good