Belle II Software  release-05-02-19
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 10 of file python_modules.py.

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 16 of file python_modules.py.

16  def __init__(self, queue):
17  """
18  Create the module with the given queue.
19  """
20  super().__init__()
21 
22  self.queue = queue
23 
24  self.store_content_list = []
25 
26  self.event_number = 0
27 
28  self.total_number_of_events = 0
29 

Member Function Documentation

◆ event()

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

Definition at line 55 of file python_modules.py.

◆ initialize()

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

Definition at line 30 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 36 of file python_modules.py.

◆ terminate()

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

Definition at line 71 of file python_modules.py.


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