ATLAS Offline Software
Loading...
Searching...
No Matches
BeamSpotWebPage.py
Go to the documentation of this file.
1# Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
2
3"""
4ATLAS beam spot web page template, based on generic WebPage template.
5"""
6
7__author__ = 'Juerg Beringer'
8__version__ = 'BeamSpotWebPage.py atlas/athena'
9
10
11import os
12from WebPage import WebPage
13
14
15header = """\
16<img id="logo" src="../images/logo.png">
17<h1>%(pageTitle)s</h1>
18<ul>
19<li><a %(href_t0Summary)s>T0 Summary</a></li>
20<li><a %(href_bcidSummary)s>PerBCID</a></li>
21<li><a %(href_reprocSummary)s>Reprocessing</a></li>
22<li><a %(href_jobs)s>Jobs</a></li>
23<li><a %(href_files)s>Job files</a></li>
24<li><a %(href_webplots)s>Overview</a></li>
25<li><a %(href_myplots)s>Plots</a></li>
26<li><a href="http://atlasdqm.cern.ch/webdisplay/tier0/">DQMF</a></li>
27<li><a href="https://twiki.cern.ch/twiki/bin/view/Atlas/BeamSpot">TWiki</a></li>
28</ul>
29<br class="clearfloat" />
30"""
31
32footer = """\
33<div class="floatleft">
34Contact:
35<script type="text/javascript">
36var a = 'juerg'
37var b = '.beringer'
38var c = '@cern.ch'
39document.write('<a href="mailto:'+a+b+c+'">Juerg Beringer</a>')
40</script>
41</div>
42<div class="floatright">%(timeStamp)s</div>
43<div style="clear: both;"></div>
44"""
45
46
48
49 def configure(self):
50 self.pageConfig['cssName'] = self.globalConfig.baseUrl+'/css/beamspot.css'
51 if not self.pageConfig.get('pageTitle',''):
52 self.pageConfig['pageTitle'] = 'ATLAS Beam Spot Web Page'
53 self.pageConfig['header'] = header
54 self.pageConfig['footer'] = footer
55 WebPage.configure(self)
56
57
59 def __init__(self):
60 BeamSpotWebPage.__init__(self,content="<h3>We're sorry, this feature is not yet available.</h3>")
T * get(TKey *tobj)
get a TObject* from a TKey* (why can't a TObject be a TKey?)
Definition hcg.cxx:130