Public Member Functions | |
def | __del__ (self) |
def | __init__ (self, inputFiles='', kwargs) |
def | __iter__ (self) |
def | eventAuxiliary (self) |
def | fileIndex (self) |
def | fileIndicies (self) |
def | getByLabel (self, args) |
def | object (self) |
def | secondaryFileIndex (self) |
def | size (self) |
def | to (self, entryIndex) |
def | toBegin (self) |
Private Member Functions | |
def | _createFWLiteEvent (self) |
def | _next (self) |
def | _parseOptions (self, options) |
Private Member Functions ##. More... | |
def | _toBeginCode (self) |
Private Attributes | |
_event | |
_eventCounts | |
_filenames | |
_forceEvent | |
_maxEvents | |
Parse optional arguments ##. More... | |
_mode | |
_secondaryFilenames | |
_tfile | |
_toBegin | |
_veryFirstTime | |
def python.Events.__init__ | ( | self, | |
inputFiles = '' , |
|||
kwargs | |||
) |
inputFiles => Either a single filename or a list of filenames Optional arguments: forceEvent => Use fwlite::Event IF there is only one file maxEvents => Maximum number of events to process
Definition at line 461 of file __init__.py.
def python.Events.__del__ | ( | self | ) |
def python.Events.__iter__ | ( | self | ) |
Definition at line 587 of file __init__.py.
References python.Lumis._next(), python.Runs._next(), and python.Events._next().
|
private |
(Internal) Creates an FWLite Event
Definition at line 632 of file __init__.py.
References python.Events._event, python.Lumis._filenames, python.Runs._filenames, python.Events._filenames, python.Events._forceEvent, python.Events._mode, python.Events._toBegin, python.Lumis._veryFirstTime, python.Runs._veryFirstTime, and python.Events._veryFirstTime.
Referenced by python.Events._next(), python.Events.getByLabel(), python.Events.size(), and python.Events.to().
|
private |
(Internal) Iterator internals
Definition at line 661 of file __init__.py.
References python.Events._createFWLiteEvent(), python.Events._event, python.Events._eventCounts, python.Events._maxEvents, python.Events._toBegin, python.Events._toBeginCode(), python.Lumis._veryFirstTime, python.Runs._veryFirstTime, and python.Events._veryFirstTime.
Referenced by python.Events.__iter__().
|
private |
|
private |
(Internal) Does actual work of toBegin() call
Definition at line 618 of file __init__.py.
Referenced by python.Events._next().
def python.Events.eventAuxiliary | ( | self | ) |
Returns eventAuxiliary object
Definition at line 530 of file __init__.py.
References python.Events._event, python.Lumis._veryFirstTime, python.Runs._veryFirstTime, and python.Events._veryFirstTime.
def python.Events.fileIndex | ( | self | ) |
Definition at line 591 of file __init__.py.
References python.Events._event.
Referenced by python.Events.fileIndicies().
def python.Events.fileIndicies | ( | self | ) |
Definition at line 607 of file __init__.py.
References fwlite::LuminosityBlockBase.fileIndex(), fwlite::RunBase.fileIndex(), fwlite::EventBase.fileIndex(), fwlite::ChainEvent.fileIndex(), fwlite::MultiChainEvent.fileIndex(), python.Events.fileIndex(), fwlite::LuminosityBlockBase.secondaryFileIndex(), fwlite::RunBase.secondaryFileIndex(), fwlite::EventBase.secondaryFileIndex(), fwlite::MultiChainEvent.secondaryFileIndex(), and python.Events.secondaryFileIndex().
def python.Events.getByLabel | ( | self, | |
args | |||
) |
Calls FWLite's getByLabel. Called: getByLabel (moduleLabel, handle) getByLabel (moduleLabel, productInstanceLabel, handle), getByLabel (moduleLabel, productInstanceLabel, processLabel, handle), or getByLabel ( (mL, pIL,pL), handle)
Definition at line 543 of file __init__.py.
References python.Events._createFWLiteEvent(), python.Events._event, python.Lumis._veryFirstTime, python.Runs._veryFirstTime, python.Events._veryFirstTime, submitPVResolutionJobs.count, if(), join(), and submitPVValidationJobs.split().
def python.Events.object | ( | self | ) |
def python.Events.secondaryFileIndex | ( | self | ) |
Definition at line 599 of file __init__.py.
References python.Events._event.
Referenced by python.Events.fileIndicies().
def python.Events.size | ( | self | ) |
Returns number of events
Definition at line 523 of file __init__.py.
References python.Events._createFWLiteEvent(), python.Events._event, python.Lumis._veryFirstTime, python.Runs._veryFirstTime, and python.Events._veryFirstTime.
Referenced by ntupleDataFormat._Collection.__iter__(), and ntupleDataFormat._Collection.__len__().
def python.Events.to | ( | self, | |
entryIndex | |||
) |
Jumps to event entryIndex
Definition at line 511 of file __init__.py.
References python.Events._createFWLiteEvent(), python.Events._event, python.Lumis._veryFirstTime, python.Runs._veryFirstTime, python.Events._veryFirstTime, and createfilelist.int.
def python.Events.toBegin | ( | self | ) |
Called to reset event loop to first event.
Definition at line 518 of file __init__.py.
|
private |
Definition at line 468 of file __init__.py.
Referenced by python.Events.__del__(), python.Events._createFWLiteEvent(), python.Events._next(), python.Events.eventAuxiliary(), python.Events.fileIndex(), python.Events.getByLabel(), python.Events.object(), python.Events.secondaryFileIndex(), python.Events.size(), and python.Events.to().
|
private |
Definition at line 469 of file __init__.py.
Referenced by python.Events._next().
|
private |
Definition at line 476 of file __init__.py.
Referenced by python.Events._createFWLiteEvent().
|
private |
Definition at line 471 of file __init__.py.
Referenced by python.Events._createFWLiteEvent().
|
private |
Parse optional arguments ##.
Definition at line 470 of file __init__.py.
Referenced by python.Events._next().
|
private |
Definition at line 472 of file __init__.py.
Referenced by python.Events._createFWLiteEvent().
|
private |
Definition at line 473 of file __init__.py.
|
private |
Definition at line 641 of file __init__.py.
|
private |
Definition at line 520 of file __init__.py.
Referenced by python.Events._createFWLiteEvent(), and python.Events._next().
|
private |
Definition at line 467 of file __init__.py.
Referenced by python.Events._createFWLiteEvent(), python.Events._next(), python.Events.eventAuxiliary(), python.Events.getByLabel(), python.Events.size(), and python.Events.to().