![]() |
ATLAS Offline Software
|
Public Member Functions | |
| __init__ (self, top_level_algorithm='WorstCaseSummary') | |
| addOutput (self, name, algorithm, annotations={}, attributes={}) | |
| getAlgorithm (self, name) | |
| getReference (self, name) | |
| addSubDir (self, name) | |
| addHistogram (self, histogram, algorithm, annotations={}, output=DQHanConfMaker._default_output, attributes={}) | |
| getSubDir (self, name) | |
| 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) | |
| getOutputPath (self, append=None, delimiter="/") | |
Public Attributes | |
| root_output_level = HanOutput('top_level', top_level_algorithm) | |
| list | subnodes = None |
| dict | attributes = None |
| list | acceptChild |
| nodeType = Node.UNKNOWN | |
| name = name | |
| father = father | |
Class representing a han document
Definition at line 509 of file hanwriter.py.
| python.hanwriter.Document.__init__ | ( | self, | |
| top_level_algorithm = 'WorstCaseSummary' ) |
Creates an empty han document with a top level output
Definition at line 516 of file hanwriter.py.
|
inherited |
Definition at line 190 of file hanwriter.py.
|
inherited |
Adds to the directory a histogram specifying the histogram name, the algorithm and the output path.
Definition at line 416 of file hanwriter.py.
| python.hanwriter.Document.addOutput | ( | self, | |
| name, | |||
| algorithm, | |||
| annotations = {}, | |||
| attributes = {} ) |
Adds a sub output element with name and algorithm
Reimplemented from python.hanwriter.HanOutput.
Definition at line 534 of file hanwriter.py.
|
inherited |
Adds a subdirectory called name to the current directory and returns the newly created sub directory
Definition at line 401 of file hanwriter.py.
|
inherited |
Add a sub node to this node
Definition at line 126 of file hanwriter.py.
| python.hanwriter.Document.getAlgorithm | ( | self, | |
| name ) |
retrieves the algorithm han object associated with name
Reimplemented from python.hanwriter.HanOutput.
Definition at line 544 of file hanwriter.py.
|
inherited |
Gets the attribute identified by the key, None if not found
Definition at line 168 of file hanwriter.py.
|
inherited |
Creates the complete path of this output directory
Definition at line 493 of file hanwriter.py.
| python.hanwriter.Document.getReference | ( | self, | |
| name ) |
retrieves the han reference associated with name
Definition at line 553 of file hanwriter.py.
|
inherited |
returns the sub-directory called name
Definition at line 427 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 460 of file hanwriter.py.
|
inherited |
Definition at line 70 of file hanwriter.py.
|
inherited |
Definition at line 69 of file hanwriter.py.
| python.hanwriter.Document.root_output_level = HanOutput('top_level', top_level_algorithm) |
Definition at line 525 of file hanwriter.py.
|
inherited |
Definition at line 65 of file hanwriter.py.