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

Public Member Functions

def event (self)
 

Detailed Description

Test module which writes out the processed event numbers
into the global processed_event_numbers list

Definition at line 29 of file b2bii_mdst_input.py.

Member Function Documentation

◆ event()

def event (   self)
Called for each event

Definition at line 35 of file b2bii_mdst_input.py.

35  def event(self):
36  """
37  Called for each event
38  """
39  global processed_event_numbers
40  emd = Belle2.PyStoreObj('EventMetaData')
41  processed_event_numbers.append(emd.obj().getEvent())
42 
43 
44 main.add_module(TestingModule())
45 
46 b2.process(main)
47 
a (simplified) python wrapper for StoreObjPtr.
Definition: PyStoreObj.h:67

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