Event helper class ##.
More...
Event helper class ##.
Definition at line 56 of file edmPickEvents.py.
def edmPickEvents.Event.__init__ |
( |
|
self, |
|
|
|
line, |
|
|
|
kwargs |
|
) |
| |
Definition at line 60 of file edmPickEvents.py.
References createfilelist.int.
61 pieces = Event.splitRE.split (line.strip())
63 self[
'run'] =
int( pieces[0] )
64 self[
'lumi'] =
int( pieces[1] )
65 self[
'event'] =
int( pieces[2] )
66 self[
'dataset'] = Event.dataset
68 raise RuntimeError(
"Can not parse '%s' as Event object" \
70 if not self[
'dataset']:
71 print "No dataset is defined for '%s'. Aborting." % line.strip()
72 raise RuntimeError(
'Missing dataset')
def __init__(self, line, kwargs)
def edmPickEvents.Event.__getattr__ |
( |
|
self, |
|
|
|
key |
|
) |
| |
def edmPickEvents.Event.__str__ |
( |
|
self | ) |
|
Definition at line 77 of file edmPickEvents.py.
78 return "run = %(run)i, lumi = %(lumi)i, event = %(event)i, dataset = %(dataset)s" % self
edmPickEvents.Event.dataset |
|
static |
edmPickEvents.Event.splitRE |
|
static |