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()

MyPlots.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:
1= """\
2<div class="boldtext">
3Command:
4</div>
5<pre class="text">
6%s
7</pre>
8<div class="boldtext">
9Output (status %s):
10</div>
11<div class="text">
12<pre>
13%s
14</pre>
15</div>
16"""

Definition at line 23 of file MyPlots.py.

◆ image

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

Definition at line 40 of file MyPlots.py.

◆ page

MyPlots.page = MyPlots()

Definition at line 231 of file MyPlots.py.