CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Public Attributes
eventsfwlite.Events Class Reference
Inheritance diagram for eventsfwlite.Events:

Public Member Functions

def __getattr__
 
def __getitem__
 
def __init__
 
def __len__
 

Public Attributes

 events
 

Detailed Description

Definition at line 17 of file eventsfwlite.py.

Constructor & Destructor Documentation

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

Definition at line 18 of file eventsfwlite.py.

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

Member Function Documentation

def eventsfwlite.Events.__getattr__ (   self,
  key 
)

Definition at line 33 of file eventsfwlite.py.

References CSCFileDumper.events, eventsfwlite.Events.events, generateEDF.LumiInfo.events, emtf::Forest.events, JanAlignmentAlgorithm.events, ME::Header.events, emtf::Node.events, HitEff.events, MatrixUtil.InputInfo.events, CosmicRateAnalyzer.events, BeamSpotDipServer.events, options.HLTProcessOptions.events, FastTimerService::ResourcesPerModule.events, FastTimerService::ResourcesPerJob.events, and JsonOutputProducer::JsonConfiguration.events.

33 
34  def __getattr__(self, key):
35  return getattr(self.events, key)
def eventsfwlite.Events.__getitem__ (   self,
  iEv 
)

Definition at line 36 of file eventsfwlite.py.

36 
37  def __getitem__(self, iEv):
38  self.events.to(iEv)
39  return self
40 
def eventsfwlite.Events.__len__ (   self)

Definition at line 30 of file eventsfwlite.py.

30 
31  def __len__(self):
32  return self.events.size()

Member Data Documentation

eventsfwlite.Events.events

Definition at line 26 of file eventsfwlite.py.

Referenced by eventsfwlite.Events.__getattr__(), looper.Looper.loop(), and looper.Looper.process().