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 460 of file __init__.py.
def python.Events.__del__ | ( | self | ) |
def python.Events.__iter__ | ( | self | ) |
Definition at line 586 of file __init__.py.
References python.Lumis._next(), python.Runs._next(), and python.Events._next().
|
private |
(Internal) Creates an FWLite Event
Definition at line 631 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 660 of file __init__.py.
References python.Events._createFWLiteEvent(), 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 Member Functions ##.
(Internal) Parse options
Definition at line 613 of file __init__.py.
|
private |
(Internal) Does actual work of toBegin() call
Definition at line 617 of file __init__.py.
Referenced by python.Events._next().
def python.Events.eventAuxiliary | ( | self | ) |
Returns eventAuxiliary object
Definition at line 529 of file __init__.py.
References python.Lumis._veryFirstTime, python.Runs._veryFirstTime, and python.Events._veryFirstTime.
def python.Events.fileIndex | ( | self | ) |
Definition at line 590 of file __init__.py.
References python.Events._event.
Referenced by python.Events.fileIndicies().
def python.Events.fileIndicies | ( | self | ) |
Definition at line 606 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 542 of file __init__.py.
References python.Events._createFWLiteEvent(), python.Lumis._veryFirstTime, python.Runs._veryFirstTime, python.Events._veryFirstTime, KineDebug3.count(), join(), list(), and split.
def python.Events.object | ( | self | ) |
Returns event object
Definition at line 537 of file __init__.py.
References python.Events._event.
Referenced by Vispa.Views.LineDecayView.LineDecayContainer.createObject(), Vispa.Views.LineDecayView.LineDecayContainer.delete(), Vispa.Views.LineDecayView.DecayLine.delete(), Vispa.Views.LineDecayView.LineDecayContainer.mouseReleaseEvent(), and Vispa.Views.BoxDecayView.BoxDecayContainer.toggleCollapse().
def python.Events.secondaryFileIndex | ( | self | ) |
Definition at line 598 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 522 of file __init__.py.
References python.Events._createFWLiteEvent(), 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 510 of file __init__.py.
References python.Events._createFWLiteEvent(), python.Lumis._veryFirstTime, python.Runs._veryFirstTime, and python.Events._veryFirstTime.
def python.Events.toBegin | ( | self | ) |
|
private |
Definition at line 467 of file __init__.py.
Referenced by python.Events.__del__(), python.Events._createFWLiteEvent(), python.Events.fileIndex(), python.Events.object(), and python.Events.secondaryFileIndex().
|
private |
Definition at line 468 of file __init__.py.
Referenced by python.Events._next(), and python.Events._toBeginCode().
|
private |
Definition at line 475 of file __init__.py.
Referenced by cfg-viewer.unscheduled._calcFilenames(), and python.Events._createFWLiteEvent().
|
private |
Definition at line 470 of file __init__.py.
Referenced by python.Events._createFWLiteEvent().
|
private |
Parse optional arguments ##.
Definition at line 469 of file __init__.py.
Referenced by python.Events._next().
|
private |
Definition at line 471 of file __init__.py.
Referenced by python.Events._createFWLiteEvent().
|
private |
Definition at line 472 of file __init__.py.
|
private |
Definition at line 640 of file __init__.py.
|
private |
Definition at line 519 of file __init__.py.
Referenced by python.Events._createFWLiteEvent(), python.Events._next(), and python.Events._toBeginCode().
|
private |
Definition at line 466 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().