CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
eventsfwlite.Events Class Reference
Inheritance diagram for eventsfwlite.Events:

Public Member Functions

def __getattr__ (self, key)
 
def __getitem__ (self, iEv)
 
def __init__ (self, files, tree_name, options=None)
 
def __len__ (self)
 

Public Attributes

 events
 

Detailed Description

Definition at line 17 of file eventsfwlite.py.

Constructor & Destructor Documentation

◆ __init__()

def eventsfwlite.Events.__init__ (   self,
  files,
  tree_name,
  options = None 
)

Definition at line 18 of file eventsfwlite.py.

18  def __init__(self, files, tree_name, options=None):
19  if options is not None :
20  if not hasattr(options,"inputFiles"):
21  options.inputFiles=files
22  if not hasattr(options,"maxEvents"):
23  options.maxEvents = 0
24  if not hasattr(options,"secondaryInputFiles"):
25  options.secondaryInputFiles = []
26  self.events = FWLiteEvents(options=options)
27  else :
28  self.events = FWLiteEvents(files)
29 

Member Function Documentation

◆ __getattr__()

def eventsfwlite.Events.__getattr__ (   self,
  key 
)

◆ __getitem__()

def eventsfwlite.Events.__getitem__ (   self,
  iEv 
)

◆ __len__()

def eventsfwlite.Events.__len__ (   self)

Member Data Documentation

◆ events

eventsfwlite.Events.events
to
findQualityFiles.size
size
Write out results.
Definition: findQualityFiles.py:443