-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
executable file
·142 lines (129 loc) · 3.17 KB
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
<html>
<head>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
<style type="text/css">
th { white-space: nowrap; font-weight: 400; font-style: italic;}
.input-group { max-width: 15rem }
</style>
<title>MIT Cosmic Muon</title>
</head>
<body>
<div class="container">
<h1>MIT Cosmic Ray Muon Rate Calculator</h1>
<h4>http://cyclo.lns.mit.edu/muon/</h4>
<h4>Please contact <b>[email protected]</b> for any question.</h4>
<hr>
<img src="scheme.png" style="width:450px;height=300px">
<!-- input form -->
<hr>
<form name="input_form" action="result.php" method="post">
<table class='table'>
<tr>
<th>
Upper counter
</th>
<td>
<label>Length (al):</label>
<div class="input-group">
<input class='form-control' type="number" name="l1" step=0.1 value=1>
<div class="input-group-addon">cm</div>
</div>
</td>
<td>
<label>Width (aw):</label>
<div class="input-group">
<input class='form-control' type="number" name="w1" step=0.1 value=1>
<div class="input-group-addon">cm</div>
</div>
</td>
</tr>
<tr>
<th>
Lower counter
</th>
<td>
<label>Length (bl):</label>
<div class="input-group">
<input class='form-control' type="number" name="l2" step=0.1 value=1>
<div class="input-group-addon">cm</div>
</div>
</td>
<td>
<label>Width (bw):</label>
<div class="input-group">
<input class='form-control' type="number" name="w2" step=0.1 value=1>
<div class="input-group-addon">cm</div>
</div>
</td>
</tr>
<tr>
<th>
Offset Between Planes
</th>
<td>
<label>Length (fl):</label>
<div class="input-group">
<input class='form-control' type="number" name="loff" step=0.1 value=0>
<div class="input-group-addon">cm</div>
</div>
</td>
<td>
<label>Width (fw):</label>
<div class="input-group">
<input class='form-control' type="number" name="woff" step=0.1 value=0>
<div class="input-group-addon">cm</div>
</div>
</td>
</tr>
<tr>
<th>
Distance Between Two Counters
</th>
<td>
<label>Height (h):</label>
<div class="input-group">
<input class="form-control" type="number" name="distance" step=0.1 value=0>
<div class="input-group-addon">cm</div>
</div>
</td>
</td>
<td>
</tr>
<tr>
<th>
Normalized Rate
</th>
<td>
<label>Rate:</label>
<div class="input-group">
<input class="form-control" type="number" name="norm_rate" value=1 step=0.1 value=1>
<div class="input-group-addon">/cm2/min</div>
</div>
</td>
</td>
<td>
</tr>
<tr>
<th>
Number of Generated MC Events:<br>
</th>
<td>
<label>Number:</label>
<div class="input-group">
<input class="form-control" type="number" name="n_event" value=40000>
<div class="input-group-addon">#</div>
</div>
</td>
</td>
<td>
</tr>
</table>
<br>
<div class="well">
<input type="submit" class='btn btn-primary btn-lg' name="submit" value="Calculate!">
</div>
</form>
<hr>
</div>
</body>
</html>