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

Public Member Functions

def __init__ (self, expected)
 
def event (self)
 
def terminate (self)
 

Public Attributes

 emd
 event metadata
 

Private Attributes

 _expected_event_numbers
 list of expected event numbers
 
 _processed_event_numbers
 list of seen event numbers
 

Detailed Description

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

Definition at line 74 of file root_input.py.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  expected 
)
Initialize this nice class with the list of expected event
numbers to see in the correct order

Definition at line 80 of file root_input.py.

80  def __init__(self, expected):
81  """
82  Initialize this nice class with the list of expected event
83  numbers to see in the correct order
84  """
85  super().__init__()
86 
87  self.emd = Belle2.PyStoreObj('EventMetaData')
88 
89  self._expected_event_numbers = expected
90 
91  self._processed_event_numbers = []
92 
a (simplified) python wrapper for StoreObjPtr.
Definition: PyStoreObj.h:67

Member Function Documentation

◆ event()

def event (   self)
Called for each event

Definition at line 93 of file root_input.py.

◆ terminate()

def terminate (   self)
perform check

Definition at line 99 of file root_input.py.


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