Belle II Software development
SleepOnInitModule Class Reference
Inheritance diagram for SleepOnInitModule:

Public Member Functions

 __init__ (self)
 
 initialize (self)
 

Detailed Description

Helper module to sleep 20 seconds on init (to mimik geometry loading)

Definition at line 15 of file example_support.py.

Constructor & Destructor Documentation

◆ __init__()

__init__ ( self)
Make the module parallel processing certified

Definition at line 18 of file example_support.py.

18 def __init__(self):
19 """Make the module parallel processing certified"""
20 super().__init__()
21 self.set_property_flags(basf2.ModulePropFlags.PARALLELPROCESSINGCERTIFIED)
22

Member Function Documentation

◆ initialize()

initialize ( self)
Sleep 20 seconds

Definition at line 23 of file example_support.py.

23 def initialize(self):
24 """Sleep 20 seconds"""
25 sleep(20)
26
27

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