1 |
mangano |
1.1 |
<html>
|
2 |
|
|
<head>
|
3 |
|
|
<title><?php echo getcwd(); ?></title>
|
4 |
|
|
<style type='text/css'>
|
5 |
|
|
body {
|
6 |
|
|
font-family: sans-serif;
|
7 |
|
|
}
|
8 |
|
|
div.pic {
|
9 |
|
|
display: block;
|
10 |
|
|
float: left;
|
11 |
|
|
height: 350px;
|
12 |
|
|
width: 350px;
|
13 |
|
|
overflow: hidden;
|
14 |
|
|
border: 1px solid gray;
|
15 |
|
|
margin: 3px;
|
16 |
|
|
text-align: center;
|
17 |
|
|
}
|
18 |
|
|
h3 { font-size: small; }
|
19 |
|
|
div.notes {
|
20 |
|
|
display: block; position: fixed;
|
21 |
|
|
width: 40%; right: 5px; top: 5px;
|
22 |
|
|
border: 2px solid black;
|
23 |
|
|
font-size: 10pt;
|
24 |
|
|
background-color: rgb(220,220,200);
|
25 |
|
|
}
|
26 |
|
|
div.notes dl { margin: 5px; 5px; }
|
27 |
|
|
dt, dd span { font-weight: bold; }
|
28 |
|
|
</style>
|
29 |
|
|
</head>
|
30 |
|
|
<body>
|
31 |
|
|
<h1><?php echo getcwd(); ?></h1>
|
32 |
|
|
<h2><a name="plots">Plots</a></h2>
|
33 |
|
|
<p><form>Filter: <input type="text" name="match" size="30" value="<?php if (isset($_GET['match'])) print htmlspecialchars($_GET['match']); ?>" /><input type="Submit" value="Go" /></form></p>
|
34 |
|
|
<div>
|
35 |
|
|
<?php
|
36 |
|
|
if ($_GET['noplots']) {
|
37 |
|
|
print "Plots will not be displayed.\n";
|
38 |
|
|
} else {
|
39 |
|
|
$other_exts = array('.pdf', '.cxx', '.eps');
|
40 |
|
|
foreach (glob("*.png") as $filename) {
|
41 |
|
|
if (isset($_GET['match']) && !fnmatch('*'.$_GET['match'].'*', $filename)) continue;
|
42 |
|
|
print "<div class='pic'>\n";
|
43 |
|
|
print "<h3><a href=\"$filename\">$filename</a></h3>";
|
44 |
|
|
print "<a href=\"$filename\"><img src=\"$filename\" style=\"border: none; width: 300px; \"></a>";
|
45 |
|
|
$others = array();
|
46 |
|
|
foreach ($other_exts as $ex) {
|
47 |
|
|
if (file_exists(str_replace('.png', $ex, $filename))) {
|
48 |
|
|
array_push($others, "<a class=\"file\" href=\"".str_replace('.png', $ex, $filename)."\">[" . $ex . "]</a>");
|
49 |
|
|
}
|
50 |
|
|
}
|
51 |
|
|
if ($others) print "<p>Also as ".implode(', ',$others)."</p>";
|
52 |
|
|
print "</div>";
|
53 |
|
|
}
|
54 |
|
|
}
|
55 |
|
|
?>
|
56 |
|
|
</div>
|
57 |
|
|
<div style="display: block; clear:both;">
|
58 |
|
|
<h2><a name="files">Other files</a></h2>
|
59 |
|
|
<ul>
|
60 |
|
|
<?
|
61 |
|
|
foreach (glob("*") as $filename) {
|
62 |
|
|
if ($_GET['noplots'] || !preg_match('/.*\.png$/', $filename)) {
|
63 |
|
|
print "<li><a href=\"$filename\">$filename</a></li>";
|
64 |
|
|
}
|
65 |
|
|
}
|
66 |
|
|
?>
|
67 |
|
|
</ul>
|
68 |
|
|
</div>
|
69 |
|
|
<div class="notes">
|
70 |
|
|
<dl>
|
71 |
|
|
<dt style="color: rgb(0,180,0);">Tracks</dt><dd>Shown for pt > 0.7 GeV and quality highPurity. Hits on track shown in <span style="color: rgb(0,0,180);">blue</span></dd>
|
72 |
|
|
<dt style="color: rgb(180,0,0);">Muons</dt><dd>Shown global or arbitrated tracker, hits also shown in <span style="color: rgb(100,0,180);">violet</span></dd>
|
73 |
|
|
<dt style="color: #FFD700;">Electrons</dt><dd>Shown without any selection.</dd>
|
74 |
|
|
<dt>MET</dt><dd>PF missing energy in <span style="color: rgb(0,0,180);">blue</span>, TC missing energy in <span style="color: rgb(0,180,0);">green</span></dd>
|
75 |
|
|
</dl>
|
76 |
|
|
</div>
|
77 |
|
|
|
78 |
|
|
</body>
|
79 |
|
|
</html>
|
80 |
|
|
|