![]() |
ATLAS Offline Software
|
Public Member Functions | |
| __init__ (self, *args, **kwargs) | |
| logical_not (self) | |
| logical_or (cls, *rhs_iovsets) | |
| logical_and (cls, *rhs_iovsets) | |
| __or__ (self, rhs) | |
| __and__ (self, rhs) | |
| from_iovsets (cls, iovsets) | |
| connect_adjacent (self) | |
| pprint (self, where=stdout) | |
| ordered (self) | |
| to_file (self, filename) | |
| from_file (cls, filename) | |
| from_grl_string (cls, data) | |
| from_grl (cls, filename) | |
| to_grl_string (self, name="unknown", version="unknown") | |
| to_grl (self, filename, name="unknown", version="unknown") | |
| from_runs (cls, runs) | |
| chans_iovsets (self) | |
| empty (self, content=None) | |
| empty_maker (self) | |
| __reduce__ (self) | |
| __hash__ (self) | |
| __repr__ (self) | |
| add (self, since, until, *args) | |
| solidify (self, iov_type) | |
| trim_iovs (self) | |
| add_old (self, iov) | |
| time_based (self) | |
| lb_counts (self) | |
| duration (self) | |
| __getslice__ (self, *args) | |
| runs (self) | |
| by_run (self) | |
| channels (self) | |
| by_channel (self) | |
| first (self) | |
| last (self) | |
| range_iov (self) | |
| intersect_range (self, iov_range) | |
| select_runs (self, *selected) | |
| select_channels (self, *selected) | |
| select (self, **what) | |
Public Attributes | |
| iov_type = kwargs.pop("iov_type", None) | |
| origin = kwargs.pop("origin", None) | |
| parent = kwargs.pop("parent", None) | |
| str | constructed_at = "%s:%i" % (f.f_code.co_filename, f.f_lineno) |
| time_based | |
| python.sugar.iovset.IOVSet.__init__ | ( | self, | |
| * | args, | ||
| ** | kwargs ) |
Definition at line 23 of file iovset.py.
| python.sugar.iovset.IOVSet.__and__ | ( | self, | |
| rhs ) |
| python.sugar.iovset.IOVSet.__getslice__ | ( | self, | |
| * | args ) |
| python.sugar.iovset.IOVSet.__hash__ | ( | self | ) |
| python.sugar.iovset.IOVSet.__or__ | ( | self, | |
| rhs ) |
| python.sugar.iovset.IOVSet.__reduce__ | ( | self | ) |
Make an IOVSet pickleable (beware limitations)
Definition at line 171 of file iovset.py.
| python.sugar.iovset.IOVSet.__repr__ | ( | self | ) |
Definition at line 191 of file iovset.py.
| python.sugar.iovset.IOVSet.add | ( | self, | |
| since, | |||
| until, | |||
| * | args ) |
Definition at line 206 of file iovset.py.
| python.sugar.iovset.IOVSet.add_old | ( | self, | |
| iov ) |
Extends this result set by one iov. If it is adjacent (and equal) to the previous IoV, then that IoV is extended instead. This was deprecated because it is too slow compared to add() and solidify().
Definition at line 230 of file iovset.py.
| python.sugar.iovset.IOVSet.by_channel | ( | self | ) |
Return a dictionary representing {channels : iovs with channelid}
Definition at line 301 of file iovset.py.
| python.sugar.iovset.IOVSet.by_run | ( | self | ) |
Return a dictionary representing {run : iovs in run}
Definition at line 282 of file iovset.py.
| python.sugar.iovset.IOVSet.channels | ( | self | ) |
| python.sugar.iovset.IOVSet.chans_iovsets | ( | self | ) |
Returns ([channel1, c2, c3, ...], [channel 1 iovs, c2iovs, c3iovs, ...])
Definition at line 144 of file iovset.py.
| python.sugar.iovset.IOVSet.connect_adjacent | ( | self | ) |
| python.sugar.iovset.IOVSet.duration | ( | self | ) |
| python.sugar.iovset.IOVSet.empty | ( | self, | |
| content = None ) |
Return an empty IOVSet, but keeping any metadata around. (Such as the IOVType we were holding..)
Definition at line 152 of file iovset.py.
| python.sugar.iovset.IOVSet.empty_maker | ( | self | ) |
Indirection is used here in order to create new empty instances on demand without keeping a reference to the original object alive.
Definition at line 159 of file iovset.py.
| python.sugar.iovset.IOVSet.first | ( | self | ) |
| python.sugar.iovset.IOVSet.from_file | ( | cls, | |
| filename ) |
| python.sugar.iovset.IOVSet.from_grl | ( | cls, | |
| filename ) |
| python.sugar.iovset.IOVSet.from_grl_string | ( | cls, | |
| data ) |
| python.sugar.iovset.IOVSet.from_iovsets | ( | cls, | |
| iovsets ) |
Construct one IOVSet from many iovsets
Definition at line 77 of file iovset.py.
| python.sugar.iovset.IOVSet.from_runs | ( | cls, | |
| runs ) |
| python.sugar.iovset.IOVSet.intersect_range | ( | self, | |
| iov_range ) |
Returns a new IOVSet intersected with `iov_range` (since, until)
Definition at line 333 of file iovset.py.
| python.sugar.iovset.IOVSet.last | ( | self | ) |
| python.sugar.iovset.IOVSet.lb_counts | ( | self | ) |
| python.sugar.iovset.IOVSet.logical_and | ( | cls, | |
| * | rhs_iovsets ) |
Gives the IOV ranges which are present in both this IOVSet and `rhs`
Definition at line 56 of file iovset.py.
| python.sugar.iovset.IOVSet.logical_not | ( | self | ) |
Definition at line 34 of file iovset.py.
| python.sugar.iovset.IOVSet.logical_or | ( | cls, | |
| * | rhs_iovsets ) |
Gives the IOV ranges which are present in both this IOVSet and `rhs`
Definition at line 43 of file iovset.py.
| python.sugar.iovset.IOVSet.ordered | ( | self | ) |
| python.sugar.iovset.IOVSet.pprint | ( | self, | |
| where = stdout ) |
| python.sugar.iovset.IOVSet.range_iov | ( | self | ) |
| python.sugar.iovset.IOVSet.runs | ( | self | ) |
| python.sugar.iovset.IOVSet.select | ( | self, | |
| ** | what ) |
| python.sugar.iovset.IOVSet.select_channels | ( | self, | |
| * | selected ) |
Pick IoVs which are in the set of channels `selected`
Definition at line 351 of file iovset.py.
| python.sugar.iovset.IOVSet.select_runs | ( | self, | |
| * | selected ) |
Pick IoVs which are in the set of runs `selected`
Definition at line 343 of file iovset.py.
| python.sugar.iovset.IOVSet.solidify | ( | self, | |
| iov_type ) |
Because mutating lists is faster, once building an IOVSet is complete, it should be 'solidified' into the desired IOV type
Definition at line 215 of file iovset.py.
| python.sugar.iovset.IOVSet.time_based | ( | self | ) |
Looks at the first IoV to see if it is time based
Definition at line 243 of file iovset.py.
| python.sugar.iovset.IOVSet.to_file | ( | self, | |
| filename ) |
| python.sugar.iovset.IOVSet.to_grl | ( | self, | |
| filename, | |||
| name = "unknown", | |||
| version = "unknown" ) |
| python.sugar.iovset.IOVSet.to_grl_string | ( | self, | |
| name = "unknown", | |||
| version = "unknown" ) |
| python.sugar.iovset.IOVSet.trim_iovs | ( | self | ) |
| str python.sugar.iovset.IOVSet.constructed_at = "%s:%i" % (f.f_code.co_filename, f.f_lineno) |
| python.sugar.iovset.IOVSet.iov_type = kwargs.pop("iov_type", None) |
| python.sugar.iovset.IOVSet.origin = kwargs.pop("origin", None) |
| python.sugar.iovset.IOVSet.parent = kwargs.pop("parent", None) |