ATLAS Offline Software
Loading...
Searching...
No Matches
MyPlots Namespace Reference

Classes

class  MyPlots

Functions

 error (msg)

Variables

str __author__ = 'Juerg Beringer'
str __version__ = 'MyPlots.py atlas/athena'
str cmdoutput
str image
 page = MyPlots()

Detailed Description

ATLAS beam spot web page for letting users create their customized beam spot plots.

Function Documentation

◆ error()

error ( msg)
Utility to render an error message.

Definition at line 49 of file MyPlots.py.

49def error(msg):
50 """Utility to render an error message."""
51 return htmlText(msg,'class="errormsg"',escapeText=True)
52
53

Variable Documentation

◆ __author__

str MyPlots.__author__ = 'Juerg Beringer'
private

Definition at line 8 of file MyPlots.py.

◆ __version__

str MyPlots.__version__ = 'MyPlots.py atlas/athena'
private

Definition at line 9 of file MyPlots.py.

◆ cmdoutput

str MyPlots.cmdoutput
Initial value:
= """\
<div class="boldtext">
Command:
</div>
<pre class="text">
%s
</pre>
<div class="boldtext">
Output (status %s):
</div>
<div class="text">
<pre>
%s
</pre>
</div>
"""

Definition at line 23 of file MyPlots.py.

◆ image

str MyPlots.image
Initial value:
= """\
<p class="text">
<a href="%s">Link to generated plot</a>
(<a href="%s">eps</a>,
<a href="%s">pdf</a>) (valid for 3 days)
<p>
<img id="plot" src="%s" />
"""

Definition at line 40 of file MyPlots.py.

◆ page

MyPlots.page = MyPlots()

Definition at line 231 of file MyPlots.py.