Belle II Software  release-08-01-10
EventRangePathSplitter Class Reference
Inheritance diagram for EventRangePathSplitter:
Collaboration diagram for EventRangePathSplitter:

Public Member Functions

def __init__ (self, event_codes)
 
def initialize (self)
 
def beginRun (self)
 
def event (self)
 

Public Attributes

 event_codes
 tuple or list of event codes
 
 event_extra_info
 PyStoreObj off EventExtraInfo.
 
 event_ranges
 Dictionary to get number of events for each event code.
 
 event_number
 Event number.
 

Detailed Description

Module to set ``eventExtraInfo(EventCode)`` according to event range
of each channel.

Parameters:
    event_codes (Iterable): tuple or list of EventCode.

Definition at line 103 of file utils.py.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  event_codes 
)
Initialize the class
Parameters:
    event_codes (Iterable): tuple or list of EventCode.

Definition at line 112 of file utils.py.

112  def __init__(self, event_codes):
113  """
114  Initialize the class
115  Parameters:
116  event_codes (Iterable): tuple or list of EventCode.
117  """
118  import ROOT # noqa
119  super(EventRangePathSplitter, self).__init__()
120 
121  self.event_codes = event_codes
122 
123  self.event_extra_info = ROOT.Belle2.PyStoreObj('EventExtraInfo')
124 
125  self.event_ranges = None
126 
127  self.event_number = -1
128 

Member Function Documentation

◆ beginRun()

def beginRun (   self)
Begin run method of the module

Definition at line 137 of file utils.py.

◆ event()

def event (   self)
Event method of the module

Definition at line 141 of file utils.py.

◆ initialize()

def initialize (   self)
Initialize module before any events are processed

Definition at line 129 of file utils.py.


The documentation for this class was generated from the following file: