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

Public Member Functions

def __init__ (self, queue)
 
def initialize (self)
 
def store_content (self)
 
def event (self)
 
def terminate (self)
 

Public Attributes

 queue
 The queue to handle.
 
 store_content_list
 The contents of the store arrays for some events.
 
 event_number
 The current event number.
 
 total_number_of_events
 The total number of events.
 

Detailed Description

A small module to catch the content of the store array for some events and store them in the queue.

Definition at line 17 of file python_modules.py.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  queue 
)
Create the module with the given queue.

Definition at line 23 of file python_modules.py.

23  def __init__(self, queue):
24  """
25  Create the module with the given queue.
26  """
27  super().__init__()
28 
29  self.queue = queue
30 
31  self.store_content_list = []
32 
33  self.event_number = 0
34 
35  self.total_number_of_events = 0
36 

Member Function Documentation

◆ event()

def event (   self)
Write the store array content into a list for later.

Definition at line 62 of file python_modules.py.

◆ initialize()

def initialize (   self)
Get the total number of events from C++

Definition at line 37 of file python_modules.py.

◆ store_content()

def store_content (   self)
Store the current content of the store array into the internal list.

Definition at line 43 of file python_modules.py.

◆ terminate()

def terminate (   self)
Write the store array contents from the events to the queue.

Definition at line 78 of file python_modules.py.


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