Event helper class ##.
More...
Event helper class ##.
Definition at line 57 of file edmPickEvents.py.
def edmPickEvents.Event.__init__ |
( |
|
self, |
|
|
|
line, |
|
|
|
kwargs |
|
) |
| |
Definition at line 61 of file edmPickEvents.py.
References createfilelist.int, and edm.print().
62 pieces = Event.splitRE.split (line.strip())
64 self[
'run'] =
int( pieces[0] )
65 self[
'lumi'] =
int( pieces[1] )
66 self[
'event'] =
int( pieces[2] )
67 self[
'dataset'] = Event.dataset
69 raise RuntimeError(
"Can not parse '%s' as Event object" \
71 if not self[
'dataset']:
72 print(
"No dataset is defined for '%s'. Aborting." % line.strip())
73 raise RuntimeError(
'Missing dataset')
S & print(S &os, JobReport::InputFile const &f)
def __init__(self, line, kwargs)
def edmPickEvents.Event.__getattr__ |
( |
|
self, |
|
|
|
key |
|
) |
| |
def edmPickEvents.Event.__str__ |
( |
|
self | ) |
|
Definition at line 78 of file edmPickEvents.py.
79 return "run = %(run)i, lumi = %(lumi)i, event = %(event)i, dataset = %(dataset)s" % self
edmPickEvents.Event.dataset |
|
static |
edmPickEvents.Event.splitRE |
|
static |