![]() |
ATLAS Offline Software
|
Public Types | |
| typedef HLT::TypeInformation::for_each_type_c< typenameEDMLIST::map, my_functor, my_result<>, my_arg< HLT::TypeInformation::get_cont, CONTAINER > >::type | result |
Public Member Functions | |
| __init__ (self, s) | |
Public Attributes | |
| str | errstr = None |
| excstr = traceback.format_exc() | |
| list | histspec |
| tuple_o = eval (self.tuple, _globals) | |
| list | stmts = _split_outer (s, '@') |
| expr_orig | |
| sel_orig | |
| sel = self._mung_expr (self.sel_orig) | |
| list | exprs |
| tuple = tuple | |
| lo = lo | |
| hi = hi | |
Protected Member Functions | |
| _tupleparse (self, s) | |
| _parserange (self, tuple) | |
| _mung_id (self, id) | |
| _mung_index (self, s1, s2) | |
| _mung_n (self, s1, s2) | |
| _mung_loop (self, s1, s2) | |
| _mung_expr_dollar (self, s) | |
| _mung_expr_ids (self, s) | |
| _mung_expr (self, s) | |
| _make_func (self, payload, extargs='') | |
Protected Attributes | |
| dict | _iddict = {} |
| dict | _limdict = {} |
| dict | _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.
|
inherited |
Definition at line 90 of file EDM_MasterSearch.h.
| python.pydraw.Draw_Cmd.__init__ | ( | self, | |
| s ) |
Initialize from a draw string. See above for more details.
Definition at line 630 of file pydraw.py.
|
protected |
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 931 of file pydraw.py.
|
protected |
Process $ constructions and id substitution in string S. Returns the modified string.
Definition at line 922 of file pydraw.py.
|
protected |
Process $ constructions in string S. Returns the modified string.
Definition at line 860 of file pydraw.py.
|
protected |
Perform id substitution in S. For identifiers in S that are attributes of our tuple, replace them with references to the tuple attribute (using _mung_id). Returns the modified string.
Definition at line 892 of file pydraw.py.
|
protected |
Given a loop identifier (`foo' in `foo$i'), return the identifier used to reference it in loop functions.
Definition at line 762 of file pydraw.py.
|
protected |
Handle an explicit index reference; i.e., `foo$2'. S1 and S2 are pieces of the string before and after the `$'. Returns the modified string.
Definition at line 773 of file pydraw.py.
|
protected |
Handle use of a dummy loop variable, such as foo$i. S1 and S2 are pieces of the string before and after the `$'. Returns the modified string.
Definition at line 817 of file pydraw.py.
|
protected |
Handle a length reference; i.e., `$nfoo'. S1 and S2 are pieces of the string before and after the `$'. Returns the modified string.
Definition at line 803 of file pydraw.py.
|
protected |
Parse the range part of a draw string. See above for more details. Fills self.tuple, self.lo, self.hi.
Definition at line 725 of file pydraw.py.
|
protected |
Parse a draw string. See above for more details.
Definition at line 650 of file pydraw.py.
| list python.pydraw.Draw_Cmd.exprs |
| python.pydraw.Draw_Cmd.sel = self._mung_expr (self.sel_orig) |
| list python.pydraw.Draw_Cmd.stmts = _split_outer (s, '@') |
| python.pydraw.Draw_Cmd.tuple_o = eval (self.tuple, _globals) |