Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
PhysicsTools
HeppyCore
python
framework
eventsfwlite.py
Go to the documentation of this file.
1
from
DataFormats.FWLite
import
Events
as
FWLiteEvents
2
3
class
Events
(
object
):
4
def
__init__
(self, files, tree_name):
5
self.
events
= FWLiteEvents(files)
6
7
def
__len__
(self):
8
return
self.events.size()
9
10
def
__getattr__
(self, key):
11
return
getattr(self.
events
, key)
12
13
def
__getitem__
(self, iEv):
14
self.events.to(iEv)
15
return
self
eventsfwlite.Events.__getitem__
def __getitem__
Definition:
eventsfwlite.py:13
eventsfwlite.Events
Definition:
eventsfwlite.py:3
eventsfwlite.Events.__init__
def __init__
Definition:
eventsfwlite.py:4
eventsfwlite.Events.__getattr__
def __getattr__
Definition:
eventsfwlite.py:10
dbtoconf.object
list object
Definition:
dbtoconf.py:77
eventsfwlite.Events.events
events
Definition:
eventsfwlite.py:5
eventsfwlite.Events.__len__
def __len__
Definition:
eventsfwlite.py:7
Generated for CMSSW Reference Manual by
1.8.5