![]() |
ATLAS Offline Software
|
Public Member Functions | |
| __init__ (self, histogram, algorithm, annotations={}, output=DQHanConfMaker._default_output, attributes={}) | |
| getOutput (self) | |
| getAlgorithm (self) | |
| tohan (self, encoding=None) | |
| toprettyhan (self, indent="\t", newl="\n", encoding=None) | |
| writehan (self, writer, indent="", addindent="", newl="") | |
| appendChild (self, child) | |
| setAttribute (self, key, attribute) | |
| removeAttribute (self, key) | |
| getAttribute (self, key) | |
| getSubNode (self, name, nodetype) | |
| __str__ (self) | |
Public Attributes | |
| list | subnodes = None |
| dict | attributes = None |
| list | acceptChild |
| nodeType = Node.UNKNOWN | |
| name = name | |
A han histogram element is a Node with attributes: - the histogram name - the algorithm to be used - the output where to store the dq result
Definition at line 196 of file hanwriter.py.
| python.hanwriter.HanHistogram.__init__ | ( | self, | |
| histogram, | |||
| algorithm, | |||
| annotations = {}, | |||
| output = DQHanConfMaker._default_output, | |||
| attributes = {} ) |
Creates a han histogram configuration element
Definition at line 211 of file hanwriter.py.
|
inherited |
Definition at line 190 of file hanwriter.py.
|
inherited |
Add a sub node to this node
Definition at line 126 of file hanwriter.py.
| python.hanwriter.HanHistogram.getAlgorithm | ( | self | ) |
Retrieves the algorithm attribute
Definition at line 235 of file hanwriter.py.
|
inherited |
Gets the attribute identified by the key, None if not found
Definition at line 168 of file hanwriter.py.
| python.hanwriter.HanHistogram.getOutput | ( | self | ) |
Retrieves the output attribute
Definition at line 227 of file hanwriter.py.
|
inherited |
Returns the sub-node identified by name and nodetype
Definition at line 180 of file hanwriter.py.
|
inherited |
Removes attribute identified by key
Definition at line 156 of file hanwriter.py.
|
inherited |
The attribute identified by key is added to this node
Definition at line 145 of file hanwriter.py.
|
inherited |
convert the object in a valid han script block
Definition at line 75 of file hanwriter.py.
|
inherited |
convert the object in a formatted han string
Definition at line 86 of file hanwriter.py.
|
inherited |
Converts the object in a han string and writes it in the writer object
Definition at line 105 of file hanwriter.py.
|
inherited |
Definition at line 67 of file hanwriter.py.
|
inherited |
Definition at line 66 of file hanwriter.py.
|
inherited |
Definition at line 70 of file hanwriter.py.
|
inherited |
Definition at line 69 of file hanwriter.py.
|
inherited |
Definition at line 65 of file hanwriter.py.