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.
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'