Belle II Software  release-06-00-14
CheckForCorrectHLTResults Class Reference
Inheritance diagram for CheckForCorrectHLTResults:
Collaboration diagram for CheckForCorrectHLTResults:

Public Member Functions

def event (self)
 

Detailed Description

Test module for assuring correct data store content

Definition at line 25 of file test_support.py.

Member Function Documentation

◆ event()

def event (   self)
reimplementation of Module::event().

Definition at line 28 of file test_support.py.

28  def event(self):
29  """reimplementation of Module::event()."""
30  sft_trigger = Belle2.PyStoreObj("SoftwareTriggerResult")
31 
32  if not sft_trigger.isValid():
33  basf2.B2FATAL("SoftwareTriggerResult object not created")
34  elif len(sft_trigger.getResults()) == 0:
35  basf2.B2FATAL("SoftwareTriggerResult exists but has no entries")
36 
37  if not Belle2.PyStoreArray("ROIs").isValid():
38  basf2.B2FATAL("ROIs are not present")
39 
40 
a (simplified) python wrapper for StoreArray.
Definition: PyStoreArray.h:56
a (simplified) python wrapper for StoreObjPtr.
Definition: PyStoreObj.h:67

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