ATLAS Offline Software
|
Public Member Functions | |
def | __init__ (self, s) |
Public Attributes | |
errstr | |
excstr | |
histspec | |
tuple_o | |
stmts | |
sel | |
exprs | |
tuple | |
lo | |
hi | |
Private Member Functions | |
def | _tupleparse (self, s) |
def | _parserange (self, tuple) |
def | _mung_id (self, id) |
def | _mung_index (self, s1, s2) |
def | _mung_n (self, s1, s2) |
def | _mung_loop (self, s1, s2) |
def | _mung_expr_dollar (self, s) |
def | _mung_expr_ids (self, s) |
def | _mung_expr (self, s) |
def | _make_func (self, payload, extargs='') |
Private Attributes | |
_iddict | |
_limdict | |
_loopdict | |
Holds information used to implement a draw/scan/loop command. Pass the draw string to the constructor. See the file-level comments for details on the syntax of this. This will define the following attributes: errstr - If set to a string, there was an error. Should be None if everything's ok. tuple - The name of the tuple object. tuple_o - Tuple object. lo - The lower bound for row iteration. hi - The upper bound for row iteration. stmts - List of additional statements. exprs - List of draw expressions. sel - Selection expression or None. sel_orig - Untransformed selection expression or None. expr_orig- Untransformed plotting expression. histspec - The text following `;', split into space-separated words. Other attributes: _iddict - Map from loop identifiers (`foo' in `foo$i') to temp variables used to reference them in the loop function. _limdict - Map from loop identifiers (`foo' in `foo$2') to the largest explicit index seen. _loopdict - Map of loop dummy variable names to _Loopvar instances.
def python.pydraw.Draw_Cmd.__init__ | ( | self, | |
s | |||
) |
|
private |
Create the text for the function to process this query. PAYLOAD is the payload expression to plug in. EXTARGS is an additional string to add to the end of the function's argument list (to set default values, for example). Returns the function definition as a string.
Definition at line 933 of file pydraw.py.
|
private |
Process $ constructions and id substitution in string S. Returns the modified string.
|
private |
|
private |
|
private |
Given a loop identifier (`foo' in `foo$i'), return the identifier used to reference it in loop functions.
|
private |
|
private |
|
private |
|
private |
|
private |